|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Hi,
I have a complicated deformed mesh. Is there documentation on how to texture it
with an image? (It is a "topological" rectangle that looks like a hanging table
cloth.)
Many thanks in advance,
Sam
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Am 28.06.2010 21:46, schrieb Sam Takoy:
> I have a complicated deformed mesh. Is there documentation on how to texture it
> with an image? (It is a "topological" rectangle that looks like a hanging table
> cloth.)
"UV mapping" is what you'll want to have a look at. You'll have to
assign 2D coordinates (termed U and V) to the vertices of each triangle
in the mesh, thereby specifying the triangle's position in 2D "image space".
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
clipka <ano### [at] anonymousorg> wrote:
> Am 28.06.2010 21:46, schrieb Sam Takoy:
>
> > I have a complicated deformed mesh. Is there documentation on how to texture it
> > with an image? (It is a "topological" rectangle that looks like a hanging table
> > cloth.)
>
> "UV mapping" is what you'll want to have a look at. You'll have to
> assign 2D coordinates (termed U and V) to the vertices of each triangle
> in the mesh, thereby specifying the triangle's position in 2D "image space".
Thank you.
It seems that if I only have a single triangle in a mesh, it will sample three
points from the image and interpolate from those three values. Rather than keep
looking at the pixels in the image and place those pixels in the right place in
the triangle. Am I correct? (I hope not.)
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
"Sam Takoy" <sam### [at] yahoocom> wrote:
> clipka <ano### [at] anonymousorg> wrote:
> > Am 28.06.2010 21:46, schrieb Sam Takoy:
> >
> > > I have a complicated deformed mesh. Is there documentation on how to texture it
> > > with an image? (It is a "topological" rectangle that looks like a hanging table
> > > cloth.)
> >
> > "UV mapping" is what you'll want to have a look at. You'll have to
> > assign 2D coordinates (termed U and V) to the vertices of each triangle
> > in the mesh, thereby specifying the triangle's position in 2D "image space".
>
> Thank you.
>
> It seems that if I only have a single triangle in a mesh, it will sample three
> points from the image and interpolate from those three values. Rather than keep
> looking at the pixels in the image and place those pixels in the right place in
> the triangle. Am I correct? (I hope not.)
As a follow up, here is he image:
http://freeboundaries.com/Equations.png
and here is the pov ray result
http://freeboundaries.com/pov.png
Thank you very much in advance.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
> It seems that if I only have a single triangle in a mesh, it will sample three
> points from the image and interpolate from those three values. Rather than keep
> looking at the pixels in the image and place those pixels in the right place in
> the triangle. Am I correct? (I hope not.)
You are incorrect. It interpolates the (u,v) coordinates, and samples
the image separately for each pixel on the triangle.
- Slime
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |