Skip to content
This repository has been archived by the owner on May 18, 2019. It is now read-only.

LEGO Logo on studs? #32

Open
rioforce opened this issue Nov 26, 2013 · 12 comments
Open

LEGO Logo on studs? #32

rioforce opened this issue Nov 26, 2013 · 12 comments

Comments

@rioforce
Copy link
Collaborator

Is it possible to use the un-official stud with the LEGO logo on it to import? Someone on my blog wanted LEGO studs, but the importer wouldn't support it.

http://www.ldraw.org/cgi-bin/ptdetail.cgi?f=p/logo.dat

http://www.ldraw.org/cgi-bin/ptdetail.cgi?f=p/stud-logo.dat

@Banbury
Copy link
Collaborator

Banbury commented Nov 27, 2013

Shouldn't be too hard. I'll have a look at it.

@ghost ghost assigned Banbury Nov 27, 2013
@Banbury
Copy link
Collaborator

Banbury commented Nov 27, 2013

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.

@MetallianFR68
Copy link

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.

@Banbury
Copy link
Collaborator

Banbury commented Nov 27, 2013

I'm currently trying to put a bump texture on the stud. Everything else would create too many faces.

@MetallianFR68
Copy link

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

@Banbury
Copy link
Collaborator

Banbury commented Nov 27, 2013

Sadly this sounded easier than it actually is. I couldn't find a good way to put a texture on the studs.

@rioforce
Copy link
Collaborator Author

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. :)

@le717 le717 mentioned this issue Dec 4, 2013
@juraj3579
Copy link

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)

@MinnieTheMoocher
Copy link

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.

@rioforce
Copy link
Collaborator Author

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?

@MinnieTheMoocher
Copy link

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.

@le717
Copy link
Owner

le717 commented Feb 29, 2016

Linking #70 here as it contains some info we may be able to use.

le717 referenced this issue in BertVanRaemdonck/LDR-Importer-Custom-Version Feb 29, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

6 participants