|
![](/i/fill.gif) |
"A_C_C" <nomail@nomail> wrote in message
news:web.442454c68e4dc7a2ee4c493c0@news.povray.org...
> I'll try to explain it better this time:
>
> http://es.geocities.com/borg31de777/grab_1.JPG
>
> This is how the object (a simple square) looks in the object editor of
> Anim8or.
>
> http://es.geocities.com/borg31de777/square_lt.JPG
>
> This is the texture applied to emmisive.
>
> http://es.geocities.com/borg31de777/render.jpg
>
> And this is how the square looks after rendering.
>
>
Hi A,
Looking at these images, it seems to me that you probably want to use the
shapes of objects to define textures.
POV-Ray lets you do this with the 'object' pattern which is desribed in
section 3.5.11.23 'Object Pattern' of the documentation.
The following example uses a box to create a transparent rectangle in an
otherwise grey texture. This makes the first layer of the texture visible
through the 'hole' in the second layered texture. The first layer is a white
color with an ambient finish of 1, which makes it white even when it's in
shadow (e.g. even with the light_source commented out).
This texture can be applied to any object, in this case I've applied it to a
vertical plane.
You could simplify this down to a single layer texture if you don't need
independant control over the finishes of the two color components.
Hope this is illuminating.
Regards,
Chris B.
camera {location <0,0,-8> look_at <0,0,0>}
//light_source {<0,3,-3> color rgb 1}
plane {z,0
texture {
pigment {color rgb 1}
finish {ambient 1}
}
texture {
pigment {
object {
box {<-0.5,0,-1><0.5,2,1>}
color rgb <0.5,0.5,0.5>
color rgbt 1
}
}
}
}
Post a reply to this message
|
![](/i/fill.gif) |