Special:
|
[DAT] (requires LDraw-compatible viewer)
|
Subject:
|
Needs more work, but... (Re: Smoke Puff.dat (was Re: L3P Idea)
|
Newsgroups:
|
lugnet.cad
|
Date:
|
Sat, 30 Dec 2000 06:00:04 GMT
|
Viewed:
|
906 times
|
| |
| |
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
<1-SW/6,0,0,0,1,0,0,0,1-SW/6,SW/2,0,SW/2> matrix
<0,0,1,0,1,0,-1,0,0,67,-61,-55> #if (version >= 3.1) material #else texture
#end { Color0 } }
So they end up like
object { smokepuff_dot_dat matrix
<1-SW/6,0,0,0,1,0,0,0,1-SW/6,SW/2,0,SW/2> matrix
<0,0,1,0,1,0,-1,0,0,67,-61,-55>}// #if (version >= 3.1) material #else texture
#end { Color0 } }
ARG! And now I see that it also has a problem with the envelope of the smoke
showing up. Well, this is a work in progress.
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
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
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 ENDPOV
|
|
Message has 1 Reply: | | Re: Smoke Puff.dat (was Re: L3P Idea) [DAT]
|
| 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 (...) (24 years ago, 30-Dec-00, to lugnet.cad)
|
Message is in Reply To:
| | Re: Smoke Puff.dat (was Re: L3P Idea) [DAT]
|
| 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,.../2,0,SW/2> matrix <1,0,0,0,1,0,0,0,1,-...,-16,-113> (...) (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
|
|
|
|