To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.devOpen lugnet.cad.dev in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / Development / 8881
8880  |  8882
Subject: 
Re: LDraw -> EPS (Was: LPub 2.2.0.0 Available)
Newsgroups: 
lugnet.cad.dev
Date: 
Wed, 30 Apr 2003 14:08:35 GMT
Highlighted: 
(details)
Viewed: 
4523 times
  
In lugnet.cad.dev, Jacob Sparre Andersen writes:
> In lugnet.cad.dev, Don Heyse writes:
> 
> > Yeah, but I don't think it's trivial to convert from 3D LDR
> > format to EPS.
> 
> No it isn't.  Bitmaps with Z buffering are much easier.
> 
> > However, it you want to fiddle with it, there is code in ldglite
> > to dump EPS output.
> 
> It sounds like I should spend more time looking at the source code
> for LDGLite.

You really should.  I don't have as much free time these days so
it's been a bit neglected by me.

> > It needs work with the polygon depth sorting, and the elimination
> > of occluded polygons.  Let me know and I'll point you to the code.
> 
> I'm really too busy to do any work on it now, but I wouldn't mind
> knowing where to look, if I suddenly find a few spare hours.

Most of the code is in gleps.c.  That's the part that needs work.
Otherwise you can search for the variable EPS_OUTPUT_FIGURED_OUT
in main.c.  It looks like passing -eps on the command line enables
the EPS code and then you can use ALT-e and ALT-E to dump a file
called render.eps.  CTRL-ALT-e may also print some debugging info
to the console.  However, I may have commented out a bunch of
the code in gleps.c a while back to make it compile on BSD systems.

Don



Message has 1 Reply:
  EPS output from LDGLite (Was: LDraw -> EPS)
 
(...) Yes. But I need to overcome my strong dislike for C code every time I open a C file to do anything with it. (...) Yes. Take a look at my LEGO purist's fighter> for an example: (URL)and the elimination of occluded polygons. Yes. The above file (...) (24 years ago, 30-Apr-03, to lugnet.cad.dev)

Message is in Reply To:
  LDraw -> EPS (Was: LPub 2.2.0.0 Available)
 
(...) No it isn't. Bitmaps with Z buffering are much easier. (...) It sounds like I should spend more time looking at the source code for LDGLite. (...) I'm really too busy to do any work on it now, but I wouldn't mind knowing where to look, if I (...) (24 years ago, 30-Apr-03, to lugnet.cad.dev)

17 Messages in This Thread:







Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR