POV-Ray : Newsgroups : povray.advanced-users : Bicubic patch macro Server Time
25 Nov 2024 21:19:29 EST (-0500)
  Bicubic patch macro (Message 1 to 10 of 15)  
Goto Latest 10 Messages Next 5 Messages >>>
From: Rune
Subject: Bicubic patch macro
Date: 10 Feb 2002 13:28:09
Message: <3c66bbb9@news.povray.org>
I'm interested in knowing more about how bicubic patches work, so that I can
maybe make some macros that can extent the things possible to do with
bicubic patches.

Here's a challenge:

Make a macro takes 16 points as input and then creates a mesh similar to the
corresponding bicubic patch.

Oh, well, I probably can't expect that anyone do that just because I ask,
but then I at least hope someone can point me to resources that contains
enough information that I will be able to do it myself.

Rune
--
3D images and anims, include files, tutorials and more:
Rune's World:    http://rsj.mobilixnet.dk (updated Jan 20)
POV-Ray Users:   http://rsj.mobilixnet.dk/povrayusers/
POV-Ray Webring: http://webring.povray.co.uk


Post a reply to this message

From: ingo
Subject: Re: Bicubic patch macro
Date: 10 Feb 2002 13:48:36
Message: <Xns91B1C9CF4413Fseed7@povray.org>
in news:3c66bbb9@news.povray.org Rune wrote:

> Here's a challenge:
> 
> Make a macro takes 16 points as input and then creates a mesh similar
> to the corresponding bicubic patch.

Search for bicubic.inc by John VanSickle, 
don't remember in what group under what title though,

Ingo


Post a reply to this message

From: Warp
Subject: Re: Bicubic patch macro
Date: 10 Feb 2002 13:55:31
Message: <3c66c223@news.povray.org>
Rune <run### [at] mobilixnetdk> wrote:
: Make a macro takes 16 points as input and then creates a mesh similar to the
: corresponding bicubic patch.

  Colefax's PCM macros can place objects on the surface of a bicubic patch.
Thus it should be rather easy to adapt it to calculate vertex point on the
surface of the bicubic patch.

-- 
#macro N(D)#if(D>99)cylinder{M()#local D=div(D,104);M().5,2pigment{rgb M()}}
N(D)#end#end#macro M()<mod(D,13)-6mod(div(D,13)8)-3,10>#end blob{
N(11117333955)N(4254934330)N(3900569407)N(7382340)N(3358)N(970)}//  - Warp -


Post a reply to this message

From: ingo
Subject: Re: Bicubic patch macro
Date: 10 Feb 2002 14:04:40
Message: <Xns91B1CC882DA90seed7@povray.org>
in news:Xns### [at] povrayorg ingo wrote:

> Search for bicubic.inc by John VanSickle, 
> don't remember in what group under what title though,
> 
> 

Found it:

Message-ID: <3AD772B7.C88CC3B0@erols.com>
From: John VanSickle <van### [at] erolscom>
Newsgroups: povray.binaries.utilities
Subject: Re: Bicubic patch to mesh?
Date: Fri, 13 Apr 2001 23:42:15 +0200
Xref: news.povray.org povray.binaries.utilities:3084

Ingo


Post a reply to this message

From: Rune
Subject: Re: Bicubic patch macro
Date: 10 Feb 2002 14:07:47
Message: <3c66c503$1@news.povray.org>
"ingo" wrote:
> Search for bicubic.inc by John VanSickle,
> don't remember in what group under what title though,

Can't find it anywhere, on news.povray.org or with google.

When searching for bezier.inc I get some results, but only to create bezier
lines, not bezier patches, and it's not made by John VanSickle either.

Rune
--
3D images and anims, include files, tutorials and more:
Rune's World:    http://rsj.mobilixnet.dk (updated Jan 20)
POV-Ray Users:   http://rsj.mobilixnet.dk/povrayusers/
POV-Ray Webring: http://webring.povray.co.uk


Post a reply to this message

From: Rune
Subject: Re: Bicubic patch macro
Date: 10 Feb 2002 14:47:56
Message: <3c66ce6c@news.povray.org>
Never mind, I think I've just seen the light.

It was on this page:
http://www.gamedev.net/reference/articles/article1584.asp

Rune
--
3D images and anims, include files, tutorials and more:
Rune's World:    http://rsj.mobilixnet.dk (updated Jan 20)
POV-Ray Users:   http://rsj.mobilixnet.dk/povrayusers/
POV-Ray Webring: http://webring.povray.co.uk


Post a reply to this message

From: Dave Dunn
Subject: Re: Bicubic patch macro
Date: 10 Feb 2002 15:05:51
Message: <3C66D2FE.C6884FF@aol.com>
Rune wrote:

> I'm interested in knowing more about how bicubic patches work, so that I can
> maybe make some macros that can extent the things possible to do with
> bicubic patches.

Please see my recent posts in p.t.s-f


Post a reply to this message

From: Rune
Subject: Re: Bicubic patch macro
Date: 10 Feb 2002 16:25:07
Message: <3c66e533@news.povray.org>
I wrote:
> Never mind, I think I've just seen the light.
>
> It was on this page:
> http://www.gamedev.net/reference/articles/article1584.asp

But still thanks to Ingo and Warp. Now I have both the theory and some
working examples. :)

Rune
--
3D images and anims, include files, tutorials and more:
Rune's World:    http://rsj.mobilixnet.dk (updated Jan 20)
POV-Ray Users:   http://rsj.mobilixnet.dk/povrayusers/
POV-Ray Webring: http://webring.povray.co.uk


Post a reply to this message

From: Rune
Subject: Re: Bicubic patch macro
Date: 10 Feb 2002 16:30:37
Message: <3c66e67d@news.povray.org>
"Dave Dunn" wrote:
> Rune wrote:
>
> > I'm interested in knowing more about how bicubic
> > patches work, so that I can maybe make some macros
> > that can extent the things possible to do with
> > bicubic patches.
>
> Please see my recent posts in p.t.s-f

???

As far as I can see those don't do anything like what I requested.

Rune
--
3D images and anims, include files, tutorials and more:
Rune's World:    http://rsj.mobilixnet.dk (updated Jan 20)
POV-Ray Users:   http://rsj.mobilixnet.dk/povrayusers/
POV-Ray Webring: http://webring.povray.co.uk


Post a reply to this message

From: bob h
Subject: Re: Bicubic patch macro
Date: 10 Feb 2002 19:48:28
Message: <3c6714dc@news.povray.org>
"Rune" <run### [at] mobilixnetdk> wrote in message
news:3c66e67d@news.povray.org...
> "Dave Dunn" wrote:
> >
> > Please see my recent posts in p.t.s-f
>
> As far as I can see those don't do anything like what I requested.

Hmmm, if Dave hadn't pointed his files out I would have.  Sounded just ike
the thing you were asking to me too.  Creates a bicubic_patch by macro and
places wireframe for it.  You going to make a triangle mesh from the patch?
I'd think that would work out by replacing the wireframe with triangles
maybe.

Admittedly, I haven't seen the others mentioned already.

bob h


Post a reply to this message

Goto Latest 10 Messages Next 5 Messages >>>

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