|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Hello,
How can one e.g. map an image of the earth correctly around a sphere? When
I changed the position of the camera the camera I discovered the rest of
the image wasn't mapped upon the sphere. Instead I found a mirror-like
image.
I hope you can help me with this problem.
thanks, koos
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Make sure you're using the proper map_type (I think map_type 1 for
spherical),
and make sure to include the map_once keyword so it uses one copy of the
image
map instead of tiling it. Then you may need to scale it (I thnk it defaults
to a 1 unit
wide square image). If that fails, there's always UV Mapping.
--
Doug Eichenberg
http://www.getinfo.net/douge
dou### [at] nlsnet
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
"Doug Eichenberg" <dou### [at] nlsnet> wrote in message
news:39a04dd7$1@news.povray.org...
| Make sure you're using the proper map_type (I think map_type 1 for
| spherical),
| and make sure to include the map_once keyword so it uses one copy of the
| image
| map instead of tiling it. Then you may need to scale it (I thnk it
defaults
| to a 1 unit
| wide square image).
map_type 1 is indeed the thing for spheres. 0 is default and maps to the xy
plane.
No need to use tiling for type 1 though, only for types 0 and 2 (planar and
cylindrical). since only those two can go beyond the 1 unit bounds of their
parent shape. For cylinders it can extend upward and downward yet still not
wrap around anymore than just the one time as with spheres.
Scaling is another matter, you can scale (and translate) any type and get
mixed results. But planar (less so cylindrical) is the kind most befitting
scaling and translating and use of the 'once' (sorry Doug :-} no "map_" part
on that one) keyword.
map types 3 and 4 don't exist, btw; type 5 is for toroidal or donut shape.
It will get more obvious as you go along.
Bob
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
I know you had the docs in front of you for that one Bob... I was going by
memory.
Thanks for the corrections though.
- Doug Eichenberg
http://www.getinfo.net/douge
dou### [at] nlsnet
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Doug Eichenberg wrote:
>
> I know you had the docs in front of you for that one Bob... I was going by
> memory.
That's all simple newbie stuff. Bob and I have answered this question
so many times before that we could answer it in our sleep.
--
Ken Tyler - 1400+ POV-Ray, Graphics, 3D Rendering, and Raytracing Links:
http://home.pacbell.net/tylereng/index.html http://www.povray.org/links/
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
"Ken" <tyl### [at] pacbellnet> wrote in message
news:39A0AE0C.76A360C4@pacbell.net...
|
| Doug Eichenberg wrote:
| >
| > I know you had the docs in front of you for that one Bob... I was going
by
| > memory.
|
| That's all simple newbie stuff. Bob and I have answered this question
| so many times before that we could answer it in our sleep.
You're right Ken, I didn't even take a look at the Doc for that one, which
always worries me a little if I don't because I can't trust I'll be
perfectly right. Especially as things are ever-changing. I'm in the habit
of confusing well known things anyhow.
Bob
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
You know you've been raytracing too long when...
--
Doug Eichenberg
http://www.getinfo.net/douge
dou### [at] nlsnet
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |