Pre-Rendering scene to various dest_dim textures ?

Vincent Goudard's icon

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 ...

Tobias Rosenberger's icon
Max Patch
Copy patch and select New From Clipboard in Max.

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

Vincent Goudard's icon

Perfect ! Thanks for your help !