question

rachid Hadj Abderrahmane avatar image
rachid Hadj Abderrahmane asked

The variable ARNOLD_PLUGIN_PATH no longer works in katana 3.2.0.0 for Katana4.0v2

The variable ARNOLD_PLUGIN_PATH no longer works in katana 3.2.0.0 for Katana4.0v2
no osl are loaded. no third plugins are loaded!
any fix for this?
Thanks

arnoldshaderspluginsktoa
10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Stephen Blair avatar image
Stephen Blair answered

You'll have to provide more details. Exactly how to do you start Katana? How are the environment variables set? Exactly where is everything installed? Where is the launcher script installed?

1 comment
10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

same issue,i already ask a question about loading mtoa_shaders in the lastest vesion ktoa.

i found ktoa can found mtoa_shaders.dll and load it correctly when katana is starting.

when i try to create ArnoldShadingNode in katana,ArnoldShadingNode can not show maya_shaders.dll's nodes in nodeslist. the console log show ArnoldShadingNode can not find maya_shaders.dll and load no plugin

0 Likes 0 ·
rachid Hadj Abderrahmane avatar image
rachid Hadj Abderrahmane answered

Hi @Stephen
Thank you to looking here.
All versions work with the same script, I just change the version number, to a new version.
launcher script called Katana.bat in C:\Program Files\Katana4.0v2
all the the environment variables are set in the script.bat
here is my bat script, just remove the txt extension.
Katana.bat.txt
Edit: KtoA is installed in: C:\Solidangle\KtoA, same for MtoA and HtoA


katanabat.txt (3.4 KiB)
5 comments
10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Hi

The LaunchKtoA.bat that comes with KtoA works for me. Only time I saw a problem was when things were on different drives (eg launch script on E:, Katana on C:)

I don't have everything working yet with your batch file (UsdPlugins are not loading), but I do see plugins from ARNOLD_PLUGIN_PATH being loaded.

0 Likes 0 ·

Both Katana and KtoA are installed in C:\> drive
Katana in C:\Program Files\Katana4.0v2
KtoA in:C:\Solidangle\KtoA
I don't have problem with preview version of KtoA
Nothing are loaded with ARNOLD_PLUGIN_PATH, I've mandelbulb with mtd file and a lot of osl, the thing is all osl are compiled but not loaded.
If I put the osl with Args files in C:\Solidangle\KtoA\RenderPlugins. Then all work fine only for osl but not the mandelbulb
When I use the LaunchKtoA.bat from the KtoA root folder, I get nothing, arnold are not loaded at all
So where should I put that LaunchKtoA.bat ?

0 Likes 0 ·
Stephen Blair avatar image Stephen Blair ♦♦ rachid Hadj Abderrahmane ·

I added ARNOLD_PLUGIN_PATH to my LaunchKtoA.bat:

set "ARNOLD_PLUGIN_PATH=C:\solidangle\osl;C:\solidangle\mandelbulb_Arnold6;C:\Program Files\Autodesk\Arnold\maya2020-4.2.0\shaders;C:\Users\blairs\Downloads\Golaem-7.3.6-Katana3.5-windows\GolaemCrowd\shaders\arnold"

I did the same thing for ARNOLD_PLUGIN_PATH in your batch file.

In both cases, Arnold loaded (or tried to load) the dlls from the folders in ARNOLD_PLUGIN_PATH


I like to use Process Monitor when something is not working...to at least confirm where Arnold is looking...

0 Likes 0 ·
Show more comments
rachid Hadj Abderrahmane avatar image
rachid Hadj Abderrahmane answered

I reinstalled KtoA in c:\KtoA folder
added the arnold variable ARNOLD_PLUGIN_PATH to launchKtoA.bat
The console show:
loading plugins from C:\Solidangle\Arnold_Shader\Osl ...
loading plugins from C:\Solidangle\Arnold_Shader\mandelbulb\bin ...
mandelbulb.dll: mandelbulb uses Arnold 6.2.0.0
[metadata] loading metadata file: C:\Solidangle\Arnold_Shader\mandelbulb\bin\mandelbulb.mtd
loaded 1 plugins from 1 lib(s) in 0:00.02
loading plugins from C:\KtoA\bin\..\plugins ...
no plugins loaded

katanabatch.jpg
but nothing is loaded no osl and no mandelbulb

noplugins.jpg


