To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cadOpen lugnet.cad in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / 17669
17668  |  17670
Subject: 
Re: Heightfields in LDraw
Newsgroups: 
lugnet.cad
Date: 
Wed, 30 Mar 2011 07:44:17 GMT
Viewed: 
19510 times
  
In lugnet.cad, Anders Isaksson wrote:
Michael Horvath wrote:
I've been experimenting with importing terrain heightfields into
LDraw.

A long time ago I wrote a terrain generator whose final output was a
BlockCAD file. The surface of the landscape was built up with 1x1 bricks and
tiles. I belive I also had the possibility to generate bricks all the way up
from the bottom, but removed it because too many parts made BlockCAD slow.

An example of a generated landscape viewed in BlockCAD can be seen here
(don't let the folder name fool you, TerraGen was not involded in this):

http://www.brickshelf.com/gallery/anders-isak/Terragen/image1.jpg

As BlockCAD can save in LDRAW format, it would be quite quick to get such a
landscape into an LDRAW editor.

I could probably find the sources (Delphi) and touch up the program a bit -
as I remember it stored the result in a hardcoded place on my
prev-prev-previous computer, and as it was quite some time ago, there were
probably a very small limit on the size of the landscape (maybe 64x64, I
don't remember).

Please let me know if you're interested.


It could be nice if the tool switched between polygons and studs depending on
the slope of the terrain. I like how some of the molded TLG baseplates aren't
entirely covered by studs and have some empty spaces.


-Mike



Message has 1 Reply:
  Re: Heightfields in LDraw
 
(...) I found the sources, and did a quick fix (no hardcoded files anymore). It still only generates a BlockCAD .LGO file but that is easily translated to LDRAW with BlockCAD. (URL) no part optimizing - the whole landscape is built with 1x1 bricks (...) (14 years ago, 30-Mar-11, to lugnet.cad)

Message is in Reply To:
  Re: Heightfields in LDraw
 
(...) A long time ago I wrote a terrain generator whose final output was a BlockCAD file. The surface of the landscape was built up with 1x1 bricks and tiles. I belive I also had the possibility to generate bricks all the way up from the bottom, but (...) (14 years ago, 29-Mar-11, to lugnet.cad)

7 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
    

Custom Search

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