Skip to main content
gamedev.net
🔒 Locked

[java] Loading raw heightmaps

Started by Pirosan Apr 15, 2006 at 2:15 AM 1 replies 1k views
Original Post
Pirosan
Pirosan
Hey there, i'm looking into loading heightmaps into my java application, but I don't know how to go about loading the data. I see the two kings (http://www.two-kings.de/tutorials/terrain/terrain01.html) gathers the data and places it into an unsigned char array. When trying to load it in java, I am not getting the same results, and even if i pattern the raw file (i'm saving it using photoshop), i don't seem to get data that is consistant with the image. How should i go about doing this? cheers
Bow before me... for i am l33t!
Pirosan
Pirosan
thank you so much for your help! that totally fixed the problem!
Bow before me... for i am l33t!

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.