question

Heribert Raab avatar image
Heribert Raab asked ·

OSL Node in HtoA broken

another failure of HtoA :

https://www.youtube.com/watch?v=YzkIVx8TZvk


try to use the ubershader
https://github.com/ADN-DevTech/3dsMax-OSL-Shaders/blob/master/3ds%20Max%20Shipping%20Shaders/UberNoise.osl


it should crash at all, only drop errors if the osl code is not correct !

htoa arnold houdini
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.

Pal Mezei avatar image
Pal Mezei answered ·

Hi Heribert, this was discovered earlier this week, and on the HtoA side it's already fixed. We also have two tickets https://github.com/Autodesk/arnold-usd/issues/570 and https://github.com/Autodesk/arnold-usd/issues/569 for arnold-usd.


Note, this issue affects the inline osl node.

7 comments Share
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.

thank for professional answer, i hope it will make into the next release.

0 Likes 0 · ·

Quick update: both arnold-usd issues are now fixed.

1 Like 1 · ·

good know, OSL shader development is annoying with the osl node

0 Likes 0 · ·
Show more comments
Heribert Raab avatar image
Heribert Raab answered ·

in solaris (material libray) once the load the osl shader try to connect to anything --> crash !
to hooks up to utility nodes but surface or output is crashes.


I guess they have no beta tester for HotA.


Share
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.

Heribert Raab avatar image
Heribert Raab answered ·

after more tests....
if i copy paste OSL code into text field i an get fatal crash. if i load an osl file, it works.

the crash shouldn't happen in any case. its still a critical bug.


copy and paste the whole node also trigger crashes.

6 comments Share
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.

Here is a snapshot showing the copy/paste of UberNoise.osl, and the UberNoise.mtd with ARNOLD_PLUGIN_PATH variable as you can see no crash!
I suspect the crash happen when you copy the text form the web! try to download the zipped osl than pick what you want, form there you can do copy/past
https://github.com/ADN-DevTech/3dsMax-OSL-Shaders




0 Likes 0 · ·
osl-ubernoise.jpg (175.5 KiB)
Heribert Raab avatar image Heribert Raab rachid Hadj Abderrahmane ·

you telling me because i've copy&paste 5 line of text from github into textfield and drops fatalcrash is my fault ? why does is work in MtoAS ot C4dtoA ?

i think this wrong place for this "the-software-is-flawless-and-the-is-too-stupied-to-use-it-rigth-way" fanboy attitude.

0 Likes 0 · ·

btw it still crashes

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

work fine here, all osl are working fine in all DCC


ubernoise.jpg (154.9 KiB)
1 comment Share
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.

i know at least 2 other people with some crashing problem.

0 Likes 0 · ·
Heribert Raab avatar image
Heribert Raab answered ·

this happens with any osl code.


lastest HtoA on houdini 18.0.566 on windows10 pro

Intel(R) Xeon(R) E-2276M CPU @ 2.80GHz (6 cores, 12 logical) with 130846MB

NVIDIA driver version 452.6 (Optix 60600)

GPU 0: Quadro RTX 5000 @ 1455MHz (compute 7.5) with 16384MB (15608MB available) (NVLink:0)

Share
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.

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.