|
Post by lcrivell on Nov 3, 2012 14:04:20 GMT -5
Hello Yeah,
I have Miarmy 1.5 on Maya 2013 and MacOS 10.8.2. When using the Render with 3Delight functionality, I get an error stating: Cannot find shader path of 3delight, please install 3delight version 10. Of course 3delight v10 is install, I even recompiled the src shaders from the Miarmy folder and copied them into 3delight's shader folder.
In the Maya / Miarmy / Installation / 3Delight setup / Check renderer status, it tells me that the DELIGHT, shader and display environment paths are not found. However opening a terminal session and typing 'env' shows all these variables.
Any clue ? Thanks, Laurent
|
|
|
Post by Yeah YANG on Nov 3, 2012 20:01:20 GMT -5
Hi, Laurent Thank for your feedback, There might be some little bugs on Mac OSX's scripts (I'm deeply sorry we cannot test Miarmy On Mac OSX, because we using VMWare just compile the product) Our system will find the Mac OSX's shader path variable "DL_SHADERS_PATH" and get it's value. then split it by ":" and find the shader location Would you please check your system whether have that system path?? Also there is a Mel script in attachment, please replace it, it can split the path correctly. <......>\Basefount\Miarmy1.5\maya\scripts And if there are not too much agents, maybe the Mesh Drive 2.0 render method is better, it can render using any of renderer directly by Maya without any Geometry cache. Thank you, Best, --Yeah Hello Yeah, I have Miarmy 1.5 on Maya 2013 and MacOS 10.8.2. When using the Render with 3Delight functionality, I get an error stating: Cannot find shader path of 3delight, please install 3delight version 10. Of course 3delight v10 is install, I even recompiled the src shaders from the Miarmy folder and copied them into 3delight's shader folder. In the Maya / Miarmy / Installation / 3Delight setup / Check renderer status, it tells me that the DELIGHT, shader and display environment paths are not found. However opening a terminal session and typing 'env' shows all these variables. Any clue ? Thanks, Laurent Attachments:
|
|
|
Post by lcrivell on Nov 3, 2012 21:57:14 GMT -5
Thanks for your answer Yeah, however the new script didn't help. I had a look at it and tried to understand why the os.getenv didn't find anything, and found the solution: In a terminal session, one needs to make the DELIGHT environment variables as global: launchctl setenv DELIGHT $DELIGHT launchctl setenv DL_DISPLAYS_PATH $DL_DISPLAYS_PATH launchctl setenv DL_SHADERS_PATH $DL_SHADERS_PATH
It then works better. Any clue what max amount of agents would be acceptable in the Mesh Drive 2.0 ? I would like to render agents with a Vue scene. However vue cannot be rendered with 3delight so I may have to render my scenes with Mental Ray.
Thanks, Laurent
|
|
|
Post by Yeah YANG on Nov 4, 2012 21:14:37 GMT -5
Hi Laurent, The Mesh drive can duplicate based on : 1. the "point number" of each agent, 2. the memory of machine so if you using the simpler mesh, it can duplicate more agents. I have a scene which each agent contain about 3500 points, my machine is 8GB Memory and Windows, it support 8000 agents maximum Yes, mesh drive can render scene with any renderer, we recommend use that if you're not going to use 3delight. Best, --Yeah Thanks for your answer Yeah, however the new script didn't help. I had a look at it and tried to understand why the os.getenv didn't find anything, and found the solution: In a terminal session, one needs to make the DELIGHT environment variables as global: launchctl setenv DELIGHT $DELIGHT launchctl setenv DL_DISPLAYS_PATH $DL_DISPLAYS_PATH launchctl setenv DL_SHADERS_PATH $DL_SHADERS_PATH It then works better. Any clue what max amount of agents would be acceptable in the Mesh Drive 2.0 ? I would like to render agents with a Vue scene. However vue cannot be rendered with 3delight so I may have to render my scenes with Mental Ray. Thanks, Laurent
|
|
|
Post by jabbelmous on Jul 11, 2013 6:34:47 GMT -5
Can you be more specific about where and how to place this, because I have the same problem on my mac version and new to scripting...
launchctl setenv DELIGHT $DELIGHT launchctl setenv DL_DISPLAYS_PATH $DL_DISPLAYS_PATH launchctl setenv DL_SHADERS_PATH $DL_SHADERS_PATH Thanks a lot!
|
|
|
Post by Yeah YANG on Jul 12, 2013 1:28:56 GMT -5
Hello jabbelmous, Thank you very much for your testing!!, Actually you can put those var into the Maya environment txt file, which should be located at: (Mac OS X) /Users/[username]/Library/Preferences/Autodesk/maya/version /Users/[username]/Library/Preferences/Autodesk/maya I believe this way might be more easier and safer:) Also you could try our mesh drive 3.0 render if you agent not too much, that is much more easier to use Thank you! --Yeah Can you be more specific about where and how to place this, because I have the same problem on my mac version and new to scripting... launchctl setenv DELIGHT $DELIGHT launchctl setenv DL_DISPLAYS_PATH $DL_DISPLAYS_PATH launchctl setenv DL_SHADERS_PATH $DL_SHADERS_PATH Thanks a lot!
|
|
|
Post by jabbelmous on Jul 12, 2013 4:43:08 GMT -5
Thanks for the fast answer! Saving these lines in the users Maya.env file doesn't change anything. Still cannot find shader path... to 3delight. Thanks anyway...
|
|