Comments (12)
Shouldn't be too hard. I'll have a look at it.
from ldr-importer.
Sorry for that. It is harder than I thought. The 'logo' on stud-logo is no mesh but just simple lines. These lines cannot be rendered in Blender. I'll see if I can find another solution.
from ldr-importer.
Look at this forum :
http://www.eurobricks.com/forum/index.php?showtopic=82225
LDraw2Lws software allows to add the Lego LOGO on the studs
But it's LWO format
I'm no programmer but this could perhaps give an idea on how to achieve that.
I would love to see an option (just an option !) in LDR Importer to add the LOGO on import.
from ldr-importer.
I'm currently trying to put a bump texture on the stud. Everything else would create too many faces.
from ldr-importer.
I agree because I noticed a huge performance drop when importing big models (LEGO MODULAR) while activating the LOGO on the stud using the previously mentioned technique
from ldr-importer.
Sadly this sounded easier than it actually is. I couldn't find a good way to put a texture on the studs.
from ldr-importer.
You'd have to UV map every stud and add a photo. That may be impossible without mesh creation. Too bad we cannot make it where it would only add them on top-studs, but then if you wanted to smash the model, it wouldn't look so good. If you could possibly get it to work (even with mesh) we could give a warning in the tooltip saying it adds extra mesh and it will slow down Blender. LEGO studs are helpful, especially in small models. :)
from ldr-importer.
Hi. This was me I asked about the logo for the studs. I found this workaround with the LDraw2Lws some time ago and wrote this tutorial on eurobricks. As the logos are part of mesh, the performance surely drops, but I think, that the bigger problem is the quite bad topology of the mesh comming from the lwo import. I tried your script and the mesh was much better.
In material library I'm using right now are also materials with the logo as bump map. But you have to assing the material to every brick manually. They also work only with proper scale and world coordinates (it was used for in blender modelled bricks only). I think, it will be pretty hard to get it work with the import script.
So, I'll vote for the logos as part of the mesh as an option within import (if it's possible)
from ldr-importer.
I think this issue can be resolved very easy.
tchang has already prepared a high-res stud logo file for exactly this purpose:
http://jc-tchang.philohome.com/manuel/part_hd.htm#studlogo_tchang
until this is contained in the official LDRAW library (which is about to happen at some time
in the future but not SOON because it's still being discussed), you could
deliver this file together with your importing script,
and if the user chooses the option to replace studs by studs-with-logo,
then you use this file.
from ldr-importer.
Thanks for your input, we may try that. Although, we'd have to keep the stud data in the script itself, because not everyone has download the stud file and put it in their LDraw directory. Any thoughts, other developers?
from ldr-importer.
my suggestion is:
you should deliver the logoed stud file simply together with your import_ldraw.py
and put it somewhere next to it. if a user wants that instead of normal studs, you simply replace every occurrence
of stud.dat by the logoed file.
individual users should not have to download the logoed stud files on their own.
they would come together with your python importer script.
from ldr-importer.
Linking #70 here as it contains some info we may be able to use.
from ldr-importer.
Related Issues (20)
- Install errors on OS X with version 1, 3, 0 HOT 5
- Missing LDraw Search Path on Linux HOT 2
- problem: 'cannot find c:/Ldraw' HOT 3
- ldr-importer does not import all lego blocks HOT 19
- Can't install 1.3.1 HOT 3
- Incorrect Normals / Broken Normals with some random parts/bricks HOT 2
- Unexpected normals when cleanup disabled HOT 1
- Model file contents too short to extract header HOT 7
- 1.3.2 doesn't work - back to 1.2.0 HOT 4
- Using LDR-Importer from python API HOT 2
- "Basic Cleanup" function corrupts LEGO logo in open studs HOT 3
- FBX export is not supporting Cycles nodes HOT 1
- Problem: cannot find Ldraw installation at c:\ HOT 1
- Path's reset of LDraw Parts Library
- Cannot Find LDraw Installation at C:/Ldraw HOT 4
- Doesn't load model
- LDD to LDR, missing pieces, moved pieces HOT 1
- LDD-Importer-Exporter for the future HOT 1
- I can't use this addon
- Traceback call issue HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ldr-importer.