r/computergraphics • • Apr 03 '14

WIP - Critique please

Post image
90 Upvotes

73 comments sorted by

6

u/sassagequest Apr 03 '14 edited Apr 03 '14

Hi folks,

Looking for some critique on this sausage, mashed potatoes, corn, and green beans! I'm trying to get it to look as realistic as possible and am getting googly eyes from staring at it. I feel like it's almost there but that something might be awry. Any advice? Thanks in advance.

(This has been doubled in size in photoshop, I didn't want to wait for a 6"x4" 300 ppi render. Rendered with 800 samples in cycles and it took about an hour and 20 minutes if anyone was wondering.)

2

u/ArrowheadVenom Apr 03 '14

What kind of hardware?

2

u/sassagequest Apr 03 '14

i7 2760qm 2.4ghz. Four physical cores and four that are hyper threaded.

It was set to run at auto threading but I was dicking around in other stuff while it was running. I could probably optimize the scene itself and simplify some of the shaders but I am lazy and wary of losing detail.

2

u/ArrowheadVenom Apr 03 '14

An hour and a half ain't bad for the realism you're getting.

1

u/agenthex Apr 03 '14

The specular reflection on the asparagus looks slightly too bright. Maybe a slight yellow/olive tint and a touch of blur. DoF might do the trick, too.

Also, more gravy!

2

u/sassagequest Apr 04 '14

Doh!! They're supposed to be green beans. They do look like asparagus though! They look almost silver. Someone else recommended a spec map and I'm going to slap one on. I'm going to try and pool more gravy around the base but it's really hard to maintain the transparency around thin parts. This is what the shader was based on and here was a link to the beer-lambert law on wiki that the video was based on.

1

u/autowikibot Apr 04 '14

Beer–Lambert law:


In optics, the Beer–Lambert law, also known as Beer's law, the Lambert–Beer law, or the Beer–Lambert–Bouguer law (named after August Beer, Johann Heinrich Lambert, and Pierre Bouguer) relates the [absorption](http://en.wikipedia.org/wiki/Absorption_(electromagnetic_radiation)) of light to the properties of the material through which the light is traveling.


Interesting: Absorption (electromagnetic ^radiation) | Johann Heinrich ^Lambert | ^Absorbance | August ^Beer

Parent commenter can toggle ^NSFW or ^delete. Will also delete on comment score of -1 or less. | FAQs | ^Mods | Magic ^Words

6

u/[deleted] Apr 03 '14

i would eat it

4

u/redkat85 Apr 04 '14

I see a few people have already commented about the dark shadow of occlusion causing black rings in your corn kernels and elsewhere, in a way that feels off. You could try and re-tool the SSS or GI solution, but rather than wrestle with the computationally expensive stuff, you might also get mileage out of a simple warm yellow fill light with shadows off, isolated to only light the food geometry. Should help wash out some of that superblack occlusion you're getting.

1

u/sassagequest Apr 05 '14 edited Apr 05 '14

Oh man, I agree now that you say it. Damn!!!! DAMN YOU!!! :P

Thanks a lot for this tip. I feel though that if I were to do this I'd have to start to fudge other stuff. It's my own fault for not modeling the kernels better. You're totally right though. This brings on a huge level of "fuck...".

Doing this would mean I'd have to turn off the lights that light it in the first place. I think it's just the geometry that causes any occlusion. Check out some pics.

-Damn your observation redkat. Damn you!!!!!!!!!!! Do you have any advice that won't foobar this thing? You said this and it's bugging the crap out of me now. You're totally right but it's too far gone to do this, or is it? If I light it like you say it won't remove the shadows that are caused by the light that's lighting the entire scene, I don't know how to get around that and it seems like it brings in artificiality that isn't in the scene to begin with. It's lit by a background and a camera flash. The problem truly comes from plopping kernels into a particle system and not growing them out so that they're so flush with each other that it makes perfect corn geometry.

1

u/redkat85 Apr 07 '14

What software are you using? I know Maya's Light Linking editor makes adjusting the contribution of different lighting sources easier than people might think.

That said, another solution might be to add a small ambient glow of an appropriate color to the corn material. You could map it on with a baked AO pass to control its appearance correctly.

Are you doing separate beauty, occlusion, and GI passes to composite later? I highly recommend multi-layer rendering for control over situations like this.

1

u/dmstudio Apr 07 '14

thats a good call, really simple fix too

9

u/ArrowheadVenom Apr 03 '14

Hmm, I think there's something off about this photo. It's taken in such a way that it almost has the subtlest computer-generated feel to it, though I can't quite put my finger on why.

Hey and why is it posted on /r/computergraphics?

2

u/sassagequest Apr 03 '14 edited Apr 03 '14

Har har! :P

Do you know what is off? It's driving me nuts. This is an earlier version without any DOF

http://i.imgur.com/FaJHdek.jpg

It shows some of the detail that's missing but it looks like it's a print from a 70s ad or something.

Also, I am aware that the gravy looks like runny snot with floaty things in it without DOF.

3

u/ArrowheadVenom Apr 03 '14

I think one thing that may not necessarily improve the realism, but will make it look nicer, is to give it brighter light. If you look at photos of food, they mostly use very bright lighting.

Yeah, I guess I'm not experienced enough to be able to say what exactly gives it away. It's certainly above 97% realistic or so to my eyes. I do know that the last few percentages are extremely hard to tackle.

2

u/sassagequest Apr 03 '14

The lighting was giving me grief, food pics are really magical looking. There's so much subtle detail and contrast. It blows my mind! Thanks for the input, I think you're right that it should be lighter. Thanks!

2

u/typtyphus Apr 03 '14

maybe you should look at it through a photographers eye.

These shot work well with a 120mm - 200mm lens.

1

u/sassagequest Apr 03 '14

Good call! Quick question for you, I'm not very familiar with photography. I set the camera to a 120 mm focal length as opposed to 35 mm and it seems to have made it almost orthographic. When you shoot with these lenses I'd imagine there is a zoom but in the software I'm using, blender, I seem only to be able to move the camera away from the subject to fit everything into the shot when I set it to 120mm and it really befuddles the composition. Do you know anything about this? Does that seem strange?

3

u/okwg Apr 04 '14

When you shoot with these lenses I'd imagine there is a zoom but in the software I'm using, blender, I seem only to be able to move the camera away from the subject to fit everything into the shot

Optical zoom and focal length are actually the same thing. "Zoom lenses" have a focal length range you can change between (eg, 50mm-85mm).

A photographer "zooming in" (or out) is just increasing (or decreasing) their focal length. When a photographer increases the focal length to reduce distortion, they too need to move the camera further back to keep the same framing.

https://www.youtube.com/watch?v=ChDxNmBfdeI

2

u/sassagequest Apr 04 '14 edited Apr 04 '14

Holy crap this was awesome, thanks. Incredibly informative. Thank you.

Just to be clear about lenses for the sake of curiosity, focal length of lenses is fixed (120mm lens, for example) but some of them can zoom between a range like you described by moving the 120mm lens. That doesn't make a 120mm lens shoot like a 118.5mm (?) lens though right? It's a 120mm lens moving in a fixed mm range that changes the appearance to that of an 118.5mm lens? Is it two lenses that work together?!

So in blender the focal length is fixed (120mm, 35mm) and there is no "zoom" option, like it's a fixed 120mm lens - you just physically move the camera. Or is it all combined? Are there non-zoom lenses (?) Sorry for whacky question if it even makes any sense! :P

-I found this page on wiki on the prime lens and it links to zoom lens, neat but it's a lot of information.

2

u/okwg Apr 04 '14

Just to be clear about lenses for the sake of curiosity, focal length of lenses is fixed (120mm lens, for example) but some of them can zoom between a range like you described by moving the 120mm lens. That doesn't make a 120mm lens shoot like a 118.5mm (?) lens though right? It's a 120mm lens moving in a fixed mm range that changes the appearance to that of an 118.5mm lens? Is it two lenses that work together?!

The position of the internal optics literally what focal length is, though. It's why a fish eye lens (eg 18mm) can be really stumpy and a "telephoto" lens (eg 200mm) has to be pretty long. A zoom lens lets you change the position of those internal optics, therefore you really are changing the focal length.

That doesn't make a 120mm lens shoot like a 118.5mm (?) lens though right?

If it's called a "120mm lens" that generally means it's a non-zoom lens, or fixed focal length lens, or a "prime" lens, ie, one that is fixed at 120mm. A zoom lens will be noted by the range of movement / focal lengths it offers, eg "28-135mm"

A 28-135mm set to 120mm really is giving a focal length of 120mm, just like a 120mm prime (which is not exactly a common prime lens, but in theory). On the flip side, the benefit of a prime lens is that, by not letting the user change the optics, the manufacturing process is made easier, so at the same price point, a "prime" lens will generally be better constructed. Most photographers' kit bags will have prime lenses they use at common focal lengths like 50mm, and zoom lenses they have for the versatility.

So in blender the focal length is fixed (120mm, 35mm) and there is no "zoom" option, like it's a fixed 120mm lens - you just physically move the camera.

I don't use Blender, but if it's anything like other CG software, you can set the focal length to whatever you want, so you can consider the lens to just be a zoom lens with a (really) wide range. Changing the focal length will change the field of view (unless blender does some thing where it automatically repositions your camera when you change focal length) and you then have to move the camera to get the framing you want.

2

u/sassagequest Apr 04 '14

Excellent, thanks! I get it. When I meant it is fixed in blender I meant fixed at what you choose as the lens size and was speaking from a misunderstanding of how zoom lenses work like blender was missing the ability to zoom for a lens size or something crazy, please disregard, your explanation makes sense and that's how it works. Thanks man!

2

u/RocketMan63 Apr 03 '14

This is normal. Larger focal lengths do give you a more orthographic view. Although I dont think anybody takes pictures of food using 120mm lens. If I were actually taking this photo I would choose something between 55-75mm

1

u/typtyphus Apr 04 '14

higher focal length also mean more DoF with photography, as with cg you can input that manually.

if you take a look at this example there is a strong DoF. My guess they used a macro lens (it's a bit of a guessing game which one)

1

u/[deleted] Apr 03 '14

It could probably be just the bias of knowing it was CG beforehand. Try posting it in /r/foodporn or something and see how many people you can fool.

1

u/Destructor1701 Apr 04 '14

The only thing that clued me in to this not being an April fool Post was that there's nothing at the camera position reflected in the brown bowl.

I've usually got a good eye for cgi, but this had really challenged me. superb work.

6

u/JonDum Apr 03 '14

Ok so one thing I noticed: everything is too evenly shiny. It's like the corn and the green beans are perfectly, evenly coated in butter/oil, whereas it'd be pretty miraculous if they were coated so in reality.

Maybe add a specular map to the greenbeans to 'splotch' some of the highlights?

(Also, the gravvy is wayyyyy too shiny).

edit: shit after a second look everything's specular could be toned down just a hair. Even wet things tend to be not that shiny.

3

u/sassagequest Apr 03 '14

Good call! The green beans have a procedural bump map but no spec map, that would definitely help.

Gravy is all over the place in the looks department but I'll tone it down. I tried to do this weird thing to have the thinnest parts appear transparent as if the liquid was separating from the meaty parts but I might have fudged it.

Thanks a ton for the input!

And now that you mention it, those onions do look kind of like burned paper. LOL! Thanks.

3

u/lapbar Apr 03 '14

Over all warm up the blacks (add more red to the SSS) when food goes grey it looks less appealing.

3

u/sassagequest Apr 03 '14

Excellent! Thank you. I'm using only default white SSS. This is incredible... my life was a lie.....

3

u/pfannkuchen_gesicht Apr 04 '14

I'm not often impressed by CGI stuff, but this... wow, amazing work!

1

u/sassagequest Apr 05 '14

That means a lot, thanks man! Thanks.

2

u/[deleted] Apr 03 '14

Corn, Butter, Mash need subsurface, or tone down / colorize the AO on the corn. It's the most glaringly obvious CG here.

Bread looks great, sausage specular doesn't match the mustard.. one is way too high compared to the other.

Great piece though!

2

u/sassagequest Apr 03 '14

Thanks for the input, good eye! It's all got SSS but I will increase it, there isn't any AO (to my knowledge) - just global illumination from an HDRI background and a "camera flash".

I'll tone down the spec on the sausage, I see what you mean. Thanks very much for the tips!

1

u/[deleted] Apr 03 '14

This is a pretty good example on what to shoot for, SSS wise.

THAT looks tasty as hell.

Yours is a little plastic feeling. :P

1

u/sassagequest Apr 03 '14

Thanks, I will try for that. I have oily butter dripping down from the butter slab but it's hard to separate the more clear liquid stuff from the actual substance. Check out the shader on the gravy here. I think I'll copy it to the liquid butter and butterfy it. I see that the corn looks incredibly plastic looking.

1

u/sassagequest Apr 03 '14

You know what's hard to get? All of that subtle butter detail between the kernels. My computer crashes if I run fluid sims with fidelity too high. I joined all the separate kernels into a single mesh to drip butter over initially (kernels are rendered individually), but I think I will try to deform the unified mesh into some kind of kernel crevice butter. Thanks again for linking this, awesome reference.

1

u/[deleted] Apr 05 '14

Good critique, but try to avoid using descriptors like "glaringly obvious" when trying to be constructive, it chances the tone of the critique and is condescending.

1

u/[deleted] Apr 05 '14

Good call! More like... "It's the most CG looking thing here."

1

u/[deleted] Apr 05 '14

Thanks man, I'm glad I didn't bother you by bringing it up. I've been seeing a lot of... We'll say "Aggressively worded" critiques lately and I've decided as a citizen if /r/CG to try to remind people proper critiquing ettiquette. Yours isn't aggregious like some have been, so I know it's not particularly fair to single you out at this time, sorry about that .

2

u/[deleted] Apr 03 '14

ok, everything else is so realisitc, exceptfor the corn and the butter. i think the corn is too shiny and the butter too dry. actaully the butter looks like a clay

1

u/sassagequest Apr 03 '14

Doesn't everybody eat their corn with clay!?!?!?

1

u/[deleted] Apr 03 '14

haha, good job though, it looks like a picture from 90s cook book

2

u/thats-mine Apr 04 '14

All the textures look good, just the composition looks a little straight imo. Take what I say with a grain of salt but they all are straight, beans parallel to hotdog, corn perpendicular to hotdog. just seems not normal. Something to thing about.

1

u/sassagequest Apr 04 '14

Good call! I'll think about that, the green beans were plopped in between the hotdog and potatoes and fell parallel to the dog.

5

u/JonDum Apr 03 '14

One more thing. Your onions (I presume) look like burnt paper instead of onions. Maybe try adding some more yellow tones and sub-surface scattering to get that slight translucency to help sell it.

1

u/EVERYTHINGS_INTENSE Apr 03 '14

This looks awesome! I'd say the only thing slightly off is the corn. I think some sub surface scattering would help it out.

1

u/sassagequest Apr 03 '14

Thanks for the input. I tried to make them look bulbous and full by adding spec but I guess I put it up too high and drowned out the SSS. Thank you!

1

u/RalphNLD Apr 03 '14

What camera did you use?

1

u/sassagequest Apr 03 '14

You know, there's a film setting "look" in blender and I have no idea what it does aside from replicating the appearance and quality of certain films but it made this look a little bit better, and the "film" I used was Agfacolor Optima II 200. Used for aerial photography?!?!

1

u/RocketMan63 Apr 03 '14

How did you do the corn?

3

u/sassagequest Apr 04 '14

It's an extruded mesh circle with a loopcut through the middle, then I deleted alternating faces and used a particle system to pop kernels out of each face. Copied and rotated it a few times to give it randomized patterned kernels and fiddled with the small end manually.

1

u/uncletravellingmatt Apr 04 '14

Wow! Color me impressed. That is an awesome portfolio piece.

In terms of modeling/texturing, everything looks really spot-on. Amazing. The green beans may be a bit weaker than the other models (they all look like cuts from the center of a straight bean, the ends of them don't look like a cooked bean) but this nitpick is so minor that I wouldn't mention it if it didn't appear in a terrific work.

The lighting and rendering does have a few things to address. First is the overall big-picture impression from looking at the image the first time: the plate and its blue lines grab your eye and your attention as if they were in focus, in a way that the sausage, mustard, and onion don't. The plate is very bright and looks strongly back-lit by the window behind it. The mustard and bread and onion don't look back-lit. The onion doesn't look translucent, and doesn't even seem to be getting kicks of light from behind the way the plate does. The top of the bun should be getting much more light than the interior of the bun, much more like the plate, but instead it looks very evenly lit, not back-lit by the window at all. Look at the bottom of the bun, near the lower right green bean, and the bun looks like it's going black. No bounce light from the plate or bean, just black. And that lower-right bean that sits right next to the black part of the bun looks as fully lit as the top beans. Try (as a test) simplifying the lighting down to one big area light placed where that back window should be, and no other lighting, and see where the bright and dark tones fall just from that. I'd love to see some of the kind of highlights and reflection you've got on the plate applied to the butter as well.

Clearly the weakest part of the image is whatever that thing is in the upper left -- is it a bowl of some kind? The reflection of the plate looks very flat, it doesn't seem to have all that lighting and reflection that makes the plate itself vibrant and contrasty. The reflection angle makes the half-empty plate, the lack of silverware, and the "camera flash" reflection floating in front of a chair without a camera or photographer, all too visible. And then the bottom of the reflection fades away to pure white, as if the bottom of the bowl were not reflective like the middle, or it had some kind of inverse Fresnel effect? That whole thing just leaves me confused, I don't know if it's a trace depth issue of not seeing a reflection of a reflection, or a weird shader, or even what object it's supposed to be.

2

u/sassagequest Apr 04 '14 edited Apr 04 '14

Oh man, the ends of the green beans gave me real trouble!!! I hate them!!!!!

I think the plate looking back lit is sloppy reflections rather than shadow. Somewhere along the way it got fudged. I agree about the onions. On their own they look pretty good but on the sausage they look wacky - the shader is a combination of SSS separated from glossy with procedural noise.

I was trying to keep it to a single "camera flash" and GI. I think the bun becoming dark is a shadow from the flash, which is at the top left of the image. The interior is getting light because there's a flash hitting it. Funny you say that about the bun - I turned on indirect clamping because the bun was getting a lot of noise!!! I think it zapped out the light that should be reflecting from the plate, I'll turn it off and render longer.

That is a bowl! It's a mix between a glossy beige color fading into a nonreflective white. It was a stylistic decision but if it reads poorly or reads like a funky reflection I'll definitely change it.

I'm glad you noticed the floating flash!!! :P I was going to model a tripod and camera but opted to yank an image off the web but hadn't put it in. Good eye!! The bowl all in all is just wackiness from what I tried to do with colors and isn't any kind of mistake (I can see how you would think that though and I'll look into ways to change it).

Also, and I'm really bummed about this, I made this kickass silverware but it didn't really fit in anywhere if I wanted to get the food :(

You can kind of see the fork over on the right. Here's a quick pic of a knife and fork. The knife could use some work and cleaning up but the fork is pretty solid - both could use some kind of cavity map to make the details stand out more. Any ideas of how to fit it in? I guess I could zoom out a little but it gets into work fixing things that are otherwise hidden or rebalancing the composition. Thought about putting it on the plate but it turns out a little busy compositionally.

Thanks a lot for the thoughtful critique!

-You know, I think the GI is overpowering the camera flash and it's making things look kind of funny.

1

u/uncletravellingmatt Apr 04 '14

The green beans look great compared to most CGI food I've seen. You've set the bar pretty high for yourself on this scene for those to be one of the first non-lighting things I noticed.

I don't think the reflection on the plate is really bad, it's just showing a bolder, more directional lighting approach than the overall lighting on the food itself right now. I can imagine the mustard and onions glistening and back-lit and becoming more the focus of the scene. (And by "focus" I don't just mean that the camera could be focused on it, but also the mustard and onions could become more contrasty and eye-catching than the blue lines on the white plate that seem to be the focus now. You might even use a more pale blue on the plate lines, just to make sure they don't draw any attention away from this glorious food.)

I do realize how tricky it must be to keep the bread looking good with different angles of lighting. You probably don't have polynomial texture mapping, and you're trying to make it look like bread just through regular texturing and it won't respond to back-light or edge-light like real bread, so it keeps biasing you towards relatively flat, uniform, frontal lighting, just to keep it believable. There's no easy fix there, I just think being bold with the lighting and shadows and putting the tones where you really want them should be step one, and then looking at what damage you did to the sensitive looks-dev is something to address afterwards.

A camera visible in the reflection could be a nice gimmick, but a really well-lit scene might involve moving that main light up or to the side more (to the right, from the looks of what would be motivated by the current reflection environment) and not using such a frontal camera-flash type lighting. (What kind of a photographer would work as hard as you clearly have on a food photography shot, and then light it with the pop-up flash on a point and shoot camera?)

In the current composition, if the fork and napkin were off-screen to the left of the plate, that would appear in the reflection. Now that you've showed me the separate render, I can see a bit of the fork on the screen-right edge of frame, but forks usually go on the left anyway, and it would fit in the reflection there.

I can't wait to see the next versions!

1

u/[deleted] Apr 04 '14

the translucent things aren't translucent enough.

the corn and butter have too dark of shading. either give them physically real SSS or a nudge of ambient lighting. also, i'd make the corn kernels more uniform. onions need translucency too. mashed potatoes a bit also.

1

u/sassagequest Apr 04 '14

Agreed, thanks for the input! They all have SSS but after fiddling with it more, I see that it can be improved. I noticed the corn kernels look a little sloppy toward the skinny end. Thanks!

1

u/samjambam Apr 04 '14

That corn has got to rotate on it's side a little more. It looks too perfect.

1

u/sassagequest Apr 04 '14

Hmm, in what way? Have it tilting down into the plate more?

1

u/samjambam Apr 04 '14

Yeah. Just have the bottom half resting against the plate a little more.

Because the corn is rounded it should be leaning to the side it rounds to.

Easy fix that would add a whole lot.

1

u/sassagequest Apr 04 '14

Awesome call, thanks. You're totally right. It actually is receding into the raised rim on the left where it gets skinny but is floating off the middle of the plate by like a centimeter. Good call and good eye! I'll fix that, thank you.

1

u/samjambam Apr 04 '14

No problem mate! Glad to give my 2 cents! Happy rendering!

1

u/sassagequest Apr 04 '14

Oh wait wow, you meant the other way. Hmmm. I see what you mean but there's a recess in the middle of the plate. I thought you meant tilt it the other way!! The fatter side of the corn is literally floating!

1

u/film_guy01 Apr 04 '14

Hey this is looking pretty good! What renderer are you using?

1

u/sassagequest Apr 05 '14

Blender cycles. Thanks!

3

u/mackie__m Apr 04 '14

shit, I thought this was a photograph

1

u/[deleted] Apr 03 '14

To me, the corn looks a not too dirty and the sausage too shiny

1

u/mltronic Apr 04 '14

Look fine to me. Lightning it differently is something to consider just for sake of practice. Also advice /u/typtyphus gave you on lens is great tip.

1

u/LordBrandon Apr 04 '14

More SSS on the butter. The corn looks uncooked. And the bun looks to big. Awesome job!

1

u/[deleted] Apr 05 '14

This looks really really nice, maybe try experimenting with a different angle. Try making the lens a bit more wide and move it closer.

As others have pointed out, the shininess. But I didn't really notice it at first so that isn't a big problem I think.

And color correction feels bit to noisy and brings out the orange to much in my opinion. Try messing with that some more.

1

u/dmstudio Apr 07 '14

Amazing! The butter might be too brown and non reflective compared to the corn and the green beans. A tiny bit more yellow and reflective will make it more savory for me.

JonDum mentioned the spec map i think could help a lot in this case too.

Aside from that the only other problem I see is it's lunch time and I can't eat it!!

1

u/[deleted] May 01 '14

Post this at /r/FoodPorn and see what happens.