fdeng Posted November 8, 2018 Share Posted November 8, 2018 When exporting from some 3dmax files, it always report such error: System.NullReferenceException: Object reference not set to an instance of an object. at Max2Babylon.BabylonExporter. isMaterialSupported Did anyone encounter this problem before, and how to fix it? Quote Link to comment Share on other sites More sharing options...
Guest Posted November 8, 2018 Share Posted November 8, 2018 Pinging @kcoley Quote Link to comment Share on other sites More sharing options...
kcoley Posted November 9, 2018 Share Posted November 9, 2018 Hi @fdeng do you have a sample scene which is hitting this error? Quote Link to comment Share on other sites More sharing options...
fdeng Posted November 11, 2018 Author Share Posted November 11, 2018 Hi @kcoley It is a max file, error happens when I try to export it in 3dsmax 2018. please try to download the file from this link: https://cgtfiles.s3.amazonaws.com/uploads/files/635450/FullHouse.rar?response-content-disposition=attachment%3B filename%3Dfullhouse.rar%3B filename*%3Dutf-8''FullHouse.rar%3B &X-Amz-Expires=300&X-Amz-Date=20181107T072652Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAJAIWBP4YJ3PPYJKA/20181107/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=51f590107b7da32e4376026bfa66ff106edcc394b7e2c617bf458c790edeeb5b or you can give me your email, I can send the archive to you. Quote Link to comment Share on other sites More sharing options...
kcoley Posted November 12, 2018 Share Posted November 12, 2018 @fdeng the link does not seem to work for me due to access permissions, but you can upload the file to my DropBox file request here: https://www.dropbox.com/request/pesebiaItQ1tC3gFmpeK Quote Link to comment Share on other sites More sharing options...
fdeng Posted November 19, 2018 Author Share Posted November 19, 2018 @kcoley The file is uploaded to your dropbox, please have a test Quote Link to comment Share on other sites More sharing options...
kcoley Posted November 26, 2018 Share Posted November 26, 2018 Hi @fdeng, I'll take a look Quote Link to comment Share on other sites More sharing options...
kcoley Posted November 26, 2018 Share Posted November 26, 2018 @fdeng the issue does not seem to be with your model but with specular aliasing in the playground. We converted your model to glTF and viewed in the sandbox to check, which looks better there (https://sandbox.babylonjs.com). @Sebavan would you be able to take a look? scene.glb Quote Link to comment Share on other sites More sharing options...
Sebavan Posted November 26, 2018 Share Posted November 26, 2018 @kcoley I do not understand ? Is the issue in max export or rendering or is it a different issue ? Let me know what to look at Happy to give it a shot. Quote Link to comment Share on other sites More sharing options...
kcoley Posted November 26, 2018 Share Posted November 26, 2018 @Sebavan the issue is not with the max exporter, but with rendering in the Babylon.js playground. It could be that the render settings for the skybox are different in the playground than the sandbox. Quote Link to comment Share on other sites More sharing options...
kcoley Posted November 26, 2018 Share Posted November 26, 2018 @Sebavan sorry I was looking at the wrong issue. @fdeng I'll keep investigating Sebavan 1 Quote Link to comment Share on other sites More sharing options...
kcoley Posted November 26, 2018 Share Posted November 26, 2018 @fdeng @SebavanI just merged a fix for this: https://github.com/BabylonJS/Exporters/blob/master/3ds Max/Max2Babylon-1.3.10.zip Quote Link to comment Share on other sites More sharing options...
Sebavan Posted November 26, 2018 Share Posted November 26, 2018 I can not like anymore today but GG @kcoley ? kcoley 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.