|
![](/i/fill.gif) |
On Sat, 23 Sep 2000 06:06:42 -0500, Chris Huff wrote:
>In article <39CC19F7.CE7BFEA2@popampa.com>, Brian & Lois Bivolcic
><biv### [at] popampa com> wrote:
>
>> I downloaded the documentation file that came with Plus 0.3.2, but there
>> is only Particle syntax
>> Is there any were I can get it for the glow.
>> none of the scene files I down loaded or the Demo's work, they give
>> error message
>
>The syntax has changed in the more recent versions. The new syntax is
>explained in the documentation, but new files are not yet available(I am
>working on redesigning that portion of the web site).
The file called 'Documentation' looks like this:
MacMegaPOV+ 0.5a mod 0.3.1^M^MNew directives:^M^M#set^M#set VAR_NAME = NEW_VALUE
|;|^MThis
keyword modifies local or global variables, but produces an error if given a variable
nam
e that doesn't exist yet. It's purpose is to replace #declare and #local in those
areas wh
ere you are not creating a new variable, but modifying an existing one. The goal is to
inc
rease code readability and catch bugs due to typos in the name of the variable being
modif
ied.(since #set will produce an error, but #declare or #local would produce a new
variable
with that name, with potentially disasterous results, like infinite loops). The rules
for
when to use the trailing semicolon (;) are the same as for #declare and #local.^MI
have g
otten some strange results where under some conditions, using a macro will seem to put
"#"
characters in the scene code. I am not sure this is the fault of the #set patch
though, a
nd I don't see how it could be the cause...it might be a problem with the fast macro
patch
. Fortunately, the only situation I encountered this in was quite easy to work
around.^M^M
New atmospheric effects:^M^MGlow effect:^Mglow {^M location LOCATION^M size
FLOAT
_SIZE^M radius FLOAT_RADIUS^M color COLOR^M fade_power FLOAT_POWER^M type
|0|1|
2|3|^M WARPS^M TRANSFORMS^M}^MThis makes a fast-rendering glow effect. It is based on
the
light source glow effect from POV-AFX, written by Marcos Fajardo, but has been
heavily mo
dified. You can specify glows individually, or attached to a light_source. If crea
Thanks Chris, so easy to read, why doesn't all documentation come in this format?
And in the Demo Scenes zip all the filenames and directory names with spaces in them
were cool aswell.
Guess I'll be using my old version of Mega for some time yet.
--
Cheers
Steve email mailto:ste### [at] zeropps uklinux net
%HAV-A-NICEDAY Error not enough coffee 0 pps.
web http://www.zeropps.uklinux.net/
or http://start.at/zero-pps
3:14pm up 53 days, 17:38, 2 users, load average: 1.09, 1.04, 1.01
Post a reply to this message
|
![](/i/fill.gif) |