POV-Ray : Newsgroups : povray.general : UV mapping with #mesh2 Server Time
7 Nov 2024 07:31:11 EST (-0500)
  UV mapping with #mesh2 (Message 1 to 6 of 6)  
From: Shay
Subject: UV mapping with #mesh2
Date: 12 Apr 2002 11:16:36
Message: <3cb6fa54@news.povray.org>
I know where to put the uv vectors, but where do I put the filename? I can't
find anything in the docs and have not been able to guess properly.

 -Shay


Post a reply to this message

From: Shay
Subject: Re: UV mapping with #mesh2
Date: 12 Apr 2002 11:17:49
Message: <3cb6fa9d$1@news.povray.org>
Shay <sah### [at] simcopartscom> wrote in message news:3cb6fa54@news.povray.org...

> have not been able to guess properly.

That doesn't make any damn sense.
 "have not been able to guess *correctly*"

 -Shay


Post a reply to this message

From:
Subject: Re: UV mapping with #mesh2
Date: 12 Apr 2002 11:21:11
Message: <7nudbugvvd101t1q1u4n8d9kjt9ipfur36@4ax.com>
On Fri, 12 Apr 2002 10:17:48 -0500, "Shay" <sah### [at] simcopartscom> wrote:
> I know where to put the uv vectors, but where do I put the filename?

Filename of what ? Image ? Just create pigment as usually.

ABX


Post a reply to this message

From: Shay
Subject: Re: UV mapping with #mesh2
Date: 12 Apr 2002 11:32:29
Message: <3cb6fe0d$1@news.povray.org>

news:7nudbugvvd101t1q1u4n8d9kjt9ipfur36@4ax.com...
>
> Filename of what ? Image ? Just create pigment as usually.
>

Thank you.
I can't try it right now, but do you mean like this:

#mesh2 {
 vertex_vectors {}
 uv_vectors {}
 face_indices {}
 pigment {
  image_map {png "map.png"}
 } // end pigment
}// end #mesh2

I'm sure I tried that, but I might have made a mistake or missed something
when I did.

 -Shay


Post a reply to this message

From: jkb
Subject: Re: UV mapping with #mesh2
Date: 13 Apr 2002 00:08:38
Message: <3cb7af46$1@news.povray.org>
Look for texture_list in your mesh2, if not, then add it like this:

mesh2 {
   vertex_vectors{......}
   normal_vectors{......}
   texture_list
      {  1,  texture { pigment { image_map{"foo.bmp" }}} }
   face_indices{.........}
   normal_indices{......}
   uv_mapping
}


Post a reply to this message

From: Hugo
Subject: Re: UV mapping with #mesh2
Date: 13 Apr 2002 08:06:13
Message: <3cb81f35$1@news.povray.org>
> I can't try it right now, but do you mean like this:
>
> #mesh2 {
>  vertex_vectors {}
>  uv_vectors {}
>  face_indices {}
>  pigment {
>   image_map {png "map.png"}
>  } // end pigment
> }// end #mesh2

Yes, this should work.. The uv vectors become just a part of the mesh data,
but does not need a texture immediately. Textures are applied afterwards,
like any other object.

Regards,
Hugo


Post a reply to this message

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