To unsubscribe from this group and stop receiving emails from it, send an email to mtoa+uns...@solidangle.com.I can't seem to use user data nodes with alHair for picking up my custom data. I'm trying to use the skin normal data in our hair ass file with a user vector data node and connecting it to alHair's fibre color but that crashes Arnold during render. The same workflow renders fine with another shader like aiUtility. I have attached a simple repro package with 2 render layers - aiUtility with a vector data node picking up our skin_normal for the flat color mode. This renders okay. The 2nd render layer with alHair crashes. Is this not supported?
Maya 2014 + MtoA 1.1.2.1 with Arnold Core 4.2.2.0
alShaders 0.4.0b18-ai4.2.0.6 (have not tried with last night's release)
Centos 6.4
Here's the backtrace log that Arnold prints:
****
* Arnold 4.2.2.0 linux clang-3.4.0 glibc-2.5 oiio-1.4.14 rlm-11.1.2 2014/11/03 15:27:58
* CRASHED in DualScattering::getLut at 00:00:00, pixel (120, 184)
* signal caught: SIGSEGV -- Invalid memory reference (address not mapped to object)
*
* backtrace:
* 0 0x00002ac4e94648a8 [libai.so ]
* 1 0x0000003548c3291f [libc.so.6 ]
>> 2 0x00002ac4ebf55874 [alHair.so ] DualScattering::getLut(float, ScatteringParams const&) [Color.cpp :0]
* 3 0x00002ac4ebf55874 [alHair.so ] [Color.cpp :0]
* 4 0x00002ac4ebf5a770 [alHair.so ] DualScattering::getLut(float, ScatteringParams const&) [Color.cpp :0]
* 5 0x00002ac4ebf4f872 [alHair.so ] [alHair.cpp :0]
* 6 0x00002ac4e92d0684 [libai.so ] AiShaderEvaluate
* 7 0x00002ac4e9443871 [libai.so ]
* 8 0x00002ac4e92cc128 [libai.so ] AiShaderEvalParamFuncRGBA
* 9 0x00002ac4ea2b30e3 [mtoa_shaders.so] Evaluate(AtNode*, AtShaderGlobals*) [MayaShadingEngine.cpp:0]
* 10 0x00002ac4e92d0684 [libai.so ] AiShaderEvaluate
* 11 0x00002ac4e9289016 [libai.so ]
* 12 0x00002ac4e92c73dc [libai.so ] AiTrace
* 13 0x00002ac4e9437da0 [libai.so ]
* 14 0x00002ac4e9440f1a [libai.so ]
* 15 0x00002ac4e9467185 [libai.so ]
* 16 0x0000003549407850 [libpthread.so.0] [pthread_create.c :0]
* 17 0x0000003548ce890c [libc.so.6 ] clone
*
* loaded modules:
* 0x00002ac4e9204000 libai.so
* 0x0000003548c00000 libc.so.6
* 0x00002ac4ebf4b000 alHair.so
* 0x00002ac4ea2a4000 mtoa_shaders.so
* 0x0000003549400000 libpthread.so.0
*
* memory: VM 278 MB, RSS 53 MB, 1 page faults
****
Thanks & Regards,
___________________________________________________________________
Sachin Shrestha
sshr...@pranastudios.com <mailto:sshr...@pranastudios.com>
_____________________________________________________________________
******* Internet E-mail Confidentiality Footer *******
The information in this transmittal (including attachments, if any) is
Prana Studios Inc. and/or Prana Studios Pvt. Ltd. privileged and
confidential and is intended only for the recipient(s) listed above. Any
review, use, disclosure, distribution or copying of this transmittal is
prohibited except by or on behalf of the intended recipient. If you have
received this transmittal in error, please notify me immediately by
reply email and destroy all copies of the transmittal. Thank you.
That indeed fixed the problem! Could alHair clip the values but report it in the logs so that users can then fix it?
Cheers,
___________________________________________________________________
Sachin Shrestha
sshr...@pranastudios.com <mailto:sshr...@pranastudios.com>
_____________________________________________________________________
******* Internet E-mail Confidentiality Footer *******
The information in this transmittal (including attachments, if any) is
Prana Studios Inc. and/or Prana Studios Pvt. Ltd. privileged and
confidential and is intended only for the recipient(s) listed above. Any
review, use, disclosure, distribution or copying of this transmittal is
prohibited except by or on behalf of the intended recipient. If you have
received this transmittal in error, please notify me immediately by
reply email and destroy all copies of the transmittal. Thank you.
From: mt...@solidangle.com <mt...@solidangle.com> on behalf of Anders Langlands <andersl...@gmail.com>
Sent: Wednesday, December 3, 2014 5:42 PM
To: Arnold Maya; alsh...@googlegroups.com
Subject: Re: [MtoA] User Data + alHair crashes Arnold