Author Topic: Standalone macOS image textures don't work  (Read 2425 times)

2018-04-24, 00:39:05

blanchg

  • Active Users
  • **
  • Posts: 414
    • View Profile
    • Blender exporter for Corona
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.

2018-04-24, 14:51:38
Reply #1

Ondra

  • Administrator
  • Active Users
  • *****
  • Posts: 9048
  • Turning coffee to features since 2009
    • View Profile
Hi,
is it working on windows?
Rendering is magic.How to get minidumps for crashed/frozen 3ds Max | Sorry for short replies, brief responses = more time to develop Corona ;)

2018-04-24, 23:57:32
Reply #2

burnin

  • Active Users
  • **
  • Posts: 1535
    • View Profile
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:


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

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






2018-04-25, 00:11:00
Reply #3

blanchg

  • Active Users
  • **
  • Posts: 414
    • View Profile
    • Blender exporter for Corona

2018-05-08, 14:16:49
Reply #4

JasonMacgrath

  • Users
  • *
  • Posts: 1
    • View Profile
    • Internet Marketing
Nice Post. Thanks for sharing the important information. I am also struggling with same problem.


2018-05-22, 22:52:12
Reply #5

blanchg

  • Active Users
  • **
  • Posts: 414
    • View Profile
    • Blender exporter for Corona
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.

2019-01-13, 16:01:38
Reply #6

Ondra

  • Administrator
  • Active Users
  • *****
  • Posts: 9048
  • Turning coffee to features since 2009
    • View Profile
AFAIK this was fixed, right?
Rendering is magic.How to get minidumps for crashed/frozen 3ds Max | Sorry for short replies, brief responses = more time to develop Corona ;)

2019-01-13, 21:00:58
Reply #7

blanchg

  • Active Users
  • **
  • Posts: 414
    • View Profile
    • Blender exporter for Corona