Re: The CGI Thread

Littlebrick wrote:

Unfortunately Blender doesn't support my graphics card for GPU rendering yet (Intel Iris), so I'm stuck with CPU rendering.

I'm just too lazy to learn it, though I feel I ought to give it a proper go.

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: The CGI Thread

Problem solved.

http://www.brixaranimation.com/TownHouse.png

LuxRender is freakin' amazing. It took me a bit to get it all figure out, but in the end, with just 10 samples, I got this in just under 15 minutes. Yes, it was done on my GPU, which is why I now prefer LuxRender over Cycles.

Last edited by Littlebrick (January 16, 2015 (10:29pm))

"[It] was the theme song for the movie 2010 first contact." ~ A YouTuber on Also Sprach Zarathustra
CGI LEGO! Updated occasionally...

Re: The CGI Thread

Are you using bevel on those bricks? I've noticed it gives specular highlights a weird pillow effect when you have smooth shading on, like the bricks are all slightly curved. I'm still looking for an efficient way to fix it without adding edge loops and subsurf to everything.

Re: The CGI Thread

Yeah, I am using a bevel modifier. Since it's so much simpler to use it, I'd be all for finding a way of getting around that pillow effect. I imagine it could be done by tweaking some settings around, perhaps adding a few more lights.

Last edited by Littlebrick (January 16, 2015 (11:57pm))

"[It] was the theme song for the movie 2010 first contact." ~ A YouTuber on Also Sprach Zarathustra
CGI LEGO! Updated occasionally...

Re: The CGI Thread

To get rid of the pillow effect, add a simple Edge Split modifier to the bricks and change the degree radius on the modifier so that the round parts are smooth, but the flat parts are flat. It works for me every time.

Nice render! Obviously, a few more samples are probably necessary for a more realistic look, but it's great that it renders on your GPU. 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: The CGI Thread

Another renders:

http://rainlight.net/images/Immortal_Schlucht.png
http://rainlight.net/images/Immortal_Alchemist_Office.png

PunBB bbcode test

Re: The CGI Thread

I have some walls that I've made in Leocad, which I want to render in high quality so that I can touch them up in photoshop and use them as backdrops. Would anyone either be able to render these for me, or tell me the best way of doing it myself please?

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: The CGI Thread

Built them in LeoCad... If you would have built them in LDD you could use the LDD to POVRay converter, which is super simple, however not too realistic, though, it may suit your purpose for backgrounds.

If you want to, you can save your LeoCad models as .LDR, use the LDR Blender importer to import them into Blender, change the materials on each color brick to match that of my custom LEGO shaders (which are slightly more accurate and realistic than PoVRay, though, they may need some tweaking) light the scene, and render them in Cycles. Though, Cycles is slow on computers without NVidia graphics cards.

Alternatively, pay me a hundred bucks and I'll do it for you. mini/tongue

Nah, just kidding about the hundred bucks. I may be able to do them if you later this week or early next week, if you cannot figure out how to render them yourself.

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: The CGI Thread

No need to get a plugin for blender. Just export them as an .obj and then import it into Blender.

Re: The CGI Thread

Speck Studio wrote:

No need to get a plugin for blender. Just export them as an .obj and then import it into Blender.

That is a method, but importing the raw LDR files does have it's benefits. Though, for everyday use, yes, I'd say export as an OBJ. I forgot all about it. mini/tongue

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: The CGI Thread

And what are these benefits?

Re: The CGI Thread

Well, in older versions (2.49), imported LDR files treated same pieces as Linked Duplicates, thereby linking their mesh with each other.  A change to one piece applied to all duplicate pieces (triangulate faces, subdivide, etc.).  But that benefit seems to not have carried over to 2.70.

I usually, after building in MLCAD or LeoCAD, reduce the model to 1 of each needed piece, import to Blender, and rebuild the model using Duplicate Linked.  Of course, I compiled a Blender file of all the pieces I've used in the past so I don't have to start from scratch on tweaking pieces I've used before.

https://i.imgur.com/4b9NnS3.pnghttps://i.imgur.com/GUIl0qk.pnghttps://i.imgur.com/ox64uld.pnghttps://i.imgur.com/v3iyhE5.png

Re: The CGI Thread

Well, sometimes there are benefits, so you don't have many files everywhere. Also, it sometimes preserves mesh details and cleans up the bricks better than OBJ. However, you are correct, that it does not have brick linking. So, yes, I suppose the OBJ would be better in this case.

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: The CGI Thread

Lechnology wrote:

Well, in older versions (2.49), imported LDR files treated same pieces as Linked Duplicates, thereby linking their mesh with each other.

