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 / 5186
5185  |  5187
Special: 
[DAT] (requires LDraw-compatible viewer)
Subject: 
Re: Smoke Puff.dat (was Re: L3P Idea)
Newsgroups: 
lugnet.cad
Date: 
Sat, 30 Dec 2000 01:49:25 GMT
Viewed: 
873 times
  
Here is the file I am experimenting with. At the end of your POV file, you
will need to hand edit a little:

Make every puff line like this:
object { smokepuff_dot_dat matrix <1-SW/6,0,0,0,1,0,0,0,1-SW/6,SW/2,0,SW/2>
matrix <1,0,0,0,1,0,0,0,1,-46,-16,-113> } #if (version >= 3.1) material
#else texture #end { Color0 } }

Into this:
object { smokepuff_dot_dat matrix <1-SW/6,0,0,0,1,0,0,0,1-SW/6,SW/2,0,SW/2>
matrix <1,0,0,0,1,0,0,0,1,-46,-16,-113> }//#if (version >= 3.1) material
#else texture #end { Color0 } }



0 Smoke Puff
0 Name: SmokePuff.dat
0 Author: Amnon Silverstein
0 POV smoke effect, Experimental
0 NOTE: YOU MUST HAND EDIT OUT EVERYTHING FROM THE #IF STATEMENT ONWARD IN
THE OBJECT STATEMENT AT THE END OF THE POV FILE
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 sphere { <0,0,0>,1
0    pigment { color rgbf <1, 1, 1, 1>}
0     hollow
0    interior{
0    media{
0       emission rgb <.5,.5,.5>
0      absorption rgb <.5,.5,.5> // To make the smoke cast

shadows
0      intervals (11) // 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
0
0 L3P ENDPO



Message has 1 Reply:
  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)

Message is in Reply To:
  Smoke Puff.dat (was Re: L3P Idea)
 
This is almost awesome, but I can't quite do what I want. I made a smoke puff .dat file for POVRay. You just drag and drop smoke puffs in using the CAD program, and you can have a smoking car or a fluffy cloud for your airplane. It uses L3P's POV (...) (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

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

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