mzlink Posted December 26, 2015 Share Posted December 26, 2015 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. Quote Link to comment Share on other sites More sharing options...
Einlander Posted December 27, 2015 Share Posted December 27, 2015 Leadwerks does not support embedded materials, and you have to do the scaling yourself. Quote Link to comment Share on other sites More sharing options...
mzlink Posted December 28, 2015 Author Share Posted December 28, 2015 Isn't there any way to set a default scale? Quote Link to comment Share on other sites More sharing options...
Einlander Posted December 30, 2015 Share Posted December 30, 2015 In leaders, nope. You have to scale on export in your modeling program, or model to scale. Quote Link to comment Share on other sites More sharing options...
mzlink Posted December 30, 2015 Author Share Posted December 30, 2015 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 Quote Link to comment Share on other sites More sharing options...
Einlander Posted December 31, 2015 Share Posted December 31, 2015 Are you in Linux? Quote Link to comment Share on other sites More sharing options...
mzlink Posted January 6, 2016 Author Share Posted January 6, 2016 Windows Quote Link to comment Share on other sites More sharing options...
Josh Posted January 6, 2016 Share Posted January 6, 2016 How does it not show up correctly when viewed in the preview tool? (I assume you mean the Model Editor.) Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
mzlink Posted January 10, 2016 Author Share Posted January 10, 2016 Adding a material does not make a difference. Scaling is at 100% but it doesn't show up anyyway, Quote Link to comment Share on other sites More sharing options...
macklebee Posted January 10, 2016 Share Posted January 10, 2016 At this point, you need to attach an example fbx model or we will just keep guessing at what the problem could be. Quote 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 More sharing options...
mzlink Posted January 16, 2016 Author Share Posted January 16, 2016 http://puu.sh/myeIZ/774d1382c3.fbx It's a simple model. Quote Link to comment Share on other sites More sharing options...
macklebee Posted January 16, 2016 Share Posted January 16, 2016 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. Quote 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 More sharing options...
mzlink Posted January 16, 2016 Author Share Posted January 16, 2016 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) Quote Link to comment Share on other sites More sharing options...
Einlander Posted January 17, 2016 Share Posted January 17, 2016 Leadwerks uses cm. Quote Link to comment Share on other sites More sharing options...
macklebee Posted January 17, 2016 Share Posted January 17, 2016 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. Quote 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 More sharing options...
mzlink Posted January 17, 2016 Author Share Posted January 17, 2016 Ah. I see Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.