rtrace-command

Hi!

In the paper ‘The Holodeck Interactive Ray Cache’ the authors describe amongs other things how the command rtrace is working. As far as I understood, it is possible to interact with the virtual environment using a mouse while running this command. Unfortunately I haven’t managed yet to see anything while running rtrace even for 2 hours. The octree-file I am using is not that huge (5,2 MB), so I thing I am not using the right options of rtrace (or I misunderstood the whole thing completely). Which options I am supposed to use to run the program interactively? What would be an example command line?

Thanks!

Olga Graf

···

Hi Olga,

It seems you did misunderstand a bit. Rtrace is the underlying computational engine that permits the holodeck interactive program to operate. Rtrace does the raw ray-tracing, and the holodeck program handles user interaction and display update. For more details on running rholo, see the manual page at:

  http://radsite.lbl.gov/radiance/man_html/rholo.1.html

I hope this helps.
-Greg

From: [email protected]
Date: June 9, 2004 9:03:17 AM PDT

Hi!

  In the paper 'The Holodeck Interactive Ray Cache' the authors describe amongs other things how the command rtrace is working. As far as I understood, it is possible to interact with the virtual environment using a mouse while running this command. Unfortunately I haven't managed yet to see anything while running rtrace even for 2 hours. The octree-file I am using is not that huge (5,2 MB), so I thing I am not using the right options of rtrace (or I misunderstood the whole thing completely). Which options I am supposed to use to run the program interactively? What would be an example command line?

  Thanks!

  Olga Graf

I think you are referring to rholo and the interactive visualizer.
In this case what you should do to see something is:

- 1 -
create a rif file like: file.rif
OCTREE= name_of_the_octree
view= view_name -vf view_file.vf
render= -av 0 0 0 -ab 1

- 2 -
create a hif file like: file.hif
RIF= file.rif
section= xo yo zo Xx Xy Xz Yx Yy Yz Zx Zy Zz

where section is a box containing your scene (read manual for better
explanation), o is origin and X,Y,Z are the end of box's x,y,z axis.
example for the unit cube is: 0 0 0 1 0 0 0 1 0 0 0 1

- 3 -
run rholo (*** pay attention here before typing) :
rholo -n 1 -f -o x11 file.hdk file.hif

where:
-n 1 is the number of processors
-f (***here!) means that the solution can be overwritten, the file.hdk
(!!!)
-o x11 means that the x11 display driver will be used (works on macX)
-o ogl (works on macX)
-o glx (do not works on macX)

of course the manual will explain better.... this is just a starting point
:wink:
cheers,
giulio

···

-----Original Message-----
From: [email protected] [mailto:[email protected]]
Sent: 09 June 2004 17:03
To: [email protected]
Subject: [Radiance-general] rtrace-command

Hi!

In the paper 'The Holodeck Interactive Ray Cache' the authors describe
amongs other things how the command rtrace is working. As far as I
understood, it is possible to interact with the virtual environment using a
mouse while running this command. Unfortunately I haven't managed yet to see
anything while running rtrace even for 2 hours. The octree-file I am using
is not that huge (5,2 MB), so I thing I am not using the right options of
rtrace (or I misunderstood the whole thing completely). Which options I am
supposed to use to run the program interactively? What would be an example
command line?

Thanks!

Olga Graf
--

<http://adserver.freenet.de/click.ng/site=fn&prod=chetools&kat=rub&tbl=webma
il&ppos=1&TransactionID=1086796997271858&rgtg=256>

___________________________________________________________________
Electronic mail messages entering and leaving Arup business
systems are scanned for acceptability of content and viruses.

Thanks for the hint, Greg! It works much better with rholo!

Unfortunately, when I was trying to run one of the examples provided in ray/obj/cabin by typing make sholo I got the following error:

[domna]s0343631: make sholo

rholo -n 1 -o ogl summer.hdk

rad: error reading bounding cube from getinfo

rholo: system - cannot start rtrace process: No such file or directory

summer.hdk: 6.0 Mbyte holodeck file, 0.0% fragmentation

make: *** [sholo] Error 2

Actually, if I run only rholo in the same directory, it works, which means that the PATH-variable is ok. But with ‘make sholo’ apparently something goes wrong. Is it possible that this command is not working because I use the tmp-directory, i.e. I copied the cabin-directory into tmp? Unfortunately, I am run out of space on my home directory, so I have no other choice at the moment.

If somebody has an idea what could be wrong, I would be glatt to hear from him or her! Thanks!

Olga Graf

···

Hi Olga,

It sounds like one of your files (probably the octree) got truncated. This usually happens when you abort a make. Try running "make clean" first, then "make sholo". If you still have troubles, type "which getinfo" to make sure you don't have some other executable taking Radiance's place.

-Greg

From: [email protected]
Date: June 10, 2004 2:43:53 AM PDT

Thanks for the hint, Greg! It works much better with rholo!

  Unfortunately, when I was trying to run one of the examples provided in ray/obj/cabin by typing make sholo I got the following error:

  [domna]s0343631: make sholo
  rholo -n 1 -o ogl summer.hdk
  rad: error reading bounding cube from getinfo
  rholo: system - cannot start rtrace process: No such file or directory
  summer.hdk: 6.0 Mbyte holodeck file, 0.0% fragmentation
  make: *** [sholo] Error 2

  Actually, if I run only rholo in the same directory, it works, which means that the PATH-variable is ok. But with 'make sholo' apparently something goes wrong. Is it possible that this command is not working because I use the tmp-directory, i.e. I copied the cabin-directory into tmp? Unfortunately, I am run out of space on my home directory, so I have no other choice at the moment.

  If somebody has an idea what could be wrong, I would be glatt to hear from him or her! Thanks!

  Olga Graf