POV-Ray : Newsgroups : povray.newusers : Is it possible to layer a texture over a CSG ? : Is it possible to layer a texture over a CSG ? Server Time
2 Nov 2024 15:23:23 EDT (-0400)
  Is it possible to layer a texture over a CSG ?  
From: Bernard Hatt
Date: 4 Dec 2003 12:44:45
Message: <3FCF742D.7B253C61@arkady.demon.co.uk>
It seems that you can layer a (partly transparent) texture over a single
item, but not a union. Is there some way to do this ?

eg.

#declare my_object1=
sphere{0, 1     texture {T_Wood7}}

#declare my_object2=
union
{
        sphere{<0.5,0,0>, 1 texture {T_Wood7 rotate<0,90,0>}}
        sphere{<-0.5,0,0>, 1 texture {T_Wood7}}
}

object
{
//      my_object1      // this works
        my_object2      // this doesn't
        texture {pigment{bozo scale 0.25 color_map {[0.5 rgbf 1][0.5 rgb 1]}}}
}

Thanks,

Bernard


Post a reply to this message

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