#1
|
|||
|
|||
re: render nodes and scenes
Hi, I'm trying to render to contents of a second scene to a texture and apply that to a TexQuad, is this possible because if I had any hair I would have started to pull it out - here's an example of the method I have been trying so far:
Code:
viz.go() viz.clearcolor(.9,.9,1) #Add something to scene 2 viz.add('panorama.ive',scene=2) renderTexture = viz.addRenderTexture() #Create render texture #Create render node renderNode=viz.addRenderNode(scene=2) renderNode.attachTexture(renderTexture) renderNode.setInheritView(False) #Add and set Position of in-world-screen screen = viz.addTexQuad() screen.setPosition([-.2,1.6,2.5]) screen.setEuler([178,0,0]) screen.texture(renderTexture) As usual I will be VERY grateful for any help with this issue |
|
|