POV-Ray : Newsgroups : povray.binaries.images : LegoRoad macro v2.5.0 : LegoRoad macro v2.5.0 Server Time
5 Nov 2024 20:17:08 EST (-0500)
  LegoRoad macro v2.5.0  
From: SharkD
Date: 20 Dec 2008 22:50:00
Message: <web.494dbbd7e71b3bc929983cd0@news.povray.org>
I've updated my LegoRoad macro to version 2.5.0.

Fixes:
2.50
- All road objects are now solid and can be used within CSG operations.
- Added optional road embankments. The angle of the embankment is
  determined by the embankment slope and sky vector.
- Fixed the bug in flat intersections where gaps would appear at corners
  when roads intersected at angles greater than 180 degrees.
- 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.
- Hermite spline roads can now accept any number of end and tangent
  points. Previously there was a limit of two of each.
- The height of flat intersections can now be specified.
- Spiral and elliptical roads can now have a minimum and maximum height
  instead of just a maximum.
- 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.
- Certain macro parameters have been removed and changed into globally-
  declared variables instead.
- Certain macro parameters have been changed so that indices start at 0
  instead of 1.
- 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.
- The texture macros have been modified slightly. They now all check for
  the road type.
- Many of the local variables have been renamed to be more consistent.
- The placement of the crosswalks in intersections is now more accurate.
- The macros now quit with an error and description of the problem in
  certain instances.
- Many other internal changes to the macros, including a heavier use of
  arrays to store pre-calculated information.


Post a reply to this message


Attachments:
Download 'legoroad.png' (93 KB)

Preview of image 'legoroad.png'
legoroad.png


 

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.