POV-Ray : Newsgroups : povray.programming : Bug fix in UVPov : Bug fix in UVPov Server Time
29 Jul 2024 02:33:43 EDT (-0400)
  Bug fix in UVPov  
From: Nathan Kopp
Date: 24 Nov 1998 23:39:03
Message: <365B88DE.70FEC533@Kopp.com>
I just fixed a memory de-allocation bug in UVPov, so anyone who is using it
should get the latest version.  The new version also has one subtle yet very
important syntactical change (see below).  Oh, ya... I was playing and I made
cylindrical light sources have parallel light rays.  Let me know if you like
that last change... it is just an experiment.

-Nathan Kopp

---------------------

The rule used to be:
  The keyword "uv_mapping" must be the first object modifier.

Now it reads:
  The keyword "uv_mapping" can only be used on objects that do not yet have
  a texture.

Why is this the case?  Normally, when you transform an object, you transform
the texture too.  When a texture is uv-mapped, you do NOT want to apply
the object's transforms to the texture.  So you must specify the uv mapping
before you specify the texture so that POV knows not to mess with the
texture.


Post a reply to this message

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