Topic: Lets talk Lego CG (Help wanted)

Ok, so in my head i have a image of creating CG similar to that of the lego movie, obviously their pros and i'm not. i don't have what they have, I use Leocad to get brick models then i can learn to edit them to make them smooth the way they should be. Whats sad is when i render it, its just bla and nasty looking. I use blender to render. Anyways back to my picture in my head, I want to be able to do slow motion actions scenes of certain things and in order to do that i need to do CG. Ive seen several people create some decent looking CG. the main thing i want to know, is how to add some texture to it/material to it to make it looks more so realistic. Also any tips on it with using blender or the program for the models to rendering to anything! i need help all around with this!

Re: Lets talk Lego CG (Help wanted)

Ive seen some bigger youtubers have CG in their videos and they do it to a decent extent and i wish to do it like they do mini/smile

Re: Lets talk Lego CG (Help wanted)

I think I may be able to offer some advice. I'm experienced in using LDraw and Blender. I understand that you are using LeoCad to import the models into Blender. That's fine, but there's a better way. I reccomed using the LDR Importer (which imports LDraw LDR and DAT files straight into Blender and cleans them up for rendering).

https://github.com/le717/LDR-Importer/releases

That will help you with getting the models into Blender. As for photorealism, that is harder. And it takes longer. I have made a tutorial (which is slightly outdated, but not too much) on how to achieve the photorealistic look (or at least come very close) with LEGO.

https://www.youtube.com/watch?v=6Rn037UGPwI

The rendering could take very long, though, because it uses Blender's Cycles engine which is a progressive rendering  (blah, blah, enough with the technical mini/tongue ). It means that it runs better on NVidia GPUs and is sometimes very slow to render.

I hope this helps you. mini/smile

YouTubeWebsite
https://bricksafe.com/files/rioforce/internet-images/RioforceBiMSig.png
"Whatever you do, do all to the glory of God." - 1 Corinthians 10:31b

Re: Lets talk Lego CG (Help wanted)

Bump mapping for the texture is what the pros do. It's not that difficult to add bump maps to models, although I use Maya, not blender or LDraw for CGI, so I can't tell you how it's done in that program. It shouldn't be too difficult to find some tutorials. http://en.wikipedia.org/wiki/Bump_mapping

You should also allow for reflective properties on your models as well. Reflections probably more so than bump mapping tells the computer properties of particular objects in a 3D space, and how they interact with light. Getting your lights and shadows correct are difficult, but there's plenty of tutorials online as well for that. The thing to understand, is that just creating a 3D object, and putting a light on it isn't like putting a light on a real world object. The computer needs to know how the light interacts with the model to make it life like. The better you are at lighting, the better it will look.

Play around with some of the lighting and rendering settings in your 3D program to see how it works, but just remember, that as you work more so like the pros do it, it takes more rendering. The cheapest option for a one off project would be to send it off to a render farm that already has the services set up. If you plan to do a lot, then you should look into making your own render farm, although it does use a lot in electricity costs.

Anyway, you can only do so much with rendering an object, but don't play down the importance of lights. They're not prefabricated to be perfect.

http://www.cxpulp.com/attachment.php?attachmentid=874&d=1279678499
The new KB Videos coming soon.

Re: Lets talk Lego CG (Help wanted)

rioforce wrote:

I think I may be able to offer some advice. I'm experienced in using LDraw and Blender. I understand that you are using LeoCad to import the models into Blender. That's fine, but there's a better way. I reccomed using the LDR Importer (which imports LDraw LDR and DAT files straight into Blender and cleans them up for rendering).

https://github.com/le717/LDR-Importer/releases

That will help you with getting the models into Blender. As for photorealism, that is harder. And it takes longer. I have made a tutorial (which is slightly outdated, but not too much) on how to achieve the photorealistic look (or at least come very close) with LEGO.

https://www.youtube.com/watch?v=6Rn037UGPwI

The rendering could take very long, though, because it uses Blender's Cycles engine which is a progressive rendering  (blah, blah, enough with the technical mini/tongue ). It means that it runs better on NVidia GPUs and is sometimes very slow to render.

I hope this helps you. mini/smile

Thanks! so is Ldraw a software or what? do i use leocad but then the importer to actually put the models into blender? slightly confused mini/confused Could you send me pictures of your realistic cgi or maybe even a video you made? and how long did it take for your pic/videos to render? how many samples ect?

Re: Lets talk Lego CG (Help wanted)

The importer script is just imports pre-built LDraw models into Blender. Like if you built a model in LeoCad or LDD, and saved it as .LDR, it will import that. (To install it into Blender, go to User Preferences>Addons>click Install from File at the bottom, and select the .ZIP that you downloaded from the site I linked.)

Some of my work includes Good Ol' Johnny, Friendless, and another render which will part of an upcoming Brickfilm. I rendered those with somewhere from 200 to 1000 samples, but those are image renders. For animations, I recommend about 200 and it's hard to tell how much time it will take to render (depending on your computer and scene), but maybe 5 minutes per frame?

YouTubeWebsite
https://bricksafe.com/files/rioforce/internet-images/RioforceBiMSig.png
"Whatever you do, do all to the glory of God." - 1 Corinthians 10:31b

