POV-Ray : Newsgroups : povray.general : Different textures for front and back of a mesh2 : Re: Different textures for front and back of a mesh2 Server Time
29 Jul 2024 08:10:40 EDT (-0400)
  Re: Different textures for front and back of a mesh2  
From: Alain
Date: 11 Mar 2012 13:55:37
Message: <4f5ce719@news.povray.org>

> Thomas de Groot<tho### [at] degrootorg>  wrote:
>> On 11-3-2012 15:44, kiwon wrote:
>>> Dear POV-Ray users,
>>>
>>> I'm wondering if it is possible to use different textures for front and back
>>> sides of a mesh2 object without modifying the vertex/index data of the mesh2
>>> object. Here the mesh2 is just a surface mesh like cloth.
>>>
>>> And is there any simple way to make the surface mesh to have some thickness?
>>>
>>> Thanks
>>>
>>> --
>>> Kiwon Um
>>>
>>>
>> use:
>> object {
>>     texture {}
>>     interior_texture {}
>> }
>>
>> For thickness, I don't know. Probably depends on what you want precisely.
>>
>> Thomas
>
> It works well! Thanks.
>
> For thickness, I just want to render the surface mesh as if having a little
> volume.
>
> Thanks.
>
> --
> Kiwon Um
>
>
>

You can easily place 2 copies, or more, of the mesh with a very slight 
gap between them. As meshes are instanciated, it will only take place in 
memory once.



Alain


Post a reply to this message

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