POV-Ray : Newsgroups : povray.newusers : <no subject> : <no subject> Server Time
1 Jul 2024 03:37:18 EDT (-0400)
  <no subject>  
From: rode
Date: 1 Jul 2011 06:15:01
Message: <web.4e0d9d8dc23a6d9f58fe2c40@news.povray.org>
Hello Povray users!
I have a quite annoying problem which I've been trying to figure out for the
last
month...please help. The thing is have exported model with given texture(and
there are lots of elements with the same texture) the texture looks like that:

texture
   {
    uv_mapping
    pigment
    {
     color <0, 0, 0>
     transmit 0.5
     filter 1
    }
    finish
    {
     diffuse 1
     ambient 0
    }
   }
  }
I have declared another texture:

#declare Milky =
texture{
    pigment
    {
     rgbft <1, 1, 1, 0.4, 0.5>
    }
    finish
    {
     diffuse 1.5
     ambient 0
     specular 0.2
     phong 0.4
     roughness 0.1
     reflection 0.05

    }}
And now the question is: HOW TO REPLACE THE EXPORTED TEXTURE WITH THE NEW ONE
ON ALL THESE ELEMENTS??


Post a reply to this message

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