Subject:
|
Re: ldlite
|
Newsgroups:
|
lugnet.cad
|
Date:
|
Wed, 19 Apr 2000 15:56:36 GMT
|
Viewed:
|
605 times
|
| |
| |
In lugnet.cad, Kevin Loch writes:
> What I'm trying to do is generate "ldraw" rendered images directly
> to a file. This is an attempt to speed up the rendering process
> in the Virtual Explorer. The quality will be less, but hopefully it
> will be more interactive.
>
> I still haven't been able to make ldglite dump the output to a png file.
It should be able to do that. You want to do this automatically from the
command line, right? Did you compile in the png support? I'm not great
at makefiles so makefile.linux has multiple targets. I usually build
the l3glitepng target with "make -f makefile.linux l3glitepng" since this
builds in all the best stuff. It's not the default target since I don't
really know how easy or hard it is to get libpng. Another possible point
of confusion is if you build in the l3 parser you get an executable named
l3glite instead of ldglite. I did this to make it easier for me to build
both so I could compare the results.
I think it dumps to the $LDRAWDIR/bitmap directory so you may need to create
that directory and adjust the permissions.
I don't have linux in front of me right now so I can't be absolutely sure
but this works in win2k.
l3glite -i1 -v3 -fh -ms dat\m6020.dat
It eventually prints this when it dumps the png file.
Write PNG c:\legos\ldraw\bitmap\m60201.png
I think the extra 1 at the end of the filename is something leftover from
the spin thing where it dumps a pic for every 10 degrees. Or perhaps it's
a step number. I'll have to look into that.
By the way, should I add anything to the linux instructions to cover BSD?
Don
|
|
Message has 1 Reply:
Message is in Reply To:
| | Re: ldlite
|
| (...) Follow-up: What I'm trying to do is generate "ldraw" rendered images directly to a file. This is an attempt to speed up the rendering process in the Virtual Explorer. The quality will be less, but hopefully it will be more interactive. I still (...) (25 years ago, 19-Apr-00, to lugnet.cad)
|
18 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
|
|
|
|