Search the Community
Showing results for tags 'convert'.
Found 4 results
jamesster posted a topic in LEGO Digital Designer and other digital tools3DVIA Printscreen can capture LEGO Digital Designer models and save them as 3DXML files. It was discontinued years ago, but can still be downloaded from the web archives (direct installer link). Not many programs can load 3DXML files, so I made a program to convert them to OBJ. It does some other helpful things too. Download The resulting models are far more optimized for realtime rendering (games, AR, etc) than exports from other LEGO building software, thanks to LDD's hidden stud/tube removal. For example, a small house model that's 50350 tris exported from LeoCAD is only 13548 tris with this method - and with some additional tricks, only 2586 tris. More info here. I've only made this to work with LDD captures, compatibility with captures from other programs is not guaranteed. It will automatically name materials and textures with their official LEGO names/IDs. Setup: 3DVIA Printscreen should be configured so "Capture of textures" is on, and "Group by textures" is off. LDD should have high-quality rendering options disabled. 3DVIA Printscreen must be launched BEFORE LDD. Usage: Save your LDD model in 3DXML to OBJ's "Models" folder. Launch 3DXML to OBJ and enter your LDD model name in the first text box, then click "Move camera". This saves a new LDD model with the camera set in the proper position for 3DXML capturing. Open the new LDD model (it will have CAM_SET in the name) and capture it to a 3DXML file with 3DVIA Printscreen. Make sure it's saved in 3DXML to OBJ's "Models" folder, like the LDD models. Enter the name of your 3DXML file into the second text box in 3DXML to OBJ. I recommend leaving "Weld duplicate vertices" enabled. Choose a new color palette if you'd like, and click "Convert". It sounds more complicated than it is. Here's a model being converted and imported into Unity: Clicking the "Advanced" button will give you a bunch of options related to LEGO Universe-style color variation. However, making use of these features requires modding LDD, which I don't think is allowed to be discussed on Eurobricks, so I won't talk about it here. It's mostly only useful to people who are modding LEGO Universe and need to match its art style, anyway. LDD's hidden geometry removal gives pretty good results on its own, but with some trickery you can get even more mileage out of it: You can tell 3DXML to OBJ to not export bricks in certain colors, which is useful for "dummy bricks" only placed in the model to trip LDD's hidden geometry removal. In 3DXML to OBJ v1.8.0_Data\StreamingAssets, you will find "Color Export Exclusion.txt". Add the desired color IDs here, one per line. Covering studs is obvious enough, but tubes are a bit more finicky. Original LDD model, vs export with the dummy bricks excluded: A simple brick has the entire underside present. These quickly add up to loads of polygons. Placing 1x1 round plates across the surface causes LDD to replace the underside with two triangles. Nice! There's a small handful of other parts with this effect, but 1x1 round plates are the best. In fact, even just one 1x1 round plate can trigger this so long as the rest is still covered. Covering the bottom entirely will cause LDD remove it 100%. Beware: Some bricks, like those rounded 2x2 pieces, will look like they have the same effect as 1x1 round plates, but actually don't... They still leave much of the tubes intact. This trick is how I got that house with 13548 tris down to only 2586 tris - simply by capping off the bottoms of the roof and walls. More tips and tricks! If 3DVIA Printscreen is causing LDD to freeze and/or not launch, see this post. If you have developer mode enabled in LDD, you can press Shift W to toggle wireframe mode. You can also turn rendering of different parts of bricks on and off. LDD's bricks come in four sections, and can be toggled as such: K: Toggles studs Shift K: Toggles bottom and inside of tubes Q: Toggles outside of brick Shift Q: Toggles bottom and inside of brick You can use this to, for example, capture a model without studs, and use that as a lower LOD. Don't have developer mode enabled? Go to the same AppData folder as db.lif and developermode=1 to preferences.ini. You can add your own custom color palettes, just go to 3DXML to OBJ v1.8.0_Data\StreamingAssets\Custom Palettes and use the existing files as examples of how they work. If for some reason you need to, Shift R resets 3DXML to OBJ's saved preferences (resolution, most recent conversion options, etc).
Hi there, I've been working on some code to allow of the conversion of textured 3D models into coloured ldr files (with brick optimisation - so it creates the ldr model with 10 different types of brick). I've put my python code and instructions on how to use it on GitHub, you can get all the details from my blog...https://cultofthebrick.blogspot.com/2019...ithub.htmlHope you like it
Hi! I'm not a coder but I'm very familiar with the Unreal Engine 4's visual scripting system which I used to create a tool that will help you to convert Rebrickable part lists to LDD user palettes, This is how it looks right now: Features: One-click converting of Rebrickable CSV files to LDD user palettes Features coming soon: Converting decorations (prints) correctly Converting rarely used colors correctly to colors available in LDD Merging mold variations to bricks available in LDD Support for old colors Limitations/Disadvantages: Since it's running on a video game engine, it's quite heavy in terms of file size (102 MB) and requires a modern PC All bricks are placed at 0 0 0 so if you try to open the palette file, LDD will remove all but one brick. Every part of a multi-part brick like power function components will have everything colored in the main color. DOWNLOAD Decide yourself if the relatively large file size is worth the time you may save in comparison to LDD manager's palette process (which is still a great tool!). Right now it only uses Rebrickable IDs for the LDD IDs but that is going to change when I get through each file and check it for mold variations and decorations. The colors IDs have been translated manually which is why I need feedback regarding the colors. Sometimes It wasn't easy to decide which color in LDD is which color on Rebrickable. Is it worth continuing? Let me know what you think!
Hi all, I've finally bought a 7897 Passenger Train, which I want to run alongside my PF setup. I haven't received it yet, but I'm interested if it's possible to route the power from the included: "white train chassis 6x30 with IR Receivers integrated battery (6xAA)" (see below pic from LEGO/toysperiod). through to a PF IR receiver, then to either the included motor or a PF train motor (preferably without a (permanent) physical modification). From what little I know about IR, the unit may have to be receiving an "ON" IR signal from the remote by 'line of sight', to work....so I guess my question is: Is there a logical/natural/clear/obvious/sensible way to bypass this? Thanks, LLL