[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GTC: visibility culling for scene graphs
That's a good idea. GTC does this for certain things. Keeping in mind that the
"scene graph" is flat for now; for example, gtc_sweep_kennel goes through the
list of node and destroys the ones that need to be removed (as marked by the
GTCKILLFLAG), gtc_animate_kennel traverses the list and does some animation
stuff, gtc_display_kennel traverses the list and displays it. I am in the
process of doing the network traverser right now (though I have a busy schedule
so it may take a week before it's done).
I will change the naming scheme for scene graphs for the next version but the
API will remain essentially the same. I will also make the "group" node
(currently called "kennel") a gtcMetaGfx type.
> Don't know if GTC already have this concept, but
> we could implement this and other culling algorithms
> using custom graph travesers, like SGI's Performer.
> This would allow great modularity.
>
> We could have basic travesers (like update, frustrum_cull,
> visi_cull, render, network, etc) that would acept a
> [root] node* as parameter and do the apropriate action
> with the child graph.
>
> This way we could have independent travesers and lot of
> space for user custom made travesers.
>
> +-----------------------------------------------------------+
> | Marcelo de Azevedo Wilbert Camelo <camelo@led.ufsc.br> |
> | |
> | Laboratorio de Ensino a Distancia - Equipe Internet |
> | Programa de Pos-Graduacao em Engenharia de Producao |
> | Universidade Federal de Santa Catarina - Florianopolis/SC |
> +-----------------------------------------------------------+
>
> *************************************************************
> To unsubscribe, send an e-mail to majordomo@gtc.seul.org with
> unsubscribe gtc-dev in the body. http://gtc.seul.org/
Sebastien Loisel -- McGill University -- Sun Microsystems
http://www.math.mcgill.ca/~loisel/
*************************************************************
To unsubscribe, send an e-mail to majordomo@gtc.seul.org with
unsubscribe gtc-dev in the body. http://gtc.seul.org/