POV-Ray : Newsgroups : povray.pov4.discussion.general : Suggest v4.0 sor{} fixes / changes. (yuqk R20 v0.6.14.0) : Suggest v4.0 sor{} fixes / changes. (yuqk R20 v0.6.14.0) Server Time
16 Sep 2025 21:32:51 EDT (-0400)
  Suggest v4.0 sor{} fixes / changes. (yuqk R20 v0.6.14.0)  
From: William F Pokorny
Date: 15 Sep 2025 19:49:45
Message: <68c8a619$1@news.povray.org>
The bug fixes(a) and control point relaxations for the sor{} in the next 
yuqk release were discussed in the thread:

https://news.povray.org/povray.documentation.inbuilt/thread/%3Cweb.689b6c79e72c05b2bc0c1c5925979125%40news.povray.org%3E/

The next yuqk release is also adding two new keywords to the sor{}. One 
is 'caps' and the other is 'intervals'.

The caps changes align what was done for yuqk's text{} update:

https://news.povray.org/povray.pov4.discussion.general/thread/%3C67e41261%241%40news.povray.org%3E/

The intervals keyword is followed by a string of 0 and 1 values which 
allow particular sor{} curve segments to be kept or not.

The middle image row used:

     intervals "10101"

which, left to right, indicates only the first, third and fifth of the 
five total sor{} segments are to be used.

The idea with both 'caps' and 'intervals' is to add inbuilt ways for the 
sor{} to be broken apart and the pieces textured, used in CSG or for 
debug and modeling.

The second row rotates the sor by -10*x and the third row by -45*x to 
better see the sor segments and caps, respectively.

Bill P.

(a) - Except for adjusting an older yuqk update removing the 
too-generic, single value EPSILON use in the sor code. In recent testing 
I found cases - like in the attached image - with tight, segment turns 
where those A,B,C,D internal values needed to be zeroed at closer to the 
old official POV-Ray EPSILON of 1e-10. I settled specifically on 
4.4e-12, but things are being fudged here - so we'll see how the newer, 
new zeroing limit holds up.


Post a reply to this message


Attachments:
Download 'sor_v4_suggest.png' (41 KB)

Preview of image 'sor_v4_suggest.png'
sor_v4_suggest.png


 

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