POV-Ray : Newsgroups : povray.beta-test : Real Time Ray Tracing Loop Server Time
30 Apr 2024 10:58:52 EDT (-0400)
  Real Time Ray Tracing Loop (Message 1 to 6 of 6)  
From: felipk101
Subject: Real Time Ray Tracing Loop
Date: 20 Jun 2012 22:25:01
Message: <web.4fe285dc3da7c871182b97660@news.povray.org>
Hi,

Is it possible to tell POV-ray to stop the real time ray tracing loop once it's
reached a certain frame?

Cheers

Felix


Post a reply to this message

From: felipk101
Subject: Re: Real Time Ray Tracing Loop
Date: 25 Jun 2012 02:50:00
Message: <web.4fe8095e8956ebcc182b97660@news.povray.org>
"felipk101" <nomail@nomail> wrote:
> Hi,
>
> Is it possible to tell POV-ray to stop the real time ray tracing loop once it's
> reached a certain frame?
>
> Cheers
>
> Felix

Or to stop it via a code in the .POV file?


Post a reply to this message

From: Alain
Subject: Re: Real Time Ray Tracing Loop
Date: 25 Jun 2012 13:01:36
Message: <4fe89970$1@news.povray.org>

> Hi,
>
> Is it possible to tell POV-ray to stop the real time ray tracing loop once it's
> reached a certain frame?
>
> Cheers
>
> Felix
>
>

Short: No.

Long:
When doing real time ray trace, there is no such thing as a frame count. 
The frame_number and clock variables are not used at all.
As you can't possibly know how many frames have been rendered, you can't 
stop after, say, 10, 100 or 1000 frames.



Alain


Post a reply to this message

From: Tim Cook
Subject: Re: Real Time Ray Tracing Loop
Date: 26 Jun 2012 15:04:31
Message: <4fea07bf$1@news.povray.org>
On 2012-06-25 12:01, Alain wrote:
> When doing real time ray trace, there is no such thing as a frame count.
> The frame_number and clock variables are not used at all.
> As you can't possibly know how many frames have been rendered, you can't
> stop after, say, 10, 100 or 1000 frames.

Could access the system's time and stop after n real seconds?  Is the 
real time ray trace set to any particular rate or does it just go as 
fast as the CPU will let it?

--
Tim Cook
http://empyrean.sjcook.com


Post a reply to this message

From: felipk101
Subject: Re: Real Time Ray Tracing Loop
Date: 27 Jun 2012 03:20:01
Message: <web.4feab3888956ebcc182b97660@news.povray.org>
Tim Cook <z99### [at] gmailcom> wrote:
> On 2012-06-25 12:01, Alain wrote:
> > When doing real time ray trace, there is no such thing as a frame count.
> > The frame_number and clock variables are not used at all.
> > As you can't possibly know how many frames have been rendered, you can't
> > stop after, say, 10, 100 or 1000 frames.
>
> Could access the system's time and stop after n real seconds?  Is the
> real time ray trace set to any particular rate or does it just go as
> fast as the CPU will let it?
>
> --
> Tim Cook
> http://empyrean.sjcook.com

I see... uhmm I'm starting to see a way!!!!
I'm using realtime ray tracing to pre calculate radiosity files per scene.
I have at least 20 scenes to run so I guess I can write a script to stop after
blah hours and then run next scene.

Thanks!!


Post a reply to this message

From: Alain
Subject: Re: Real Time Ray Tracing Loop
Date: 27 Jun 2012 19:58:36
Message: <4feb9e2c$1@news.povray.org>

> Tim Cook <z99### [at] gmailcom> wrote:
>> On 2012-06-25 12:01, Alain wrote:
>>> When doing real time ray trace, there is no such thing as a frame count.
>>> The frame_number and clock variables are not used at all.
>>> As you can't possibly know how many frames have been rendered, you can't
>>> stop after, say, 10, 100 or 1000 frames.
>>
>> Could access the system's time and stop after n real seconds?  Is the
>> real time ray trace set to any particular rate or does it just go as
>> fast as the CPU will let it?

It goes as fast as the CPU can do the job.

>>
>> --
>> Tim Cook
>> http://empyrean.sjcook.com
>
> I see... uhmm I'm starting to see a way!!!!
> I'm using realtime ray tracing to pre calculate radiosity files per scene.
> I have at least 20 scenes to run so I guess I can write a script to stop after
> blah hours and then run next scene.
>
> Thanks!!
>
>

"Use realtime ray tracing to precalculate radiosity"?
How do you intend to retreive those data? When doing realtime ray 
tracing, there is NO file output.
Realtime ray tracing is only available using version 3.7. It don't allow 
you to save_file from the scene file. I don't think that it can save the 
radiosity data using the command line options, or each frame will 
overwite the previous one, remember no frame number means can't create 
unique file names...

If you have 20 scenes that you want to run in sequence, you can use an 
ini file that will launch those 20 scenes.
That ini file will set the radiosity data save parameters and can set 
the resolution to use.



Alain


Post a reply to this message

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