Arnold relative path to photometric light .IES file?

1,118 views
Skip to first unread message

Nathan Shipley

unread,
Oct 26, 2017, 1:08:41 PM10/26/17
to maya...@googlegroups.com
Hello,

I'm trying to render a Maya 2018 / Arnold 5 scene that has some photometric lights that refer to an .IES photometry file.

No problem rendering locally with an absolute path, but it fails on the online render service I'm using because the path is absolute.  Changing the path to be relative to the project results in an error:

// Error: [photometric] can't open sourceimages/Light/21.ies: No such file or directory // 

I see there are some Search Path settings in the Render Settings > System, but these don't seem to make a difference.

Arnold only wants to render with an absolute path to the .IES file, which doesn't work with my cloud rendering service.

Any ideas or work-arounds?

Thanks,
 - Nathan

Nathan Shipley

unread,
Oct 26, 2017, 2:48:34 PM10/26/17
to maya...@googlegroups.com
Solved:  Thanks to list member Anthony Enos who hit me up off-list and provided a solution that worked:

I just needed to add an additional slash after the Maya project folder in the path name.  So:
   /Volumes/02_Projects/3D/Maya/ProjectFolder/sourceimages/Light/21.ies
became:
   /Volumes/02_Projects/3D/Maya/ProjectFolder//sourceimages/Light/21.ies

And all is well.  Renders on the cloud without issue.

Thanks, Anthony!

José Miguel Aragüés

unread,
Oct 27, 2017, 8:30:40 AM10/27/17
to maya_he3d
But in that path you also have the absolute path to your dirve "/Volumes"..., how does the cloud renderfarm solve that?. It wouldn't be easier to just put a path like "//sourceimages/Light/21.ies"?.

Just curiosity.

Anthony Enos

unread,
Oct 27, 2017, 9:24:47 AM10/27/17
to maya...@googlegroups.com
Maya looks for the double slash, and resolves that as the project location, while still keeping the full path. I find that when I use a stripped relative path on reference files for example, it corrects to the full path with the double slash when I reopen the file, at least recall that behavior in Maya 2016.

Perhaps using the relative path the way you suggested would have worked as well, but the fully relative path like "sourceimages/Light/21.ies" (the same way a texture path would read) was not working on the online farm, so I thought treating it like a path to a reference file was worth a try... and I got lucky.
--
You received this message because you are subscribed to the Google Groups "maya_he3d" group.
To unsubscribe from this group and stop receiving emails from it, send an email to maya_he3d+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

José Miguel Aragüés

unread,
Oct 27, 2017, 11:24:32 AM10/27/17
to maya_he3d
With Arnold I found that I could't use the usual "sourceimages\blablablah\file.tga" but "\sourceimages\blablablah\file.tga". Keep that in mind.

Nathan Shipley

unread,
Oct 27, 2017, 12:39:20 PM10/27/17
to maya...@googlegroups.com
Interesting, Jose.  In this project on OSX, Maya 2018, my file texture nodes that feed into Arnold Standard Surface shaders are written as "sourceimages/blablabla/myTexture.png" -- without that first slash.  I wonder if that's a Windows / Mac difference?

It was in the specific case of the photometric light file that this relative path didn't work.  In fact, it doesn't work locally OR on the cloud.  Changing the path as Anthony suggests by adding the extra slash after the project folder has it working both locally and on the cloud.




To unsubscribe from this group and stop receiving emails from it, send an email to maya_he3d+unsubscribe@googlegroups.com.

joie

unread,
Oct 30, 2017, 9:47:59 AM10/30/17
to maya...@googlegroups.com
Well, in fact the texture files DO work without the first slash, but not other kind of files like proxies (standins) or IES files. Strange enough I should say.

--
You received this message because you are subscribed to a topic in the Google Groups "maya_he3d" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/maya_he3d/PLFE5ZJUTx4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to maya_he3d+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--
Visita mi blog: 3djoie.blogspot.com
Reply all
Reply to author
Forward
0 new messages