jamesster Posted September 11, 2020 Posted September 11, 2020 LEGO and Unity recently co-developed a "microgame"; a tutorial on how to use the Unity editor: It's a pretty cool little intro to gamedev, but it also makes use of some official Unity packages made by LEGO that can import and optimize models. It currently supports .LDR and .LXF/LXFML (but only version 5.6 or higher, which is newer than what the last version of LDD exports, so currently you have to import LDD models into Studio, then re-export as LDR). It has quite a lot of optimization features; too many to screenshot and explain here. You can see some of the menus for them in the pics above. There's even some basic support for snapping pieces directly together in Unity. The brick library contains both "legacy" and "new" parts. These seem to effectively be two brick libraries - the legacy parts are what LDD was using (plus parts it didn't have), with studs and tubes fused to the rest of each brick model. The new parts seem slightly cleaned up, and have studs as separate meshes. The tool is also capable of dynamically adding bevels to all bricks, depending on the LOD setting. Either way, there's a ton of new parts in here, even Duplo elements: I'm not really sure what the rules and limitations are when it comes to using these packages - I think LEGO mostly anticipates them being used along with the Microgame, though you can easily add them to a new project and use them on their own. The included terms of service seem more focused on the Microgame aspect. It's still in beta, so hopefully there's more to come? Quote
roland Posted September 11, 2020 Posted September 11, 2020 This could be the groundwork for a new editor, I would prefer that instead of studio replacing LDD. Quote
SylvainLS Posted September 11, 2020 Posted September 11, 2020 Well, the LDD version number is another proof (if that was needed) LDD is still in use and updated at LEGO but that’s the “pro” version. If they never updated LDD it’s because it’s difficult to dumb down the pro version and keep both versions up to date. (And the last LDD updates weren’t up to the “only the best is good enough” motto, even without talking about 4.3.12.) I’d also note that Studio is based on Unity and that LEGO/BL is looking for an experienced Unity developer (LEGO/BL because advertised on BL, Studio’s forum, and posted on LEGO.com). So I wouldn’t expect LEGO to give us a LDD-NG anytime soon. (But I like surprises.) Quote
M2m Posted November 7, 2020 Posted November 7, 2020 (edited) This unity release is indeed interesting. A couple of observations. New parts geometry come as FBX files. The Autodesk FBX file format is a popular 3D data interchange format utilized between 3D editors and game engines (like Maya, 3DS Max, and engines like Unity, Unreal Engine) There are 3084 new parts within the release I downloaded Parts come with CollisionBox and Connectivity Info in an xml file format which is quite similar to the one used by LDD in the Primitive folder I include an example of Duplo part 87316 xml file (Duplo Sheep from the picture above). So maybe we can get Duplo parts (including connections) into LDD Duplo parts seem to use connection type 36 (for their big studs). <?xml version="1.0" encoding="UTF-8" standalone="no" ?> <LEGOPrimitive versionMajor="2" versionMinor="0"> <Annotations> <Annotation designname="SHEEP, ASSEMBLED"/> <Annotation maingroupid="59"/> <Annotation maturitytag="Final"/> <Annotation modifiedDate="2019-11-22 13:10:00.000"/> <Annotation platformid="1"/> <Annotation revision="C"/> <Annotation superdesignid="11087316"/> </Annotations> <Collision> <Box sX="0.24493" sY="0.492992" sZ="0.291046" angle="5.63595" ax="0.822019" ay="-0.099613" az="-0.56068" tx="0.185727" ty="1.19394" tz="-1.48624"/> <Box sX="0.414112" sY="0.363022" sZ="0.414112" angle="0" ax="0" ay="1" az="0" tx="0" ty="0.383079" tz="0.022162"/> <Box sX="0.250179" sY="0.655048" sZ="0.250179" angle="17.87277" ax="1" ay="0" az="0" tx="3.31767" ty="1.1589" tz="-1.45066"/> <Box sX="0.920186" sY="0.49" sZ="0.49" angle="0" ax="0" ay="1" az="0" tx="-1.01271" ty="3.17653" tz="-0.769618"/> <Box sX="0.38982" sY="0.419253" sZ="0.294924" angle="29.67536" ax="0" ay="0" az="1" tx="-2.02529" ty="3.0319" tz="-0.675739"/> <Box sX="0.107982" sY="0.283579" sZ="0.527189" angle="15.96558" ax="-0.945804" ay="-0.321919" az="0.042698" tx="-1.25726" ty="3.95851" tz="0.27026"/> <Box sX="1.88275" sY="0.958764" sZ="0.58956" angle="0" ax="0" ay="1" az="0" tx="1.75959" ty="2.68464" tz="-0.814329"/> <Box sX="0.250179" sY="0.655048" sZ="0.250179" angle="21.2886" ax="-1" ay="0" az="0" tx="3.31767" ty="1.14561" tz="-0.191154"/> <Box sX="0.425685" sY="0.379218" sZ="0.425685" angle="0" ax="0" ay="1" az="0" tx="0" ty="0.399275" tz="-1.6093"/> <Box sX="1.3785" sY="0.213624" sZ="0.58956" angle="3.11413" ax="0" ay="0" az="-1" tx="1.74933" ty="1.52729" tz="-0.814329"/> <Box sX="0.107982" sY="0.283579" sZ="0.527" angle="23.53706" ax="0.265172" ay="0.57496" az="0.774019" tx="-1.50903" ty="3.84348" tz="-1.98599"/> <Box sX="0.24493" sY="0.492992" sZ="0.291046" angle="8.39376" ax="-0.923935" ay="-0.025877" az="-0.381673" tx="0.17828" ty="1.24443" tz="-0.131524"/> <Box sX="0.912232" sY="0.283579" sZ="0.440813" angle="0" ax="0" ay="1" az="0" tx="-0.597613" ty="3.85608" tz="-0.856895"/> <Box sX="0.428235" sY="0.374142" sZ="0.428235" angle="0" ax="0" ay="1" az="0" tx="3.18036" ty="0.394199" tz="0.022162"/> <Box sX="0.444395" sY="0.373783" sZ="0.444395" angle="0" ax="0" ay="1" az="0" tx="3.18036" ty="0.39384" tz="-1.6093"/> </Collision> <Connectivity> <Custom2DField type="22" width="4" height="4" angle="0" ax="0" ay="1" az="0" tx="-0.8" ty="0" tz="-0.8"> 29:0,29:0,29:0,29:0,29:0, 29:0,29:0,29:0,29:0,29:0, 29:0,29:0,32:4:1,29:0,29:0, 29:0,29:0,29:0,29:0,29:0, 29:0,29:0,29:0,29:0,29:0 </Custom2DField> <Custom2DField type="22" width="4" height="4" angle="0" ax="0" ay="1" az="0" tx="2.4" ty="0" tz="-0.8"> 29:0,29:0,29:0,29:0,29:0, 29:0,29:0,29:0,29:0,29:0, 29:0,29:0,32:4:1,29:0,29:0, 29:0,29:0,29:0,29:0,29:0, 29:0,29:0,29:0,29:0,29:0 </Custom2DField> <Custom2DField type="22" width="4" height="4" angle="0" ax="0" ay="1" az="0" tx="-0.8" ty="0" tz="-2.4"> 29:0,29:0,29:0,29:0,29:0, 29:0,29:0,29:0,29:0,29:0, 29:0,29:0,32:4:1,29:0,29:0, 29:0,29:0,29:0,29:0,29:0, 29:0,29:0,29:0,29:0,29:0 </Custom2DField> <Custom2DField type="22" width="4" height="4" angle="0" ax="0" ay="1" az="0" tx="2.4" ty="0" tz="-2.4"> 29:0,29:0,29:0,29:0,29:0, 29:0,29:0,29:0,29:0,29:0, 29:0,29:0,32:4:1,29:0,29:0, 29:0,29:0,29:0,29:0,29:0, 29:0,29:0,29:0,29:0,29:0 </Custom2DField> <Custom2DField type="23" width="4" height="4" angle="0" ax="0" ay="1" az="0" tx="1.65204" ty="4.16" tz="-1.6"> 29:0,29:0,29:0,29:0,29:0, 29:0,29:0,29:0,29:0,29:0, 29:0,29:0,36:4:33,29:0,29:0, 29:0,29:0,29:0,29:0,29:0, 29:0,29:0,29:0,29:0,29:0 </Custom2DField> </Connectivity> <PhysicsAttributes inertiaTensor="2.9137004,0,0,0,4.8618183,0,0,0,5.6452577" centerOfMass="0.668248,2.35493,-0.861872" mass="1" frictionType="0"/> <Color faces="0"/> <Bounding> <AABB minX="-2.70667" minY="0" minZ="-2.64944" maxX="4.04316" maxY="4.70987" maxZ="0.925694"/> </Bounding> <GeometryBounding> <AABB minX="-2.70667" minY="0" minZ="-2.64944" maxX="4.04316" maxY="4.70987" maxZ="0.925694"/> </GeometryBounding> <GeometryFittingCloud> -2.71;2.98;-0.601, -2.7;3.14;-0.612, -2.7;2.81;-0.584, -2.7;3.05;-0.774, -2.68;2.72;-0.582, -2.68;3.19;-0.791, -2.68;2.81;-0.844, -2.68;3.01;-0.49, -2.67;3.15;-0.497, -2.65;2.72;-0.853, -2.65;2.82;-0.433, -2.64;3.14;-0.904, -2.63;3.16;-0.431, -2.63;2.73;-0.422, -2.62;3.32;-0.637, -2.61;3.3;-0.831, -2.61;2.63;-0.848, -2.6;3.11;-0.386, -2.59;2.52;-0.589, -2.58;3.33;-0.504, -2.56;2.87;-1.04, -2.55;2.53;-0.871, -2.53;2.89;-0.275, -2.53;2.54;-0.414, -2.53;2.78;-1.06, -2.49;2.8;-0.251, -2.28;3.69;-0.715, -2.25;3.73;-0.558, -1.93;4.02;-0.606, -1.79;4.03;-2.48, -1.78;4.13;-2.25, -1.77;3.89;-2.56, -1.75;4.07;-2.52, -1.72;4.2;-2.28, -1.72;3.94;-2.63, -1.65;3.78;-2.64, -1.62;4.1;-2.54, -1.6;3.96;-2.63, -1.54;3.83;-2.65, -1.4;4.38;0.58, -1.39;4.27;0.767, -1.39;4.12;0.87, -1.38;3.95;0.887, -1.34;4.3;0.795, -1.33;4.14;0.914, -1.32;4.42;0.588, -1.31;3.96;0.926, -1.25;4.3;0.81, -1.24;4.14;0.904, -1.13;4.59;-0.859, -1.09;4.58;-1.06, -1.04;4.62;-0.889, -0.822;0;-1.55, -0.822;0;-0.0452, -0.784;0;-0.166, -0.763;0;-1.68, -0.762;0;0.0802, -0.645;0;0.193, -0.469;0;-2.09, -0.446;0;-2.24, -0.445;0;0.641, -0.366;0;-2.35, -0.351;0;0.749, -0.21;0;-2.4, -0.201;0;0.802, 0.0514;0;-1.07, 0.175;0;0.69, 2.33;2.65;-2.29, 2.45;2.68;0.679, 2.45;4.61;-0.8;0.48, 2.53;2.72;-2.25, 2.64;3.5;-2.01, 2.66;3.43;0.415, 2.74;3.54;-1.96, 2.83;2.84;-2.16, 2.95;2.87;-2.13, 2.98;0.348;0.78, 2.99;0.344;-2.38, 2.99;0;-2.4, 2.99;0;0.802, 3.04;0;-2.25, 3.06;0;-0.955, 3.06;2.26;0.507, 3.09;2.9;0.403, 3.11;2.28;-2.13, 3.14;2.97;0.375, 3.14;0;-2.38, 3.15;2.43;-2.09, 3.15;0;0.78, 3.17;0.34;0.739, 3.17;0.348;-2.34, 3.24;3.51;0.123, 3.25;3.37;0.195, 3.29;3.42;-1.83, 3.31;3.27;0.187, 3.31;0;-2.32, 3.32;0;0.722, 3.34;0.322;0.68, 3.34;2.79;-1.93, 3.35;0.325;-2.28, 3.4;3.41;-1.78, 3.41;3.44;0.0583, 3.41;3.35;0.0994, 3.42;0;-2.11, 3.46;3.54;-1.63, 3.48;0;0.637, 3.48;0;-2.24, 3.48;0.312;0.603, 3.49;2.77;-1.82, 3.5;3.39;-1.71, 3.51;0;-1.18, 3.51;0.3;-2.19, 3.57;3.82;-0.421, 3.57;3.7;-0.315, 3.58;0;-1.07, 3.58;3.25;-1.62, 3.58;2.78;0.0603, 3.59;0.404;0.502, 3.59;3.33;-1.58, 3.61;2.84;0.0267, 3.62;0;0.523, 3.62;0.149;0.521, 3.62;0;-0.493, 3.62;0.149;-2.12, 3.62;0;-2.12, 3.64;3.7;-0.436, 3.65;0.0116;0.497, 3.65;0.0115;-2.09, 3.66;0.612;-1.99, 3.67;0.0258;-0.443, 3.68;3.51;-0.324, 3.69;0.0496;0.443, 3.69;0.0498;-2.04, 3.7;0.146;0.422, 3.7;0.0975;0.426, 3.7;0.146;-2.02, 3.71;0.101;-2.02, 3.72;3.52;-0.398, 3.74;3.58;-1.26, 3.74;3.44;-0.362, 3.74;3.38;-0.344, 3.76;3.67;-1.11, 3.79;3.63;-0.88, 3.79;0.459;-1.83, 3.79;0.46;0.231, 3.8;3.48;-1.24, 3.81;3.62;-1.08, 3.84;3.56;-0.891, 3.84;3.57;-1.04, 3.84;3.44;-1.17, 3.85;0.46;0.0987, 3.85;0.46;-1.7, 3.87;3.45;-1.08, 3.87;0.46;-1.58, 3.87;0.46;-0.0193, 3.93;3.28;-0.625, 3.94;3.21;-0.566, 3.94;3.11;-0.524, 3.94;3.31;-0.723, 3.98;3.23;-0.935, 3.98;2.99;-0.563, 3.99;3.13;-1.01, 4.01;3.2;-0.742, 4.01;2.97;-0.997, 4.04;3.11;-0.751, 4.04;3;-0.758 </GeometryFittingCloud> </LEGOPrimitive> The tool also comes with an ldraw.xml file which maybe familiar to some here.. snippet of the first couple of lines: <LDrawMapping versionMajor="1" versionMinor="7" comment="LDD 4.3.11 Brick ver 2670"> <!-- 2020-02-02 twentytnewt See http://www.eurobricks.com/forum/index.php?showtopic=137193 Download latest version: http://slswww.free.fr/ldraw.xml Please report errors to slswww@free.fr - includes v4.40 beta ldr-ldd_conver@gallaghersart.com http://www.eurobricks.com/forum/index.php?showtopic=66548 - with additions/corrections from shutterfreak http://www.eurobricks.com/forum/index.php?showtopic=120821 - with additions/corrections from djm - with additions/corrections from Mattia Zamboni (2015-09-30) http://forums.ldraw.org/thread-17387-post-17387.html#pid17387 - with additions/corrections from TotiGonzales - with additions from Jarema - and a lot of corrections and updates since then This file can also be used with the command line tool lxf2ldr and the HTML5/JS “application” lxf2ldr.html: https://gitlab.com/sylvainls/lxf2ldr https://gitlab.com/sylvainls/lxf2ldr.html --> ..... Last but not least the info box you get when trying to import a LDD file: Meanwhile I don't think 5.6 is referring to LDD 5.6 but rather to LXFML file format version 5.6. Currently LDD 4.3.11 uses <LXFML versionMajor="5" versionMinor="0"> so afaik 5.0. Still changing this to <LXFML versionMajor="5" versionMinor="6"> I wasn't able to import. Finally also 2 interesting PDFs are included Release Document.pdf Game Export Document.pdf Edited December 27, 2020 by M2m Quote
SylvainLS Posted November 7, 2020 Posted November 7, 2020 6 hours ago, M2m said: The tool also comes with an ldraw.xml file which maybe familiar to some here.. snippet of the first couple of lines: Eh! You’re right, it’s familiar. I’m sure I’ve seen it somewhere. But where? (They could have used a more recent version though….) More seriously, the LXFML format have changed through the years. I don’t have any knowledge/example prior 2014 but there’s a schema (here and on lugnet I think?) that actually doesn’t describe the format used by LDD 4. 5.6 must be the format “in-house LDD” uses now. Quote
M2m Posted November 8, 2020 Posted November 8, 2020 (edited) I used the FBX files and the accompanied xml file to convert the Duplo 2x2 brick (3437) into LDD. https://github.com/sttng/LDD/tree/master/NewParts You can directly import the fbx file into blender and have to adjust the scaling to 1.00 (it was 0.0010 or something defaulted with my install) and export as .OBJ file. Then you can use polymakers brickstudio to convert this into .g file. I edited the xml file with notepad to match LDD format. Caveat: Duplo parts connect to each other, but Lego and Duplo parts don't connect :( The FBX parts have studs and tubes as separate meshes as well as the areas which can be textured or could be differently colored (Called DecorationSurfaces and ColorChangeSurfaces) all in one file. I am pretty confident LEGO internally has an LDD version which uses FBX files directly instead of .g files for the geometry or possibly a Maya Plugin. Also Lego has an internal main brick library (VME tool), which has bricks in highpoly-geometry aimed for Box rendering and advertisement materials and lowpoly-geometry aimed for games, app, etc. Technically FBX files support multiple LODs (Level of Detail), so I guess these files could have High Quality and Low Quality versions within the same file. @polymaker would be awesome if brickstudio could read fbx files directly. Edited December 27, 2020 by M2m Quote
Stephan Posted November 8, 2020 Posted November 8, 2020 Do Duplo bricks have connectivity to standard bricks in the Unity software? Maybe the connection type was altered for regular bricks? Quote
M2m Posted November 8, 2020 Posted November 8, 2020 1 hour ago, Stephan said: Do Duplo bricks have connectivity to standard bricks in the Unity software? Maybe the connection type was altered for regular bricks? I have to check that. In fact i found the unity software quite confusing and couldn't even find the bricks inside unity. But i checked the xml files for brick 3001 (2x4) and the connections look exactly the same. 3001 - new Unity version: <?xml version="1.0" encoding="UTF-8" standalone="no" ?> <LEGOPrimitive versionMajor="2" versionMinor="0"> <Annotations> <Annotation aliases="3001;6210;54534;72841"/> <Annotation designname="BRICK 2X4"/> <Annotation maingroupid="1"/> <Annotation maturitytag="Final"/> <Annotation modifiedDate="2018-08-30 13:53:00.000"/> <Annotation platformid="2"/> <Annotation revision="D"/> <Annotation superdesignid="11003001"/> </Annotations> <Collision> <Box sX="1.59" sY="0.79" sZ="0.47" angle="180" ax="0" ay="0.707107" az="-0.707107" tx="1.2" ty="0.48" tz="-0.4"/> </Collision> <Connectivity> <Custom2DField type="22" width="8" height="4" angle="0" ax="0" ay="1" az="0" tx="-0.4" ty="0" tz="-1.2"> 22:1:1,22:2:1,22:2:1,22:2:1,22:2:1,22:2:1,22:2:1,22:2:1,22:1:1, 22:2:1,15:4:1,23:4:1,15:4:1,23:4:1,15:4:1,23:4:1,15:4:1,22:2:1, 22:2:1,23:4:1,7:4:2,23:4:1,7:4:2,23:4:1,7:4:2,23:4:1,22:2:1, 22:2:1,15:4:1,23:4:1,15:4:1,23:4:1,15:4:1,23:4:1,15:4:1,22:2:1, 22:1:1,22:2:1,22:2:1,22:2:1,22:2:1,22:2:1,22:2:1,22:2:1,22:1:1 </Custom2DField> <Custom2DField type="23" width="8" height="4" angle="0" ax="0" ay="1" az="0" tx="-0.4" ty="0.96" tz="-1.2"> 18:1:1,23:4:1,18:2:1,23:4:1,18:2:1,23:4:1,18:2:1,23:4:1,18:1:1, 23:4:1,0:4:1,23:4:1,0:4:1,23:4:1,0:4:1,23:4:1,0:4:1,23:4:1, 18:2:1,23:4:1,18:4:1,23:4:1,18:4:1,23:4:1,18:4:1,23:4:1,18:2:1, 23:4:1,0:4:1,23:4:1,0:4:1,23:4:1,0:4:1,23:4:1,0:4:1,23:4:1, 18:1:1,23:4:1,18:2:1,23:4:1,18:2:1,23:4:1,18:2:1,23:4:1,18:1:1 </Custom2DField> </Connectivity> <PhysicsAttributes inertiaTensor="0.89742185,0,0,0,2.9365268,0,0,0,2.5241027" centerOfMass="1.18265,0.611081,-0.4" mass="2.19" frictionType="0"/> <Color faces="0"/> <Decoration faces="VME_11003001_LEG_Front_1"/> <Bounding> <AABB minX="-0.4" minY="0" minZ="-1.2" maxX="2.8" maxY="1.13801" maxZ="0.4"/> </Bounding> <GeometryBounding> <AABB minX="-0.4" minY="0" minZ="-1.2" maxX="2.8" maxY="1.13801" maxZ="0.4"/> </GeometryBounding> <GeometryFittingCloud> -0.4;0;-1.2, -0.4;0;0.4, -0.4;0.96;-1.2, -0.4;0.96;0.4, 0;1.14;-0.8;0.245, 0;1.14;0;0.245, 2.4;1.14;-0.8;0.245, 2.4;1.14;0;0.245, 2.8;0;-1.2, 2.8;0;0.4, 2.8;0.96;-1.2, 2.8;0.96;0.4 </GeometryFittingCloud> </LEGOPrimitive> 3001 - LDD 4.3.11 Version: <?xml version="1.0" encoding="UTF-8" standalone="no" ?> <LEGOPrimitive versionMajor="1" versionMinor="0"> <Annotations> <Annotation aliases="3001;6210;54534;72841"/> <Annotation designname="BRICK 2X4"/> <Annotation maingroupid="201"/> <Annotation maingroupname="BRICKS"/> <Annotation platformid="200"/> <Annotation platformname="SYSTEM"/> <Annotation version="4"/> </Annotations> <Collision> <Box sX="1.59" sY="0.79" sZ="0.47" angle="180" ax="0" ay="0.707107" az="-0.707107" tx="1.2" ty="0.48" tz="-0.4"/> </Collision> <Connectivity> <Custom2DField type="22" width="8" height="4" angle="0" ax="0" ay="1" az="0" tx="-0.4" ty="0" tz="-1.2"> 22:1:1,22:2:1,22:2:1,22:2:1,22:2:1,22:2:1,22:2:1,22:2:1,22:1:1, 22:2:1,15:4:1,23:4:1,15:4:1,23:4:1,15:4:1,23:4:1,15:4:1,22:2:1, 22:2:1,23:4:1,7:4:2,23:4:1,7:4:2,23:4:1,7:4:2,23:4:1,22:2:1, 22:2:1,15:4:1,23:4:1,15:4:1,23:4:1,15:4:1,23:4:1,15:4:1,22:2:1, 22:1:1,22:2:1,22:2:1,22:2:1,22:2:1,22:2:1,22:2:1,22:2:1,22:1:1 </Custom2DField> <Custom2DField type="23" width="8" height="4" angle="0" ax="0" ay="1" az="0" tx="-0.4" ty="0.96" tz="-1.2"> 18:1:1,23:4:1,18:2:1,23:4:1,18:2:1,23:4:1,18:2:1,23:4:1,18:1:1, 23:4:1,0:4:1,23:4:1,0:4:1,23:4:1,0:4:1,23:4:1,0:4:1,23:4:1, 18:2:1,23:4:1,18:4:1,23:4:1,18:4:1,23:4:1,18:4:1,23:4:1,18:2:1, 23:4:1,0:4:1,23:4:1,0:4:1,23:4:1,0:4:1,23:4:1,0:4:1,23:4:1, 18:1:1,23:4:1,18:2:1,23:4:1,18:2:1,23:4:1,18:2:1,23:4:1,18:1:1 </Custom2DField> </Connectivity> <PhysicsAttributes inertiaTensor="0.897422,0,0,0,2.93653,0,0,0,2.5241" centerOfMass="1.18265,0.611081,-0.4" mass="2.19000005722" frictionType="0"/> <Bounding> <AABB minX="-0.4" minY="0" minZ="-1.2" maxX="2.8" maxY="1.138" maxZ="0.4"/> </Bounding> <GeometryBounding> <AABB minX="-0.4" minY="0" minZ="-1.2" maxX="2.8" maxY="1.138" maxZ="0.4"/> </GeometryBounding> </LEGOPrimitive> Quote
Stephan Posted November 8, 2020 Posted November 8, 2020 What could be done, just thinking out of the box: add the Duplo brick twice, but one version has regular brick connection data on its top. Since Duplo bricks are mainly used for quick fillers. Quote
polymaker Posted November 10, 2020 Posted November 10, 2020 @M2m I had the idea that the library I was using did not support FBX but I checked again and it looks like it is supported. I don't have any FBX files at hand to try but when importing choose "All files (*.*)" and then select an FBX file to see if it works. Quote
M2m Posted November 11, 2020 Posted November 11, 2020 On 11/10/2020 at 4:30 AM, polymaker said: @M2m I had the idea that the library I was using did not support FBX but I checked again and it looks like it is supported. I don't have any FBX files at hand to try but when importing choose "All files (*.*)" and then select an FBX file to see if it works. Yeah this indeed works ! So it should be rather easy to convert some of these fbx bricks into LDD .g files with your tool ! Quote
M2m Posted November 12, 2020 Posted November 12, 2020 (edited) OK I have identified the following parts which are not in LDD so far but for which there is geometries and xml data in the 'unity pack' - a whopping 1054 parts: 2162.fbx 2291.fbx 2292.fbx 2301.fbx 2302.fbx 2878.fbx 3011.fbx 3664.fbx 4066.fbx 4199.fbx 4543.fbx 4663.fbx 4886.fbx 4890.fbx 4891.fbx 4911.fbx 4912.fbx 6292.fbx 6377.fbx 6378.fbx 6391.fbx 6393.fbx 6446.fbx 6448.fbx 6472.fbx 6474.fbx 6497.fbx 6510.fbx 6521.fbx 6522.fbx 10093.fbx 10110.fbx 10531.fbx 10563.fbx 10566.fbx 10885.fbx 11030.fbx 11145.fbx 11146.fbx 11147.fbx 11169.fbx 11170.fbx 11181.fbx 11197.fbx 11198.fbx 11202.fbx 11236.fbx 11237.fbx 11244.fbx 11248.fbx 11317.fbx 11344.fbx 11371.fbx 11377.fbx 11385.fbx 11391.fbx 11650.fbx 12602.fbx 12789.fbx 13247.fbx 13338.fbx 13339.fbx 13358.fbx 13359.fbx 13366.fbx 13530.fbx 13531.fbx 13534.fbx 13535.fbx 13607.fbx 14094.fbx 14210.fbx 14222.fbx 14294.fbx 14533.fbx 14721.fbx 14770.fbx 15211.fbx 15301.fbx 15314.fbx 15327.fbx 15352.fbx 15449.fbx 15450.fbx 15452.fbx 15453.fbx 15454.fbx 15515.fbx 15516.fbx 15575.fbx 15576.fbx 15577.fbx 15580.fbx 15582.fbx 15612.fbx 15680.fbx 15743.fbx 15793.fbx 15880.fbx 15994.fbx 16016.fbx 16017.fbx 16087.fbx 16195.fbx 16196.fbx 16206.fbx 16265.fbx 16375.fbx 16406.fbx 16598.fbx 16685.fbx 16686.fbx 16709.fbx 16835.fbx 16846.fbx 17303.fbx 17370.fbx 17392.fbx 17557.fbx 17562.fbx 17684.fbx 17865.fbx 18016.fbx 18018.fbx 18340.fbx 18343.fbx 18515.fbx 18523.fbx 18626.fbx 18650.fbx 18652.fbx 18681.fbx 18715.fbx 18720.fbx 18726.fbx 18783.fbx 18806.fbx 18813.fbx 18816.fbx 18817.fbx 18818.fbx 18843.fbx 18849.fbx 18852.fbx 18857.fbx 18866.fbx 18917.fbx 18918.fbx 18921.fbx 18937.fbx 18984.fbx 19000.fbx 19001.fbx 19070.fbx 19084.fbx 19104.fbx 19443.fbx 19451.fbx 19456.fbx 19663.fbx 19804.fbx 19849.fbx 19993.fbx 20189.fbx 20193.fbx 20302.fbx 20311.fbx 20398.fbx 20678.fbx 20695.fbx 20785.fbx 20820.fbx 20841.fbx 20926.fbx 20932.fbx 21545.fbx 21619.fbx 21636.fbx 21830.fbx 21995.fbx 21996.fbx 21998.fbx 22878.fbx 22881.fbx 23146.fbx 23739.fbx 23740.fbx 23807.fbx 23927.fbx 23946.fbx 23961.fbx 23975.fbx 23991.fbx 24108.fbx 24128.fbx 24129.fbx 24179.fbx 24180.fbx 24181.fbx 24183.fbx 24264.fbx 24417.fbx 24434.fbx 24463.fbx 24806.fbx 24807.fbx 24876.fbx 24955.fbx 25026.fbx 25128.fbx 25450.fbx 25452.fbx 25548.fbx 25550.fbx 25551.fbx 25750.fbx 25824.fbx 25866.fbx 25981.fbx 26076.fbx 26090.fbx 26169.fbx 26170.fbx 26249.fbx 26281.fbx 26438.fbx 26451.fbx 26832.fbx 26835.fbx 26836.fbx 27055.fbx 27063.fbx 27157.fbx 27192.fbx 27205.fbx 27352.fbx 27355.fbx 27370.fbx 27382.fbx 27383.fbx 27395.fbx 27396.fbx 27965.fbx 28166.fbx 28291.fbx 28350.fbx 28376.fbx 28467.fbx 28560.fbx 28578.fbx 28592.fbx 28593.fbx 28599.fbx 28649.fbx 28650.fbx 28704.fbx 28732.fbx 29033.fbx 29129.fbx 29139.fbx 29141.fbx 29205.fbx 29219.fbx 29303.fbx 29306.fbx 29307.fbx 29335.fbx 29429.fbx 29575.fbx 30926.fbx 30935.fbx 30936.fbx 30938.fbx 30994.fbx 31023.fbx 31042.fbx 31059.fbx 31070.fbx 31110.fbx 31169.fbx 31191.fbx 31193.fbx 31195.fbx 31202.fbx 31333.fbx 31452.fbx 31453.fbx 31465.fbx 31496.fbx 31498.fbx 31509.fbx 31510.fbx 31511.fbx 31534.fbx 31570.fbx 31576.fbx 31577.fbx 31582.fbx 31584.fbx 31589.fbx 31592.fbx 31593.fbx 31733.fbx 31815.fbx 31895.fbx 31925.fbx 32643.fbx 32791.fbx 32807.fbx 32841.fbx 32977.fbx 33145.fbx 33440.fbx 33449.fbx 33459.fbx 33860.fbx 33861.fbx 34050.fbx 34130.fbx 34277.fbx 34337.fbx 34575.fbx 34578.fbx 34579.fbx 34684.fbx 34685.fbx 34714.fbx 34722.fbx 34729.fbx 34743.fbx 34744.fbx 34746.fbx 34747.fbx 34754.fbx 34755.fbx 34756.fbx 34758.fbx 34821.fbx 34828.fbx 35033.fbx 35035.fbx 35037.fbx 35039.fbx 35042.fbx 35043.fbx 35051.fbx 35066.fbx 35074.fbx 35106.fbx 35114.fbx 35131.fbx 35132.fbx 35136.fbx 35141.fbx 35155.fbx 35157.fbx 35160.fbx 35161.fbx 35162.fbx 35164.fbx 35165.fbx 35166.fbx 35167.fbx 35168.fbx 35169.fbx 35173.fbx 35180.fbx 35182.fbx 35183.fbx 35193.fbx 35209.fbx 35243.fbx 35244.fbx 35245.fbx 35248.fbx 35250.fbx 35251.fbx 35254.fbx 35257.fbx 35260.fbx 35262.fbx 35264.fbx 35267.fbx 35270.fbx 35274.fbx 35275.fbx 35276.fbx 35277.fbx 35278.fbx 35279.fbx 35282.fbx 35284.fbx 35286.fbx 35287.fbx 35289.fbx 35290.fbx 35293.fbx 35294.fbx 35297.fbx 35298.fbx 35300.fbx 35306.fbx 35309.fbx 35312.fbx 35315.fbx 35318.fbx 35319.fbx 35321.fbx 35323.fbx 35324.fbx 35327.fbx 35328.fbx 35332.fbx 35334.fbx 35335.fbx 35337.fbx 35339.fbx 35344.fbx 35345.fbx 35347.fbx 35371.fbx 35374.fbx 35375.fbx 35378.fbx 35380.fbx 35382.fbx 35383.fbx 35386.fbx 35388.fbx 35389.fbx 35391.fbx 35393.fbx 35395.fbx 35396.fbx 35398.fbx 35401.fbx 35402.fbx 35403.fbx 35404.fbx 35456.fbx 35457.fbx 35458.fbx 35463.fbx 35468.fbx 35473.fbx 35494.fbx 35529.fbx 35536.fbx 35543.fbx 35544.fbx 35545.fbx 35556.fbx 35562.fbx 35565.fbx 35570.fbx 35575.fbx 35578.fbx 35579.fbx 35582.fbx 35586.fbx 35598.fbx 35602.fbx 35608.fbx 35613.fbx 35617.fbx 35620.fbx 35621.fbx 35626.fbx 35630.fbx 35633.fbx 35641.fbx 35678.fbx 35679.fbx 35680.fbx 35692.fbx 35694.fbx 35699.fbx 35701.fbx 35709.fbx 35731.fbx 35743.fbx 35744.fbx 35754.fbx 35760.fbx 35779.fbx 35781.fbx 35784.fbx 35809.fbx 35827.fbx 35837.fbx 35855.fbx 35858.fbx 35902.fbx 36009.fbx 36017.fbx 36019.fbx 36060.fbx 36105.fbx 36291.fbx 36293.fbx 36452.fbx 36540.fbx 36654.fbx 36662.fbx 36672.fbx 36680.fbx 36687.fbx 36762.fbx 36806.fbx 37093.fbx 37178.fbx 37318.fbx 37340.fbx 37407.fbx 37408.fbx 37409.fbx 37441.fbx 37461.fbx 37495.fbx 37496.fbx 37530.fbx 37576.fbx 37679.fbx 37680.fbx 37696.fbx 37771.fbx 37779.fbx 37783.fbx 37811.fbx 37813.fbx 37823.fbx 37829.fbx 37837.fbx 37840.fbx 37846.fbx 37993.fbx 37997.fbx 38029.fbx 38142.fbx 38144.fbx 38147.fbx 38152.fbx 38317.fbx 38336.fbx 38339.fbx 38340.fbx 38480.fbx 38547.fbx 38548.fbx 38551.fbx 38552.fbx 38554.fbx 38648.fbx 38709.fbx 38781.fbx 38800.fbx 38801.fbx 38831.fbx 38842.fbx 38846.fbx 38864.fbx 38867.fbx 38994.fbx 39064.fbx 39124.fbx 39145.fbx 39146.fbx 39199.fbx 39215.fbx 39259.fbx 39260.fbx 39266.fbx 39294.fbx 39313.fbx 39315.fbx 39369.fbx 39376.fbx 39379.fbx 39382.fbx 39566.fbx 39613.fbx 39742.fbx 39796.fbx 39881.fbx 39921.fbx 39924.fbx 39926.fbx 39927.fbx 39991.fbx 39996.fbx 40066.fbx 40144.fbx 40145.fbx 40285.fbx 40527.fbx 40554.fbx 40666.fbx 40910.fbx 40919.fbx 40922.fbx 40923.fbx 40925.fbx 40930.fbx 40931.fbx 40933.fbx 40934.fbx 40936.fbx 40982.fbx 41125.fbx 41140.fbx 41153.fbx 41158.fbx 41159.fbx 41162.fbx 41163.fbx 41179.fbx 41201.fbx 41202.fbx 41324.fbx 41325.fbx 41326.fbx 41327.fbx 41328.fbx 41421.fbx 41612.fbx 41637.fbx 41805.fbx 41813.fbx 41814.fbx 41815.fbx 41816.fbx 41817.fbx 41818.fbx 41835.fbx 41852.fbx 41945.fbx 41969.fbx 41978.fbx 41989.fbx 42025.fbx 42029.fbx 42030.fbx 42205.fbx 42234.fbx 42413.fbx 42697.fbx 42722.fbx 42736.fbx 42799.fbx 42859.fbx 42863.fbx 43087.fbx 43439.fbx 43693.fbx 43859.fbx 43860.fbx 43864.fbx 43872.fbx 43979.fbx 44524.fbx 44665.fbx 44666.fbx 45141.fbx 45367.fbx 45607.fbx 46103.fbx 46289.fbx 46291.fbx 46342.fbx 46360.fbx 46364.fbx 46366.fbx 46374.fbx 46375.fbx 46376.fbx 46392.fbx 46472.fbx 46475.fbx 46491.fbx 46493.fbx 46494.fbx 46534.fbx 46840.fbx 46841.fbx 46891.fbx 47203.fbx 47204.fbx 47205.fbx 47206.fbx 47207.fbx 47392.fbx 47393.fbx 47394.fbx 48018.fbx 48544.fbx 49283.fbx 49295.fbx 49362.fbx 49364.fbx 49418.fbx 49492.fbx 49511.fbx 49546.fbx 49555.fbx 49576.fbx 49577.fbx 49578.fbx 49579.fbx 49585.fbx 49588.fbx 49600.fbx 49612.fbx 49630.fbx 49642.fbx 49649.fbx 49653.fbx 49654.fbx 49656.fbx 49663.fbx 49699.fbx 49700.fbx 49731.fbx 49949.fbx 49972.fbx 50015.fbx 50407.fbx 50408.fbx 50663.fbx 50665.fbx 51066.fbx 51172.fbx 51262.fbx 51274.fbx 51450.fbx 51465.fbx 51554.fbx 51557.fbx 51558.fbx 51703.fbx 51708.fbx 51943.fbx 51944.fbx 52084.fbx 52394.fbx 52395.fbx 52401.fbx 52494.fbx 52672.fbx 52684.fbx 52686.fbx 52754.fbx 52756.fbx 52929.fbx 53054.fbx 53063.fbx 53075.fbx 53083.fbx 53092.fbx 53117.fbx 53126.fbx 53461.fbx 53540.fbx 53798.fbx 53800.fbx 53801.fbx 53802.fbx 53821.fbx 53834.fbx 53973.fbx 54043.fbx 54092.fbx 54568.fbx 54598.fbx 54599.fbx 54645.fbx 54732.fbx 55532.fbx 55889.fbx 56178.fbx 56298.fbx 57417.fbx 57753.fbx 57763.fbx 57798.fbx 57878.fbx 58498.fbx 58589.fbx 59595.fbx 60111.fbx 60373.fbx 60417.fbx 60436.fbx 60604.fbx 60670.fbx 61310.fbx 61408.fbx 61649.fbx 62367.fbx 62840.fbx 63521.fbx 63871.fbx 64000.fbx 64147.fbx 64149.fbx 64151.fbx 64431.fbx 64454.fbx 64455.fbx 64461.fbx 64462.fbx 64561.fbx 64639.fbx 64675.fbx 64829.fbx 65004.fbx 65014.fbx 65043.fbx 65066.fbx 65068.fbx 65072.fbx 65073.fbx 65080.fbx 65098.fbx 65100.fbx 65101.fbx 65103.fbx 65104.fbx 65105.fbx 65108.fbx 65109.fbx 65110.fbx 65111.fbx 65112.fbx 65113.fbx 65114.fbx 65115.fbx 65116.fbx 65161.fbx 65180.fbx 65183.fbx 65184.fbx 65186.fbx 65188.fbx 65191.fbx 65195.fbx 65196.fbx 65200.fbx 65202.fbx 65203.fbx 65209.fbx 65213.fbx 65217.fbx 65224.fbx 65226.fbx 65266.fbx 65272.fbx 65273.fbx 65353.fbx 65358.fbx 65388.fbx 65417.fbx 65418.fbx 65425.fbx 65428.fbx 65432.fbx 65474.fbx 65489.fbx 65509.fbx 65521.fbx 65571.fbx 65578.fbx 65579.fbx 65580.fbx 65590.fbx 65630.fbx 65700.fbx 65702.fbx 65725.fbx 65727.fbx 65730.fbx 65738.fbx 65746.fbx 65753.fbx 65768.fbx 65942.fbx 66152.fbx 66155.fbx 66199.fbx 66820.fbx 66821.fbx 66880.fbx 67044.fbx 67063.fbx 67338.fbx 67737.fbx 67872.fbx 68778.fbx 68817.fbx 69234.fbx 70772.fbx 71953.fbx 75723.fbx 75903.fbx 76317.fbx 76338.fbx 76371.fbx 76609.fbx 76610.fbx 84748.fbx 84751.fbx 84752.fbx 84753.fbx 85347.fbx 85562.fbx 85564.fbx 85566.fbx 87084.fbx 87310.fbx 87316.fbx 87963.fbx 87964.fbx 87968.fbx 88069.fbx 88204.fbx 88476.fbx 88482.fbx 89200.fbx 89398.fbx 89406.fbx 89438.fbx 89751.fbx 89873.fbx 89879.fbx 90058.fbx 90265.fbx 90482.fbx 91873.fbx 91999.fbx 92002.fbx 92005.fbx 92009.fbx 92011.fbx 92014.fbx 92094.fbx 92198.fbx 92240.fbx 92241.fbx 92242.fbx 92243.fbx 92244.fbx 92245.fbx 92246.fbx 92247.fbx 92248.fbx 92249.fbx 92252.fbx 92453.fbx 92587.fbx 92710.fbx 92711.fbx 92916.fbx 93085.fbx 93086.fbx 93087.fbx 93286.fbx 93353.fbx 94887.fbx 94901.fbx 95156.fbx 95462.fbx 95463.fbx 95484.fbx 98061.fbx 98062.fbx 98073.fbx 98164.fbx 98170.fbx 98171.fbx 98172.fbx 98173.fbx 98200.fbx 98211.fbx 98218.fbx 98219.fbx 98222.fbx 98223.fbx 98224.fbx 98225.fbx 98233.fbx 98238.fbx 98252.fbx 98456.fbx 98464.fbx 98544.fbx 98783.fbx 99133.fbx 99143.fbx 99145.fbx 99146.fbx 99147.fbx 99417.fbx 99543.fbx 99848.fbx 1000202.fbx 1000211.fbx 1000222.fbx 1000230.fbx 1000290.fbx 1002613.fbx 1003846.fbx 1003986.fbx 1004302.fbx 1004372.fbx 1004533.fbx 1004915.fbx 1004917.fbx 1004928.fbx 1005015.fbx 1005056.fbx 1005127.fbx 1005179.fbx 1005754.fbx 1005760.fbx 1006030.fbx 1006085.fbx 1006110.fbx 1006317.fbx 1006319.fbx 1006320.fbx 1006334.fbx 1006355.fbx 1006361.fbx 1006362.fbx 1006363.fbx 1007526.fbx 1009784.fbx 1010355.fbx 1010399.fbx 1010404.fbx 1010455.fbx 1010462.fbx 1010468.fbx 1010470.fbx 1010471.fbx 1010475.fbx 1010480.fbx 1010481.fbx 1010482.fbx 1010491.fbx 1010556.fbx 1010674.fbx 1010679.fbx 1011318.fbx 1011322.fbx Edited November 12, 2020 by M2m Quote
Philo Posted November 12, 2020 Posted November 12, 2020 @M2m...and where are these files located? I installed Unity and started LEGO microgame, but I can't seem to find anything... Quote
M2m Posted November 12, 2020 Posted November 12, 2020 (edited) I'm on macOS and there are 3 zip files in the folder: /Users/m2m/MyFirstGame/Library/PackageCache/com.unity.lego.modelimporter@3.0.2/Data CommonParts.zip LegacyParts.zip NewParts.zip NewParts.zip contains all the new stuff. Not sure where this is on Windows but I'd search for these zip files. Edited November 12, 2020 by M2m Quote
Philo Posted November 12, 2020 Posted November 12, 2020 Thanks! On Windows, it's in the same location: C:\Users\Philo (etc...) Quote
SNIPE Posted November 13, 2020 Posted November 13, 2020 Hi, I installed unity and launched the lego minigame but I cant find the lego bricks to start building. Also that gear is not a real lego part to my knowledge right? Quote
Stephan Posted November 13, 2020 Posted November 13, 2020 1 hour ago, SNIPE said: Also that gear is not a real lego part to my knowledge right? I think the gear is from a Dacta set of LEGOeducation set. Quote
SNIPE Posted November 13, 2020 Posted November 13, 2020 Does anybody know how to get the parts working in ldcad on windows? Quote
Philo Posted November 13, 2020 Posted November 13, 2020 Tried that yesterday, but the pipe is long (and information is lost in the process, resulting LDraw parts that have no edge lines!): Find the fbx in the right folder (or export part with minigame) open the fbx in Blender Set scale part to 25 (when you open fbx, scale is 0.01) Export to STL ascii mode if you can (for some reason, my Blender crashes on me when I do that!). Otherwise export to obj and use anoter tool to convert obj to stl ascii, eg. meshmixer convert stl to ldraw using stl2dat. Clearly we need a proper .fbx to .dat converter!!! Quote
SNIPE Posted November 13, 2020 Posted November 13, 2020 I still can't find the parts in order to build in unity I just see small builds and textures, sounds, etc. Does anyone know how tot find them? Also I looked at the dacta duplo gears and those are different. this one looks like a 40 tooth gear but bigger and with exra pin holes. Quote
PicnicBasketSam Posted November 13, 2020 Posted November 13, 2020 (edited) 9 hours ago, SNIPE said: Also that gear is not a real lego part to my knowledge right? That gear does not exist as a real LEGO part but it was made digitally for The LEGO Movie, it forms the rear wheel of this bike in the film proper. I can't link the exact post but about 2/3 of the way down page 2 of this thread there's a cutaway view of how it's used: Edited November 13, 2020 by PicnicBasketSam Quote
SylvainLS Posted November 13, 2020 Posted November 13, 2020 Direct link (The link to a comment is the “Posted blah” text on top.) Quote
SNIPE Posted November 20, 2020 Posted November 20, 2020 Looking forward for these parts to be in ldraw/ldcad. Quote
M2m Posted November 21, 2020 Posted November 21, 2020 22 hours ago, SNIPE said: Looking forward for these parts to be in ldraw/ldcad. Certainly can be done also ! Quote
M2m Posted December 27, 2020 Posted December 27, 2020 (edited) There has been an Update to the LEGO Unity Microgame: LEGO Microgame - Version 1.1.3 ======================================== This is the LEGO Microgame package. Learn to create your own LEGO game with this example project. Changelog --------- ## [1.1.3] - 2020-12-01 ### Changed - Update WebGL Publisher to 4.0.3 ### Fixed - Issue with grey skybox ## [1.1.2] - 2020-11-30 ### Changed - Update LEGO Model Importer Package to 3.0.3 - Update LEGO Materials Package to 2.1.0 - Update WebGL Publisher to 4.0.2 ## [1.1.1] - 2020-10-28 ### Changed - Update LEGO Model Importer Package to 3.0.2 ## [1.1.0] - 2020-10-26 ### Changed - Update LEGO Material Package to 2.0.0 - Update LEGO Model Importer Package to 3.0.1 ## [1.0.2] - 2020-09-24 ### Changed - Update IET package to 1.1.0 ### Fixed - [Tutorial] Fixed: T6 - Step 8 - Multiple 'Touch Triggers' are highlighted in the hierarchy - [Tutorial] Fixed: Tutorials 1,5 can not be completed when run again ## [1.0.1] - 2020-09-14 ### Fixed - Hotfix for walkthrough break in second tutorial ## [1.0.0] - 2020-09-09 ### Added - Beta version of the LEGO Microgame So far I didn't see new parts being added. But the good news is that LEGO seems to maintain this Unity thing (in difference to LDD ) Edited December 27, 2020 by M2m Quote
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.