POV-Ray : Newsgroups : povray.general : Different textures for front and back of a mesh2 Server Time
26 Nov 2024 01:30:52 EST (-0500)
  Different textures for front and back of a mesh2 (Message 1 to 6 of 6)  
From: kiwon
Subject: Different textures for front and back of a mesh2
Date: 11 Mar 2012 10:50:01
Message: <web.4f5cba67f01bc3886b74b490@news.povray.org>
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


Post a reply to this message

From: Thomas de Groot
Subject: Re: Different textures for front and back of a mesh2
Date: 11 Mar 2012 11:09:33
Message: <4f5cc02d$1@news.povray.org>
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


Post a reply to this message

From: kiwon
Subject: Re: Different textures for front and back of a mesh2
Date: 11 Mar 2012 12:05:01
Message: <web.4f5ccc35f873eb7086b74b490@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


Post a reply to this message

From: Alain
Subject: Re: Different textures for front and back of a mesh2
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

From: Thomas de Groot
Subject: Re: Different textures for front and back of a mesh2
Date: 12 Mar 2012 03:47:09
Message: <4f5da9fd$1@news.povray.org>
On 11-3-2012 17:01, kiwon wrote:
> 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.
>

Do you know Poseray? https://sites.google.com/site/poseray/
You can load the mesh2 into to program, then under the tabs 
Groups/lines, you have the option to "add thickness to free mesh edges".
I think you should investigate this.

Thomas


Post a reply to this message

From: kiwon
Subject: Re: Different textures for front and back of a mesh2
Date: 12 Mar 2012 07:20:01
Message: <web.4f5dda2cf873eb7086b74b490@news.povray.org>
Thomas de Groot <tho### [at] degrootorg> wrote:
> On 11-3-2012 17:01, kiwon wrote:
> > 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.
> >
>
> Do you know Poseray? https://sites.google.com/site/poseray/
> You can load the mesh2 into to program, then under the tabs
> Groups/lines, you have the option to "add thickness to free mesh edges".
> I think you should investigate this.
>
> Thomas

Thanks, I know it. However it's not relevant for me. :) I just wondered if it's
possible to render in POVRay script.

Thanks your comments.

--
Kiwon Um


Post a reply to this message

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