POV-Ray : Newsgroups : povray.general : Re: Big whopping sparks : Re: Big whopping sparks Server Time
3 Aug 2024 10:20:28 EDT (-0400)
  Re: Big whopping sparks  
From: Dave VanHorn
Date: 17 May 2004 22:36:53
Message: <40a976c5$1@news.povray.org>
I may have something twisted.
There's a rotate Z*90 down there that I don't understand, but it seems much
the same either way.
In my "universe", things are scaled as <(5 * Inch), (3 * Foot), (2.5 *
Meter)> which makes it easy to keep dimensions sane when moving pieces
between projects.
I haven't tired (much) to convert this spark to my system yet.


//The tight core, purple-white
#declare Discharge_Spark = object { cylinder { <-1,0,-11>, <1,0,11>, 1}
                                      hollow
                                      pigment { Clear }
                                      interior { media { method 3
// 3
                                                         aa_level 4
// 4
                                                         aa_threshold 0.1
// 0.1
                                                         samples 16, 100
// Min 1, Max 1
                                                         intervals 10
// 10
                                                         ratio 0.9
// 0.9
                                                         confidence 0.9
// 0.9
                                                         variance 1/128
// 1/128
                                                         jitter 0
                                                         emission 1
                                                         density {
cylindrical
                                                                   //rotate
z*90
                                                                   color_map
{ [ 0.00 Black ]

[ 0.40 rgb <0.1, 0.4, 1.0> *  2 ]

[ 0.80 rgb <0.1, 0.4, 1.0> *  20 ]

[ 0.90 rgb <0.1, 0.4, 1.0> *  40 ]

[ 1.00 rgb <0.1, 0.4, 1.0> * 600 ]
                                                                            
 }
                                                                   warp {
turbulence 0.50     // amount of turbulence

octaves 3          // optional turbulence modifiers

lambda 0.1

omega 0.5
                                                                        }
                                                                  }
                                                        }
                                                }
                                                  scale<(1 * Inch),(1 *
Inch),(1 * Inch)>
                                                  }


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.