POV-Ray : Newsgroups : povray.advanced-users : scene scan Server Time
1 Nov 2024 03:15:21 EDT (-0400)
  scene scan (Message 1 to 5 of 5)  
From: m1j
Subject: scene scan
Date: 3 Dec 2003 04:25:02
Message: <web.3fcdab97a497afb44e1f4eb10@news.povray.org>
Is there a way to scan an entire scene with out having to pass every object
to a function? Like "trace" but that does not need an object passed to it.
Or is there a way to get a list of every object in the scene after persing
to evealuate with the current tools?


Post a reply to this message

From: Christopher James Huff
Subject: Re: scene scan
Date: 3 Dec 2003 16:06:35
Message: <cjameshuff-139C7C.16060003122003@netplex.aussie.org>
In article <web.3fcdab97a497afb44e1f4eb10@news.povray.org>,
 "m1j" <mik### [at] hotmailcom> wrote:

> Is there a way to scan an entire scene with out having to pass every object
> to a function? Like "trace" but that does not need an object passed to it.

Render an image of it? I'm not really sure what you're asking. The 
trace() function can't act on the entire scene, because it doesn't exist 
yet.


> Or is there a way to get a list of every object in the scene after persing
> to evealuate with the current tools?

No. (In what form do you think this list would be?)

-- 
Christopher James Huff <cja### [at] earthlinknet>
http://home.earthlink.net/~cjameshuff/
POV-Ray TAG: chr### [at] tagpovrayorg
http://tag.povray.org/


Post a reply to this message

From: m1j
Subject: Re: scene scan
Date: 5 Dec 2003 06:10:01
Message: <web.3fd0665c3b9d89ca4e1f4eb10@news.povray.org>
Christopher James Huff wrote:
>In article <web.3fcdab97a497afb44e1f4eb10[at]news.povray.org>,
> "m1j" <mik### [at] hotmailcom> wrote:
>
>> Is there a way to scan an entire scene with out having to pass every object
>> to a function? Like "trace" but that does not need an object passed to it.
>
>Render an image of it? I'm not really sure what you're asking. The
>trace() function can't act on the entire scene, because it doesn't exist
>yet.
>
>
>> Or is there a way to get a list of every object in the scene after persing
>> to evealuate with the current tools?
>
>No. (In what form do you think this list would be?)
>
>Christopher James Huff <cja### [at] earthlinknet>
>http://home.earthlink.net/~cjameshuff/
>POV-Ray TAG: chr### [at] tagpovrayorg
>http://tag.povray.org/
>

Well the goal was to run a quick low res trace of the scene from the lights
point of view to place point lights on every object with intensities based
on the value found in the trace. I was going for a cheep fake radiosity
method. I was hoping for a simple way of knowing about every object in the
scene. What I will have to do now is union all objects under one identifier
and trace that union.


Post a reply to this message

From: Christopher James Huff
Subject: Re: scene scan
Date: 5 Dec 2003 09:29:46
Message: <cjameshuff-026054.09291705122003@netplex.aussie.org>
In article <web.3fd0665c3b9d89ca4e1f4eb10@news.povray.org>,
 "m1j" <mik### [at] hotmailcom> wrote:

> Well the goal was to run a quick low res trace of the scene from the lights
> point of view to place point lights on every object with intensities based
> on the value found in the trace. I was going for a cheep fake radiosity
> method.

Okay...well, that is very likely to be far slower than radiosity, with 
much worse quality, if it even ends up coming close visually. You would 
be better off with several strategically placed area lights. In that 
case, remember that area lights do not affect illumination, only 
shadows...

-- 
Christopher James Huff <cja### [at] earthlinknet>
http://home.earthlink.net/~cjameshuff/
POV-Ray TAG: chr### [at] tagpovrayorg
http://tag.povray.org/


Post a reply to this message

From: nospam
Subject: Re: scene scan
Date: 6 Dec 2003 00:52:53
Message: <3fd13be0.11656530@localhost>
On Fri,  5 Dec 2003 06:05:00 EST, "m1j" <mik### [at] hotmailcom>
wrote:

>Well the goal was to run a quick low res trace of the scene from the lights
>point of view to place point lights on every object with intensities based
>on the value found in the trace. I was going for a cheep fake radiosity
>method. I was hoping for a simple way of knowing about every object in the
>scene. What I will have to do now is union all objects under one identifier
>and trace that union.
>

PMFJI ... but have you considered just placing
a dome of lights around your scene?  Some for
loops and some trig to place 100 or so lights 
evenly ditributed in a dome.  Someone mentioned
that method here years ago and I tried it.  It
sometimes can look like radiousity.


Post a reply to this message

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