POV-Ray : Newsgroups : povray.programming : An idea on radiosity Server Time
23 Dec 2024 22:08:43 EST (-0500)
  An idea on radiosity (Message 1 to 3 of 3)  
From: Peter Popov
Subject: An idea on radiosity
Date: 29 Nov 2001 21:51:55
Message: <cjsd0usuu70sg6djd5scc73ou80ddgtscn@4ax.com>
It occurred to me today that it would be great if there were a tool
for merging several radiosity data files into one. One could then
gather radiosity information in several places in a scene, merge the
data and obtain radiosity data useable for anyplace in the scene. This
would be very useful for animations or for stills which show different
angles of the same scene. Also, I believe it would make tweaking much
easier because, instead of tuning up radiosity settings for just one
corner, one could place a spherical camera there, render with low rad
settings, then merge the data file.

So, what is the structure of the rad data file? Any specifics? Would
such a tool be hard to make?


Peter Popov ICQ : 15002700
Personal e-mail : pet### [at] vipbg
TAG      e-mail : pet### [at] tagpovrayorg


Post a reply to this message

From: Ron Parker
Subject: Re: An idea on radiosity
Date: 30 Nov 2001 08:56:07
Message: <slrna0f3vo.vj7.ron.parker@fwi.com>
On Fri, 30 Nov 2001 04:49:32 +0200, Peter Popov wrote:
> So, what is the structure of the rad data file? Any specifics? Would
> such a tool be hard to make?

It's just ASCII records, separated by tabs and with a newline at the end
of each record.  Looking at the source, it seems like you should be able
to just merge them using your favorite implementation of cat (use COPY on 
DOS-ish systems.)

So in DOS: 

COPY RAD1.RCA + RAD2.RCA  RADMERGE.RCA

in Unix:

cat rad1.rca rad2.rca >radmerge.rca

-- 
#macro R(P)z+_(P)_(P)_(P+1)_(P+1)+z#end#macro Q(C,T)bicubic_patch{type 1u_steps
6v_steps 6R(1)R(3)R(5)R(7)pigment{rgb z}}#end#macro _(Y)#local X=asc(substr(C,Y
,1))-65;<T+mod(X,4)div(X,4)9>-2#end#macro O(T)Q("ABEFUQWS",T)Q("WSXTLOJN",T)#
end O(0)O(3)Q("JNKLCGCD",0)light_source{x 1}// ron### [at] povrayorg


Post a reply to this message

From: Peter Popov
Subject: Re: An idea on radiosity
Date: 30 Nov 2001 17:17:08
Message: <o41g0u0rloossvouv00i8pu3vljtdliv5b@4ax.com>
On 30 Nov 2001 08:56:07 -0500, Ron Parker <ron### [at] povrayorg>
wrote:

>On Fri, 30 Nov 2001 04:49:32 +0200, Peter Popov wrote:
>> So, what is the structure of the rad data file? Any specifics? Would
>> such a tool be hard to make?
>
>It's just ASCII records, separated by tabs and with a newline at the end
>of each record.

You know... I never even cared to look into a rad file! D'oh!

>Looking at the source, it seems like you should be able
>to just merge them using your favorite implementation of cat (use COPY on 
>DOS-ish systems.)

Nah, that would be cat for me :)

You know, it just occurred to me that it could be done using load_file
and save_file in the same scene.


Peter Popov ICQ : 15002700
Personal e-mail : pet### [at] vipbg
TAG      e-mail : pet### [at] tagpovrayorg


Post a reply to this message

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