![](/i/fill.gif) |
![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
From: Yadgar
Subject: Oriental Tileworks - problems with map_type 2 (JPG 117 KB)
Date: 7 Apr 2001 15:38:11
Message: <3ACF4ABB.A97EBA77@ndh.net>
|
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Hi Tracers!
Today I started experimenting with an image_map texture... all worked
well until I decided to wrap the bitmap I used for the floor plane
around a cylinder, using map_type 2. The cylinder in the center of the
image is <0, 0, 40>, <0, 15, 40>, 2, so the image_map had to be scaled
to <1, 15, 1> for original ratio. With that scaling, the pattern looked
way too large, so I decided to scale it again to <0.1, 0.1, 0.1>. But
obviously, with map_type 2, scaling seems only to work in one direction,
so I got a fairly squeezed appearance, as you can see... even if I
scaled the texture as a whole (i. e. not only the pigment), the result
remained the same!
Any hint to avoid that?
See you in Khyberspace!
Yadgar
Post a reply to this message
Attachments:
Download 'mazar.jpg' (117 KB)
Preview of image 'mazar.jpg'
![mazar.jpg](/povray.binaries.images/attachment/%3C3ACF4ABB.A97EBA77%40ndh.net%3E/mazar.jpg?preview=1)
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
> so I got a fairly squeezed appearance, as you can see... even if I
> scaled the texture as a whole (i. e. not only the pigment), the result
> remained the same!
>
> Any hint to avoid that?
If you're using MP .7, use the frequency keyword to control the number of time
the texture wraps.
H.E. Day
<><
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
From: Yadgar
Subject: Re: Oriental Tileworks - problems with map_type 2 (JPG 117 KB)
Date: 7 Apr 2001 21:32:39
Message: <3ACF9E13.AFFE01CB@ndh.net>
|
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Hi Tracers!
"H.E. Day" schrieb:
> > so I got a fairly squeezed appearance, as you can see... even if I
> > scaled the texture as a whole (i. e. not only the pigment), the result
> > remained the same!
> >
> > Any hint to avoid that?
>
> If you're using MP .7, use the frequency keyword to control the number of time
> the texture wraps.
>
> H.E. Day
> <><
Hi Tracers!
Meanwhile, I found a solution on my own... as each original bitmap tile goes all
around the cylinder regardless of its radius, I just copied the original tile
element until I got a row of 10 x 1 elements. Then I assigned the image_map as
before and modified its y size according to its x size to get the proper ratio
(with a cylinder radius of 2, the x size is 2 * 2 * pi = 12.566371, so for a
bitmap with a side ratio of 10 : 1, y has to be 1.2566371)!
See you in Khyberspace!
Yadgar
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
From: Ken Cecka
Subject: Re: Oriental Tileworks - problems with map_type 2 (JPG 117 KB)
Date: 8 Apr 2001 00:21:19
Message: <3acfe73f@news.povray.org>
|
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Glad to hear this got added in (is it scheduled to be included in 3.5?).
I've always been annoyed that pov didn't have this, and even tried hacking
it into the code once, but got bungled up in adding new syntax for it to
the parser.
Ken
H.E. Day wrote:
>> so I got a fairly squeezed appearance, as you can see... even if I
>> scaled the texture as a whole (i. e. not only the pigment), the result
>> remained the same!
>>
>> Any hint to avoid that?
>
> If you're using MP .7, use the frequency keyword to control the number of
> time the texture wraps.
>
> H.E. Day
> <><
>
>
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |