Just looking to see if it's possible on exporting to .obj to have option to export as just wireframe as seen when selecting that option from the editor.
Hello, wireframe is a view/mode available in any 3D software. Which software do you use?
I understand that part. I was actually looking at the export for obj which adds a material. When I use that in a three js based website I would like to see the wireframe not the solid object. When I import the obj its a solid white color even if I don't load a material. I thought about looking at the code for the OBJ loader but not sure I want to go that far just yet. Creating a new website for blogging about legos and SharePoint and various other hobbies. https://legodan.com is still being built and this is part of it.
Okay, I got it to work by using the getObjectByName function and applying a new MeshBasicMaterial to the object setting wireframe option to true. Works a treat!
LEGO, the LEGO logo, the Minifigure, and the Brick and Knob configurations are trademarks of the LEGO Group of Companies. ©2024 The LEGO Group.
Mecabricks, the Mecabricks logo and all content not covered by The LEGO Group's copyright is, unless otherwise stated, ©2011-2024 Mecabricks.