FBX import error

 

I am novice to Aximmetry...

I tried to import a virtual set that I bought as .fbx file and getting an error while trying to use it in a new compound.


This is the error "Number of objects exceeds the allowed 200"


Hope someone can guide me.


Regards

Ram


   ramteja

 
Profile Image
Eifert@Aximmetry
  -  

Hi Ram,

You get "Number of objects exceeds the allowed 200" error cause the number of objects are more than 200 in your fbx model.
Please merge as many objects as possible in your scene. Merging objects also improves performance.

Warmest regards,

 
Profile Image
FAV_Event
  -  

I see the same error while trying to import an fbx file. It has around 120 objects, so it should import. 

Are there any other limitations while importing fbx?

 
Profile Image
Deleted User
  -  

Hi FAV_Event

You can import 200 Aximmetry objects(modules) from 1 FBX.

  • Scene Nodes
  • Meshes
  • Materials
  • Lights
  • Cameras

.. etc are all a single node(module) to be imported. 

In case of Model files only (Without Lights and Cameras, deforming bones/dummies, Complex Hierarchy...):

  1. A single Merged model will load 1 root Scene Node + As many Mesh Nodes as many Material ID s used.  ( A - B example)
  2. While individual Meshes would load a 1 root Scene Node + 1 Scene Node for every Mesh. (C example)

A: You can load 1 individual Mesh with Maximum 199 Material IDs. (and no imported Materials)

Single Object FBX has only a single root Scene Node inside.  (200 - 1 = 199 objects left.)
Each Material ID is separated into a Mesh Object (199-199 = 0)

B: Or you can load 1 individual Mesh with Maximum 99 Material IDs and imported Materials.

Single Object FBX has only a single root Scene Node inside.  (200 - 1 = 199 objects left.)
Each Material ID has a Material (199-99 = 100)
Each Material ID is separated into a Mesh Object (100-99 = 1)

C: You can load Maximum 99 Individual Mesh objects with 1 or no Material. 

Each MultiObject FBX starts with a Scene Root (200-1 = 199 objects left.)
Each Mesh Needs a Scene Node for Transformation properties (199-99 = 100)
Each Mesh has a Mesh Node (100-99 = 1)
All has one Unified Material (1 -1 =0)


These limitations per FBX are there to get the best performance from loading the outside source. On the otherhand There is no such limitations specifically for how many FBX -s you can load into the scene. If you cant fit your entire scene into one FBX I suggest separate your scene into multiple FBX s. It will also help you manage the 3d elements better for later optimizations.


Tip: As you usually setup your shaders within Aximmetry and not using the one which comes with the FBX file.  You can just turn off the Materials to achieve higher 3D object count. To turn off loading the Materials from the FBX

  1. right click on the FBX compound and chose "Set Importer Options" 
  2. Deselect "Import materials" and press OK