POV-Ray : Newsgroups : povray.general : radiosity bug possibility Server Time
7 Nov 2024 07:31:50 EST (-0500)
  radiosity bug possibility (Message 1 to 10 of 19)  
Goto Latest 10 Messages Next 9 Messages >>>
From:
Subject: radiosity bug possibility
Date: 8 Apr 2002 08:23:02
Message: <6tt2bukar7lt4pmdr4fa9g2ain3t29hcg6@4ax.com>
I can't prove anything but somehow I feel below can cause some kind of error
(crash, bad image, etc). I wonder about radiosity in animation. I have SCENE.POV
script with scene of animation with radiosity. Then I start two instances of
POV-Ray:
first: +KFF100 +EF50 +ISCENE.POV
second: +KFF100 +SF51 +ISCENE.POV
but during trace proces there is only one file SCENE.RCA. Is it good behavior ?
Both images are different - objects move. I don't use save/load feature of
radiosity but I can imagine somebody can. Shouldn't RCA file be named like
currently rendered image ? Of course I'm talking about 3.5.

ABX


Post a reply to this message

From: Warp
Subject: Re: radiosity bug possibility
Date: 8 Apr 2002 13:13:28
Message: <3cb1cfb7@news.povray.org>

> but during trace proces there is only one file SCENE.RCA. Is it good behavior ?
> Both images are different - objects move. I don't use save/load feature of
> radiosity but I can imagine somebody can. Shouldn't RCA file be named like
> currently rendered image ? Of course I'm talking about 3.5.

  That's exactly how it works. It uses one file for the radiosity data tree.
When the rendering finishes, it deletes this temporary file.

-- 
#macro N(D)#if(D>99)cylinder{M()#local D=div(D,104);M().5,2pigment{rgb M()}}
N(D)#end#end#macro M()<mod(D,13)-6mod(div(D,13)8)-3,10>#end blob{
N(11117333955)N(4254934330)N(3900569407)N(7382340)N(3358)N(970)}//  - Warp -


Post a reply to this message

From:
Subject: Re: radiosity bug possibility
Date: 8 Apr 2002 13:25:14
Message: <bhk3bu4abq3qf4kfdobef640odvkrdhbco@4ax.com>
On 8 Apr 2002 13:13:28 -0400, Warp <war### [at] tagpovrayorg> wrote:
> > but during trace proces there is only one file SCENE.RCA. Is it good behavior ?
> > Both images are different - objects move. I don't use save/load feature of
> > radiosity but I can imagine somebody can. Shouldn't RCA file be named like
> > currently rendered image ? Of course I'm talking about 3.5.
>
>  That's exactly how it works. It uses one file for the radiosity data tree.
> When the rendering finishes, it deletes this temporary file.

but... is it safe when two applications write data to one RCA file ?

ABX


Post a reply to this message

From: Jan Walzer
Subject: Re: radiosity bug possibility
Date: 8 Apr 2002 13:39:53
Message: <3cb1d5e9@news.povray.org>
so running multiple versions of the same filename (in the same path,
on the same machine, of course) with different data parallel will
work wrong ... Is this what you said?


Post a reply to this message

From: Warp
Subject: Re: radiosity bug possibility
Date: 8 Apr 2002 15:56:59
Message: <3cb1f60a@news.povray.org>
Jan Walzer <jan### [at] lzernet> wrote:
> so running multiple versions of the same filename (in the same path,
> on the same machine, of course) with different data parallel will
> work wrong ... Is this what you said?

  POV-Ray does not support parallel rendering. Thus collisions can happen.

-- 
#macro N(D)#if(D>99)cylinder{M()#local D=div(D,104);M().5,2pigment{rgb M()}}
N(D)#end#end#macro M()<mod(D,13)-6mod(div(D,13)8)-3,10>#end blob{
N(11117333955)N(4254934330)N(3900569407)N(7382340)N(3358)N(970)}//  - Warp -


Post a reply to this message

From: Warp
Subject: Re: radiosity bug possibility
Date: 8 Apr 2002 15:59:31
Message: <3cb1f6a3@news.povray.org>

> but... is it safe when two applications write data to one RCA file ?

  POV-Ray is not designed to perform parallel raytracing.

-- 
#macro M(A,N,D,L)plane{-z,-9pigment{mandel L*9translate N color_map{[0rgb x]
[1rgb 9]}scale<D,D*3D>*1e3}rotate y*A*8}#end M(-3<1.206434.28623>70,7)M(
-1<.7438.1795>1,20)M(1<.77595.13699>30,20)M(3<.75923.07145>80,99)// - Warp -


Post a reply to this message

From: Jan Walzer
Subject: Re: radiosity bug possibility
Date: 9 Apr 2002 03:00:45
Message: <3cb2919d@news.povray.org>
but it would be a "minor" change (in the next MegaPov, of course) to build
a hash 'bout the parsed Code, and its "variables" to have a unique identifier
for this File, one could append ....


... but thats probably just a silly idea (Hey, its early morning here, isn't it ? ;)


Post a reply to this message

From:
Subject: Re: radiosity bug possibility
Date: 9 Apr 2002 04:19:12
Message: <ou75bucf1fps61ukbmkgi3c3ulr21sdh1q@4ax.com>
On Tue, 9 Apr 2002 09:01:15 +0200, "Jan Walzer" <jan### [at] lzernet> wrote:
> but it would be a "minor" change (in the next MegaPov, of course) to build
> a hash 'bout the parsed Code, and its "variables" to have a unique identifier
> for this File, one could append ....

unique identifier is a name of current image becouse it contains number of
frame.

ABX


Post a reply to this message

From:
Subject: Re: radiosity bug possibility
Date: 9 Apr 2002 06:24:56
Message: <g7g5bu8d8q5tvaern01ct9030gn5n9vd77@4ax.com>
On 8 Apr 2002 15:59:31 -0400, Warp <war### [at] tagpovrayorg> wrote:
> > but... is it safe when two applications write data to one RCA file ?
>
> POV-Ray is not designed to perform parallel raytracing.

so another thing to do for me in patching time

ABX


Post a reply to this message

From: Jan Walzer
Subject: Re: radiosity bug possibility
Date: 9 Apr 2002 09:24:22
Message: <3cb2eb86@news.povray.org>
what if someone makes use of some "external-parameters" such as current
time/date, to make a nice watch ? ...

... and maybe, he doesn't want an animation ... ? ... and he starts it
at different times while the first one is still running ...

So what is left, if the filename (and "frame") is the same ?

hence I said, that probably a hash of a memdump  (after parsing) is
necessary, to create a unique ID


Post a reply to this message

Goto Latest 10 Messages Next 9 Messages >>>

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