![Smile :)](./images/smilies/icon_smile.gif)
How to add Detail map to landscape?
8 posts
• Page 1 of 1
How to add Detail map to landscape?Hi Aaron
![]()
Re: How to add Detail map to landscape?Hi ShadowIce,
L3DT doesn't currently support detail maps in mesh exports. I'll add this to the to-do list. Best regards, Aaron.
Re: How to add Detail map to landscape?Hi Aaron, sorry to Necropost but I'm back & bought a new license and would like to know if you've ever taken care of THIS and the ability to combine multiple heightmaps together smoothly?
Thank You so much!
Re: How to add Detail map to landscape?Hi ShadowIce,
Thankyou for your continued support. Unfortunately, no, I have not yet added a detail map to the mesh exports. What mesh format do you intend to use? Do you want a single detail map for all the land types, or does your target renderer support splatted detail maps (if so, how many)? As for the 'combining multiple heightmaps smoothly'; yes, I think that's implemented. Firstly, there's the old 'atMergeMaps' plugin, which smooths the joins between two or more heightmaps: http://www.bundysoft.com/wiki/doku.php? ... heightmaps However, I seem to recall you wanted the edges of your heightmaps smoothed to a particular value before joining. This was implemented in the atEdgeLeveller plugin: http://www.bundysoft.com/wiki/doku.php? ... geleveller Please let me know if you had something different in mind. Best regards, Aaron.
Re: How to add Detail map to landscape?
I'm using OBJ. I'm using Babylon.js to load the mesh. As for renderer, I'd say both.
Re: How to add Detail map to landscape?Hi ShadowIce,
I'm sorry for the delay. I had a look into this, and it seems that the OBJ/MTL file format doesn't support detail maps, so detail maps are a no-go unless you choose another mesh format, or manually/otherwise find a way to load the detail maps into your rendering engine. Edited to add: I've had a quick look at babylon.js (looks nice). I can't seem to find any reference to detail maps, but it does support custom shaders, so I guess that is the recommended method for adding detail. Best regards, Aaron.
Re: How to add Detail map to landscape?Hi Aaron!
![]() Thank you! <3 ~ShadowIce
Re: How to add Detail map to landscape?Hi ShadowIce,
Nice find. Three.js looks quite powerful. It supports custom shaders, so that's probably how you would apply a detail map. You may also be able to apply the detail map as part of the material, without having to write custom shaders (not sure though). As far as I can tell, three.js has OBJ/MTL file loaders, but since these formats don't support detail maps, you'd have to write some custom code to load and apply the detail map yourself. I'm pretty sure it can be done, but I'm not quite sure how (WebGL is not my bag). Best regards, Aaron.
8 posts
• Page 1 of 1
Who is onlineUsers browsing this forum: No registered users and 24 guests |