[Radiance-general] Problem whith file.oct

imenslama at voila.fr imenslama at voila.fr
Thu Jul 19 03:03:20 PDT 2012


Hi Lars,
I'm a beginner about radiance software. Can you please tell me more how can I add for example subdirectory called objects to RAYPATH and when should i do this? in which step of my work?
Cheers
Imène 


> Message du 19/07/12 à 10h58
> De : "Lars O. Grobe" 
> A : "Radiance general discussion" 
> Copie à : 
> Objet : Re: [Radiance-general] Problem whith file.oct
> 
> Hi Imène!
> > I want to make a file named scene.oct. So I create geometries : room.rad, chair.rad, table.rad. In the end of the file room.rad, I wrote:
> > !xform -t 1 1.5 0 chair.rad
> > !xform -t 1.5 1.5 0 table.rad
> > (...)
> > xform: cannot find file "chair.rad"
> > oconv: warning - (| xform -t 1 1.5 0 chair.rad): empty file
> > xform : cannot find file "table.rad"
> > oconv: warning - (| xform -t 1.5 1.5 0 table.rad) : empty file
> Radiance is using an environment variable called RAYPATH to know which 
> directories to use when searching for files. This allows to use library 
> folders. If you want to make sure that the current directory is searched 
> for files, add a dot (which represents the current directory) to your 
> RAYPATH:
> 
> export RAYPATH=$RAYPATH:.
> 
> This is the syntax for the bash shell, other environments may have 
> different ways to set an environment variable.
> 
> Once you have a complex scene, adding some directories may help. I 
> usually have e.g. subdirectories called mat, sky, scene, objects, and 
> would add all of them to the RAYPATH.
> 
> Cheers, Lars.
> 
> 
> _______________________________________________
> Radiance-general mailing list
> Radiance-general at radiance-online.org
> http://www.radiance-online.org/mailman/listinfo/radiance-general
> 

___________________________________________________________
Cuisine, salon, chambre enfant… Les promos pour changer votre mobilier sont sur Voila.fr http://shopping.voila.fr/vitrine/meubles



More information about the Radiance-general mailing list