Jump to content

AutoCAD FBX models quickimporting?


mzlink
 Share

Recommended Posts

Hi.

 

I want to know if it's possible to get leadwerks to do this automatically when an fbx is imported:

  • look for embedded or referenced materials/textures (does not seem to work by default)
  • set scaling for the model to 1.01 units to 10.1 cm
  • show up correctly when inspected in preview tool

I'm using autocad 2015 to make the models and materialize/texture them but it's awkward to import them.

 

Thanks in advance.

Link to comment
Share on other sites

It appears the model is huge and its origin is not on the model itself but far away. Suggest placing the origin at the corner of the model and scale down the model before exporting. Also, this model does not have the UVs properly mapped (actually appears there are no UVs at all).

 

As a reference, one square in the grid is 100x100 meters.

post-14-0-28169100-1452982628.jpg

Win7 64bit / Intel i7-2600 CPU @ 3.9 GHz / 16 GB DDR3 / NVIDIA GeForce GTX 590

LE / 3DWS / BMX / Hexagon

macklebee's channel

Link to comment
Share on other sites

There is no obvious origin to begin with, but i can move the object to the origin.

As i can't determine the proper scaling i defaulted to millimeters.

 

And i did not bother with UVmaps as this is a sample object which i will most likely replace later.

 

 

Edit: preview fixed, still not sure about the scale

Edit2: i tried different scaling and i think i hit a usable ratio

 

#Solved (except for the automatic materials import that leadwerks does not support)

Link to comment
Share on other sites

Leadwerks uses cm.

 

The Leadwerks Editor's default grid dimensions are in centimeters. "The Leadwerks Engine uses a scale of one unit space = one meter. Therefore, a centimeter is 0.01 units, a millimeter is 0.001 units, and so forth." Engine commands that require distance or position values are in meters.

Win7 64bit / Intel i7-2600 CPU @ 3.9 GHz / 16 GB DDR3 / NVIDIA GeForce GTX 590

LE / 3DWS / BMX / Hexagon

macklebee's channel

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...