POV-Ray : Newsgroups : povray.advanced-users : MegaPovPlus & Glow syntax Server Time
1 Nov 2024 23:17:05 EDT (-0400)
  MegaPovPlus & Glow syntax (Message 1 to 6 of 6)  
From: Peter Meekin
Subject: MegaPovPlus & Glow syntax
Date: 21 Sep 2000 04:54:28
Message: <39c9ccc4@news.povray.org>
Hi, hope someone can help me with MegaPovPlus.
Downloaded version 0.5a03.0 plus demo files and Docs (Windows version).
 Liked the Glow effects but very little in docs about the syntax.
 More or less figured it out from examples but then I got latest version 3.2
and keep getting parse errors when try to include Glow.
Has the syntax changed, or is Glow no longer supported?
If it's changed please point me in right direction  either examples or
better still a full
description of the syntax.


Thanks in advance,    Torchy


Post a reply to this message

From: Pabs
Subject: Re: MegaPovPlus & Glow syntax
Date: 21 Sep 2000 05:20:38
Message: <39C9D2A2.1071287F@hotmail.com>
Peter Meekin wrote:

> Hi, hope someone can help me with MegaPovPlus.
> Downloaded version 0.5a03.0 plus demo files and Docs (Windows version).
>  Liked the Glow effects but very little in docs about the syntax.
>  More or less figured it out from examples but then I got latest version 3.2
> and keep getting parse errors when try to include Glow.
> Has the syntax changed, or is Glow no longer supported?
> If it's changed please point me in right direction  either examples or
> better still a full
> description of the syntax.

Chris has changed the syntax & updated the docs, but not the demo scenes
His patch is now at MegaPOV0.5aPlus0.3.2
see http://homepage.mac.com/chrishuff/povpatch.html

BTW there have been some amazing examples in p.b.i & p.b.a

Bye
Pabs


Post a reply to this message

From: Peter Meekin
Subject: Re: MegaPovPlus & Glow syntax
Date: 21 Sep 2000 05:36:43
Message: <39c9d6ab@news.povray.org>
Thanks for very speedy reply.
I have MegaPOV0.5aPlus0.3.2 & 'updated' docs but they're the same as 0.3.0
docs
and are about the Particle system(s) *nothing* about Glow unfortunately!
I'll download generic source for latest version & see if I can figure out
syntax for Glow from that.
Meanwhile I'll keep an eye out in here & unofficial_patches for anything on
Glow.

Torchy.


Post a reply to this message

From: ryan constantine
Subject: Re: MegaPovPlus & Glow syntax
Date: 21 Sep 2000 06:05:27
Message: <39C9DD7A.CEFDD22C@yahoo.com>
one of the artivles in one of these groups explicitly shows how to
convert an old syntax glow to a new syntax glow.  look around and you
should find it.  no need to go through the source code.

Peter Meekin wrote:
> 
> Thanks for very speedy reply.
> I have MegaPOV0.5aPlus0.3.2 & 'updated' docs but they're the same as 0.3.0
> docs
> and are about the Particle system(s) *nothing* about Glow unfortunately!
> I'll download generic source for latest version & see if I can figure out
> syntax for Glow from that.
> Meanwhile I'll keep an eye out in here & unofficial_patches for anything on
> Glow.
> 
> Torchy.


Post a reply to this message

From: Chris Huff
Subject: Re: MegaPovPlus & Glow syntax
Date: 21 Sep 2000 07:12:49
Message: <chrishuff-C5B342.06145321092000@news.povray.org>
In article <39c9d6ab@news.povray.org>, "Peter Meekin" 
<pro### [at] freenetnamecouk> wrote:

> Thanks for very speedy reply.
> I have MegaPOV0.5aPlus0.3.2 & 'updated' docs but they're the same as 
> 0.3.0 docs and are about the Particle system(s) *nothing* about Glow 
> unfortunately!

The zip file containing the documentation *does* contain docs for the 
glow effect, including a complete syntax description. You are looking at 
"Particles.html" and "particle_system docs", try "Documentation" 
instead. If you still can't find it:

Glow effect:
glow {
    location LOCATION
    size FLOAT_SIZE
    radius FLOAT_RADIUS
    color COLOR
    fade_power FLOAT_POWER
    type |0|1|2|3|
    WARPS
    TRANSFORMS
}
This 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 modified. You can specify glows individually, or attached to a 
light_source. If created in a light source, they will be automatically 
initialized with the light's position and color(though transforming the 
light source will not give the expected result).
The "size" keyword adjusts the scale of the glow effect. It is not an 
absolute size, just a scaling amount(because some glows are infinite). 
It does not quite work properly yet, it causes strange effects with 
changing distances of objects behind the glow.
The "radius" keyword specifies a clipping radius confining the glow to a 
circular area perpendicular to the ray. If the glow is still visible at 
this radius, it will make a sudden transition.
The "fade_power" keyword allows you to provide an exponent to adjust the 
falloff with.
Type 2 and 3 glows are not completely implemented yet, but 2 will 
simulate a sphere with constant density, and 3 will be based on the 
exp() function.


Oh, and there is one error here: type 2 is cosine falloff, not 
spherical, which will be type 4.

-- 
Christopher James Huff
Personal: chr### [at] maccom, http://homepage.mac.com/chrishuff/
TAG: chr### [at] tagpovrayorg, http://tag.povray.org/

<><


Post a reply to this message

From: Peter Meekin
Subject: Re: MegaPovPlus & Glow syntax
Date: 21 Sep 2000 07:26:58
Message: <39c9f082@news.povray.org>
Thanks Chris!
It was my mistake,  maybe next time I'll read *everything* before opening my
mouth. <G>

Look forward to getting to grips with more of the great features you've
added to an already
outstanding program.

Peter (aka Torchy)


Post a reply to this message

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