The place to look is in the Export module, which is where such a capability
should go.  Export dumps the content of  DX objects to disk file(s) in
various formats.  Only one of the formats (the native dx format) supports
all of the different types of objects that the DX data model handles.  One
of the supported formats is VRML, which only makes sense for a geometric
subset of the DX data model.  That code may serve as a good place to start
since you would have to process the input objects in a similar fashion
prior to encoding in Postscript instead of VRML.  This approach would be
more general-purpose and independent of rendering.  It also would be easier
than trying to modifying the hardware rendering to utilize the approach
with gl scenes that you cited.  Once you have parsed the description of
geometry in DX (i.e., following what is done for VRML), you could use some
of the same ideas that Kilgard does for the Postscript encoding.


Andreas Klaedtke <[EMAIL PROTECTED]>@opendx.watson.ibm.com on
06/12/2001 08:39:30 AM

Please respond to [email protected]

Sent by:  [EMAIL PROTECTED]


To:   [email protected]
cc:
Subject:  [opendx-dev] vector rendering for postscript output



Hi,

as I am new to this list but could not find any word about this topic
in the mailing list archives, maybe someone could give me a hint or
a clarification:

as I have realized it, there does not exist a possibility to export
scenes in a vectorized format for resolution independent output.
The postscript output as it exists does result in a rasterized bitmap
image.

Now the suggestion/question:
Did anybody think of doing something similar to the way Mark Kilgard
did vector postscript output for gl scenes?
http://reality.sgi.com/opengl/tips/Feedback.html

There was also a recent reference in http://www.opengl.org about a
c library which refines the OpenGL Feedback Ansatz with a sorted
BTree.

If this Ansatz would be possible, where should I start with inserting
this OpenGL wrapping? I am not very familliar with the code base although
I have compiled it on several platforms.

--
Andreas Klaedtke
DLR Stuttgart
Institut fuer technische Physik
Theoretische Quantenelektronik
Pfaffenwaldring 38-40
D-70569 Stuttgart
Fon: +49(0)711-6862 737
Fax: +49(0)711-6862 349
Email: Andreas Klaedtke <[EMAIL PROTECTED]>
        [EMAIL PROTECTED] (private)


Reply via email to