POV-Ray : Newsgroups : povray.general : cosmetic issue around "Camera is inside ...." : Re: cosmetic issue around "Camera is inside ...." Server Time
5 Aug 2024 20:17:41 EDT (-0400)
  Re: cosmetic issue around "Camera is inside ...."  
From: Felix Wiemann
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

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