Amorphous Carbon preset for metal material missing?

Use this forum for general user support and related questions.
Forum rules
Please upload a testscene that allows developers to reproduce the problem, and attach some images.
Post Reply
Vyrlokar
Posts: 4
Joined: Fri May 22, 2020 9:07 am

Amorphous Carbon preset for metal material missing?

Post by Vyrlokar »

I was toying around, and when I saw that the preview was not updating for metal, Freshnel texture, Amorphous Carbon, I tried launching blender from the command line to get error output, and lo and behold, I got this:

[Engine/Final] Rendering layer "View Layer"
[Exporter] Creating session
[SDL][28.530] Camera type: perspective
[SDL][28.530] Camera position: Point[0.107226, -0.10226, 0.124417]
[SDL][28.530] Camera target: Point[-0.544332, 0.51191, -0.320855]
[SDL][28.530] Camera clipping plane disabled
[SDL][28.535] Texture definition: 139881152491528Fresnel
Traceback (most recent call last):
File "/home/axis/.config/blender/2.82/scripts/addons/BlendLuxCore/engine/base.py", line 84, in render_final
final.render(self, depsgraph)
File "/home/axis/.config/blender/2.82/scripts/addons/BlendLuxCore/engine/final.py", line 49, in render
_render_layer(engine, depsgraph, statistics, layer)
File "/home/axis/.config/blender/2.82/scripts/addons/BlendLuxCore/engine/final.py", line 61, in _render_layer
engine.session = engine.exporter.create_session(depsgraph, engine=engine, view_layer=view_layer)
File "/home/axis/.config/blender/2.82/scripts/addons/BlendLuxCore/export/__init__.py", line 143, in create_session
luxcore_scene.Parse(scene_props)
RuntimeError: Unknown Fresnel preset name: amorphous_carbon
ERROR: Unknown Fresnel preset name: amorphous_carbon
Error: Unknown Fresnel preset name: amorphous_carbon


Is my installation borked, or has this slipped through the cracks?
User avatar
Dade
Developer
Developer
Posts: 5672
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: Amorphous Carbon preset for metal material missing?

Post by Dade »

It looks like a bug in BlendLuxCore, it should be "amorphous carbon" instead of "amorphous_carbon", without the underscore.
Support LuxCoreRender project with salts and bounties
neo2068
Developer
Developer
Posts: 260
Joined: Tue Dec 05, 2017 6:06 pm
Location: Germany

Re: Amorphous Carbon preset for metal material missing?

Post by neo2068 »

This bug has been fixed a month ago (https://github.com/LuxCoreRender/BlendL ... 016f2fea2d). Do you have the latest version of the addon?
i7 5820K, 32 GB RAM, NVIDIA Geforce RTX 2080 SUPER + GTX 1080, Windows 10 64bit, Blender 2.83.5
Support LuxCoreRender project with salts and bounties
Vyrlokar
Posts: 4
Joined: Fri May 22, 2020 9:07 am

Re: Amorphous Carbon preset for metal material missing?

Post by Vyrlokar »

I downloaded LuxBlendCore on the 21st of May

md5sum BlendLuxCore-v2.3-linux64-opencl.zip
5a0cd71ce1354e295dee5a080207ed4d BlendLuxCore-v2.3-linux64-opencl.zip

I just downloaded it again

md5sum BlendLuxCore-v2.3-linux64-opencl.zip
5a0cd71ce1354e295dee5a080207ed4d BlendLuxCore-v2.3-linux64-opencl.zip

so I guess that either the download link on https://luxcorerender.org/download/ has not been updated, or the addon has not been built with the fix
mib2berlin
Posts: 53
Joined: Fri Apr 06, 2018 6:29 pm

Re: Amorphous Carbon preset for metal material missing?

Post by mib2berlin »

Vyrlokar wrote: Fri May 29, 2020 3:22 pm I downloaded LuxBlendCore on the 21st of May
Hi, 2.3 was released 13 April, may you check https://github.com/LuxCoreRender/BlendL ... tag/latest
for 2.4 daily build.

Cheers, mib
Post Reply