I guess I should have explained how to map patterns to mesh primitives better during the tutorial...
First, you need to download and compile the HEAD distribution from <www.radiance-online.org> if you haven't already, as the local coordinate mapping isn't _quite_ working in the official 3.5 release.
Second, you need to make sure that you have local coordinates defined and exported for all your surfaces from your modeler of choice (Maya in your case).
Third, you need to follow directions similar to the ones excerpted below from an earlier inquiry, which I probably should have cross-posted to the list:
From: Greg Ward <firstname.lastname@example.org>
Date: Tue Sep 30, 2003 4:11:53 PM US/Pacific
To: Faouzi Djafi <email@example.com>
Subject: Re: Help-me
It is unlikely that you will be able to get your image to map correctly to your object unless you download and compile the latest (HEAD) version of radiance from www.radiance-online.org and apply the new mesh primitive rather than relying on obj2rad. This is the only way to get local texture coordinates, which you have in your .OBJ file.
To do this, I created two files -- Box.mat and box_mesh.rad. Box.mat contains:
void colorpict patt
7 red green blue image_1.pic . Lu Lv
patt plastic map_image_1
5 .75 .75 .75 0 0
And box_mesh.rad contains:
map_image_1 mesh box1
I then ran the following commands:
% obj2mesh Box.obj > Box.rtm
% oconv Box.mat Light.rad box_mesh.rad > scene.oct
You can then produce renderings from scene.oct.
If you are under Windows, none of this will work as the mesh primitive is not part of Desktop Radiance.
From: R Gillibrand <firstname.lastname@example.org>
Date: Mon Oct 6, 2003 8:46:00 AM US/Pacific
Nice to see those who came at theworkshop,
I am having fun with the mesh primitive at the moment and can get the geometry in no problem but�
How do I get the texture map into the scene in the correct place?
I have been using colorpict but this seems to just be a projection rather than a wrapping which tells me I am making a mistake somewhere or using the wrong thing,
Any help gratefully received,