POV-Ray : Newsgroups : povray.general : No_specular? Server Time
7 Nov 2024 09:26:19 EST (-0500)
  No_specular? (Message 1 to 4 of 4)  
From: Mahalis
Subject: No_specular?
Date: 24 Mar 2002 15:03:18
Message: <3c9e3106@news.povray.org>
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

From: Tim Nikias
Subject: Re: No_specular?
Date: 24 Mar 2002 17:21:52
Message: <3C9E5183.53CB7B95@gmx.de>
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

From: Warp
Subject: Re: No_specular?
Date: 24 Mar 2002 20:08:00
Message: <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

From: Mahalis
Subject: Re: No_specular?
Date: 25 Mar 2002 16:25:02
Message: <3c9f95ae$1@news.povray.org>
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

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