I really wish this was still a thing. I've figured out how to go about linking them back up in a rather efficient and easy way, but if it was done automatically it would save a bunch of time.

"[It] was the theme song for the movie 2010 first contact." ~ A YouTuber on Also Sprach Zarathustra
CGI LEGO! Updated occasionally...

Re: The CGI Thread

Would anyone be open to the idea of collaborating on a library of high-quality CGI LEGO bricks and resources? After trying to do this myself for a while, I'm realizing that there's a lot of work that needs to be put into it, and I think the sheer hugeness of the task is what's stopping me from getting started. This would be available for everyone to use.

I'd be able to contribute my fully rigged CGI-minifigure (rigid or flexible; and there is room for additional features), and I could also work on high quality bricks. Other things that could be contributed could be materials and textures. I'd like to see more photo-realism as well, so if some people were to offer GPU rendering services that could be part of the library as well.

"[It] was the theme song for the movie 2010 first contact." ~ A YouTuber on Also Sprach Zarathustra
CGI LEGO! Updated occasionally...

Re: The CGI Thread

Sounds interesting, Littlebrick. A library of high quality bricks would be nice. I usually use LDraw, but have to modify every brick myself, so having one already done would be great. We could use LDraw as a base, and just make them high quality and improve the meshes. That would help with consistency and size.

I am able to contribute my LEGO stud model, which is beveled, and has the LEGO logo already on it (I'll get the link soon).

Question about modeling the "high quality" bricks: are you going to bevel them, or subsurf them? I prefer Bevel (a 1 level bevel), that way they are not too terribly high poly in case you are only using them for backgrounds. A subsurf works well over a bevel too.

I may also be able to help with materials and rendering since I have a powerful GPU. (I have made some photorealistic renders in the past, so I have some leftover textures and materials that help with realism). I have little time to model lately, but I can contribute a very accurate minifigure modeled (rigged both ways, similar to yours). I also have a LEGO Friends mini-doll modeled.

I can pull up links in a little bit, I have to sort out my folder and upload the files. mini/wink

Last edited by rioforce (February 21, 2015 (01:19pm))

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: The CGI Thread

For bevel, I think we could try both and see which looks best. The bricks would be based off of the LDraw parts; all we'd really have to do is clean them up. I've got lots of other ideas for things that would be nice to have, but for now I'd like to focus on just having clean, accurate parts, and perhaps a few specific Blender tutorials (which I have a few ideas for already).

"[It] was the theme song for the movie 2010 first contact." ~ A YouTuber on Also Sprach Zarathustra
CGI LEGO! Updated occasionally...

Re: The CGI Thread

I threw together this brick today. It's beveled (I tried fake bevels through normal maps, but they didn't work out, so I'm going to do some more experimentation). It's also subsurfed to make the bevels looks smoother. I used a Normal Map for the LEGO logo on the studs.

http://bricksafe.com/files/rioforce/CGI/2x4-2.png
(please pardon the artifacts around the studs, I don't know what happened)

To enhance the workflow of a 3D LEGO brick library, we could use a common stud model with a built-in UV map and normal map. We should also use a common bevel amount for the outsides and tubes of bricks to keep consistency. I think I used 0.03 with 2 segments for the outsides of the brick (I forgot about the stud, but will be redoing this, and writing down the values next time). I do think that the bevel on the edges of the brick are a bit too strong though, it looks too smooth compared to a real LEGO brick.

I am also going to be taking a lot of reference images of bricks so we can make sure we get things as accurate as possible, detail-wise.

Also, I have a question for the moderators:

Why is this topic in Post-Production? This is barely a post production topic, I'd say it was more of a Production topic, but since it concerns Software, maybe it should be in Software & Hardware?

Last edited by rioforce (February 22, 2015 (02:55pm))

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: The CGI Thread

Film Production generally is accepted to take place when the cameras are rolling and scenes are being filmed. Post-production involves sound design, editing and digital effects. Since CGI generally is used for digital effects, it seems best that this thread would be in Post-Production.

Re: The CGI Thread

Nathan Wells wrote:

Film Production generally is accepted to take place when the cameras are rolling and scenes are being filmed. Post-production involves sound design, editing and digital effects. Since CGI generally is used for digital effects, it seems best that this thread would be in Post-Production.

So... does this mean full CGI films like Madagascar and Toy Story aren't films? Not to be rude, that's just what it sounds like you're saying...

It would be nice to have a full directory of LEGO models, available for anybody to use for free. I would contribute to the project, if there is any way I can.

uh oh!