KeyShot Forum

Gallery => Amazing Shots => Topic started by: TpwUK on July 04, 2016, 10:12:48 AM

Title: Foliage Testing
Post by: TpwUK on July 04, 2016, 10:12:48 AM
Trachycarpus wagnerianus from x-frog
Rendered to 500 samples
Custom Normals and Specular maps taken from original materials provided using CrazyBump
Product Lighting preset

Mapping is probably suitable for interior render mode where there are more objects involved, but as a product viz shot the model needs some more work such as SubD, Displacement mapping and thickness to the leaves to get some SSS going on.

Martin
Title: Re: Foliage Testing
Post by: Despot on July 04, 2016, 10:46:59 AM
Nice plant Martin, those leaves look spiky as feck...
Title: Re: Foliage Testing
Post by: bdesign on July 04, 2016, 01:06:20 PM
Martin-

That looks really nice. However, it appears that your normal and/or specular maps are flipped horizontally and/or vertically. They aren't matching up with the diffuse color and silhouette of the plant. It is especially noticeable when viewed full rez in a separate window.

Eric
Title: Re: Foliage Testing
Post by: Despot on July 04, 2016, 01:46:10 PM
Eric's spot on, the normals need flipping :)
Title: Re: Foliage Testing
Post by: TpwUK on July 04, 2016, 02:23:01 PM
Thanks J :)

Quote from: bdesign on July 04, 2016, 01:06:20 PM
That looks really nice. However, it appears that your normal and/or specular maps are flipped horizontally and/or vertically. They aren't matching up with the diffuse color and silhouette of the plant. It is especially noticeable when viewed full rez in a separate window.

Thanks Eric, I had noticed them and tried lots of things to fix them, but i have come to the conclusion that It's just really snotty towards light direction I have checked all the materials and I can find nothing that resembles the result that it gives on some leaves but not others. Here's a close up of one leaf, and you can see the lower leaf portion on the bottom right of the image is showing those bizarre markings yet both leaves are the exact same texture.
Title: Re: Foliage Testing
Post by: bdesign on July 04, 2016, 03:02:54 PM
Hey Martin-

Just to clarify, I wasn't referring to the normal direction calculated from Crazy Bump, but the Flip Horizontal and Flip Vertical options for the texture map within KeyShot. Are these options matched for all your diffuse maps and their normal/specular derivatives?

Eric
Title: Re: Foliage Testing
Post by: TpwUK on July 04, 2016, 03:14:53 PM
Quote from: bdesign on July 04, 2016, 03:02:54 PM
Just to clarify, I wasn't referring to the normal direction calculated from Crazy Bump, but the Flip Horizontal and Flip Vertical options for the texture map within KeyShot. Are these options matched for all your diffuse maps and their normal/specular derivatives?
Yes of course no problem, there is just the one leaf texture applied so they are all the same direction with no flipping, it's just a weird artefact thing. I could possibly rotate the leaves individually to get an artefact free angle.

Martin
Title: Re: Foliage Testing
Post by: bdesign on July 04, 2016, 03:38:41 PM
Quote from: TpwUK on July 04, 2016, 03:14:53 PM
Quote from: bdesign on July 04, 2016, 03:02:54 PM
Just to clarify, I wasn't referring to the normal direction calculated from Crazy Bump, but the Flip Horizontal and Flip Vertical options for the texture map within KeyShot. Are these options matched for all your diffuse maps and their normal/specular derivatives?
Yes of course no problem, there is just the one leaf texture applied so they are all the same direction with no flipping, it's just a weird artefact thing. I could possibly rotate the leaves individually to get an artefact free angle.

Martin


Ok. Perhaps I'm misunderstanding something here...I thought you derived individual normal and a specular maps, from the original diffuse map, in Crazy Bump. Then applied the original to the Diffuse Color slot, the derived specular to the Specular slot, and the derived normal to the Bump slot (?). This would be three individual Texture Map nodes, correct? Each of these three nodes would then need to have their respective Flip Horizontal and Flip Vertical options set identically across the board.

