POV-Ray : Newsgroups : povray.general : rookie struggling with textures; : Re: rookie struggling with textures; Server Time
7 Aug 2024 19:21:45 EDT (-0400)
  Re: rookie struggling with textures;  
From: Andy Cocker
Date: 22 Jun 2001 22:12:12
Message: <3b33fafc@news.povray.org>
"Chris Olin" <cho### [at] ixnetcomcom> wrote in message
news:3B33E86B.71BBBC8E@ix.netcom.com...
>
>   I guess I need some find something that can convert bmp to jpg or gif.
If I
> ever get this to work right i will be posting someof the results on my web
> server (this is a project with an agenda).
>
>   Something i forgot to ask; where/how would I insert a scale, and offset
> seting, I'll proably need to asjust those to get the results I need.
>

See below:

#declare COLOR_7 = texture
      {
         pigment
         {
            image_map
            {
               sys   "f:\vgap\scout\alum_808.bmp"
            }
         }
         finish
         {
            ambient 0.1
            brilliance 3.0
            phong 1.0
            phong_size 10.0
            metallic 1.0
         }
      rotate -90.0 * x
    translate <-0.5,0,-0.5> // This will centre the bitmap on the origin (it
defaults to <0,0,0>,<1,1,0>)
    scale 10 // or scale <10,0,34> etc
   }


Post a reply to this message

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