[osg-users] Independent prerender step

2007-10-02 Thread Kallfass, Daniel, SDGE1
Hello, What is the correct way to create an independent prerender step in OSG? I'd like to paint a skydome (from osgEphemeris) to the framebuffer which doesn't affect the near/far clipping plane computation, the z-buffer, scene lighting etc. I've tried around using osg::Camera with PRE_RENDER as

Re: [osg-users] Independent prerender step

2007-10-02 Thread David Spilling
I do exactly that, using a camera which does the following: 1) Sets DO_NOT_COMPUTE_NEAR_FAR so that the skydome doesn't influence the auto-z calculation; otherwise large skydome radii will skew the rest of the scenes znear/zfar 2) Forces the projection matrix so that the skydome radius is within