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 / 99
98  |  100
Subject: 
Re: My 1st custom highway scene. Thanks Bram!
Newsgroups: 
lugnet.cad.ray
Date: 
Sat, 19 Feb 2000 03:48:20 GMT
Viewed: 
1150 times
  
In lugnet.cad.ray, Doug Glasnapp writes:
In lugnet.cad.ray, Bram Lambrecht writes:
You did, but im not a very good coment reader unless I need to. :) It was
simple enough to figure out since the general look of pov source looks a bit
like c, since I love programing in c.

Yeah, I found it easy to learn the POV syntax too, since I have programmed in
C.

Was the bug in the previous file about the cars not in thier lanes?

Yep.  Here's all I changed to fix it (at the end of highway_object.inc)
#macro put_car (car_name, lane_number, z_distance, car_lower_bound, car_color)
        object { car_name
                 #if (lane_number > 0)
                        rotate y*180
                 #end
                 translate <lane_number*lane_width+( #if (median_type > 0)
median_width+ #end
lane_width)/2-lane_width,-car_lower_bound,-z_distance*studwidth>
                 material { car_color }
       }
#end

--Bram



Message is in Reply To:
  Re: My 1st custom highway scene. Thanks Bram!
 
(...) You did, but im not a very good coment reader unless I need to. :) It was simple enough to figure out since the general look of pov source looks a bit like c, since I love programing in c. Was the but in the previous file about the cars not in (...) (24 years ago, 19-Feb-00, to lugnet.cad.ray)

9 Messages in This Thread:



Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

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