StjerneIdioten / I3D-Blender-Addon

Rewriting the I3D blender addon from scratch and adding long-sought community features
GNU General Public License v3.0
66 stars 18 forks source link

[Bug Report] error on export but export work #159

Closed Felzow47 closed 1 year ago

Felzow47 commented 1 year ago

Describe the bug

A clear and concise description of what the bug is and preferably a step-by-step guide on how to reproduce it. transparent and metalic material give me a error

Log file

Please generate a logfile by checking 'Output logfile' in the exporter and attach it to the issue. rayoneevee_export_log.txt

Blend File (optional)

Beware that anything attached to the issue can be seen/downloaded by anyone!!!

A .zip containing a .blend file along with any resources referred to in the .blend file, except for stuff from the $data of Farming Simulator.

if you want but in private

In case you want your stuff to stay private you should make a minimal example, that still causes the bug and attach that instead.

Screenshots

If applicable, add screenshots to help explain your problem. image

ssnd292 commented 1 year ago

So what exactly is the error?

Felzow47 commented 1 year ago

image transparent / glossy material goes gray

ssnd292 commented 1 year ago

Then there is something wrong with how you setup the material in Blender. Are all textures assigned in the Material in Giants Editor? If not check which are missing and add them prior to export.

Felzow47 commented 1 year ago

image this how i setup my plastic material

and for the giant editor it just goes grey image tryed eevee and cycle material nothing change

ssnd292 commented 1 year ago

This is not how the exporter works. The export does not understand the Mix Shader now. The shader must be principled BSDF into a material output. You cannot use MixShader

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

Felzow47 commented 1 year ago

ohhhh nooo thank for the reply..... i will try this

will he one day understand the mix shader?

ssnd292 commented 1 year ago

No.

Felzow47 commented 1 year ago

oh sh**

Felzow47 commented 1 year ago

thx for the help

Felzow47 commented 1 year ago

i change my material with no mix shader and only principled BSDF and now i got this error and the export "crash"

nomixshader_export_log.txt

ssnd292 commented 1 year ago

Please watch the video, and make sure only one material is assigned to your mesh. If you need more materials, you need to seperate meshes based on your materials.

Felzow47 commented 1 year ago

my mesh is seperate for every different material....

StjerneIdioten commented 1 year ago

This seems to be less of a bug and more of an user error. The Blender material system and the Giants Engine material system are not one-to-one compatible and therefore you can't just create any material you want in Blender and expect it to show up in GE. I've only added support for a narrow subset of material options (Apart from all the UDIM stuff), which you can find information about in videos, the documentation and on Discord.

If you need more help please go to the Discord (highest chance of active support) or alternatively a thread in the discussion forum 😄