Eric
Title: Re: Foliage Testing
Post by: feher on July 04, 2016, 03:41:12 PM
I always knew you had a green thumb.
Title: Re: Foliage Testing
Post by: TpwUK on July 04, 2016, 04:37:28 PM
QuoteOk. Perhaps I'm misunderstanding something here...I thought you derived individual normal and a specular maps, from the original diffuse map, in Crazy Bump. Then applied the original to the Diffuse Color slot, the derived specular to the Specular slot, and the derived normal to the Bump slot (?). This would be three individual Texture Map nodes, correct? Each of these three nodes would then need to have their respective Flip Horizontal and Flip Vertical options set identically across the board.
You are right in the creation of the maps, but there is no need to flip any of them this case. They are all the same size, direction etc - I assume the artefacts are coming from the Translucent shader on the leaf markers as they are just planes and have no thickness to them.

Quote from: feher on July 04, 2016, 03:41:12 PM
I always knew you had a green thumb.
Thanks Tim - I better have being a garden designer :P

Martin
Title: Re: Foliage Testing
Post by: bdesign on July 04, 2016, 06:08:06 PM
Quote from: TpwUK on July 04, 2016, 04:37:28 PM
Quote
You are right in the creation of the maps, but there is no need to flip any of them this case. They are all the same size, direction etc - I assume the artefacts are coming from the Translucent shader on the leaf markers as they are just planes and have no thickness to them.

Martin

Of course. I just thought maybe one or more of them had accidentally had some of the "Flip" options checked or perhaps scaling changed in their Texture Map options, causing misalignment. Because it definitely looks to me like a "ghosted" mirror image of the plant in the normal map.

Cheers,
Eric
Title: Re: Foliage Testing
Post by: TpwUK on July 04, 2016, 06:27:37 PM
QuoteOf course. I just thought maybe one or more of them had accidentally had some of the "Flip" options checked or perhaps scaling changed in their Texture Map options, causing misalignment. Because it definitely looks to me like a "ghosted" mirror image of the plant in the normal map.

I think it's probably too low in geometry, I have seen this kind of issue with low poly models/parts so I will try and beef up the geometry tomorrow and do a new post ;)

Martin
Title: Re: Foliage Testing
Post by: Magnus Skogsfjord on July 05, 2016, 01:42:14 AM
Going back to your garden designer roots? Pros: This guy doesn't need constant care. Cons: Doesn't smell as good (maybe).

Looking good, Martin!
Title: Re: Foliage Testing
Post by: TpwUK on July 05, 2016, 04:06:43 AM
Quote from: Magnus Skogsfjord on July 05, 2016, 01:42:14 AM
Going back to your garden designer roots? Pros: This guy doesn't need constant care. Cons: Doesn't smell as good (maybe).

Looking good, Martin!

Not going back to my roots, just trying to get back into the mood for doing things. Yeah it's a hardy plant but never smelt one so can't comment :)

Thrown it all together again, since it has issues I don't save it, but it's still the same textures. Seems the specular and normals are too strong on default settings and bump height so messing with those gets it better. No normals needed flipping. Just my heavy handed texture settings in CrazyBump at fault here. Having said that though the model certainly needs more work doing to it to make it a star rather than an extra in an interior ;)

Martin
Title: Re: Foliage Testing
Post by: guest84672 on July 05, 2016, 06:13:35 AM
If you check the "sync" option you will ensure that all common options will be the same across all texture channels.
Title: Re: Foliage Testing
Post by: TpwUK on July 05, 2016, 09:26:07 AM
Quote from: thomasteger on July 05, 2016, 06:13:35 AM
If you check the "sync" option you will ensure that all common options will be the same across all texture channels.

It was one of the first checks I made Thomas - Thanks for looking though :)

Martin
Title: Re: Foliage Testing
Post by: TpwUK on July 08, 2016, 09:23:39 AM
Last testing with this plant now - SubD and Thickening of leaves etc with Blender
Rendered of course with KS 6.2.99 beta and the same materials and textures as before. I still have issues with the results, but i think i just need a different subject plant with different leaf type rather than Palm/Frond type.

Martin
Title: Re: Foliage Testing
Post by: guest84672 on July 08, 2016, 12:14:25 PM
Looks good. Can you post a close-up of the leaves?
Title: Re: Foliage Testing
Post by: TpwUK on July 08, 2016, 07:36:05 PM
These billboard type leaves don't work very well for close up work.... Adding body to the planes used for the leaves doesn't give you any volume for the SSS because the opacity effectively produced open edges, I don't think you can re-work the UV mapping either because there are no faces internally on the mesh that would line up with the photo based texture.

In conclusion - This type of model is ok for interior scenes where a close-up is unlikely, otherwise the leaves would be better as modelled geometry rather than planes/billboard based.

Martin