POV-Ray : Newsgroups : povray.binaries.images : Bezier-patch torus Server Time
26 Dec 2024 09:34:38 EST (-0500)
  Bezier-patch torus (Message 1 to 10 of 46)  
Goto Latest 10 Messages Next 10 Messages >>>
From: Bald Eagle
Subject: Bezier-patch torus
Date: 29 Aug 2018 10:20:02
Message: <web.5b86aaca3b2779d1c437ac910@news.povray.org>
OK, after the initial inspiration by BGimeno, and some much needed assistance
from TOK, clipka, and jr,
I managed to make some significant headway, and then sat down for Round Two to
work out the intimate details of Theta, Phi, the parametric equations, the array
assignments, and the array-of-array assignments.

12x36 patches, 4 corners established by the parametric and f_noise3d(), then
vectors for the planes containing those corners calculated, then the remaining
12 intermediate control points for each patch interpolated from those.

I thinks there's still a wee bit of debugging to do, with regard to the vector
calculations, but it's sure "close enough" at this point to post.

Quite frankly, I'm amazed it even works at all, but here it is  :)


Post a reply to this message


Attachments:
Download 'bezierstitching_test_2.png' (1230 KB)

Preview of image 'bezierstitching_test_2.png'
bezierstitching_test_2.png


 

From: Tor Olav Kristensen
Subject: Re: Bezier-patch torus
Date: 29 Aug 2018 18:50:01
Message: <web.5b87227adc5d6572df3f16580@news.povray.org>
"Bald Eagle" <cre### [at] netscapenet> wrote:
> OK, after the initial inspiration by BGimeno, and some much needed assistance
> from TOK, clipka, and jr,
> I managed to make some significant headway, and then sat down for Round Two to
> work out the intimate details of Theta, Phi, the parametric equations, the array
> assignments, and the array-of-array assignments.
>
> 12x36 patches, 4 corners established by the parametric and f_noise3d(), then
> vectors for the planes containing those corners calculated, then the remaining
> 12 intermediate control points for each patch interpolated from those.
>
> I thinks there's still a wee bit of debugging to do, with regard to the vector
> calculations, but it's sure "close enough" at this point to post.
>
> Quite frankly, I'm amazed it even works at all, but here it is  :)

Good !

- but it needs a less confusing texture.

Did you create a 12x36 array of 4x4 arrays, where each 4x4 array contains the
control points for each bicubic Bezier patch ?

--
Tor Olav
http://subcube.com


Post a reply to this message

From: Mike Horvath
Subject: Re: Bezier-patch torus
Date: 29 Aug 2018 21:21:33
Message: <5b87469d$1@news.povray.org>
On 8/29/2018 10:16 AM, Bald Eagle wrote:
> OK, after the initial inspiration by BGimeno, and some much needed assistance
> from TOK, clipka, and jr,
> I managed to make some significant headway, and then sat down for Round Two to
> work out the intimate details of Theta, Phi, the parametric equations, the array
> assignments, and the array-of-array assignments.
> 
> 12x36 patches, 4 corners established by the parametric and f_noise3d(), then
> vectors for the planes containing those corners calculated, then the remaining
> 12 intermediate control points for each patch interpolated from those.
> 
> I thinks there's still a wee bit of debugging to do, with regard to the vector
> calculations, but it's sure "close enough" at this point to post.
> 
> Quite frankly, I'm amazed it even works at all, but here it is  :)
> 

Looks like a circular turd if such things were possible.

Mike


Post a reply to this message

From: Stephen
Subject: Re: Bezier-patch torus
Date: 29 Aug 2018 22:36:08
Message: <5b875818$1@news.povray.org>
On 30/08/2018 02:21, Mike Horvath wrote:
> Looks like a circular turd if such things were possible.

Like a smoke ring? ;)

-- 

Regards
     Stephen


Post a reply to this message

From: Alain
Subject: Re: Bezier-patch torus
Date: 30 Aug 2018 14:36:47
Message: <5b88393f@news.povray.org>
Le 18-08-29 à 10:16, Bald Eagle a écrit :
> OK, after the initial inspiration by BGimeno, and some much needed assistance
> from TOK, clipka, and jr,
> I managed to make some significant headway, and then sat down for Round Two to
> work out the intimate details of Theta, Phi, the parametric equations, the array
> assignments, and the array-of-array assignments.
> 
> 12x36 patches, 4 corners established by the parametric and f_noise3d(), then
> vectors for the planes containing those corners calculated, then the remaining
> 12 intermediate control points for each patch interpolated from those.
> 
> I thinks there's still a wee bit of debugging to do, with regard to the vector
> calculations, but it's sure "close enough" at this point to post.
> 
> Quite frankly, I'm amazed it even works at all, but here it is  :)
> 

Would be beter if the texture was UV mapped.


Post a reply to this message

From: clipka
Subject: Re: Bezier-patch torus
Date: 31 Aug 2018 09:14:21
Message: <5b893f2d$1@news.povray.org>
Am 30.08.2018 um 03:21 schrieb Mike Horvath:
> Looks like a circular turd if such things were possible.

You should see your doctor about the pigment and texture of your turds ;)


Post a reply to this message

From: Bald Eagle
Subject: Re: Bezier-patch torus
Date: 31 Aug 2018 10:15:01
Message: <web.5b894c3edc5d6572c437ac910@news.povray.org>
Alain <kua### [at] videotronca> wrote:

> Would be beter if the texture was UV mapped.

It would be, but usually people make sure the foundation and frame on a house
frame are right before priming and painting the trim.

Besides - since it's a network of stitched bicubic patches, I have to specify
the u/v vectors, and I don't know how to do that with procedurally generated
coordinates.   Yet.

Maybe someone can suggest a way to do this, or point me to a good reference that
I can read and get right on to implementing.


Post a reply to this message

From: Stephen
Subject: Re: Bezier-patch torus
Date: 31 Aug 2018 10:35:59
Message: <5b89524f$1@news.povray.org>
On 31/08/2018 14:14, clipka wrote:
> Am 30.08.2018 um 03:21 schrieb Mike Horvath:
>> Looks like a circular turd if such things were possible.
> 
> You should see your doctor about the pigment and texture of your turds ;)
> 

Got an appointment Wednesday morning for that very thing. I'll mention 
that you said I should.

Unless you want the job?

-- 

Regards
     Stephen


Post a reply to this message

From: B  Gimeno
Subject: Re: Bezier-patch torus
Date: 31 Aug 2018 14:15:06
Message: <web.5b89859cdc5d65725c907ee00@news.povray.org>
>
> Looks like a circular turd if such things were possible.
>
> Mike

As a nonspeaker english user is always useful to learn new ways of description
for my own code. I didn't knew the word and had to google it. What a mistake.

Still fighting with De Casteljau.
Bruno Gimeno


Post a reply to this message

From: Mike Horvath
Subject: Re: Bezier-patch torus
Date: 1 Sep 2018 07:00:18
Message: <5b8a7142$1@news.povray.org>
Probably a dumb question, but can only meshes be UV mapped?


Mike


Post a reply to this message

Goto Latest 10 Messages Next 10 Messages >>>

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