 |
 |
|
 |
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
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'

|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
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'

|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
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)
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
"Bald Eagle" <cre### [at] netscape net> 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'

|
 |
|  |
|  |
|
 |
|
 |
|  |