Quick question:
Say I have one 3D scene with several objects and two cameras looking at this scene.
For a specific object I want camera1 to see it with texture1 and camera2 to see it painted with texture2.
How can I do this ?
Quick question:
Say I have one 3D scene with several objects and two cameras looking at this scene.
For a specific object I want camera1 to see it with texture1 and camera2 to see it painted with texture2.
How can I do this ?
You need to use per-camera state, which is a somewhat clumsy interface in Panda that allows you to set a different state for a node on a per-camera basis.
Check out Multi-Pass Rendering in the manual; and try searching for setTagStateKey in the forums for more examples.
David
Thanks David,
I’ll have a look asap.
BTW. Everyday I’m learning several new tricks in Panda3D, and the journey is far from being over.
You really developped a superb engine!