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 / 2205
2204  |  2206
Subject: 
New POV-Ray locomotive
Newsgroups: 
lugnet.cad.ray, lugnet.cad, lugnet.trains
Followup-To: 
lugnet.cad
Date: 
Sat, 10 Apr 2004 18:22:33 GMT
Viewed: 
3365 times
  
I have generated a rendering of my SD40-2 in a snow storm at night. The snow was
created from POV-Ray code that I found on Paul T. Dawson's web page. There is a
link to Paul's site on my site. I used the media and media attenuation to get
the visible head lights.

media {
  scattering {1, rgb 0.001 extinction 0.035}
  intervals 10
  samples 5
  method 3
// Lights:
light_source {

    <0, 0, 0>
    color rgb <1,1,1>
    spotlight
    //fade_distance 100.0
    //fade_power 1.6
    looks_like {_4073_dot_dat_clear// #if (version >= 3.1) material #else
texture #end
                matrix <1-0.01/20,0,0,0,1-0.01/12,0,0,0,1-0.01/20,0,0.01/6,0>
                matrix <1,0,0,0,0,-1,0,1,0,0,0,0>
    #if (version >= 3.1) material #else texture #end { Color47 }
    finish {ambient 20}
}   point_at <-300,57,-80>
    radius 10
    falloff 10
    media_attenuation on
    translate  <336,-103,161>
}


I am disappointed with the appearence of the 1x1 rounds though. With the media
present in the entire scene they appear as large globes. I assume that if I knew
how to create a hollow box, for example, enclosing only the area in front of the
loco I may be able to have media present only in the box resulting in better
looking 1x1 rounds. Any suggestionas greatly appreciated.

It can be seen at http://www3.telus.net/chuck

Navigate to POV-Ray then Night Scene.

Chucko



1 Message 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