From: Andrew Kingston <andrew@peerless.co.uk>
Subject: Re: file paths for .mi files
   Date: Tue, 27 Feb 2007 10:08:54 -0500
Msg# 1482
View Complete Thread (7 articles) | All Threads
Last Next
Gary Jaeger wrote:
When I make .mi files on the mac using absolute paths for textures, etc they always end up starting wtih /Volumes/foo. I've gotten used to using BBedit to batch replace /Volumes/ with //corefileserver/ so that the pc's can render the files, but is there any way in rush to say

for this .mi file, use //corefileserver/ instead of /Volumes/ wherever it appears?

(or if anybody knows a way to force maya to write them the way I want in the first place. I haven't been able to find any way to do that)


. . . . . . . . . . . .
Gary Jaeger // Core Studio
86 Graham Street, Suite 120
San Francisco, CA 94129
(Tel# suppressed)
http://corestudio.com <http://corestudio.com/>



Hi

I could be missing something, but couldn't you just use the MI_RAY_SUBSTITUTE environment variable when you render the mi.

###
MI_RAY_SUBSTITUTE

An optional list of blank-separated substitution instructions, each in the form /search/replace/. Any other character besides / will also work.
###

We've used this before to change texture paths from remote servers to local drives in order to stop the server from getting overloaded & our network getting choked.

Cheers
Andrew

Last Next