Re: Using Chromium to extract a scenegraph

Brian Paul <[email protected]> Fri, 15 Jul 2005 18:19:04 -0600
Newsgroups gmane.comp.graphics.chromium.devel
Message-ID <[email protected]>
Daniel B. Faken wrote:
> Hi All,
> 
>   Does anyone have pointers to such work/SPUs?
>   For example, to convert a 'frame' of some OpenGL-program to 3DSMax 
> format, .OBJ format, VRML, etc..
> 
>   It seems like a fairly obvious use, but I can't think of any work like 
> this.. maybe there are some theoretic limitations?
>   I suppose in the limit this is something like decompilation.
> 
>   There is of course file-output.  And the GLDB project which
> can "capture" an object via a stream-query-language (it hasn't
> released any software yet though - just the SIGGRAPH'05 paper at
> http://www.cs.jhu.edu/~jab/gldb.pdf), and my own CRFreezer stuff.  But 
> none of these (AFAIK) attempt to deduce the structure of an entire scene 
> from the GL stream.
>   One could look e.g. for gl{Push,Pop}Matrix(), gl{Begin,End}(), 
> gl{Push,Pop}Attrib(), .. as markers for subtrees in a scenegraph.
> To extract objects one could look for coincident vertices (and/or use 
> Chromium's bounding-boxes).

Sounds like that would be an interesting project.  I don't know of 
anyone who's tried it.

-Brian



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click