Wings 3D Development Forum
Heightmap Surface [plug-in] (updated: 2014/Jun/30) - Printable Version

+- Wings 3D Development Forum (https://www.wings3d.com/forum)
+-- Forum: Wings 3D (https://www.wings3d.com/forum/forumdisplay.php?fid=1)
+--- Forum: Design & Development (https://www.wings3d.com/forum/forumdisplay.php?fid=6)
+--- Thread: Heightmap Surface [plug-in] (updated: 2014/Jun/30) (/showthread.php?tid=16)

Pages: 1 2 3 4 5 6 7 8


RE: Heightmap Surface [plug-in] (updated: 2013/Fev/12) - oort - 02-13-2013

Micheus,
WOW! that looks very very VERY impressive. I will download soon to get a closer look... Smile

It will be interesting to see how my poor old PC handles it... Smile Sad

Edit: Tested and even on my PC it updates the mesh fairly fast even in auto preview mode. Larger images do cause big delays. The only thing I can think of that you might possibly want to add would be the ability to choose a different image without having to cancel and start over. Even without that it is awesome... Smile

oort


RE: Heightmap Surface [plug-in] (updated: 2013/Fev/12) - Fonte Boa - 02-14-2013

It seems terrific, Micheus!! I'll try it this weekend!!

Couldnt you provide me an snapshot of that mountain, viewed from an interesting camera angle, with the wire visible, so that i can highlight it in facebook wings3dchannel profile?? Thanks in advance, Micheus!

Congratulations for the work!! With the new preview tools, it seems more interative to deal! Smile


RE: Heightmap Surface [plug-in] (updated: 2013/Fev/12) - micheus - 02-15-2013

(02-13-2013, 01:39 AM)oort Wrote: Tested and even on my PC it updates the mesh fairly fast even in auto preview mode.
That's because I rework the code trying to find the best way preserve the Auto preview enabled with good speed. Even on my fast PC the time spend from the image selection to preview it was cut in a half when compared to the previous version. Smile

Unfortunately, larger images will always cause some delay - mainly when you click on OK button and wait for Wings3d code to generate the final object.

Quote:The only thing I can think of that you might possibly want to add would be the ability to choose a different image without having to cancel and start over.
I didn't forget you already suggested this before. After this rework I did in the code, I believe that it is now possible. I still don't consider it finished - there is some small adds to do now.


RE: Heightmap Surface [plug-in] (updated: 2013/Fev/12) - Wegg - 02-15-2013

Does this plugin support image files with higher bit depths to avoid the stair stepping that I am seeing in your test renders?


RE: Heightmap Surface [plug-in] (updated: 2013/Fev/12) - micheus - 02-15-2013

(02-15-2013, 08:51 PM)Wegg Wrote: Does this plugin support image files with higher bit depths to avoid the stair stepping that I am seeing in your test renders?
That "step" came from the fact of the color gradient be applied to each vertex when the Wings3d object is created at the end.

You should noticed that in preview mode you don't see this "problem" because I'm not using a Wings object as any other primitive preview - I draw it by my self (it's an other reason why it is relativity fast).

When I finish it, we probably will be capable to generate an UV map using the original source image - this should result in better real render (that one is only a shader view of Wings3d)


[edit] Explaning better about what you asked...

For the gray-scale it doesn't matter:
"Even with true color, monochromatic images, which are restricted to 256 levels, owing to their single channel, can sometimes still reveal visible banding artifacts." (ref. Wikedia - 2.4 True color (24-bit))

But, the plugin is prepared to work with Rainbow color schema (HUE) used by some GIS software (e.g. Micro DEM).
Look at this image:
[Image: heightmaphue.th.png]You can see the Height was set to a huge value in order we get the 3d aspect that our eyes seem to get from the image - looks like we could get better result by using this kind of image, but it's not usual.

There were some aspects about it already discussed in the original thread at the old forum - here the link just in case it interest you.

This plugin is far to be a perfect terrain builder, mainly if someone is looking for realism. But, it brought me a lot of knowledge about how some things works inside Wings - it's a laboratory. Smile


RE: Heightmap Surface [plug-in] (updated: 2013/Fev/12) - micheus - 02-17-2013

(02-13-2013, 01:39 AM)oort Wrote: The only thing I can think of that you might possibly want to add would be the ability to choose a different image without having to cancel and start over.
oort, "your wish was granted".
I think that it was already the 3rd. Wink

Not released yet.


RE: Heightmap Surface [plug-in] (updated: 2013/Fev/12) - micheus - 02-27-2013

Weeg, here is a comparison between that texture extracted from vertex color and the original image colored:


No steps, as you have noticed before.Smile
I also added an option for save/load the color ramp presets.
It's almost ready to be released.


RE: Heightmap Surface [plug-in] (updated: 2013/Fev/12) - oort - 02-28-2013

Quote:oort, "your wish was granted".
I think that it was already the 3rd. Wink

Micheus,
I am hoping you are a genie who grants many more than 3 wishes... Smile
I can't wait to play with the next release.

oort


RE: Heightmap Surface [plug-in] (updated: 2013/Mar/12) - micheus - 03-06-2013

Hello people. I just upload the final release of the plugin.

Since 21/Jan/2011, starting from a simple dialog:

until today:

It was a long time of learning and ideas starting from it (alpha brush for Sculpt - implemented).

I have to thank oort, Fonte Boa, ggaliens, BlackHarmo, Ran13, deerwood (for our long technical discussion), Dimitri and tkbd for all comments and ideas; a special thanks goes to optigon that make it possible by making "... a custom dialog with a custom event handler to have the model update before exiting the dialog."
Thank you guys!

The last tutorial (not commented yet):

On github: heightmap_surface (lots of rework)


RE: Heightmap Surface [plug-in] (updated: 2013/Mar/12) - Fonte Boa - 03-06-2013

Bravo, Micheus!
WE have to thank you. Congratulations for this really terrific plugin! Smile