POV-Ray : Newsgroups : povray.general : Smooth level for smooth_triangle. : Re: Smooth level for smooth_triangle. Server Time
1 Mar 2024 19:19:36 EST (-0500)
  Re: Smooth level for smooth_triangle.  
From: GioSeregni
Date: 23 Nov 2023 18:50:00
Message: <web.655fe4d784c692a3276109cb59126100@news.povray.org>
1024x768 AA
22 minutes on my old notebook with win 10. I think I'll get half that on win 11
with the new one. I'll try tomorrow.
The concept is this


.....
distance=SQR( ((xNS-NormX1)^2)+((yNS-NormY1)^2)+((zNS-NormZ1)^2))
if distance > 1.38 and distance < 1.45 then NoNorm=1
....
distance=SQR( ((xNS-NormX2)^2)+((yNS-NormY2)^2)+((zNS-NormZ2)^2))
if distance > 1.38 and distance < 1.45 then NoNorm=1
....
distance=SQR( ((xNS-NormX2)^2)+((yNS-NormY2)^2)+((zNS-NormZ2)^2))
if distance > 1.38 and distance < 1.45 then NoNorm=1
......


Post a reply to this message


Attachments:
Download 'clipboard01.png' (254 KB)

Preview of image 'clipboard01.png'
clipboard01.png


 

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