POV-Ray : Newsgroups : povray.binaries.images : NURBS : Re: NURBS Server Time
17 May 2024 19:46:28 EDT (-0400)
  Re: NURBS  
From: Le Forgeron
Date: 24 Jul 2016 15:22:12
Message: <57951564@news.povray.org>
Le 24/07/2016 17:10, clipka a écrit :
> 
>> > Still any interest for nurbs.get_vertex() ? or can I forget it ?
> Sounds like a useful idea.
> 

Ok, done (with a different syntax, dot was not appropriate )

nurbs_vertex( NURBS_ID, U_Value, V_Value )
nurbs_normal( NURBS_ID, U_Value, V_Value )


I also removed some useless computations on the main core of nurbs, speed up a bit the
rendering.(less allocation, less computation)

----------------------------------------------------------------------------
Render Statistics
Image Resolution 1280 x 960
----------------------------------------------------------------------------
Pixels:          1305600   Samples:          789102   Smpls/Pxl: 0.60
Rays:            2094702   Saved:                 0   Max Level: 1/10
----------------------------------------------------------------------------
Ray->Shape Intersection          Tests       Succeeded  Percentage
----------------------------------------------------------------------------
Box                             336551           50706     15.07
Cone/Cylinder                  1918809          286999     14.96
Nurbs                          9422584         1377518     14.62
Sphere                         1045795          330840     31.64
Bounding Box                 119974750        36967270     30.81
----------------------------------------------------------------------------
Shadow Ray Tests:           2685134   Succeeded:                398144
Shadow Cache Hits:           395904
----------------------------------------------------------------------------
----------------------------------------------------------------------------
Render Time:
  Photon Time:      No photons
  Radiosity Time:   No radiosity
  Trace Time:       0 hours  0 minutes 38 seconds (38.230 seconds)
              using 12 thread(s) with 434.075 CPU-seconds total
POV-Ray finished


Post a reply to this message


Attachments:
Download 'bb.png' (183 KB) Download 'bb.pov.txt' (2 KB)

Preview of image 'bb.png'
bb.png

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