Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

2D All the way! / [SOLVED] Creating Heightmap In Code

Author
Message
3dzforme
4
Years of Service
User Offline
Joined: 5th Jan 2020
Location:
Posted: 5th Jan 2020 09:23 Edited at: 5th Jan 2020 10:03
Hi all,

I've just purchased AGK2 Studio and am delving in for the first time. I've a little experience doing stuff in Blitz3D (aka Blitzplotter) and I thought I'd have a pop at:

1. Creating a simple grayscale heightmap
2. Copying the created image
3. Using said image to create a terrain

My initial searches for heightmap generation may have benefited from filtering for AGK2 Studio specific examples....

Anyway, many thanks for this example code shown in this locked thread here:

https://forum.thegamecreators.com/thread/221459

Its got me well on my way..... Have had an initial stab at getting an additional line plotted alongside the original elliptically plotting pixel.

I'd appreciate some help with where I'm going wrong.....

The author of this post has marked a post as an answer.

Go to answer

3dzforme
4
Years of Service
User Offline
Joined: 5th Jan 2020
Location:
Posted: 5th Jan 2020 10:06
Hi all,

I attempted to edit my first post - and clobbered all of it somehow. Anyway, I'm new to AppGameKit studio, and would appreciate some assistance in plotting a second pixel, moving to the right horizontally:


3dzforme
4
Years of Service
User Offline
Joined: 5th Jan 2020
Location:
Posted: 6th Jan 2020 18:47
Slow progress - progress nonetheless:

3dzforme
4
Years of Service
User Offline
Joined: 5th Jan 2020
Location:
Posted: 6th Jan 2020 19:12 Edited at: 6th Jan 2020 19:30
And here is some lovely heightmappery - only had AppGameKit Studio a couple of days, happy days indeed



And the heightmap rendered, woo hoo!

Attachments

Login to view attachments
3dzforme
4
Years of Service
User Offline
Joined: 5th Jan 2020
Location:
Posted: 8th Jan 2020 19:37
This post has been marked by the post author as the answer.
Got there in the end - happy days.

Attachments

Login to view attachments

Login to post a reply

Server time is: 2024-04-20 02:09:35
Your offset time is: 2024-04-20 02:09:35