POV-Ray : Newsgroups : povray.general : inside_vector ??? : Re: inside_vector ??? Server Time
5 Aug 2024 20:22:58 EDT (-0400)
  Re: inside_vector ???  
From: Warp
Date: 6 Sep 2002 05:19:59
Message: <3d78733f@news.povray.org>
Ken <tyl### [at] pacbellnet> wrote:
> And how would you know that in the first place?

  Often you can't. However, if you have a mesh created by a modeller, the
probability that a triangle is exactly parallel to a random vector you
give is really small. On the other hand, if you have made a mesh yourself,
eg. a polyhedron, with clearly oriented triangles, you will know how to
orient the inside_vector so that it's not parallel to any of them.

-- 
#macro N(D)#if(D>99)cylinder{M()#local D=div(D,104);M().5,2pigment{rgb M()}}
N(D)#end#end#macro M()<mod(D,13)-6mod(div(D,13)8)-3,10>#end blob{
N(11117333955)N(4254934330)N(3900569407)N(7382340)N(3358)N(970)}//  - Warp -


Post a reply to this message

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