Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

If program can't find material file, Collada export fails with null exception. #4

Closed
Markemp opened this issue Oct 25, 2017 · 2 comments

Comments

@Markemp
Copy link
Owner

Markemp commented Oct 25, 2017

If the material file isn't found, when it tries to write the materials to Collada it fails with a null value exception.

@Markemp
Copy link
Owner Author

Markemp commented Dec 2, 2019

Materials in .cgf/cga files are fairly primitive. The default behavior for the material chunks should be to just create a placeholder with the material name, without grabbing any texture files. Creation of materials in Blender will be moved to CGF Importer, which will then use the appropriate .mtl file to load images, create shaders, etc.

@Markemp
Copy link
Owner Author

Markemp commented Dec 31, 2019

This has been solved by creating default materials from the Cryengine files in the event that the material file cannot be found.

@Markemp Markemp closed this as completed Dec 31, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant