|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
hello,
when i want to include fog into a scene i get following problem:
fog needs the background word. it is okay. but if i add a plane on z-axis
no fog will be rendered. it is bad, because i want to use ground fog in a
room. is there a solution for it?
thanks in advance.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
"marabou" <not### [at] availablenet> wrote in message
news:3d1f2568@news.povray.org...
>
> hello,
>
> when i want to include fog into a scene i get following problem:
> fog needs the background word. it is okay. but if i add a plane on z-axis
> no fog will be rendered. it is bad, because i want to use ground fog in a
> room. is there a solution for it?
>
> thanks in advance.
Add this to your scene:
sphere {
0,10000 // Adjust radius for scale of scene
pigment {color rgb 0}
hollow
}
...Chambers
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Ben Chambers wrote:
>
> Add this to your scene:
>
> sphere {
> 0,10000 // Adjust radius for scale of scene
> pigment {color rgb 0}
> hollow
> }
>
this is my code framgment and every combination brings no soulution. what
went wrong?
//----------------------------------------->>>code fragment
#declare Spere = 1;
#declare Spere = ?;
#declare Background = ?;
camera{ location <0.25,0.6,-1> look_at <0.25,0.2,0>}
light_source{
<-1,5,-1> color <1,0.92,0.43>
}
light_source{
<2,2,0.5> color White*0.5
}
plane{
y,0
pigment{
color <1,1,1>
}
normal{
wrinkles 0.8
}
}
plane{
z,-3
pigment{
color <0.16,0.63,1>
}
}
#if (Plane)
plane{
z,1
pigment{
color <1,0.80,0.42>
}
}
#end
#if (Sphere)
sphere{
0,10000
pigment{color rgb 0}
hollow
}
#end
#if (Background)
background {color Blue}
#end
fog{
distance 0.7
fog_type 2
fog_offset 0.15
fog_alt 0.05
color <1,1,1>
}
//-----------------------------------------<<<code fragment
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
> when i want to include fog into a scene i get following problem:
> fog needs the background word. it is okay. but if i add a plane on z-axis
> no fog will be rendered. it is bad, because i want to use ground fog in a
> room. is there a solution for it?
You need to make the plane you mentioned hollow, so that it can contain fog.
- Slime
[ http://www.slimeland.com/ ]
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Slime wrote:
>
> You need to make the plane you mentioned hollow, so that it can contain
> fog.
>
this works great! but question: which side of a plane becomes hollow; where
camera is positionated or where point 0 is?
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
marabou <not### [at] availablenet> wrote:
>> You need to make the plane you mentioned hollow, so that it can contain
>> fog.
> this works great!
But it's a kind-of wrong solution. You are defining your plane so that
everything is inside the plane, that is, you are looking at the inner
surface of the plane. You probably want to look at the outher surface of
the plane, and everything should be outside the plane (including the fog).
That is, you have to reverse the normal and negate the offset.
> but question: which side of a plane becomes hollow; where
> camera is positionated or where point 0 is?
The normal points outside the plane. The other side is inside.
--
#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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Warp wrote:
> The normal points outside the plane. The other side is inside.
Just a question, to confim myself:
Is this described in this way in the doc ?
I found myself a alot of times in this situation ...
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
On Sun, 30 Jun 2002 19:00:10 -0500, Jan Walzer wrote:
> Just a question, to confim myself:
> Is this described in this way in the doc ?
>
> I found myself a alot of times in this situation ...
"By definition the normal vector points to the outside of the plane..."
--
Christopher James Huff <chr### [at] maccom>
POV-Ray TAG e-mail: <chr### [at] tagpovrayorg>
WWW: http://homepage.mac.com/chrishuff/
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
shame on me
;)
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Slime wrote:
>> when i want to include fog into a scene i get following problem:
>> fog needs the background word. it is okay. but if i add a plane on z-axis
>> no fog will be rendered. it is bad, because i want to use ground fog in a
>> room. is there a solution for it?
>
>
> You need to make the plane you mentioned hollow, so that it can contain
> fog.
>
i have tried it now with six planes and one plane made hollow. but then fog
is gone. why that?
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |