To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cadOpen lugnet.cad in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / 5195
5194  |  5196
Special: 
[DAT] (requires LDraw-compatible viewer)
Subject: 
Re: Smoke Puff.dat (was Re: L3P Idea)
Newsgroups: 
lugnet.cad
Date: 
Sat, 30 Dec 2000 18:47:15 GMT
Viewed: 
769 times
  
Here is my improved smoke effect. I figured out a hack to get around having to
hand edit anything. This is just be drag-and-drop. You can still see the
spherical envelope of the smoke, but it isn't too bad. It takes a long time to
render. For an example (this uses 1 smoke puff):

http://www.best.com/~amnon/Homepage/Games/TooHot.jpg


0 Smoke Puff
0 Name: SmokePuff.dat
0 Author: Amnon Silverstein
0 POV smoke effect, Experimental
0
0 L3P IFNOTPOV
0
4 16 5      0 0      4.6195 0 1.9135 5.5433 0 2.2961 6      0 0
4 16 4.6195 0 1.9135 3.5355 0 3.5355 4.2426 0 4.2426 5.5433 0 2.2961
4 16 3.5355 0 3.5355 1.9135 0 4.6195 2.2961 0 5.5433 4.2426 0 4.2426
4 16 1.9135 0 4.6195 0      0 5      0      0 6      2.2961 0 5.5433
0 L3P ELSEPOV
0 union {
0 sphere { <0,0,0>,1
0   pigment { color rgbt <1, 1, 1, 1>}
0    hollow
0   interior{
0   media{
0      emission rgb <.2,.2,.2>
0     absorption rgb <.4,.4,.4> // To make the
smoke cast
0     intervals (5) // inverse of graininess
0     samples 9, 10 // first number decides
smoothness
0     confidence 0.9 // closer to 1 is smoother
0     variance 1/1000   // closer to 0 is smoother
0
0   density{
0   spherical
0   ramp_wave
0   turbulence 2 octaves 6 lambda 4
omega 0.3
0   color_map{
0                   [0.0 color rgb <0 0 0>]
0   [1.0 color rgb <.5 .5
.5>]
0   }
0   }
0   } // media
0   } // interior
0         scale 40
0         }
0  triangle {<0,0,0>,<0,0,0>,<0,0,0>}
0  }

0 L3P ENDPOV



Message is in Reply To:
  Needs more work, but... (Re: Smoke Puff.dat (was Re: L3P Idea)  [DAT]
 
Ack. I messed up when I pasted that, and left the last character off of the file. Here is the correct version. Also, to use it, you need to add }// just before the #if statements in all the lines like: object { smokepuff_dot_dat matrix (...) (24 years ago, 30-Dec-00, to lugnet.cad)

20 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