POV-Ray : Newsgroups : povray.general : Help Povray! The master class is required! : Re: Help Povray! The master class is required! Server Time
28 Jul 2024 22:22:37 EDT (-0400)
  Re: Help Povray! The master class is required!  
From: clipka
Date: 8 Jan 2014 10:30:38
Message: <52cd6f1e$1@news.povray.org>
Am 08.01.2014 15:38, schrieb LanuHum:
> clipka <ano### [at] anonymousorg> wrote:
>> Am 08.01.2014 15:03, schrieb clipka:
>>> Am 08.01.2014 12:24, schrieb LanuHum:
>>>
>>>> Who can show to participants, what Povray - very good renderer for
>>>> this scene?
>>>> If you have no time or desire, help me to adjust a scene.
>>
>> Another thing to improve is to use materials rather than textures where
>> possible; this allows to define index of refraction (necessary for
>> physically realistic reflections e.g. on glass or water) and
>> distance-based attenuation (also a good thing for modeling realistic
>> glass).
>>
>
> Oh! I thought that the material and is texture{pigment normal finish}
> What there is a material in that case?

The material includes the "interior" block:

#declare MyMaterial = material {
   texture { ... }
   interior { ... }
}

#declare MyMesh = mesh {
   ...
   material { MyMaterial }
}


Unfortunately it doesn't work for meshes with multiple textures. Still, 
there should be a way to specify an interior for those as well, such as:

#declare MyMesh = mesh {
   triangle { ... texture { MyTexture1 } }
   triangle { ... texture { MyTexture2 } }
   ...
   interior { MyInterior }
}


Post a reply to this message

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