POV-Ray : Newsgroups : povray.general : Adding inside_vector (for CSG) to HF macros in shapes.inc : Re: Adding inside_vector (for CSG) to HF macros in shapes.inc Server Time
30 Jul 2024 22:26:03 EDT (-0400)
  Re: Adding inside_vector (for CSG) to HF macros in shapes.inc  
From: Warp
Date: 17 Oct 2008 17:51:06
Message: <48f908ca@news.povray.org>
Kenneth <kdw### [at] earthlinknet> wrote:
> jan dvorak <jan### [at] centrumcz> wrote:
> > Kenneth napsal(a):

> > > Something I've always wondered about: The docs say that a ray is shot in this
> > > direction; but from *where*? Anyone know if it's from the origin?

> > from the point you test for insideness

> ?? Sorry to be a dullard, but I'm not sure I understand that. Could be my own
> misconception of how inside_vector works. I've always assumed that only a
> single ray is shot, from *somewhere*, during any CSG operation, which tells
> POV-Ray what it needs to know. Do I surmise that MANY rays have to be shot?

  Every time POV-Ray needs to know if a point is inside the mesh it will
trace a ray from that point to the direction specified with inside_vector.

-- 
                                                          - Warp


Post a reply to this message

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