|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Am I the only one who finds media utterly incomprehensible? I want to make a
glow effect, with a bright center and a dimmer exterior. So far, I've only
succeeded in making a dark circle. What am I doing wrong?
*******
#include "colors.inc"
#include "skies.inc"
sky_sphere {S_Cloud1}
fog {distance 250
color rgbf<1,1,1,1>
fog_type 2
fog_offset -1
fog_alt 15}
camera {location <15,5,0>
look_at <0,3,0>}
light_source {<15,5,0> color White}
plane {y,0 pigment {Tan}}
sphere { <-2,2,0>, 1
pigment { color rgbf<1, 1, 1, .9> }
finish { ambient 0 diffuse 0 }
interior {
media { emission 1
samples 1, 10
density {
spherical
color_map {
[0.0 color rgb <0, 0, 0>]
[0.5 color rgb <.8, .8, .8>]
[1.0 color rgb <1, 1, 1>]
}
}
} }translate <0,3,0> hollow }
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
"Jason Jong" <nos### [at] redshiftcom> wrote in message
news:3b43ba2a$1@news.povray.org...
> Am I the only one who finds media utterly incomprehensible? I want to make
a
> glow effect, with a bright center and a dimmer exterior. So far, I've only
> succeeded in making a dark circle. What am I doing wrong?
I also struggle with media, but in this case I can help
> sphere { <-2,2,0>, 1
Create your media container at the origin and translate as required
sphere {
<0,0,0>,1
.....
translate <-2,5,0>
}
> pigment { color rgbf<1, 1, 1, .9> }
> finish { ambient 0 diffuse 0 }
> interior {
> media { emission 1
> samples 1, 10
You may want to tweak the sampling parameters, it looks a little grainy
> density {
> spherical
> color_map {
> [0.0 color rgb <0, 0, 0>]
> [0.5 color rgb <.8, .8, .8>]
> [1.0 color rgb <1, 1, 1>]
> }
> }
> } }translate <0,3,0> hollow }
>
Gail
*************************************************************************
* gsh### [at] monotixcoza * Step into the abyss, *
* http://www.rucus.ru.ac.za/~gail/ * and let go. Babylon 5 *
*************************************************************************
* The difficult we do immediately, the impossible takes a little longer *
*************************************************************************
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Gail Shaw <gsh### [at] monotixcoza> wrote:
:> sphere { <-2,2,0>, 1
: Create your media container at the origin and translate as required
And the sphere has to be hollow.
--
#macro N(D,I)#if(I<6)cylinder{M()#local D[I]=div(D[I],104);M().5,2pigment{
rgb M()}}N(D,(D[I]>99?I:I+1))#end#end#macro M()<mod(D[I],13)-6,mod(div(D[I
],13),8)-3,10>#end blob{N(array[6]{11117333955,
7382340,3358,3900569407,970,4254934330},0)}// - Warp -
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
"Warp" wrote:
> And the sphere has to be hollow.
It *was* hollow. Try reading the rest of the code too.
Rune
--
3D images and anims, include files, tutorials and more:
Rune's World: http://rsj.mobilixnet.dk (updated June 26)
POV-Ray Users: http://rsj.mobilixnet.dk/povrayusers/
POV-Ray Webring: http://webring.povray.co.uk
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Rune <run### [at] mobilixnetdk> wrote:
: It *was* hollow. Try reading the rest of the code too.
It was quite hidden :P
Writint obfuscated code doesn't help to read code... :)
--
#macro N(D,I)#if(I<6)cylinder{M()#local D[I]=div(D[I],104);M().5,2pigment{
rgb M()}}N(D,(D[I]>99?I:I+1))#end#end#macro M()<mod(D[I],13)-6,mod(div(D[I
],13),8)-3,10>#end blob{N(array[6]{11117333955,
7382340,3358,3900569407,970,4254934330},0)}// - Warp -
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
|
|