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 / 6282
  terrain in LDraw
 
I don't know if anyone's ever thought of this, but it would be cool if you were able to import a terrain file into LDraw, in a way that LDraw could read it. This way, you could place your models on "real world terrain" without having to work in a (...) (23 years ago, 10-Aug-01, to lugnet.cad.dev)
 
  Re: terrain in LDraw
 
Mike: (...) My "fractal landscape" package can do that, if you can figure out how to convert your terrain to Portable Graymap (PGM) format: (URL) "Preserve wildlife, pickle a duck." (23 years ago, 10-Aug-01, to lugnet.cad.dev)
 
  Re: terrain in LDraw
 
Jacob, Could you give some example command lines please? Gr. Jaco (...) (23 years ago, 10-Aug-01, to lugnet.cad.dev)
 
  Re: terrain in LDraw
 
Jaco: (...) pgm_to_ldraw -colour 2 -height 30 < terrain.pgm > terrain.dat (or were you asking for a bit more than that?) Lets try to make a 32 by 32 knob 30 plates high relatively soft all-green landscape: fractal_landscape -width 32 -height 32 -h (...) (23 years ago, 10-Aug-01, to lugnet.cad.dev)
 
  Re: terrain in LDraw
 
I wrote: [...] (...) [...] A slightly cleaned up version of this example can be found in the updated source distribution of my fractal landscape generator. Play well, Jacob -- (URL) (23 years ago, 10-Aug-01, to lugnet.cad.dev)  
 
  Re: terrain in LDraw
 
How do you get the .PGM format? I have converted .DEM to .BMP before. Is it much different? Mike PS - Do you have any screenshots? I noticed there weren't any on your website. (...) (23 years ago, 12-Aug-01, to lugnet.cad.dev)
 
  Re: terrain in LDraw
 
Mike: (...) No. PGM is basically a "pure ASCII grey-scale only" version of BMP. You can find information and conversion tools at: (URL) PS - Do you have any screenshots? I noticed there weren't any on your website. "screenshots"?!? It is a command (...) (23 years ago, 13-Aug-01, to lugnet.cad.dev)
 
  Re: terrain in LDraw
 
(...) No. I mean a screenshot of a finished product. What's the terrain data look like after you've run your app and loaded the DAT file into LDraw/MLCad/etc(choose one)? Thank you. Mike (23 years ago, 13-Aug-01, to lugnet.cad.dev)
 
  Re: terrain in LDraw
 
I was wondering if you knew the pixel/stud ratio offhand. This bit of information might be useful for future reference. Thx, Mike (...) (23 years ago, 14-Aug-01, to lugnet.cad.dev)
 
  RE: terrain in LDraw
 
(...) 1 pixel = 1 stud. I used Jacob's utility to create the terrain for the CAD scenes I did of Fallingwater: (URL) make the scene, I colored in a topographical map of the landscape with white as high and black as low. I saved it as a low quality (...) (23 years ago, 14-Aug-01, to lugnet.cad.dev, lugnet.build.arch)
 
  Re: terrain in LDraw
 
Oh, I didn't know you'd made a DAT file out of that yet. I just visited your site and was looking at that model. Very nice! Would you consider contributing your model to my new village I'm building? I'm trying to make it a screen north of Datsville. (...) (23 years ago, 14-Aug-01, to lugnet.cad.dev, lugnet.build.arch)
 
  Re: terrain in LDraw
 
I don't understand the command line. I have a PGM. I typed "pgmtoldr filename.pgm" at the command prompt, and received a bunch of errors. No DAT file. :( Do I need a bunch of Linux stuff to run it? Mike (...) (23 years ago, 14-Aug-01, to lugnet.cad.dev, lugnet.build.arch)
 
  Re: terrain in LDraw
 
I couldn't get the terrain in Falling Water to load in MLCad. (...) (23 years ago, 14-Aug-01, to lugnet.cad.dev, lugnet.build.arch)
 
  RE: terrain in LDraw
 
(...) I don't know if I have the terrain anymore...it's a rather large file, since I think it was 50x50 or even 100x100 studs. --Bram Bram Lambrecht bram@cwru.edu (URL) (23 years ago, 14-Aug-01, to lugnet.cad.dev, lugnet.build.arch)
 
  Re: terrain in LDraw
 
Am I correct in assuming that the PGM -> DAT converter creates studs in the form of terrain? I saw the rendering of Falling Water and saw that the building was surrounded by lots of studs. Is this the result of using this converter? Mike (...) (23 years ago, 14-Aug-01, to lugnet.cad.dev, lugnet.build.arch)
 
  Re: terrain in LDraw
 
Mike: (...) Sort of. It is a LEGO landscape, so it is of course made from LEGO pieces. Jacob (23 years ago, 14-Aug-01, to lugnet.cad.dev, lugnet.build.arch)
 
  Re: terrain in LDraw
 
Mike: (...) I see! I have added examples of images generated by my demonstration program to the webpage: (2 URLs) redaktørens opgave på internetnyhedstjenester. (23 years ago, 14-Aug-01, to lugnet.cad.dev)  
 
  Re: terrain in LDraw
 
Mike: (...) Wierd. As usual, the first question from the "support hot-line" is: Which version did you use? Have you tried to update to the latest version? (...) You shouldn't, but since I am too lazy to package executable files myself, you have to (...) (23 years ago, 14-Aug-01, to lugnet.cad.dev, lugnet.build.arch)
 
  Re: terrain in LDraw
 
Sorry. I guess you did include screenshots of completed files on your website. Sorry, I didn't recognize th *.png format. I've been using the "ready to run DOS package" dated 1999-6-15, available for download on your site. Well, it wasn't really (...) (23 years ago, 14-Aug-01, to lugnet.cad.dev, lugnet.build.arch)
 
  Re: terrain in LDraw
 
Mike: (...) That may explain some of your problems. I have improved and modified the program a bit since then. (...) What did you expect? "Plain" non-brick landscapes in LDraw format? Or is the program just not your kind of user friendlyness? Jacob (23 years ago, 14-Aug-01, to lugnet.cad.dev, lugnet.build.arch)
 
  Re: terrain in LDraw
 
Sorry to upset you. (...) (23 years ago, 14-Aug-01, to lugnet.cad.dev, lugnet.build.arch)
 
  Re: terrain in LDraw
 
Mike: (...) I am not upset. I am just bad at writing English. I might want to make the program do what you want, but I can't if you don't tell me what's missing. Jacob (23 years ago, 14-Aug-01, to lugnet.cad.dev, lugnet.build.arch)
 
  Re: terrain in LDraw
 
Actually, I was hoping to incorporate .DEM files into LDraw. At first glance I thought your utility could do that. It does so, but it generates studs instead of just plain polygons. Now, I can do this just as easily by doing a search over at the (...) (23 years ago, 14-Aug-01, to lugnet.cad.dev, lugnet.build.arch)

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