POV-Ray : Newsgroups : povray.advanced-users : shadows and transparent textures (transparency map) : Re: shadows and transparent textures (transparency map) Server Time
28 Jul 2024 14:29:01 EDT (-0400)
  Re: shadows and transparent textures (transparency map)  
From: Slime
Date: 15 Mar 2005 13:12:25
Message: <42372589$1@news.povray.org>
> here is my example rewritten with mesh2: same result!

Oh, ok. You're doing the same thing:

object {
    mesh {
        (mesh data)
    }
    texture {...}
}

You should be doing this:

mesh {
    (mesh data)
    uv_mapping
    texture {...}
}

When you're UV-Mapping an object, the texture must be on the very object
being UV-mapped or else it can't be evaluated properly. I'm not sure why
POV-Ray even lets you get away with the former.

Note that you have to add the uv_mapping keyword to the mesh itself and not
the pigment; I'm not sure why this is, and it does seem contrary to what
"3.5.7  UV Mapping" suggests. Maybe someone else can step in and explain
this...

 - Slime
 [ http://www.slimeland.com/ ]


Post a reply to this message

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