Re: Lets talk Lego CG (Help wanted)

I used to understand earlier, far less capable versions of blender, but does anyone know a good reference, preferably a printed guide or tutorial for current editions that can be downloaded?

https://vimeo.com/channels/holdingourown      http://holding-our-own.tumblr.com

"None practice tolerance less frequently than those who most loudly preach it."

Re: Lets talk Lego CG (Help wanted)

I've never watched this, but here's a basics of Blender course. It's a video course, and it's free. Haha, when I started with Blender, they didn't have all these tutorials out yet, and I had to learn it manually and with very old tutorials. mini/tongue

http://cgcookie.com/blender/cgc-courses … beginners/

You can also check out http://www.blenderguru.com/ for other great tutorials.

YouTubeWebsite
https://bricksafe.com/files/rioforce/internet-images/RioforceBiMSig.png
"Whatever you do, do all to the glory of God." - 1 Corinthians 10:31b

Re: Lets talk Lego CG (Help wanted)

Thanks a lot guys i have a slightly better understanding, but i really would like to know how you did those textures?

Re: Lets talk Lego CG (Help wanted)

I made the LEGO minifig textures myself after scanning them in from real minifigs ad tracing over them in a program called Inkscape. For the LEGO bump map, I scanned the rough edge of a 2x3 LEGO Slope brick and made it loop. For the seams and such, I just drew lines over my UV map in photoshop. If you'd like to download the textures I made for the minifigs, or the bump map, I have them online.

https://github.com/rioforce/LEGO-Textures

They are licensed under the Creative Commons Attribution 3.0 Unported License (which means that you just have to give credit to me if you use them mini/wink ).

YouTubeWebsite
https://bricksafe.com/files/rioforce/internet-images/RioforceBiMSig.png
"Whatever you do, do all to the glory of God." - 1 Corinthians 10:31b

Re: Lets talk Lego CG (Help wanted)

rioforce wrote:

I made the LEGO minifig textures myself after scanning them in from real minifigs ad tracing over them in a program called Inkscape. For the LEGO bump map, I scanned the rough edge of a 2x3 LEGO Slope brick and made it loop. For the seams and such, I just drew lines over my UV map in photoshop. If you'd like to download the textures I made for the minifigs, or the bump map, I have them online.

https://github.com/rioforce/LEGO-Textures

They are licensed under the Creative Commons Attribution 3.0 Unported License (which means that you just have to give credit to me if you use them mini/wink ).

Thanks a lot man! This helps, but honestly I don't fully understand haha. You should do a tutorial starting from the beginning! What did you use to scan the lego?

Re: Lets talk Lego CG (Help wanted)

I use a simple photoscanner and I scan it at a high DPI (600 at max, but usually I just use 300). Then I trace them over in Inkscape, and that's it. If you're referring to the 3D models, I model them from scratch. I'm planning a tutorial some day on how to make minifigures in Blender, but I haven't finished recording it yet.

YouTubeWebsite
https://bricksafe.com/files/rioforce/internet-images/RioforceBiMSig.png
"Whatever you do, do all to the glory of God." - 1 Corinthians 10:31b

Re: Lets talk Lego CG (Help wanted)

How would I go about actually applying the texture? I know that's really complicated but you didn't go into detail with the tutorial, would you be able to point me to one that would explain it?

Re: Lets talk Lego CG (Help wanted)

Maybe you should check out this tutorial after you watch the Basics of Blender tutorial I linked earlier in the topic.

http://cgcookie.com/blender/2012/02/29/ … n-blender/

YouTubeWebsite
https://bricksafe.com/files/rioforce/internet-images/RioforceBiMSig.png
"Whatever you do, do all to the glory of God." - 1 Corinthians 10:31b

Re: Lets talk Lego CG (Help wanted)

Is it possible to translate an LDD file (i think it's a .lxf) into something Blender can open?

http://www.brickshelf.com/gallery/ZoefDeHaas/stuff/sig1.png
"Nothing goes down 'less I'm involved. No nuggets. No onion rings. No nothin'. A cheeseburger gets sold in the park, I want in! You got fat while we starved on the streets...now it's my turn!" -Harley Morenstein

Re: Lets talk Lego CG (Help wanted)

jampot wrote:

Is it possible to translate an LDD file (i think it's a .lxf) into something Blender can open?

It can also export other file types (fan made lego building program file types)

Re: Lets talk Lego CG (Help wanted)

Yes, you can build with LDD or LeoCad, MLCad, or another LDraw builder, export to .LDR, and you can import the models using the LDR Importer.

https://github.com/le717/LDR-Importer/releases

There is a way to get original bricks from LDD, but it's pretty much illegal (because LDD's license doesn't allow using the original 3D models in other things), so I won't share it here. I recommend using LDraw.

YouTubeWebsite
https://bricksafe.com/files/rioforce/internet-images/RioforceBiMSig.png
"Whatever you do, do all to the glory of God." - 1 Corinthians 10:31b

Re: Lets talk Lego CG (Help wanted)

Or what I do, LDD > LeoCad > 3D file

http://oi60.tinypic.com/2ibm441.jpg