简体   繁体   中英

How to load 3D Model in FireMonkey at run time

I could load 3D model by property meshCollection, just like Importing a 3D Model in a FireMonkey Application .

But it could not load model by Model3D->LoadFromFile("filepath.obj")

I try a lot of time, but it still not work!

Is it a bug for Firemonkey XE4?

Did you connect the module FMX.OBJ.Importers? Loading doesn't work without it.

for C++ builder you need to include the

include

for dae and ese you should look for FMX.DAE.Importer.TDAEModelImporter FMX.ASE.Importer.TASEModelImporter

see also delphi2010.ru/firemonkey-на-практике-5/ for a example in delphi

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM