| | DAT to GIF/JPG/EPS
|
|
Is there a utility out there for converting DAT files into GIF, JPG or EPS files? (24 years ago, 19-Jan-01, to lugnet.cad)
|
|
| | Re: DAT to GIF/JPG/EPS
|
|
"Thomas Keenan" <thomas@mets.com> wrote in message news:G7F305.Eto@lugnet.com... (...) No. You need to render your DAT file with L3P/POV-Ray or view it in something like L3Lab or LDView and take a screenshot (unless they have image generating (...) (24 years ago, 19-Jan-01, to lugnet.cad)
|
|
| | Re: DAT to GIF/JPG/EPS
|
|
(...) I'm pretty sure ldlite 2.0 can render to an arbitrary size BMP image, but then you have to convert it to get GIF or JPG. LDAO can be used to automate the process if you want to do lots of this. I toyed with EPS output in the latest version of (...) (24 years ago, 19-Jan-01, to lugnet.cad)
|
|
| | Re: DAT to GIF/JPG/EPS
|
|
From a DOS command line type: Ldraw -ms parts\1.DAT This takes 1.dat, renders it as a bitmap, and drops 1.bmp in the "bitmaps" folder. I used a large batch file to convert all my dat to bmp so that I could create a catalog in Microsoft Word. Royce (...) (24 years ago, 19-Jan-01, to lugnet.cad)
|
|
| | Re: DAT to GIF/JPG/EPS
|
|
(...) triangles (...) How exactly did you do this, if you don't mind explaining? (24 years ago, 19-Jan-01, to lugnet.cad)
|
|
| | Re: DAT to GIF/JPG/EPS
|
|
(...) I pasted some code from here (URL) ldglite. It uses the opengl feedback buffer to grab the primitives and dump EPS instead of rendering them onscreen. It's a neat trick, but not the best way to do it. A better way would be to convert parts (...) (24 years ago, 20-Jan-01, to lugnet.cad)
|
|
| | Re: DAT to GIF/JPG/EPS
|
|
(...) Where does hidden triangle removal happen in this process? Or do you count on getting them in proper back-to-front order? I'm experimenting with a postscript renderer plug-in since about a week ago. -Erik (24 years ago, 21-Jan-01, to lugnet.cad)
|
|
| | Re: DAT to GIF/JPG/EPS
|
|
(...) The code at sgi has an option to sort them by depth. It's not perfect though, and it uses a lot of memory since you have to push ALL the triangles through the feedback buffer before you sort. That's a lot of triangles and postscript is quite (...) (24 years ago, 22-Jan-01, to lugnet.cad)
|
|
| | Re: DAT to GIF/JPG/EPS
|
|
(...) then... (...) What it really wants is not individual triangles, but outline strokes. Always more ideas for projects than time to do them. (24 years ago, 23-Jan-01, to lugnet.cad)
|
|
| | Re: DAT to GIF/JPG/EPS
|
|
Thanks for all the feedback. Erik Olson wrote in message ... (...) (URL)into ldglite. It uses the opengl feedback buffer to grab the primitives (...) not (...) of (...) though, (...) through (...) postscript (...) (or (...) sized (...) (24 years ago, 24-Jan-01, to lugnet.cad)
|
|
| | Re: DAT to GIF/JPG/EPS
|
|
Thomas: (...) LDGLite (see (URL) for installation instructions on Linux) can convert DAT and MPD files to PNG: ldglite-run -i2 -ms model.mpd Using netpbm/pbmplus (and tcsh) it is easy to convert the PNG files to GIF and JPEG: foreach file ( (...) (24 years ago, 24-Jan-01, to lugnet.cad)
|
|
| | Re: DAT to GIF/JPG/EPS
|
|
(...) Did you use this double size method to generate the recently posted horse and cow instructions? They look nice. I might have to reorder my priorities. I've been working on replacing the pathetic ldglite gui with something a bit more user (...) (24 years ago, 24-Jan-01, to lugnet.cad)
|
|
| | Re: DAT to GIF/JPG/EPS
|
|
Don: (...) Yes. The horse was double size and the cow and the reindeer were scaled up four times. (...) Please do. Play well, Jacob PS: Has anybody looked into writing a direct DAT/MPD to Postscript renderer? -- No .sig today either. (24 years ago, 25-Jan-01, to lugnet.cad)
|