|
|
I'm using a kind of macro (no, not Warp's) to generate glows in 3.1/3.5. I
have a light inside a transparent sphere with a phong value of 1.25. This
makes a very nice glow, but when two of them get too close, you can see a
highlight of one glow on the other. Is there some way to keep the lights
from producing highlights on the other glows, yet retain their ability to
illuminate other scene objects?
--
//Mahalis
camera{location<0,0.25,-2> look_at 0.5*y} #declare T=texture{pigment{crackle
scale 0.5 rotate 90 turbulence 0.75 color_map{[0 rgb 1][0.05 rgb 1][0.1
rgb<1,0.25,1>][0.25 rgbf 1][1 rgbf 1]}} finish{ambient 1}} #declare
c=difference{torus{0.5,0.1 rotate -90*x}box{<0.7,0,0.2>,<-0.7,-0.7,-0.2>}}
merge{object{c translate<0.5,0.5,0>} object{c translate<-0.5,0.5,0>}
cylinder{<1,0.5,0>,<1,0,0>,0.1} cylinder{<-1,0.5,0>,<-1,0,0>,0.1}
cylinder{0.5*y,0,0.1} texture{T}}
--
Post a reply to this message
|
|
|
|
Not really. You could mess around with lots of
lightgrouping, I guess, but I don't think that would
be easy to build into any given scene, unless you're
heading for a major rewrite.
--
Tim Nikias
Homepage: http://www.digitaltwilight.de/no_lights/index.html
Post a reply to this message
|
|
|
|
Idea: Instead of using a phong finish in the sphere, use just a proper
pigment and ambient finish and always rotate the sphere so that this
"highlight" points at the camera.
--
#macro M(A,N,D,L)plane{-z,-9pigment{mandel L*9translate N color_map{[0rgb x]
[1rgb 9]}scale<D,D*3D>*1e3}rotate y*A*8}#end M(-3<1.206434.28623>70,7)M(
-1<.7438.1795>1,20)M(1<.77595.13699>30,20)M(3<.75923.07145>80,99)// - Warp -
Post a reply to this message
|
|
|
|
That's a good idea! Thx.
"Warp" <war### [at] tagpovrayorg> wrote in message
news:3c9e786f@news.povray.org...
> Idea: Instead of using a phong finish in the sphere, use just a proper
> pigment and ambient finish and always rotate the sphere so that this
> "highlight" points at the camera.
>
> --
> #macro M(A,N,D,L)plane{-z,-9pigment{mandel L*9translate N color_map{[0rgb
x]
> [1rgb 9]}scale<D,D*3D>*1e3}rotate y*A*8}#end M(-3<1.206434.28623>70,7)M(
> -1<.7438.1795>1,20)M(1<.77595.13699>30,20)M(3<.75923.07145>80,99)// -
Warp -
Post a reply to this message
|
|