Chaos Corona Forum

Chaos Corona for 3ds Max => [Max] Bug Reporting => Topic started by: blanchg on 2018-04-24, 00:39:05

Title: Standalone macOS image textures don't work
Post by: blanchg on 2018-04-24, 00:39:05
Same result using latest version or 1.7 hotfix 2

Version:
Code: [Select]
Corona Renderer - Standalone, version: 2 DailyBuild Mar 21 2018
(c) Render Legion a.s., 2016
BUILD_DATE: Mar 21 2018 10:42:13, internal color space: Wide RGB

Ran
Code: [Select]
/Applications/CoronaStandalone.app/Contents/MacOS/libCoronaStandalone -mtlPreview
License info:
Demo license active.
Activated until: 2018-05-02

1.0 100 100 test.png <material class="Native"><diffuse><map class="Texture"><image>texture.jpg</image></map></diffuse></material>^@
ERROR: Fatal error in mtl-XML file: 'STDIN': Texture with file name: 'texture.jpg' not found/not accessible

^@ is the null character, you can enter it using <ctrl>+@ (for me <ctrl>+<shift>+2)
texture.jpg is definitely there and accessible, same issue running as root.
Title: Re: Standalone macOS image textures don't work
Post by: Ondra on 2018-04-24, 14:51:38
Hi,
is it working on windows?
Title: Re: Standalone macOS image textures don't work
Post by: burnin on 2018-04-24, 23:57:32
No, throws an error. 1. With textures (quits) or 2. without (renders on).

OS: win7, Corona For C4D Standalone daily beta (corona-c4d-win-b3-2018-04-19)
Scene made and exported from blender, ran via .bat script.
----------------------------------------------------------------------------------------------------------------------------------------
1. With Textures:
(https://i.imgur.com/xpQPaqp.jpg)

============================================================================

2. Without Textures Error report:
Code: [Select]
===== Error(-2) =====
Error in.conf file 'Io::TextInputStream' (line 20) : Unknown type: string.
 Whole line : string system.randomSampler = HighDim5D

(https://i.imgur.com/qs0e2uj.jpg)



Title: Re: Standalone macOS image textures don't work
Post by: blanchg on 2018-04-25, 00:11:00
I have a fix coming for error 2
Title: Re: Standalone macOS image textures don't work
Post by: JasonMacgrath on 2018-05-08, 14:16:49
Nice Post. Thanks for sharing the important information. I am also struggling with same problem.

Title: Re: Standalone macOS image textures don't work
Post by: blanchg on 2018-05-22, 22:52:12
Found the cause of the textures being broken.  If the .scn file passed to Corona is an absolute path then the images can't be found. 

There is a secondary issue with the material preview crashing if an image texture is used which is what is reported here.

Also if an image is really missing it crashes the standalone and causes the next run to hang until it is force quit.
Title: Re: Standalone macOS image textures don't work
Post by: Ondra on 2019-01-13, 16:01:38
AFAIK this was fixed, right?
Title: Re: Standalone macOS image textures don't work
Post by: blanchg on 2019-01-13, 21:00:58
Not yet in any build I have tried.