Jump to content
mzlink

AutoCAD FBX models quickimporting?

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.

Share this post


Link to post

Still, the preview is broken, possible to fix?.

 

If i make a 1x1x1 meter box i want it to appear like that in leadwerks, but it does not

Share this post


Link to post

How does it not show up correctly when viewed in the preview tool? (I assume you mean the Model Editor.)

Share this post


Link to post

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

Share this post


Link to post

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)

Share this post


Link to post

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.

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

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.

×
×
  • Create New...