katanabatch.jpg (394.9 KiB)
noplugins.jpg (77.3 KiB)
3 comments
10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

What mandelbulb is this?


I have just an old one from the docs, plus an osl from 3ds Max (to test that osl is loaded)

00:00:00   205MB         | loading plugins from C:\solidangle\osl ...
00:00:00   206MB         |  OSLBitmap.osl: OSLBitmap
00:00:00   206MB         | loading plugins from C:\solidangle\mandelbulb_Arnold6 ...
00:00:00   206MB WARNING |  mandelbulb_proc.dll was compiled against non-compatible Arnold 6.0.1.0


0 Likes 0 ·

it's an htoa_mandelbulb_proc.dll from houdini renamed to mandelbulb.dll created mtd file and Aetemplate
when playing with mandelbulb I always parent to box with
Render Stats all off
Arnold visibility all off
Enable Overrides on
Display Type: Norma
Level of Detail: Bounding Box
that way I can see where the mandelbulb is !
mayalog.jpg

mandelbulb.jpg

0 Likes 0 ·
mayalog.jpg (612.1 KiB)
mandelbulb.jpg (306.1 KiB)
Stephen Blair avatar image Stephen Blair ♦♦ rachid Hadj Abderrahmane ·

mandelbulb is a procedural, not a shader.


0 Likes 0 ·
rachid Hadj Abderrahmane avatar image
rachid Hadj Abderrahmane answered

for some reason I can't reply
-184 characters needed

Yes mandelbulb is a procedural, I just put the dll and the mtd file in the folder named Arnold_Shader with the same variable for all applications, but no problem for Maya and c4d for mandelbulb!
here is a portion of mandelbulb.mtd file

[node mandelbulb]
desc STRING "mandelbulb"
maya.name STRING "aimandelbulb"
maya.id INT 0x00135D6D
maya.classification STRING "procedural"
maya.procedural BOOL true


The real problem is that the latest version of KtoA no longer loads plugins or osl.
we can see in the console that they are loaded but there is nothing, as I have shown you in the previous post. however before this version everything worked fine!
So it's this new version of KtoA that I'm having trouble with
I reinstalled the version after just to see, and it works wonderfully, the plugins are loaded as well as the osl.
but not for the latest version of KtoA
So the problem comes from this last version and not from the script !
I think you can look at it, otherwise there is no reason for it to work for all versions except this last one!

3 comments
10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Ok, so the problem is that you don't see them in Katana. Arnold did load them though and ARNOLD_PLUGIN_PATH worked. It's KtoA that does not show the nodes in the ArnoldShadingNode.

1 Like 1 ·

Yes exactly that

1 Like 1 ·
Xt Vjxk avatar image Xt Vjxk Stephen Blair ♦♦ ·

yes ,same issue about maya_shaders.dll 's nodes

0 Likes 0 ·
Xt Vjxk avatar image
Xt Vjxk answered

i have same issue.my katana's ArnoldShadingNode can not show maya_shaders even i add mtoa_shaders.dll's folder in ARNOLD_PLUGIN_PATH.

i found when katana is starting,ktoa can found maya_shaders.dll and load nodes in maya_shaders.dll.when i create ArnoldShadingNode ,ArnoldShadingNode can not show maya_shaders.dll's nodes.

10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

rachid Hadj Abderrahmane avatar image
rachid Hadj Abderrahmane answered

any update ?

3 comments
10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

A fix will be in a future update.

1 Like 1 ·

Thank you Stephen

0 Likes 0 ·
Xt Vjxk avatar image Xt Vjxk Stephen Blair ♦♦ ·

Thank you Stephen

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Welcome to the Arnold Answers community.

This is the place for Arnold renderer users everywhere to ask and answer rendering questions, and share knowledge about using Arnold, Arnold plugins, workflows and developing tools with Arnold.

If you are a new user to Arnold Answers, please first check out our FAQ and User Guide for more information.

When posting questions, please be sure to select the appropriate Space for your Arnold plugin and include the plugin version you are using.

Please include images, scene and log files whenever possible as this helps the community answer your questions.

Instructions for generating full verbosity log files are available for MtoA, MaxtoA, C4DtoA, HtoA, KtoA, and Kick.

If you are looking for Arnold Documentation and Support please visit the Arnold Support site.

To try Arnold please visit the Arnold Trial page.

Bottom No panel present for this section.