Chaos Corona Forum

Chaos Corona for 3ds Max => [Max] I need help! => Topic started by: Dionysios.TS on 2020-02-19, 10:57:42

Title: Produce a detailed Height Map
Post by: Dionysios.TS on 2020-02-19, 10:57:42
Hi all,

I was wondering if there is a method other than Render to Texture (the classic 3ds Max one) to produce detail height maps from a geometry by using Corona.
I have a terrain model which I would like to import as height map in World Creator to add details and then bring it map in Corona for the final render.

Thanks,

Dionysios -
Title: Re: Produce a detailed Height Map
Post by: pokoy on 2020-02-19, 11:59:28
You can use an ortho camera (so there's no perspective) and use a lightmtl on the geometry with a falloff map set to distance blend using camera viewing axis.
Make sure that the falloff extents lie within min and max distance of the terrain from the camera (similar to how you'd do with ZDepth), and best save either a 32bpc or minimum 16bpc image to avoid banding.

See attached scene for max 2018. Hope that helps.
Title: Re: Produce a detailed Height Map
Post by: Juraj on 2020-02-19, 12:06:20
Pokoy what is the benefit of this approach compared to just setting distance limits on Zdepth channel? No need to faffle around with numbers (but instead need to guess extents in IR?) ?
Title: Re: Produce a detailed Height Map
Post by: Dionysios.TS on 2020-02-19, 12:08:38
Pokoy what is the benefit of this approach compared to just setting distance limits on Zdepth channel? No need to faffle around with numbers (but instead need to guess extents in IR?) ?

Interesting approach and then I agree with Juraj, why don't use a ZDepth channel?

Thanks for helping,

Dionysios -
Title: Re: Produce a detailed Height Map
Post by: pokoy on 2020-02-19, 13:06:24
Pokoy what is the benefit of this approach compared to just setting distance limits on Zdepth channel? No need to faffle around with numbers (but instead need to guess extents in IR?) ?

Interesting approach and then I agree with Juraj, why don't use a ZDepth channel?

Thanks for helping,

Dionysios -

Actually, I didn't even think about using Zdepth... yeah, it's probably easier :D
Title: Re: Produce a detailed Height Map
Post by: Dionysios.TS on 2020-02-19, 13:22:10


Actually, I didn't even think about using Zdepth... yeah, it's probably easier :D
[/quote]

Great, thanks both of you for helping in any case, much better than dealing with the old school render to texture method!

Dionysios -
Title: Re: Produce a detailed Height Map
Post by: leocv on 2020-02-19, 14:35:20
I know that you asked about using Corona, but you can also do this using ZBrush.

There is the Grabdoc option that capture and creates an alpha/texture. You only have to set your document size to be the size of your texture.
Just another option. :)
Title: Re: Produce a detailed Height Map
Post by: Dionysios.TS on 2020-02-19, 14:36:46
I know that you asked about using Corona, but you can also do this using ZBrush.

There is the Grabdoc option that capture and creates an alpha/texture. You only have to set your document size to be the size of your texture.
Just another option. :)

Good to know! Thanks!