POV-Ray : Newsgroups : povray.unofficial.patches : uv-mapping - what am I doing wrong? Server Time
1 Sep 2024 18:15:08 EDT (-0400)
  uv-mapping - what am I doing wrong? (Message 1 to 6 of 6)  
From: Marc-Hendrik Bremer
Subject: uv-mapping - what am I doing wrong?
Date: 2 Mar 2001 14:22:21
Message: <3a9ff2ed@news.povray.org>
Hi all,

I want to uv-map a little bird-model as some would already know. Everything
worked well at first:
I took the bicubic_patches, added the uv_mapping-keyword to each of them and
painted a image_map for them. I applied the image_map to the whole union
patches.

Looks good, all is fine - until I rotate the model around the y-axis. If I
do so, the texture does not rotate with the model. Scaling works,
translation works. Rotation around the z-axis works. Rotation around the x
or y axis does not work (which must have to do with the fact that these axis
are mapped on the u,v coords).

Is that the correct behaviour? Is it because I applied the texture to the
union, not the individual patches? Is there another solution than rotating
the texture as well?

Thanks for your help,

Marc-Hendrik


Post a reply to this message

From: Marc-Hendrik Bremer
Subject: Re: uv-mapping - what am I doing wrong?
Date: 2 Mar 2001 16:38:37
Message: <3aa012dd@news.povray.org>
BTW: rotating the image_map itself separately does not seem to work correct
either - image and model shift apart. Now I'm really clueless ...

Marc-Hendrik


Post a reply to this message

From: Nathan Kopp
Subject: Re: uv-mapping - what am I doing wrong?
Date: 6 Mar 2001 21:52:36
Message: <3aa5a274$1@news.povray.org>
"Marc-Hendrik Bremer" <Mar### [at] t-onlinede> wrote...
> Looks good, all is fine - until I rotate the model around the y-axis. If I
> do so, the texture does not rotate with the model. Scaling works,
> translation works. Rotation around the z-axis works. Rotation around the x
> or y axis does not work (which must have to do with the fact that these
axis
> are mapped on the u,v coords).

Can someone please verify this and send me a simple scene (preferrabley all
POV with no image files) that demonstrates the problem?  Thanks!

-Nathan


Post a reply to this message

From: Marc-Hendrik Bremer
Subject: Re: uv-mapping - what am I doing wrong?
Date: 7 Mar 2001 04:41:19
Message: <3aa6023f@news.povray.org>
Hi Nathan,

I'm afraid, it may have been just me. As I was working on my larger scene, I
was not able to make it work, but I think I simply forgot a "rotate"
somewhere or something like, 'cause it does work now. OTOH it was really
weird, since I got always correct results if I removed the rotation for the
whole object (so if I had forgotten a "rotate" somewhere that would not have
been right either).
To make it short: I can't reproduce that behaviour anymore. And it was
probably just my fault.

Sorry, that I bothered you.

Marc-Hendrik

Nathan Kopp schrieb in Nachricht <3aa5a274$1@news.povray.org>...
>
>"Marc-Hendrik Bremer" <Mar### [at] t-onlinede> wrote...
>> Looks good, all is fine - until I rotate the model around the y-axis. If
I
>> do so, the texture does not rotate with the model. Scaling works,
>> translation works. Rotation around the z-axis works. Rotation around the
x
>> or y axis does not work (which must have to do with the fact that these
>axis
>> are mapped on the u,v coords).
>
>Can someone please verify this and send me a simple scene (preferrabley all
>POV with no image files) that demonstrates the problem?  Thanks!
>
>-Nathan
>
>
>


Post a reply to this message

From: Tom Melly
Subject: Re: uv-mapping - what am I doing wrong?
Date: 7 Mar 2001 06:04:22
Message: <3aa615b6$1@news.povray.org>
"Marc-Hendrik Bremer" <Mar### [at] t-onlinede> wrote in message
news:3aa6023f@news.povray.org...

<snip>

I haven't tested whether this would re-create your problem, but could you
have been rotating your object BEFORE applying the UV?


Post a reply to this message

From: Marc-Hendrik Bremer
Subject: Re: uv-mapping - what am I doing wrong?
Date: 7 Mar 2001 06:48:45
Message: <3aa6201d$1@news.povray.org>
No :-)

I could reproduce the error, now ... I'm sometimes a bit confuse I think.

Actually I found the problem - I did no uv_mapping!

My scene is like this:
#macro Spatz(...)
union{

bicubic_patch{ ... uv_mapping}
bicubic_patch{ ... uv_mapping}
...
pigment{
   image_map{...}
}
}
object{Spatz(..) rotate y*60}

I think that is wrong, if I want to make uv_mapping, is it?
Removing the uv_mapping-keywords let's me rotate the model now. And the
pigment rotates ok.

I don't know if it is the correct behaviour  that it did not work with the
keywords or not.

Sorry, for making such a mess with this.

Marc-Hendrik


Tom Melly schrieb in Nachricht <3aa615b6$1@news.povray.org>...
>"Marc-Hendrik Bremer" <Mar### [at] t-onlinede> wrote in message
>news:3aa6023f@news.povray.org...
>
><snip>
>
>I haven't tested whether this would re-create your problem, but could you
>have been rotating your object BEFORE applying the UV?
>
>


Post a reply to this message

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