To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.rayOpen lugnet.cad.ray in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / Ray-Tracing / 2905
2904  |  2906
Subject: 
Re: LDraw road macro update
Newsgroups: 
lugnet.cad.ray
Date: 
Sun, 21 Dec 2008 03:52:01 GMT
Viewed: 
12020 times
  
I’ve updated the macros again. Lots of changes and a few bug fixes.
  1. All road objects are now solid and can be used within CSG operations.
  2. Added optional road embankments. The angle of the embankment is determined by the embankment slope and sky vector.
  3. Fixed the bug in flat intersections where gaps would appear at corners when roads intersected at angles greater than 180 degrees.
  4. The curve formed when roads intersect at angles greater than 180 degrees now is more logical. The curve is continuous and no longer wastes space.
  5. Hermite spline roads can now accept any number of end and tangent points. Previously there was a limit of two of each.
  6. The height of flat intersections can now be specified.
  7. Spiral and elliptical roads can now have a minimum and maximum height instead of just a maximum.
  8. The entire texture for each road component (i.e. road surface, road stripe, shoulder stripe, etc.) can now be specified explicitely instead of only the pigment.
  9. Certain macro parameters have been removed and changed into globally- declared variables instead.
  10. Certain macro parameters have been changed so that indices start at 0 instead of 1.
  11. Debug marker objects have been re-enabled or added if missing, and can be toggled on and off by setting the debug level to greater than 1.
  12. The texture macros have been modified slightly. They now all check for the road type.
  13. Many of the local variables have been renamed to be more consistent.
  14. The placement of the crosswalks in intersections is now more accurate.
  15. The macros now quit with an error and description of the problem in certain instances.
  16. Many other internal changes to the macros, including a heavier use of arrays to store pre-calculated information.
You can find it here:

http://lib.povray.org/searchcollection/index2.php?objectName=LegoRoad&version=2.5&contributorTag=SharkD

-Mike



Message has 1 Reply:
  Re: LDraw road macro update
 
There were some bugs that I missed at the very last second. Here's the fixed version: (URL) (16 years ago, 21-Dec-08, to lugnet.cad.ray)

Message is in Reply To:
  LDraw road macro update
 
I've updated my LDraw road macro for POV-Ray. The macros have mostly been combined into a single item and now use a more convenient syntax. I've also added an Archemedes spiral in addition to the Nautilus spiral, and removed the dependancy on Chris (...) (16 years ago, 25-Jun-08, to lugnet.cad.ray, FTX)

5 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