POV-Ray : Newsgroups : povray.general : Calculate normal vector? : Calculate normal vector? Server Time
1 Aug 2024 14:33:04 EDT (-0400)
  Calculate normal vector?  
From: Hasan3
Date: 8 Sep 2005 02:25:01
Message: <web.431fd888f4e5b5152f6d7a0@news.povray.org>
That code is generated by Povray:
>// rounded-surface FINITE (no CSG) triangle shape
>     smooth_triangle {
>           <  0,  30, 0> <0,  0.7071, -0.7071>  // <Vertex1>  <SurfaceNormal1>
>           < 40, -20, 0> <0, -0.8664, -0.5>     // <Vertex2>  <SurfaceNormal2>
>           <  0,   0, 0> <0, -0.5,    -0.8664>  // <Vertex3>  <SurfaceNormal3>
>    }


How can I calculate '<0,  0.7071, -0.7071>' SurfaceNormal1 ?


Post a reply to this message

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