POV-Ray : Newsgroups : povray.advanced-users : UV Mapping and Layered Textures Server Time
29 Jul 2024 02:23:37 EDT (-0400)
  UV Mapping and Layered Textures (Message 1 to 4 of 4)  
From: ec274
Subject: UV Mapping and Layered Textures
Date: 6 May 2003 16:30:05
Message: <web.3eb81af726e9d0da8d9df90f0@news.povray.org>
I read this in the Help for POV-Ray 3.5:

You create layered textures by listing two or more textures one right after
the other. The last texture listed will be the top layer, the first one
listed will be the bottom layer. All textures in a layered texture other
than the bottom layer should have some transparency. For example:

  object {
    My_Object
    texture {T1}  // the bottom layer
    texture {T2}  // a semi-transparent layer
    texture {T3}  // the top semi-transparent layer
  }

I use a script to export scenes from Blender and render using POV-Ray
version 3.5.

Is it possible to use UV Mapping and use layered textures together? If so
how? Can anyone provide a simple example? A cube would suffice.

An example would be like a metal box, that has dirt or rust on it. One layer
has the metal texture, one layer has the dirt/rust texture. I'd like to see
them blend or use transperency somehow if possible.

Any help would be appreciated. Or if someon tell me to go and soak my head,
I can do that too!


Post a reply to this message

From: Gilles Tran
Subject: Re: UV Mapping and Layered Textures
Date: 7 May 2003 04:12:30
Message: <3eb8bfee$1@news.povray.org>

web.3eb81af726e9d0da8d9df90f0@news.povray.org...
> Is it possible to use UV Mapping and use layered textures together? If so
> how? Can anyone provide a simple example? A cube would suffice.

Just declare your layered texture beforehand.
#declare MyLayeredTexture=texture{...}texture{...}texture{...}
and then use it as usual.

G.

--

**********************
http://www.oyonale.com
**********************
- Graphic experiments
- POV-Ray and Poser computer images
- Posters


Post a reply to this message

From: ec274
Subject: Re: UV Mapping and Layered Textures
Date: 7 May 2003 16:20:09
Message: <web.3eb96a4848966ef48d9df90f0@news.povray.org>
Gilles Tran wrote:

>web.3eb81af726e9d0da8d9df90f0[at]news.povray.org...
>> Is it possible to use UV Mapping and use layered textures together? If so
>> how? Can anyone provide a simple example? A cube would suffice.
>
>Just declare your layered texture beforehand.
>#declare MyLayeredTexture=texture{...}texture{...}texture{...}
>and then use it as usual.
>
>G.
>
>--
>
>**********************
>http://www.oyonale.com
>**********************
>- Graphic experiments
>- POV-Ray and Poser computer images
>- Posters
>

Thank you very much for your reply. I really admire your work. It is
oustanding.

I will see if I can figure out what I need to do based on your response.

Thanks again.


Post a reply to this message

From: ec274
Subject: Re: UV Mapping and Layered Textures
Date: 7 May 2003 16:25:07
Message: <web.3eb96b3a48966ef48d9df90f0@news.povray.org>
Gilles Tran wrote:

>web.3eb81af726e9d0da8d9df90f0[at]news.povray.org...
>> Is it possible to use UV Mapping and use layered textures together? If so
>> how? Can anyone provide a simple example? A cube would suffice.
>
>Just declare your layered texture beforehand.
>#declare MyLayeredTexture=texture{...}texture{...}texture{...}
>and then use it as usual.
>
>G.
>
>--
>
>**********************
>http://www.oyonale.com
>**********************
>- Graphic experiments
>- POV-Ray and Poser computer images
>- Posters
>

Thank you for your reply. I really admire your works, they are outstanding.

I'm not a experienced POV-Ray user just yet, but hope to be. I will see if I
can figure out what I need to do based on your coments.

Thanks again.


Post a reply to this message

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