POV-Ray : Newsgroups : povray.newusers : Cylindrical bump_maps : Cylindrical bump_maps Server Time
5 Sep 2024 20:20:53 EDT (-0400)
  Cylindrical bump_maps  
From: Brent Dillender
Date: 8 Sep 1999 21:39:37
Message: <37D70FC7.86FEEA01@remove-me-for-spam.neo.rr.com>
I am creating a house using Povray, and I am stuck in the kitchen.  My
design calls for a cylindrical island counter section, with a row of
cabinets around the base.  I have no problems with the CSG, but I am
baffled by the bumpmaps.  In the rest of the kitchen, I have applied a
bump_map to simulate the moldings on the cabinet doors.  So on the
island cabinet doors, I was planning on using a cylindrical mapping of
the bitmap, either applied to a series of partial cylinders, or to a
partitioned cylinder.  In either case, I am having trouble getting the
bumpmap scaled to only cover a partial cylinder.  If I scale either the
x or the z component of the bumpmap, I cannot see any difference.  I see
how any lateral scaling could be negated by the definition of the
cylindrical mapping, but if that is true, how do I achieve the effect I
am looking for?

Here is the code I am working with:

difference{cylinder{<0,5,0>,<0,17.75,0>,23.5}
                        cylinder{<0,4.75,0>,<0,18,0>,23}
                        texture{test
    normal{bump_map{gif "KCABDOOR.gif" map_type 2 /*once*/ bump_size 4.0
interpolate 2 }
                                  scale<1,12.75,1>
                                  translate<0,5,0>
                                  }
                        }
                  }

Thank you in advance for the assistance.  If anyone is interested in
seeing the renderings of the house, feel free to drop me a line.  I do
so love showing them off.


Post a reply to this message

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