POV-Ray : Newsgroups : povray.documentation.inbuilt : SOR documentation Server Time
7 Dec 2025 06:21:01 EST (-0500)
  SOR documentation (Message 66 to 69 of 69)  
<<< Previous 10 Messages Goto Initial 10 Messages
From: Bald Eagle
Subject: Re: SOR documentation
Date: 24 Oct 2025 22:35:00
Message: <web.68fc36a5251da1bc1f9dae3025979125@news.povray.org>
Just briefly scanning this over (as I was up late making rapid-fire changes) and
I noticed that the parser allowed and didn't complain about:

#local in2 = #local Result = {EcResult [2], EcResult [4]};

So who know what other wacky constructs it will let slip through.

Anyway, fixing 2 such statements allowed me to render this stunning grey
rectangle, which I'm assuming must be my cylinder.

- BW


Post a reply to this message


Attachments:
Download 'sdl_raytracer cylinder test.png' (2 KB)

Preview of image 'sdl_raytracer cylinder test.png'
sdl_raytracer cylinder test.png


 

From: Bald Eagle
Subject: Re: SOR documentation
Date: 24 Oct 2025 22:45:00
Message: <web.68fc396d251da1bc1f9dae3025979125@news.povray.org>
Seeing how exciting that last post was, let me now slay you with a diagram of
what's going on in that paper.


Post a reply to this message


Attachments:
Download 'graphicsgemslinecylinderintersection.png' (195 KB)

Preview of image 'graphicsgemslinecylinderintersection.png'
graphicsgemslinecylinderintersection.png


 

From: William F Pokorny
Subject: Re: SOR documentation
Date: 29 Oct 2025 06:48:04
Message: <6901f0e4$1@news.povray.org>
On 10/24/25 05:02, William F Pokorny wrote:
> I think the normalization - including y - is necessary for other reasons 
> like the generation of the polynomials, but I also believe I see your 
> point about what is needed for the initial bounding cylinder check, 
> specifically. I'll try with branch-off code which drops the 'y' 
> component for the initial cylinder test only.
> 

See the attach code excerpt file for what I've settled upon for the 
changes.

> Aside: I'd make a moderate bet this tangled with the issues I had in 
> some rotation about x tests where parts (partial segments/intervals) of 
> the sor would drop out. IIRC, those tests included negative on curve 
> (between end control points, points). We'll see.

Lost my bet here.

Bill P.


Post a reply to this message


Attachments:
Download 'sorcodeupdate.cpp.txt' (3 KB)

From: Bald Eagle
Subject: Re: SOR documentation
Date: 1 Nov 2025 13:45:00
Message: <web.69064669251da1bc1f9dae3025979125@news.povray.org>
"Bald Eagle" <cre### [at] netscapenet> wrote:

> I think it's good enough to begin testing the Catmull-Rom bounding.

Here's what I presently have in terms of computing per-segment bounding
cylinders.
Now I just need to code up some bounding cylinder intersection tests to see what
happens.

> Also, there is a mouse in my kitchen.

I have adopted a local stray.
No mouse, but now there is a cat that gets onto my kitchen counter.   :|

Am I winning yet?

- BE


Post a reply to this message


Attachments:
Download 'cr_2d_demo.png' (54 KB)

Preview of image 'cr_2d_demo.png'
cr_2d_demo.png


 

<<< Previous 10 Messages Goto Initial 10 Messages

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