| 
|  |  |  
|  |  |  |  |  |  |  |  |  |  |  
|  |  |  |  |  |  |  |  |  |  |  
|  |  | I wonder why warning with "Camera is inside a non-hollow object...." is
outputed during rendering and not before. When I start rendering with
+GAfile.txt option, it contains at begining:
Creating bounding slabs.
Scene contains 3 frame level objects; 0 infinite.
Creating light buffers
Displaying...
Rendering...
  -:--:-- Rendering line    0 of 3600 supersampled 0 times.       
  -:--:-- Rendering line    1 of 3600Warning: Camera is inside a non-hollow
object. Fog and participating media
may not work as expected.
 supersampled 1927 times.       
  0:00:03 Rendering line    2 of 3600 supersampled 1872 times.        
ABX
 Post a reply to this message
 |  |  |  |  |  |  |  |  
|  |  |  |  |  |  |  |  |  |  |  
|  |  | ABX wrote:
>I wonder why warning with "Camera is inside a non-hollow object...." is
>outputed during rendering and not before. When I start rendering with
>+GAfile.txt option, it contains at begining:
How do you test if it's inside?
You have to trace a ray, that's why it shows up on the first line.
I'm not that familiar with the code, so if it's wrong don't flame me.
=RAY=
 Post a reply to this message
 |  |  |  |  |  |  |  |  
|  |  | 
| From: Felix Wiemann Subject: Re: cosmetic issue around "Camera is inside ...."
 Date: 31 Jul 2002 04:25:50
 Message: <3d479f0e@news.povray.org>
 
 |  |  |  |  |  |  |  |  |  
|  |  | =RAY= wrote:
> How do you test if it's inside?
> You have to trace a ray, that's why it shows up on the first line.
Maybe it's done this way, but I'm sure it isn't necessary. You can test if 
a point is inside an object by using (e.g.) inside(O,V). If you imagine the 
whole scene as an union, you can test this way whether the camera is inside 
any object.
-- 
light_source{0#macro L(K,H,W)sphere{H.5}sphere{K.5}sphere{W.5}cylinder{
H,K.5}cylinder{H,W.5}#end 3}union{L(0v*-2<2,-2>)L(y*-3z-v*5z*3-y)L(-y*3
0u*3)L(y*-3v*-5-z,z*-3-y)rotate-v*clock pigment{rgb.5}translate<0,2,9>}
// +KFF200 +KF720 +W120 +H90 -F -A -GA -P
Post a reply to this message
 |  |  |  |  |  |  |  |  
|  |  | 
| From: Warp Subject: Re: cosmetic issue around "Camera is inside ...."
 Date: 31 Jul 2002 09:17:48
 Message: <3d47e37c@news.povray.org>
 
 |  |  |  |  |  |  |  |  |  
|  |  | =RAY= <ray### [at] yahoo com> wrote:
> How do you test if it's inside?
> You have to trace a ray
      =======
  No, you don't.
-- 
#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
 |  |  |  |  |  |  |  |  
|  |  |  |  |  |  |  |  |  |