POV-Ray : Newsgroups : povray.general : Finish Map : Re: Finish Map Server Time
6 Aug 2024 12:26:15 EDT (-0400)
  Re: Finish Map  
From: Hugo
Date: 23 Mar 2002 14:48:42
Message: <3c9cdc1a$1@news.povray.org>
> Because I'm using an insanely large bump map and image map already and
> I dont' want them to be parced twice :)

The maps won't be parsed twice if you declare them first and make references
to them in your textures. Like this:

#declare Image=pigment { image_map { tga "......." } }
#declare Bump=normal { bump_map { tga "...." } }

#declare Texture_1 = texture { pigment { Image } }
#declare Texture_2 = texture { pigment { Image } normal { Bump } }

--- the pigment is used twice but only loaded once.

Regards,
Hugo


Post a reply to this message

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