POV-Ray : Newsgroups : povray.binaries.images : Temple of Greed - WIP : Re: Temple of Greed - WIP Server Time
7 Nov 2024 00:19:05 EST (-0500)
  Re: Temple of Greed - WIP  
From: espri128
Date: 8 Nov 2004 15:39:59
Message: <418FD9BA.1010305@web.de>
Hi JS,

sorry, but I can't see your picture with my Netscape7 newsreader ...


thx
	Steffen


JS schrieb:
> The center ball is supposed to be made of rusted gold, but since the light
> source is inside it, it looks more like a ball of fire. Oh well...
> 
> BTW. I got a very nasty surprise, trying to use my planet generator macro
> to produce the ball. The macro defines a function, which takes parameter
> called "x1", but this causes Povray to complain, since the context in
> which the macro is included has a local variable x1. Is there any way
> around this (no, renaming the parameter or variable is not an option,
> since there would be a new conflict sooner or later) and should this be
> reported as a bug ?
> 
> The bug comes out in situations like this:
> 
> #macro planet(rseed, atmo, clouds, lights, dayvector)
> #local vangle = function(x1,y1,z1,x2,y2,z2) { <-- Povray exits with error}
> #end
> 
> #declare temple = union {
> #local x1 = 0;
> #include planet(4,0,1,1,<0,10,0>)
> }
>


Post a reply to this message

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