POV-Ray : Newsgroups : povray.unofficial.patches : Glows can't be the last thing in a scene??? Server Time
1 Nov 2024 13:21:41 EDT (-0400)
  Glows can't be the last thing in a scene??? (Message 1 to 10 of 21)  
Goto Latest 10 Messages Next 10 Messages >>>
From: Zeger Knaepen
Subject: Glows can't be the last thing in a scene???
Date: 8 Nov 2000 01:53:59
Message: <3a08f887$1@news.povray.org>
Well, at least in MegaPovPlus 032
Example:
This doens't work:
( <----ERROR
C:\Mijn documenten\POV-Ray\Scenes\t.pov:21: error: object or directive
expected but End of File found instead.
Returned from renderer (non-zero return value)
)
#version unofficial MegaPov 0.5;
camera {
 location <1,3,-5>
 angle 70
 look_at y*5
}
light_source {
 <5000,50,-500>
 rgb 1
}
sphere {
 0,.5
 pigment {rgb 1}
}
glow {size .125
 type 0
 location x
 color red 1
}

But this does:

#version unofficial MegaPov 0.5;
camera {
 location <1,3,-5>
 angle 70
 look_at 0
}
light_source {
 <5000,50,-500>
 rgb 1
}
glow {size .125
 type 0
 location x
 color red 1
}
sphere {
 0,.5
 pigment {rgb 1}
}


Post a reply to this message

From: Bill DeWitt
Subject: Re: Glows can't be the last thing in a scene???
Date: 8 Nov 2000 01:56:54
Message: <3a08f936@news.povray.org>
Yeah, no, you have to have -something- after the isosurface. I've been
putting in box{0,0} just to make sure.


Post a reply to this message

From: Zeger Knaepen
Subject: Re: Glows can't be the last thing in a scene???
Date: 8 Nov 2000 04:12:43
Message: <3a09190b$1@news.povray.org>
You mean after the glow, right?
Isn't that a bug?

ZK
http://www.povplace.be.tf

Bill DeWitt <the### [at] earthlinknet> schreef in berichtnieuws
3a08f936@news.povray.org...
>
>     Yeah, no, you have to have -something- after the isosurface. I've been
> putting in box{0,0} just to make sure.
>
>


Post a reply to this message

From: Bill DeWitt
Subject: Re: Glows can't be the last thing in a scene???
Date: 8 Nov 2000 12:07:14
Message: <3a098842$1@news.povray.org>
"Zeger Knaepen" <zeg### [at] studentkuleuvenacbe> wrote in message
news:3a09190b$1@news.povray.org...
> You mean after the glow, right?
> Isn't that a bug?

    Yes and yes.


Post a reply to this message

From: Chris Huff
Subject: Re: Glows can't be the last thing in a scene???
Date: 8 Nov 2000 16:13:00
Message: <chrishuff-3BE87B.16130308112000@news.povray.org>
In article <3a08f887$1@news.povray.org>, "Zeger Knaepen" 
<zeg### [at] studentkuleuvenacbe> wrote:

> Well, at least in MegaPovPlus 032

Now this is odd...I don't see any reason for this to work this way. Can 
you use background, sky_sphere, or fog? The code for glow should work in 
exactly the same was as for these, I doubt it is specific to glows.

Does it work if you just put some spaces or blank lines at the end of 
the file?

Chris makes a note to check this out when he has time...

-- 
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: Gail Shaw
Subject: Re: Glows can't be the last thing in a scene???
Date: 9 Nov 2000 03:43:45
Message: <3a0a63c1@news.povray.org>
Chris Huff <chr### [at] maccom> wrote in message
news:chrishuff-3BE87B.16130308112000@news.povray.org...
> Chris makes a note to check this out when he has time...
>


Chris

Have a look at the thread "Megapovplus glows" p.u-p 27/09/2000

Gail
--
********************************************************************
* gsh### [at] monotixcoza              * System.dat not found.         *
* http://www.rucus.ru.ac.za/~gail/ * Reformat hard drive Y)es O)k  *
********************************************************************
* If at first you don't succeed, call it version 1.0               *
********************************************************************


Post a reply to this message

From: smellenbergh
Subject: Re: Glows can't be the last thing in a scene???
Date: 9 Nov 2000 12:40:30
Message: <1ejueeb.poy5ztkzx6reN%smellenbergh@skynet.be>
Chris Huff <chr### [at] maccom> wrote:

> In article <3a08f887$1@news.povray.org>, "Zeger Knaepen" 
> <zeg### [at] studentkuleuvenacbe> wrote:
> 
> > Well, at least in MegaPovPlus 032
> 
> Now this is odd...I don't see any reason for this to work this way. Can
> you use background, sky_sphere, or fog? The code for glow should work in
> exactly the same was as for these, I doubt it is specific to glows.
> 

This is fixed in MP 0.6 and 0.6a. Just look at parse_frame().
Did you add those changes in MP+ Chris?

Smellenbergh

-- 
e-mail:sme### [at] skynetbe

http://users.skynet.be/smellenbergh


Post a reply to this message

From: Chris Huff
Subject: Re: Glows can't be the last thing in a scene???
Date: 9 Nov 2000 16:08:44
Message: <chrishuff-4A5130.16084909112000@news.povray.org>
In article <1ejueeb.poy5ztkzx6reN%smellenbergh@skynet.be>, 
sme### [at] skynetbe (smellenbergh) wrote:

> This is fixed in MP 0.6 and 0.6a. Just look at parse_frame().
> Did you add those changes in MP+ Chris?

Actually I am moving my patches to be based on MP 0.6a...probably why I 
didn't see anything wrong. :-)

-- 
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: GrimDude
Subject: Re: Glows can't be the last thing in a scene???
Date: 9 Nov 2000 23:06:44
Message: <3a0b7454@news.povray.org>
Chris, we brought this up right after you created the glow patch. I've been
putting sphere {0,0} in all of my scenes with just glows.

Grim

"Chris Huff" <chr### [at] maccom> wrote in message
news:chrishuff-3BE87B.16130308112000@news.povray.org...
> In article <3a08f887$1@news.povray.org>, "Zeger Knaepen"
> <zeg### [at] studentkuleuvenacbe> wrote:
>
> > Well, at least in MegaPovPlus 032
>
> Now this is odd...I don't see any reason for this to work this way. Can
> you use background, sky_sphere, or fog? The code for glow should work in
> exactly the same was as for these, I doubt it is specific to glows.
>
> Does it work if you just put some spaces or blank lines at the end of
> the file?
>
> Chris makes a note to check this out when he has time...
>
> --
> 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: Chris Huff
Subject: Re: Glows can't be the last thing in a scene???
Date: 10 Nov 2000 08:03:12
Message: <chrishuff-44296E.08031810112000@news.povray.org>
In article <3a0b7454@news.povray.org>, "GrimDude" 
<gri### [at] netzerocom> wrote:

> Chris, we brought this up right after you created the glow patch.

I must have forgotten it among all the other problems you people 
found... :-)


> I've been putting sphere {0,0} in all of my scenes with just glows.

Why not "box{0,0}"? It is 4 characters shorter... ;-)

Anyway, glows now attach to objects properly. You can attach them to any 
object, not just CSGs. You still can't declare them...I might end up 
removing the ability to specify glows outside of objects and light 
sources, and adding a "glow_object" which can be used instead. This 
would be easier to maintain.

-- 
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

Goto Latest 10 Messages Next 10 Messages >>>

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