It is currently Sun Nov 17, 2019 10:41 am


All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Terrain rendering
PostPosted: Tue Mar 10, 2015 1:04 am 

Joined: Sun Mar 01, 2015 12:33 am
Posts: 9
So, it's only been about a month since I've started this project. I try to give an hour a day to it but I don't always get to. Despite this I'm really happy how things are turning out so far and especially how easy it has been to interface with PolyVox. Anyway, I plan to keep videos of my progress.

I post them here if anybody is interested.
https://www.youtube.com/channel/UCs16_w ... 6tQ/videos

Thanks.


Top
Offline Profile  
Reply with quote  
 Post subject: Re: Terrain rendering
PostPosted: Tue Mar 10, 2015 12:54 pm 
Developer
User avatar

Joined: Sun May 11, 2008 4:29 pm
Posts: 198
Location: UK
It's looking really good. It is definitely improved by the low-pass filtering. How are you generating the heightmaps? Are they procedural or imported from another tool?

_________________
Matt Williams
Linux/CMake guy


Top
Offline Profile  
Reply with quote  
 Post subject: Re: Terrain rendering
PostPosted: Tue Mar 10, 2015 11:26 pm 

Joined: Sun Mar 01, 2015 12:33 am
Posts: 9
For now I'm just reading the binary data from a grayscale image using SDL2 API and using each pixel value to fill the volume with. Before the low-pass filtering it looked especially bad because the heightmap I'm testing with was scaled down from a much larger size... If I took the time to make it properly it probably wouldn't of been so bad.

***EDIT***
I went back and tried with the original heightmap image and it looked fantastic even without low-pass filtering. It still was blockish but pretty smooth, so I'm going to keep the filtering but definitely was me just being silly with the image. It's pretty amazing what that low-pass filter can do for bad data.
**********

At some point I will make it able to do it procedurally as well. I hope to also create some simple tools to edit the terrain with as well. Then of course save the data and load it back. Basically, by the end of it I hope to have a very simple map editor.


Top
Offline Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Theme created StylerBB.net