POV-Ray : Newsgroups : povray.general : Mesh with an image pigment : Re: Mesh with an image pigment Server Time
29 Jul 2024 22:31:03 EDT (-0400)
  Re: Mesh with an image pigment  
From: Sam Takoy
Date: 29 Jun 2010 02:50:01
Message: <web.4c2996d1ff9663a1858afefa0@news.povray.org>
"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

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