POV-Ray : Newsgroups : povray.binaries.images : See post entitled "texturing in CSG" [2 * 4Kbu] : Re: See post entitled "texturing in CSG" [2 * 4Kbu] Server Time
18 Aug 2024 18:16:11 EDT (-0400)
  Re: See post entitled "texturing in CSG" [2 * 4Kbu]  
From: Wlodzimierz ABX Skiba
Date: 27 Mar 2001 09:39:19
Message: <3ac0a617$1@news.povray.org>
Francois Labreque wrote in message <3AC091BF.A0D5C49D@videotron.ca>...
> Eureka!
>
> It happens because R175 is a macro and macros are expanded before
> parsing, so the line becomes
>
> #declare Model=object{ union{obj1 obj2 obj3 ...} tex1 trans1
> texture(SzaryStalowy)}
>
> Which is just an object with a layered textures.  Since SzaryStalowy is
> not transparent, the whole box becomes gray.

not exactly
R175 is macro but inside it first create object to variable and than return
declared variable

I think there is still no answer :-(

ABX


Post a reply to this message

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