|
|
> Hi,
>
> I have a problem with bump mapping UV coordinates in POV-Ray. Let's say
> I'm having a scene made of plenty of blocks (think of LEGO blocks). Each
> block contains pins (sometimes a hundreds of them) and I need to have
> every pin top (a list of faces) bump-mapped. I have a single texture
> with bump_map (common for all pins) and the problem is that bump mapping
> uses planar mapping which makes each pin top bump mapped differently
> (the texture has different offset for each pin, that's because they all
> have different position in world space). Is there any way to use triangle
> UV coordinates for bump mapping? (that would solve my problem, because
> faces which belong to pin tops are mapped correctly).
>
Assuming the blocks already have uv maps, just use the keyword
"uv_mapping" within the normal{} statement, like you will do with a pigment
or a texture.
--
Jaime Vives Piqueres
http://www.ignorancia.org
Post a reply to this message
|
|