POV-Ray : Newsgroups : povray.binaries.images : riddle me this : Re: riddle me this Server Time
2 Aug 2024 12:21:10 EDT (-0400)
  Re: riddle me this  
From: alphaQuad
Date: 22 Jul 2007 12:45:02
Message: <web.46a3871f3d906446fdb01fdf0@news.povray.org>
"Trevor G Quayle" <Tin### [at] hotmailcom> wrote:
> "alphaQuad" <alp### [at] earthlinknet> wrote:
>
> You may need to read more on image_maps as I think you are misunderstanding
> some concepts.  Image_maps are mapped on the x-y plane and stretch to
> infinity, they are not coordinate or uv based.  If you try to map to a
> non-xy plane as you have, you will not get the results you want.  Either:
>
> a) map to an x-y plane then rotate the plane to the position you want
> b) add a rotate to the mapping to align it to your plane
>
> -tgq

exactly Trevor! After a good night's sleep I woke this morning remembering
that I had to rotate the maps for planar mapping of the meshs. DOH!

got it working before reading the replies. You are correct in using the term
"misunderstanding". Something easily accomplished when your brain is on
vacation from poor sleep.

Of course a z-axis-plane map would streak down a y-axis-plane, seriouly duh
on my part.

#declare fl_Cherry =
plane {
< 0.0, 1.0, 0.0 >, -2.4
texture {
pigment { image_map { png "wood-32_d" once } }
finish {
ambient 0
brilliance 2
diffuse 0.7
specular 0.8
roughness 1/12
reflection 0.15
}
translate < -0.5 , -0.55, 0.0 >
scale < 22.0 , 66.0 , 1.0 >
rotate < 90 , 0 , 0 >
}
}

Now the floor is level. And thanx for the replies guys.

AQ
**
Do you smell something? Smells like too much brain flatulence in the world.


Post a reply to this message

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