POV-Ray : Newsgroups : povray.pov4.discussion.general : Potential v4.0 bounding & clipping fixes / changes. (yuqk R20 v0.6.14.0) : Re: Potential v4.0 bounding & clipping fixes / changes. (yuqk R20v0.6.14.0) Server Time
20 Oct 2025 13:15:41 EDT (-0400)
  Re: Potential v4.0 bounding & clipping fixes / changes. (yuqk R20v0.6.14.0)  
From: William F Pokorny
Date: 20 Oct 2025 05:28:40
Message: <68f600c8@news.povray.org>
On 10/13/25 21:37, William F Pokorny wrote:
> Aside:
> ------
> In working on these updates I've run across more checking of the 
> PATCH_OBJECT type. Reasonably sure I'm going to change patch-like 
> objects now BASIC_OBJECT types to PATCH_OBJECT. My bet is this change 
> will make for no functional changes beyond parser checks not allowing 
> patch-like objects in certain operations where they should probably 
> never have been allowed - like manual bounding.

I've adopted this change for R20 of yuqk.

---

I'm also attaching an image and the test scene I used to produce the sub 
images in it. Demonstrating a few ideas previously mentioned.

1) Creating a inside region (no-surfaces) object{} using clipped_by{} 
and going on to use that region to create 'cap surface shapes' and 'side 
surface shapes' all in SDL. Upper left.

2) The union of both surface shapes in (1) can be used over a slower 
merge{} where clean dual surface intersections are necessary for 
features like media (lower left).

3) As mentioned previously: The clipped_by{} object modifier uses shape 
inside test(s). The inside test for isosurface shapes is fast - and very 
well defined (upper right).

4) Using (3), demonstrating the creation of fragmented surfaces using a 
mod() like function in the isosurface{} used in as the clipped_by{} 
object against the target Int00 side surfaces shape (lower right).

Bill P.


Post a reply to this message


Attachments:
Download 'clpbyplay.pov.txt' (3 KB) Download 'clpbyplay.png' (312 KB)

Preview of image 'clpbyplay.png'
clpbyplay.png


 

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