POV-Ray : Newsgroups : povray.beta-test : Bug with transform syntax Server Time
2 Nov 2024 05:21:00 EDT (-0400)
  Bug with transform syntax (Message 1 to 2 of 2)  
From: Christopher James Huff
Subject: Bug with transform syntax
Date: 27 Dec 2001 19:30:50
Message: <chrishuff-5FC1B7.19310427122001@netplex.aussie.org>
The "transform {}" syntax seems not to work within textures...
This:

   texture_map {
      #local J = 0;
      #while(J < Samples)
         [J/(Samples - 1) Texture transform {rotate y*Amt*pow(J/(Samples 
- 1), Exp)}]
         #local J = J + 1;
      #end
   }

will give a parse error "Expected 'transform identifier', { found 
instead", but this works:

   texture_map {
      #local J = 0;
      #while(J < Samples)
         #local Trans = transform {rotate y*Amt*pow(J/(Samples - 1), 
Exp)}
         [J/(Samples - 1) Texture transform Trans]
         #local J = J + 1;
      #end
   }


(I will post a test scene if necessary)
I have only noticed it happening in texture_maps, but I think I saw 
someone else mention it happening with pigments, so there are probably 
other cases where it happens.

-- 
 -- 
Christopher James Huff <chr### [at] maccom>


Post a reply to this message

From: Christoph Hormann
Subject: Re: Bug with transform syntax
Date: 30 Dec 2001 15:06:53
Message: <3C2F73B8.C1E3C60D@gmx.de>
Christopher James Huff wrote:
> 
> The "transform {}" syntax seems not to work within textures...
> 
> [...]
> 
> (I will post a test scene if necessary)
> I have only noticed it happening in texture_maps, but I think I saw
> someone else mention it happening with pigments, so there are probably
> other cases where it happens.
> 

I mentioned this in:

Subject: transform syntax
Date: Sun, 02 Dec 2001 10:02:19 +0100
From: Christoph Hormann <chr### [at] gmxde>
Newsgroups: povray.beta-test

-- 
Christoph Hormann <chr### [at] gmxde>
IsoWood include, radiosity tutorial, TransSkin and other 
things on: http://www.schunter.etc.tu-bs.de/~chris/


Post a reply to this message

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