[osg-users] highlight an object with osgFX::Scribe
Ulrich Hertlein
u.hertlein at sandbox.de
Mon Nov 16 01:53:26 PST 2009
Hi J-S,
On 13/11/09 3:48 PM, Jean-Sébastien Guay wrote:
>> I would very much like to hear if there's a solution to this problem.
>> There is osgUtil::DisplayRequirementsVisitor but this apparently isn't
>> used anywhere.
>
> I wouldn't worry about it. Requiring that the stencil buffer be enabled
> is a sound requirement, and one you can easily document and leave to the
> user to make sure they have it enabled...
After taking another look at the code with your suggestion in mind I realized that this
would get me rid of an ugly cull callback just to clear the stencil buffer.
You're right I shouldn't have worried about it too, this is clearly a better solution.
Cheers,
/ulrich
More information about the osg-users
mailing list