Ok, I thought of something easier.
Could you describe why it would'nt be possible to just add something 
similar to the print menu command from the image window?
Just set up the postscript output, call the gl drawing sequence and
close the postscript output?

On 12-Jun-01 Lloyd A Treinish wrote:
> 
> 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
> 
**snip old message**

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