POV-Ray : Newsgroups : povray.unofficial.patches : Glows can't be the last thing in a scene??? Server Time
2 Sep 2024 00:16:08 EDT (-0400)
  Glows can't be the last thing in a scene??? (Message 12 to 21 of 21)  
<<< Previous 10 Messages Goto Initial 10 Messages
From: Chris Huff
Subject: Re: Glows can't be the last thing in a scene???
Date: 10 Nov 2000 18:51:55
Message: <chrishuff-8BBD28.18520210112000@news.povray.org>
In article <3a0c86f3@news.povray.org>, "GrimDude" 
<gri### [at] netzerocom> wrote:

> That's interesting! I've been declaring them and they work fine! :)

Umm, you must be dreaming or misunderstanding, because it isn't 
possible. MegaPOV 0.6a will let you put a glow after a #declare, but it 
won't create a glow variable and you won't be able to make a copy of the 
glow.

-- 
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: 10 Nov 2000 23:25:01
Message: <3a0cca1d@news.povray.org>
You know, I'd like believe you. :)
I'm right in the middle of an overnight render, or I'd double check.

What I did was:
   #declare EuroSun = object { glow { location.... } sphere {0,0}}
then:
   object { EuroSun }
finally I redundantly added:
   light_source {(same location)....looks_like {EuroSun}}
and I swear it rendered a glow.

Now you're making me nervous... :)

Grim


Post a reply to this message

From: Chris Huff
Subject: Re: Glows can't be the last thing in a scene???
Date: 11 Nov 2000 06:09:55
Message: <chrishuff-24733B.06100211112000@news.povray.org>
In article <3a0cca1d@news.povray.org>, "GrimDude" 
<gri### [at] netzerocom> wrote:

> You know, I'd like believe you. :)
> I'm right in the middle of an overnight render, or I'd double check.
> 
> What I did was:
>    #declare EuroSun = object { glow { location.... } sphere {0,0}}
> then:
>    object { EuroSun }
> finally I redundantly added:
>    light_source {(same location)....looks_like {EuroSun}}
> and I swear it rendered a glow.

Of course it did, this line:
#declare EuroSun = object { glow { location.... } sphere {0,0}}
Puts a glow in your scene and declares a sphere variable named EuroSun. 
This line:
object { EuroSun }
Then uses that variable to make a sphere. Since there is already a glow 
in that position, you don't notice that it doesn't put a glow there. If 
you tried making multiple copies of EuroSun or attempted to translate 
it, it wouldn't have worked.
I've managed to get glows to attach to objects correctly, but haven't 
worked out glow declaration yet. You still can't declare glows(though I 
might be able to add that before the next release), and objects that 
have glows attached don't act properly when copied.

-- 
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: 11 Nov 2000 12:30:54
Message: <3a0d824e@news.povray.org>
Well then, you were correct and I misunderstood what you meant by 'declare.'
Isn't that what the first line does?

Grim


Post a reply to this message

From: Chris Huff
Subject: Re: Glows can't be the last thing in a scene???
Date: 11 Nov 2000 14:04:22
Message: <chrishuff-7F97EA.14042811112000@news.povray.org>
In article <3a0d824e@news.povray.org>, "GrimDude" 
<gri### [at] netzerocom> wrote:

> Well then, you were correct and I misunderstood what you meant by 
> 'declare.'
> Isn't that what the first line does?

No, it declares a sphere and puts a glow in the scene. The glow would be 
there even if you hadn't typed "object { EuroSun }". This is still a 
problem with my patch(it doesn't work properly if you declare objects 
with glows attached), and it isn't going to be easy to fix.

-- 
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: 11 Nov 2000 23:11:52
Message: <3a0e1888@news.povray.org>
Yes, but it appears to function normally. Right? I mean, you're trying to
tell me this is not how it is done? :(

Grim


Post a reply to this message

From: Chris Huff
Subject: Re: Glows can't be the last thing in a scene???
Date: 12 Nov 2000 09:34:19
Message: <chrishuff-307C2B.09342912112000@news.povray.org>
In article <3a0e1888@news.povray.org>, "GrimDude" 
<gri### [at] netzerocom> wrote:

> Yes, but it appears to function normally. Right? I mean, you're trying to
> tell me this is not how it is done? :(

It only appears to work correctly in your scene because you don't try to 
do anything but put it in the scene. Try typing:
object {EuroSun translate x*2}
object {EuroSun translate y*2}
object {EuroSun translate z*2}

You will get a zero-radius sphere at < 2, 0, 0>, < 0, 2, 0>, and < 0, 0, 
2>, and one glow which is completely unaffected by all the EuroSun 
objects.

It lets you put it in the #declare statement, but *it does not declare 
the glow*!

-- 
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: 12 Nov 2000 11:49:13
Message: <3a0eca09@news.povray.org>
Ah! I don't mean to waste your time answering superfluous questions, Chris.
I had read that transforms upon glows would not work. I had no idea that
declares didn't, either. Thanks for clearing it up.

Grim


Post a reply to this message

From: Pabs
Subject: Re: Glows can't be the last thing in a scene???
Date: 13 Nov 2000 01:38:56
Message: <3A0F8CD1.B19B2F1C@hotmail.com>
Chris Huff wrote:

> I've managed to get glows to attach to objects correctly, but haven't
> worked out glow declaration yet. You still can't declare glows(though I
> might be able to add that before the next release),

Chris - I am pretty sure that I implemented particle declarations in the
ParticlePatch
- you could look at it & do something similar.
--
Bye
Pabs


Post a reply to this message

From: Chris Huff
Subject: Re: Glows can't be the last thing in a scene???
Date: 13 Nov 2000 16:08:02
Message: <chrishuff-9FA6B1.16081213112000@news.povray.org>
In article <3A0F8CD1.B19B2F1C@hotmail.com>, Pabs <pab### [at] hotmailcom> 
wrote:

> Chris - I am pretty sure that I implemented particle declarations in the
> ParticlePatch - you could look at it & do something similar.

I've been thinking of following the spline patch through the source and 
duplicating everything that looks like it has to do with variables, but 
I also want to understand what the code is doing. The next release of my 
patch will have declarable glows, don't worry. :-)

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

<<< Previous 10 Messages Goto Initial 10 Messages

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