POV-Ray : Newsgroups : povray.general : How to define the normal on a single triangle? (new pov-ray user) : Re: How to define the normal on a single triangle? (new pov-ray user) Server Time
2 Aug 2024 20:15:53 EDT (-0400)
  Re: How to define the normal on a single triangle? (new pov-ray user)  
From: Impress
Date: 22 Jul 2004 16:55:00
Message: <web.410028fc20205b2d1e9c3cfd0@news.povray.org>
Well, it's surely depends of the order. But, what's the condition that
allows Pov-Ray to put interior_texture on the triangle? I mean, if by
computing the normal length and check if it's zero or greater, the surface
receive the texture, otherwise interior_texture...? Then, I would be able
to check for that in my C++ program that generate .pov file.

Right now, the vertices of the triangle is moving over time and there's a
"flip-flap" of the front/back texture in the animation.

regards,
Impress


Post a reply to this message

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