|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
I'm having some trouble with bump_maps. It seems that when I apply a spherical
or cylindrical bump_map to an object and then rotate that object (around the
y-axis) the bump_map won't rotate with it. Could someone verify this? It doesn't
really matter what code I use, because I've tried it in several ways.
Regards,
Remco
http://www.xs4all.nl/~remcodek/pov.html
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Remco de Korte wrote:
>
> I'm having some trouble with bump_maps. It seems that when I apply a spherical
> or cylindrical bump_map to an object and then rotate that object (around the
> y-axis) the bump_map won't rotate with it. Could someone verify this? It doesn't
> really matter what code I use, because I've tried it in several ways.
>
> Regards,
>
> Remco
> http://www.xs4all.nl/~remcodek/pov.html
Using Pov v3.1g and the following code I could not duplicate your problem.
Either one of the two commented out rotates rotated the bump map predictably
the same amount. Pov.gif was simply a gif image with a black background and
the word Pov printed in white. I did not try it with cylindrical mapping
but spherical worked just fine.
sphere { 0,1
pigment { rgb 1}
normal {
bump_map { gif "pov.gif" interpolate 2 map_type 1 bump_size 1}
// rotate 90*-y
}
// rotate 90*-y
}
--
Ken Tyler
mailto://tylereng@pacbell.net
http://home.pacbell.net/tylereng/links.htm
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Ken wrote:
>
> Remco de Korte wrote:
> >
> > I'm having some trouble with bump_maps. It seems that when I apply a spherical
> > or cylindrical bump_map to an object and then rotate that object (around the
> > y-axis) the bump_map won't rotate with it. Could someone verify this? It doesn't
> > really matter what code I use, because I've tried it in several ways.
> >
> > Regards,
> >
> > Remco
> > http://www.xs4all.nl/~remcodek/pov.html
>
> Using Pov v3.1g and the following code I could not duplicate your problem.
> Either one of the two commented out rotates rotated the bump map predictably
> the same amount. Pov.gif was simply a gif image with a black background and
> the word Pov printed in white. I did not try it with cylindrical mapping
> but spherical worked just fine.
>
> sphere { 0,1
> pigment { rgb 1}
> normal {
> bump_map { gif "pov.gif" interpolate 2 map_type 1 bump_size 1}
> // rotate 90*-y
> }
> // rotate 90*-y
> }
>
> --
> Ken Tyler
>
> mailto://tylereng@pacbell.net
> http://home.pacbell.net/tylereng/links.htm
I see what I have been doing wrong now. The bump_map I was using didn't make
things very clear, with another gif I could figure it out. So, I should've tried
a little harder...
Thanks!
Remco
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |