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 / 1411
1410  |  1412
Subject: 
Re: How to do "Glow In the Dark" effect ?
Newsgroups: 
lugnet.cad.ray
Date: 
Sat, 31 Aug 2002 21:06:47 GMT
Viewed: 
984 times
  
In lugnet.cad.ray, Andrew Westrate writes:
In lugnet.cad.ray, Damien Guichard writes:
The magic wand would be much nicer if glowing in the dark:

http://www.brickcaster.multimania.com/misc/pt/wizard.png

Thanks in advance,

Damien

The easiest way is to increase the ambient value for the glow in the dark color:

#declare AMB = 0.4;
#declare DIF = 0.4;

#declare GLOWAMB = 0.6;
#declare GLOWDIF = 0.4;

// glow in the dark
#ifndef (Color21)
#declare Color21 = #if (version >= 3.1) material { #end texture {
pigment { rgb <0.878431,1,0.690196> }
finish { ambient GLOWAMB diffuse GLOWDIF }
#if (QUAL > 1)
finish { phong 0.5 phong_size 40 reflection 0.08 }
#if (BUMPS) normal { BUMPNORMAL } #end
#end
} #if (version >= 3.1) } #end
#end

Andy

Thanks Andy,

http://www.brickcaster.multimania.com/misc/pt/wizard2.png

It is more shining now.
Is there a luminescent way?

Damien



Message is in Reply To:
  Re: How to do "Glow In the Dark" effect ?
 
(...) The easiest way is to increase the ambient value for the glow in the dark color: #declare AMB = 0.4; #declare DIF = 0.4; #declare GLOWAMB = 0.6; #declare GLOWDIF = 0.4; // glow in the dark #ifndef (Color21) #declare Color21 = #if (version >= (...) (22 years ago, 25-Aug-02, to lugnet.cad.ray)

3 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