Re: [osg-users] Rendering a scene to texture

2018-03-19 Thread Jochen Maier
Okay, thank you. I will study the examples und do some research for RTT in osg :) Cheers, Jochen -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=73131#73131 ___ osg-users mailing list osg-users@lists

Re: [osg-users] Rendering a scene to texture

2018-03-18 Thread Jochen Maier
Thank you very much Robert :) Okay, I'll take a look at the examples you had talked about. I know that the way is to realize this is using different cameras and render to texture. But I don't know how to initiate the rendering-process; I only know this by calling Viewer::frame(). I thought ther

[osg-users] Render a Scene to texture

2018-03-18 Thread Jochen Maier
Hi, I want to do something like offscreen rendering. What I want to do exactly: I have one or more scenes (scene graphs) and one final scene. The final scene contains a cube which has 6 different textures. Now I have 6 different scenes (scene graphs). I want to render all these 6 scenes in 6 textu

[osg-users] Textuiring a simple quad

2017-10-18 Thread Jochen Maier
Hi, all :) I have so a simple quastion but I can solve the problem. I want to draw a quad attach a simple Shader with a simple texture operation. But I only get a black quad. The shader works when a color each fragmnent with the color red, but wen I want to get texture-colors... its only got bla