Re: [osg-users] Multiple cameras with setRenderOrder(PRE_RENDER, i)

2009-11-25 Thread Ross Bohner
Hi, Paul, I tried your code, then prerender.cpp, then parts of shadowMap.cpp of osgParticle. All failed, (seg fault when images were not attached to textures, and render fail when texture were not have dimentions of power of two), so there had to have been something wrong with the framework

Re: [osg-users] Multiple cameras with setRenderOrder(PRE_RENDER, i)

2009-11-21 Thread Ross Bohner
Hi, Thank you for the code snippet. Looking it over I see two differences from my implementation which have been giving me a headache. These are not necessarily related to camera render orders so it might be appropriate to send these as separate threads. First difference from your code

[osg-users] Using a PRE_RENDER stage texture as uniform to a later render stage

2009-11-21 Thread Ross Bohner
Hi, I am using a pre_render stage camera to generate a texture for later use. However the texture is not accessable to a later stage shader when it is set as uniform, Since the texture functions fine when attached to geometry and the shaders handle non generated textures without problem, I