Pre-Rendering scene to various dest_dim textures ?
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 1920x1080 (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 640x480 (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 ...
this is a quick modification from one of the patches from the max examples folder (camera.node.mixing.views.maxpat), should get you going...
Perfect ! Thanks for your help !