|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
I have been using POVray for a while but one thing that really mystifies
me is the media function. Are there any good tutorial out there? At this
point I can't even get a glowing sphere.
Mike
--
*********************************
Michael DiDonato, PhD
The Scripps Research Institute
Department of Molecular Biology
Maildrop MB4
10550 North Torrey Pines Road
La Jolla, CA, 92037
Tel: (858) 784-9261
FAX: (858) 784-2277
http://www.scripps.edu/~didonato
*********************************
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Michael DiDonato wrote:
> I have been using POVray for a while but one thing that really mystifies
> me is the media function. Are there any good tutorial out there? At this
> point I can't even get a glowing sphere.
Three words: trial and error.
--
Tim Cook
http://empyrean.scifi-fantasy.com
mirror: http://personal.lig.bellsouth.net/lig/z/9/z993126
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GFA dpu- s: a?-- C++(++++) U P? L E--- W++(+++)>$
N++ o? K- w(+) O? M-(--) V? PS+(+++) PE(--) Y(--)
PGP-(--) t* 5++>+++++ X+ R* tv+ b++(+++) DI
D++(---) G(++) e*>++ h+ !r--- !y--
------END GEEK CODE BLOCK------
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
3DC### [at] scrippsedu...
> I have been using POVray for a while but one thing that really mystifies
> me is the media function. Are there any good tutorial out there? At this
> point I can't even get a glowing sphere.
/* Try this. It's a macro made by Warp to create
glows. Study it and change some settings in the media
statement to see the effect */
#macro Glow(GlowColor, Scale)
sphere
{ 0, 1 hollow no_shadow
pigment { rgbt 1 }
interior
{ media
{ emission 1/Scale
density
{ spherical density_map
{ [0 rgb 0][.5 rgb GlowColor*.5][1 rgb 1]
}
}
samples 1,1 intervals 1 confidence .1 // quite fast settings
method 3
}
}
scale Scale
}
#end
camera { location -z*10 look_at 0 angle 35 }
plane { y,-2 pigment { checker rgb 1, rgb .5 } }
light_source
{ <-1.5,1,0>, <1,.5,0>
looks_like { Glow(<1,.5,0>, .5) }
}
light_source
{ <2,.5,0>, <0,.5,1>
looks_like { Glow(<0,.5,1>, 1) }
}
object { Glow(<0,.5,1>, 1) translate 0 }
// Bye
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Michael DiDonato <did### [at] scrippsedu> wrote in news:3DC9B0EA.7060408
@scripps.edu:
> Are there any good tutorial out there?
>
> Mike
>
There are a couple here:
http://users3.ev1.net/~povstudy/i_tut1.htm
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Timothy R. Cook wrote:
> Michael DiDonato wrote:
>> I have been using POVray for a while but one thing that really mystifies
>> me is the media function. Are there any good tutorial out there? At this
>> point I can't even get a glowing sphere.
>
> Three words: trial and error.
>
Surely in the n-dimensional space defined by the relevant variables there
are "hot spots" that can be used as starting points?
I wonder if this is true of all function parameter sets?
The trick is to find a good way of describing and classifying these hot
spots or attractors. A way of breeding and mixing them would be a very
powerful tool! Imagine the libraries that could be added to the next povray
distribution if a few of the experts started to map out some of this
parameter space.
--
Your connection failed because: The POP server is out of Coke
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Thanks, this helps alot.
Mike
Txemi Jendrix wrote:
> 3DC### [at] scrippsedu...
>
>>I have been using POVray for a while but one thing that really mystifie
s
>>me is the media function. Are there any good tutorial out there? At thi
s
>>point I can't even get a glowing sphere.
>
>
> /* Try this. It's a macro made by Warp to create
> glows. Study it and change some settings in the media
> statement to see the effect */
>
> #macro Glow(GlowColor, Scale)
> sphere
> { 0, 1 hollow no_shadow
> pigment { rgbt 1 }
> interior
> { media
> { emission 1/Scale
> density
> { spherical density_map
> { [0 rgb 0][.5 rgb GlowColor*.5][1 rgb 1]
> }
> }
> samples 1,1 intervals 1 confidence .1 // quite fast settings
> method 3
> }
> }
> scale Scale
> }
> #end
>
> camera { location -z*10 look_at 0 angle 35 }
> plane { y,-2 pigment { checker rgb 1, rgb .5 } }
>
> light_source
> { <-1.5,1,0>, <1,.5,0>
> looks_like { Glow(<1,.5,0>, .5) }
> }
> light_source
> { <2,.5,0>, <0,.5,1>
> looks_like { Glow(<0,.5,1>, 1) }
> }
>
> object { Glow(<0,.5,1>, 1) translate 0 }
>
> // Bye
>
>
--
*********************************
Michael DiDonato, PhD
The Scripps Research Institute
Department of Molecular Biology
Maildrop MB4
10550 North Torrey Pines Road
La Jolla, CA, 92037
Tel: (858) 784-9261
FAX: (858) 784-2277
http://www.scripps.edu/~didonato
*********************************
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
|
|