[Plib-users] ssgSelector - Imposters
Brought to you by:
sjbaker
From: Christopher S H. <chr...@cl...> - 2003-09-16 19:31:52
|
Hi, I've started to code a ssgSelector that will handle imposters. I thought I'd ask a few questions about it before continuing. There will be two parts of the tree, one to be rendered to the off-screen pbuffer and another (usually a textured quad) rendered to the screen. The leaves of the tree may move or update. To select which part of the tree is rendered I'd use select() etc. The part rendered to the pbuffer i.e. the actual scene will require a context switch. However this should be transparent when ssgCullAndDraw is called because the context will be returned to what it was. Normally the only node to be rendered in a standard parse of the tree would be the textured quad node. The update of the texture (read pbuffer) would occur in response to some change of condition to a range (angle or distance). If anyone has some useful advice it would be welcome. Chris <irrelevant context> I'm trying to keep it simple to begin with so I'm assuming that all the objects to be rendered into the imposter are in the same locality and don't require individual range tests. I will test range (changing angle) as a group though. </...> |