POV-Ray : Newsgroups : povray.general : cosmetic issue around "Camera is inside ...." Server Time
6 Nov 2024 16:32:10 EST (-0500)
  cosmetic issue around "Camera is inside ...." (Message 1 to 4 of 4)  
From: ABX
Subject: cosmetic issue around "Camera is inside ...."
Date: 30 Jul 2002 12:05:15
Message: <g0edkugdtlps0i8kuurqja67bifiolr0q2@4ax.com>
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

From: =RAY=
Subject: Re: cosmetic issue around "Camera is inside ...."
Date: 30 Jul 2002 18:14:03
Message: <web.3d470f95a0fd0c26264908380@news.povray.org>
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] yahoocom> 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

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