tingwu.yang Posted October 29, 2015 Posted October 29, 2015 Hi, I wanna use the AutodeskImport Class to import some FBX models in my Unigine scripts( Unigine 2.0 stable version ). However, the interpreter do not recognize "AutodeskImport", and there is no Autodesk dynamic link library in the sdk's lib folder either. So How can I use the AutodeskImport Class in my Unigine Scripts? Could you give us some instructions? Best Wishes Thanks.
silent Posted October 29, 2015 Posted October 29, 2015 Hi TingWu, Autodesk plugin functionality is moved directly into Unigine Editor. Right now we don't ship Autodesk as external dynamic library (but maybe it will be changed in future). Right no you can use AutodeskImport class if you will launch your world with a help of Unigine Editor. Internally it is still uses AutodeskImport class. You also can hide Editor UI with a help of editor_quit command. Sorry for the inconvenience caused. How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN
Greg.Mildenhall Posted January 3, 2018 Posted January 3, 2018 (edited) I'm loading my script using "-editor_script" but still getting the same error message. (Edit: this is on a locally-built but unmodified 2.3.1) Edited January 4, 2018 by Greg.Mildenhall
Greg.Mildenhall Posted January 5, 2018 Posted January 5, 2018 (edited) Any ideas about what else could cause this error? Do I need to #include something? I didn't with ColladaImporter. Is there an example script somewhere of how to use AutodeskImport? Edited January 5, 2018 by Greg.Mildenhall
silent Posted January 8, 2018 Posted January 8, 2018 Hi Greg, Are you launching editor_*.exe or your compiled binary (like main_*.exe)? I'm afraid, you will have to launch standalone Editor application in order to get AutodeskImport functionality available from script. Thanks! How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN
Recommended Posts