POV-Ray : Newsgroups : povray.general : Image_map front & back : Re: Image_map front & back Server Time
6 Aug 2024 10:21:11 EDT (-0400)
  Re: Image_map front & back  
From: TinCanMan
Date: 21 Jun 2002 07:49:52
Message: <3d1312e0$1@news.povray.org>
> Can you give me an example of
>
> pigment{object{foobar} ................
>
> finish the line where one is a pigment{image_map{...  , please if you
will.
>
> Neither the html help for mega 0.7 nor my imagination could find a syntax
mega
> would accept.

I don't know if the megaPOV syntax works the same, but this works in 3.5:
(you need to wrap both parts in pigment wrappers)

//start
box{<-100,0,-10><100,200,10>
  pigment{
    object{
      box{<-30,80,0><30,140,-20>}
      pigment{rgb 1},
      pigment{
        image_map{png "BB2.png" interpolate 4}
        scale 60
        translate <-30,80,0>
      }
    }
  }
}
//end


-tgq


Post a reply to this message

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