Hi,

Thanks for sharing this, I've never think to this way, and it's very 
interseting.

Not really for performance reason, but also for simplicity reasons.

I'll try to dig that further to see if it can be usefull to implement what is 
discussed here : http://forum.openscenegraph.org/viewtopic.php?t=11577

(using renderbin to configure current FBO)

One use case could be one of the applications I'm working on :

- I have a scene with multiple objects
- I render the scene using HDR shader : scene => FBO 1
- Post process (tone mapping) : FBO 1 => FBO 2
- render GUI elements with normal shader : FBO 2 + GUI => FBO 3

I would like to "move" an object from HDR to normal rendering and vice-versa by 
simply specify its RenderBin as "FBO 1" or "FBO 3".

I've already have a shader system with automatically switch between HDR and 
normal rendering, but for now I have to move the object from a sub graph to 
another, which breaks the graph logics for user and also for events o 
intersectors.

Thank you!

Cheers,
Aurelien

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=52679#52679





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to