POV-Ray : Newsgroups : povray.newusers : wrapping textures around an object : wrapping textures around an object Server Time
2 Nov 2024 11:24:02 EDT (-0400)
  wrapping textures around an object  
From: Tim
Date: 12 Apr 2004 01:54:29
Message: <407a2f15@news.povray.org>
whenever i use image_map to map a texture onto a box of any size, only the
front and back is textured leaving the top and sides all wierd and stretched
looking ... (the texture bricks is just declared becasue i use it often in
my scene)

#declare bricks = texture {
 pigment {
  image_map {
   "stone.bmp"
      map_type 0
      interpolate 2
  }
  scale 10
 }
}

box {
 <-20, -10, 5>, <20, 2.7, 10>
 texture { bricks }
}

.. i just want the brick texture to show up everywhere on the box.
help appreciated


Post a reply to this message

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