Using Chromium to extract a scenegraph

"Daniel B. Faken" <[email protected]> Fri, 15 Jul 2005 13:15:23 -0400 (EDT)
Newsgroups gmane.comp.graphics.chromium.devel
Message-ID <[email protected]>
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).

thanks,
Daniel Faken




-------------------------------------------------------
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