Forums > Jitter

Pre-Rendering scene to various dest_dim textures ?

April 9, 2013 | 7:52 am

Hi
Is there a way to do that ?
If my question is not clear enough, here is a typical scenario :

- I have a full scene with various objects.

- I want to render the scene in front view, on my 1920×1080 (i.e. ratio 16/9) jit.window.
And I’d also like to have a top view, as a "map" of my full-scene, boxed in a videoplane at the top-right of my jit.windows. This seems to be called "Head Up Display" in the videogame world.

- This "map" is 640×480 (i.e. ratio 4/3) and I would *not* like to pre-render the scene full-definition to spare some of my GPU….

I there a way to do so ? Either with jit.gl.node, or with to_texture message ?

It seems the dest_dim attibute of the render, and of jit.gl.node are inevitably tied to the jit.window size …


April 9, 2013 | 12:51 pm

this is a quick modification from one of the patches from the max examples folder (camera.node.mixing.views.maxpat), should get you going…

– Pasted Max Patch, click to expand. –

April 9, 2013 | 3:18 pm

Perfect ! Thanks for your help !


Viewing 3 posts - 1 through 3 (of 3 total)