| | | | |
| |
| In lugnet.cad.dev, Travis Cobbs wrote:
> In lugnet.cad.dev, Bram Lambrecht wrote:
> > In lugnet.cad.dev, Michael Horvath wrote:
> > > Is it possible to create a SVG version of a rendering of an LDRaw model? I am
> > > only interested in the visible portion, such as what you see from one of the
> > > several default views (front, left, back, etc.).
> >
> > Rendering from 3D to 2D vector graphics should be possible:
> > http://www.geuz.org/gl2ps/
> > But I don't know how efficient it is.
Wow, I must be getting really old. The deja-vu didn't didn't set in
until I slept on it. I can't hardly believe this was 8 years ago.
http://news.lugnet.com/cad/dev/?n=9286
And at that point ldglite already had experimental support for the
similar gleps code that seems to have disappeared down the memory hole
of the internet.
Unfortunatly I found gleps also produced astronomically large files,
similar to the results reported below. But it's nice to know Travis is
still hammering away at it. I'm confident he'll eventually get the
size to something acceptable, even if we have to wait until googlebyte
local storage is commonplace. :^)
Don
> LDView actually has experimental support for this built-in (although it
> has to be manually enabled via either a command line switch or a registry
> setting). Unfortunately, it's effectively useless on anything other than
> individual parts due to the astronomically large output files, and their
> extremely slow processing. The results also tend to not render nicely in
> most SVG renderers (particularly transparent parts). See below for the
> output from car.dat (WARNING: 8.3MB file).
>
> http://www.halibut.com/~tcobbs/ldraw/private/car.svg
>
> Here's a single part (276KB):
>
> http://www.halibut.com/~tcobbs/ldraw/private/30272.svg
>
> The above also has another experimental LDView feature (OBI: Old/Original
> Building Instructions) enabled with a custom part file to make use of that
> feature. That's why the sides of many of the cylinders are black.
| | | | | | | | | | | | | In lugnet.cad.dev, Don Heyse wrote:
> Unfortunatly I found gleps also produced astronomically large files,
> similar to the results reported below. But it's nice to know Travis is
> still hammering away at it. I'm confident he'll eventually get the
> size to something acceptable, even if we have to wait until googlebyte
> local storage is commonplace. :^)
Actually, I'm not hammering away at it. I put the support in back in May of
2008, but I haven't really done much with it since then.
--Travis
| | | | | | |