POV-Ray : Newsgroups : povray.general : bump_trouble : Re: bump_trouble Server Time
11 Aug 2024 11:19:03 EDT (-0400)
  Re: bump_trouble  
From: Ken
Date: 19 Jul 1999 05:21:23
Message: <3792ED76.575207B3@pacbell.net>
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

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