POV-Ray : Newsgroups : povray.general : image_map Leftovers Server Time
19 Nov 2024 11:26:22 EST (-0500)
  image_map Leftovers (Message 1 to 2 of 2)  
From: Lieut Data
Subject: image_map Leftovers
Date: 15 Mar 2002 13:42:24
Message: <3c924090$1@news.povray.org>
When I wrap an image_map onto my object, and the image_map is not the same
size, there are transparent sections leftover.

I realize the way to combat this is to:

texture {pigment{color White}} //White Backing
texture {pigment{image_map{..}}} //Image Map

Unfortunately, I want to include transparency on my whole object.

When I apply: transmit all .5 to the image_map, without adding any transmit
to the "backing", nothing happens. So I applied transmit .5 to the backing,
which "worked", but the effect was multiplied with the image_map.

How can I apply a constant transparency effect to the entire object?


Post a reply to this message

From: Hugo
Subject: Re: image_map Leftovers
Date: 15 Mar 2002 14:30:58
Message: <3c924bf2$1@news.povray.org>
Hi Data,

I don't think you can have a constant transparancy if you make the texture
like that. I suggest you remove the "backing" and only use one layer - a so
called patterned texture.. A patterned texture, is simply a pattern, that
decides which textures to use.. Use a simple pattern, for example the famous
"checker".. A black/white checker scaled the same size as your image_map,
and let the white be a reference to your "backing" texture, and the black a
reference to your image_map texture..

I suggest you read in the docs about patterned textures, if you're confused.
:o)  But this way you can make the whole thing transparant.. Actually you
can have 2 fully independant textures.

Regards,
Hugo


Post a reply to this message

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