POV-Ray : Newsgroups : povray.general : Issues with bamp mapping : Re: Issues with bamp mapping Server Time
29 Jul 2024 20:16:23 EDT (-0400)
  Re: Issues with bamp mapping  
From: Raool
Date: 12 Sep 2010 12:40:00
Message: <web.4c8d01354d697a1fb6a7208f0@news.povray.org>
Jaime Vives Piqueres <jai### [at] ignoranciaorg> wrote:

> > 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

Thank you - that is exactly what I need!

Best regards,
Raool


Post a reply to this message

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