|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
I just played a bit with Aqsis and tested something RenderMan calls
"Reference Geometry".
It's a bit like u/v mapping, but for 3d-textures:
If you've got a mesh that deforms (in an animation), u/v mapping would
ensure that the texture stayes "attached" to the shape. But
unfortunately using a 3D procedural texture will not work in POV-Ray,
the texture would slide around on the geometry.
With RenderMan you can attach the texture to a deforming object in a way
that the pattern will stick to the surface by defining an (undeformed)
reference mesh used for texturing.
Theoretically it would be easy to do the same trick with a raytracer:
If you've got the u/v coordinates (e.g. on a bicubic patch or some sort
of mesh) of the ray intersection, use them to compute the (3d) position
on the reference patch/mesh and use that for texturing...
The quesition is: Can this be done in SDL?
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Sascha Ledinsky wrote:
> I just played a bit with Aqsis and tested something RenderMan calls
> "Reference Geometry".
> It's a bit like u/v mapping, but for 3d-textures:
> If you've got a mesh that deforms (in an animation), u/v mapping would
> ensure that the texture stayes "attached" to the shape. But
> unfortunately using a 3D procedural texture will not work in POV-Ray,
> the texture would slide around on the geometry.
> With RenderMan you can attach the texture to a deforming object in a way
> that the pattern will stick to the surface by defining an (undeformed)
> reference mesh used for texturing.
>
> Theoretically it would be easy to do the same trick with a raytracer:
> If you've got the u/v coordinates (e.g. on a bicubic patch or some sort
> of mesh) of the ray intersection, use them to compute the (3d) position
> on the reference patch/mesh and use that for texturing...
>
> The quesition is: Can this be done in SDL?
Yes. There are several techniques described in this thread:
From: ekolis
Subject: Can I bake UV textures with Povray?
Date: 20 Aug 2004 03:05:01
http://news.povray.org/povray.general/thread/%3Cweb.412569f73137e9f1406ebe00%40news.povray.org%3E/
http://tinyurl.com/5l5f4
And here's another message that might be relevant:
From: Slime
Subject: Baking UV textures with POV-Ray
Date: 21 Aug 2004 04:48:25
http://news.povray.org/povray.binaries.scene-files/thread/%3C4126d419@news.povray.org%3E/
http://tinyurl.com/6wrsl
--
Tor Olav
http://subcube.net
http://subcube.com
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
http://www.geocities.com/pterandon2/alldancecar05d01.html
"Sascha Ledinsky" <sas### [at] userssourceforgenet> wrote in message
news:41797e2f@news.povray.org...
> But unfortunately using a 3D procedural texture will not work in POV-Ray,
> the texture would slide around on the geometry.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
That looks very interesting, thanks!
However I doubt that it will work for bicubic patches. I'll have a look...
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |