Massassi Forums Logo

This is the static archive of the Massassi Forums. The forums are closed indefinitely. Thanks for all the memories!

You can also download Super Old Archived Message Boards from when Massassi first started.

"View" counts are as of the day the forums were archived, and will no longer increase.

ForumsShowcase → 3do Heightmap generator
123
3do Heightmap generator
2004-01-05, 12:46 PM #1
I have only been working on this for a few hours (started it yesturday) so its not complete, and features plenty of bugs. But I thought I might aswell show it off [http://forums.massassi.net/html/smile.gif]

Basicly what it does is it loads a bitmap and converts it into a terrain depending on the intensity of the pixels, ie white is the highest point, black is the lowest.

Using forceremap I textured my terrain. Here are some results:

Interface:
[http://67.87.115.203:81/jkteambattle/Hellcat/images/interface.jpg]

Wireframe:
[http://67.87.115.203:81/jkteambattle/Hellcat/images/wireframe.gif]

Textured:
[http://67.87.115.203:81/jkteambattle/Hellcat/images/textured.jpg]

I wont release it till I have different size heightmaps working completly, at the moment only 32x32 work properly.

Questions / comments?

Edit: Here is the latest download:
Download ~25k

------------------
Team Battle.

[This message has been edited by Hellcat (edited January 12, 2004).]
Team Battle.
2004-01-05, 12:49 PM #2
holy **** nice work.

------------------
hello.
go to www.nigelsjkprojects.uni.cc
Spoting an error in post will result in a $100 reward.
Offer expires on 6/6/06. Valid one per customer, per day.

Rangi
2004-01-05, 12:51 PM #3
Yeah, get it to work with 256x256 at least, but keep it low poly... It'd take some math, but get it to find the best approximation of such a heightmap... Would make it more useful. Hard to accurately depict terrain in a 32x32... I suppose could resize the heightmap and cut it into 32x32 pieces.

------------------
_ _________________ _
Wolf Moon
Cast Your Spell On Me
Beware
The Woods At Night
The Wolf Has Come
_ _ _____________ _ _
Wolf Moon
Cast Your Spell On Me
Beware
The Woods At Night
The Wolf Has Come
2004-01-05, 12:52 PM #4
I see a nice future.

------------------
Snail racing: (500 posts per line)
----@%
SnailIracing:n(500tpostshpereline)pants
-----------------------------@%
2004-01-05, 2:06 PM #5
Ohh fancy ^_^

------------------
mir·ow ( V ) Pronunciation Key (meer-oh)
Someone or something that possesses unfathomable awesomeness
2004-01-05, 2:10 PM #6
Quote:
<font face="Verdana, Arial" size="2">Originally posted by a_person:
holy **** nice work.</font>


One more word I add to that:
SWEET!

------------------
It's Peanut Butter Jelly Time!
/Banana starts dancing

[This message has been edited by Darth Slaw (edited January 05, 2004).]
May the mass times acceleration be with you.
2004-01-05, 4:11 PM #7
WHOA [http://forums.massassi.net/html/eek.gif]
Cordially,
Lord Tiberius Grismath
1473 for '1337' posts.
2004-01-05, 4:21 PM #8
sweet, introduce dynamic lighting and you have yourself a Large Chocolate Cookie the size of Wales.

------------------
<Cazor> dude, i am so giving my gay friend your number.
<Cazor> bwahaha. owned.
<Ruthven> NO!!!!!!!!!!
<Cazor> yeah. and he's pretty persistant.
<d-_-b> haha
Code:
if(getThingFlags(source) & 0x8){
  do her}
elseif(getThingFlags(source) & 0x4){
  do other babe}
else{
  do a dude}
2004-01-05, 4:42 PM #9
Arg!!!

I cant believe this. There is one major bug in this... depending on where about my picture box is placed on the form depends on whether or not GetPixel works properly.

Once I defeat this bug hopefully I will post a beta.

------------------
Team Battle.
Team Battle.
2004-01-05, 5:10 PM #10
Okay, I moved the picture box and made the interface more compact. So I thought I might aswell upload a copy and see what people think.

Edit: Download at top of thread.

btw if anyone wants to make me an icon for it I would greatly appreciate it!

Post any questions/bugs here thanks.

------------------
Team Battle.

[This message has been edited by Hellcat (edited January 05, 2004).]

[This message has been edited by Hellcat (edited January 12, 2004).]
Team Battle.
2004-01-05, 6:36 PM #11
[http://forums.massassi.net/html/eek.gif]

/me bows down before Hellcat...


Incredible. If once we had such a tool 4 years ago. [http://forums.massassi.net/html/frown.gif] But, no problem, JK is making a come-back anyway. [http://forums.massassi.net/html/biggrin.gif]


BTW, you can find a quick-n-dirty icon here, but without knowing what kind of icon your looking for, I wont be able to do much better. [http://forums.massassi.net/html/wink.gif]

------------------
The future is here, and all bets are off.
And when the moment is right, I'm gonna fly a kite.
2004-01-05, 7:04 PM #12
Looks pretty slick. What's it made in?

------------------
Bassoon, n. A brazen instrument into which a fool blows out his brains.

[This message has been edited by Emon (edited January 05, 2004).]
Bassoon, n. A brazen instrument into which a fool blows out his brains.
2004-01-05, 7:10 PM #13
OMG i just tryed it out. I almost had a heart attack. You can make the terrain for an entire level in 2 seconds if you wanted to. hell cat you are god.

------------------
hello.
go to www.nigelsjkprojects.uni.cc
Spoting an error in post will result in a $100 reward.
Offer expires on 6/6/06. Valid one per customer, per day.

Rangi
2004-01-05, 7:14 PM #14
This...isn't a new concept you realize, right?

------------------
Bassoon, n. A brazen instrument into which a fool blows out his brains.
Bassoon, n. A brazen instrument into which a fool blows out his brains.
2004-01-05, 8:09 PM #15
Thanks guys!

Old concept [http://forums.massassi.net/html/smile.gif]

Its written in vb... unfortunatly I am not allowed to distribute things I write in my student version of visual c++ so that canceled my being able to use that out. (Could have used dev I guess) I did my best to keep the speed up, sorry if it chews too many resources.

GBK how do I use that icon...? I only can use .ico

------------------
Team Battle.

[This message has been edited by Hellcat (edited January 05, 2004).]
Team Battle.
2004-01-05, 8:22 PM #16
Quote:
<font face="Verdana, Arial" size="2">Originally posted by Emon:
This...isn't a new concept you realize, right?

</font>



It isnt? So has this been made before. Show me. Also just one thing when it makes the 3do get it to leave the u and v scales on 1 so that the textuers ont screw.


------------------
hello.
go to www.nigelsjkprojects.uni.cc
Spoting an error in post will result in a $100 reward.
Offer expires on 6/6/06. Valid one per customer, per day.

Rangi
2004-01-05, 8:32 PM #17
It hasn't made before. This thing just speeds up the process. Generally, you'd take a heightmap, convert it to a 3d model, and then convert that into a 3do. This would just remove a step or so, I suppose.

------------------
_ _________________ _
Wolf Moon
Cast Your Spell On Me
Beware
The Woods At Night
The Wolf Has Come
_ _ _____________ _ _
Wolf Moon
Cast Your Spell On Me
Beware
The Woods At Night
The Wolf Has Come
2004-01-05, 9:40 PM #18
Quote:
<font face="Verdana, Arial" size="2">It isnt? So has this been made before. Show me.</font>


Uh, you're kidding, right? Every single frickin' game with terrain uses this technique. BF1942, Tribes, Serious Sam, the list is endless.

------------------
Have a good one,
Freelancer
"it is time to get a credit card to complete my financial independance" — Tibby, Aug. 2009
2004-01-05, 10:04 PM #19
O no s*** i thought he was saying this was used in jk. I new this has been used in other games i just must have missunderstood him.

------------------
hello.
go to www.nigelsjkprojects.uni.cc
Spoting an error in post will result in a $100 reward.
Offer expires on 6/6/06. Valid one per customer, per day.

Rangi
2004-01-05, 10:35 PM #20
It has been used/done in JK. This just I suppose would lower things to one program for converting the heightmap, instead of two, I think.

------------------
_ _________________ _
Wolf Moon
Cast Your Spell On Me
Beware
The Woods At Night
The Wolf Has Come
_ _ _____________ _ _
Wolf Moon
Cast Your Spell On Me
Beware
The Woods At Night
The Wolf Has Come
2004-01-05, 11:06 PM #21
Thanks for making this Hellcat!
Keep working on it [http://forums.massassi.net/html/smile.gif]

------------------
There is no emotion; there is peace. There is no ignorance; there is knowledge. There is no passion; there is serenity. There is no death; there is the Force

-The Jedi Code
There is no emotion; there is peace. There is no ignorance; there is knowledge. There is no passion; there is serenity. There is no death; there is the Force

-The Jedi Code
2004-01-06, 4:06 AM #22
Quote:
<font face="Verdana, Arial" size="2">Originally posted by Lord_Grismath:
WHOA [http://forums.massassi.net/html/eek.gif]</font>




------------------
"The quality of the levels you make is determined by the skill of the person not by the editor in which they use!"
-Michael Kyle

The Arcane Sith
2004-01-06, 4:38 AM #23
Keep on working this... I CAN'T WAIT! [http://forums.massassi.net/html/biggrin.gif]

------------------
<landfish> FastGamerr > Satan
Star Wars: TODOA | DXN - Deus Ex: Nihilum
2004-01-06, 5:00 AM #24
oh yeah. VERY nice work

------------------
The miners of Kiith Somtaaw sacificed much, and risked all. For their efforts they were brought into the inner most circle of Hiigaren power. Naabal, S'jet, and Sobanii bowed before them. And from that day to this, Somtaaw's children have been known to one and all as Beastslayers..
2004-01-06, 5:57 AM #25
Nice. I don't suppose that when you load a colored BMP, it could change to greyscale?

Here's a better idea. Not only making landscaped 3DOs, but also levels. Might be a little better idea to landscape sectors, but I might be wrong. And maybe a poly adjuster. Just ideas...

/Edward
Edward's Cognative Hazards
2004-01-06, 6:09 AM #26
NOW all we need is a skyline generator... Excelent work, I must say.

------------------
Nes digs around in the trash can.
Nes finds a hamburger!
Nes puts the hamburger in his backpack.
Wake up, George Lucas... The Matrix has you...
2004-01-06, 6:41 AM #27
Quote:
<font face="Verdana, Arial" size="2">Originally posted by Hellcat:
...GBK how do I use that icon...? I only can use .ico</font>


Sorry, I just assumed you could convert it... here is the ico file.

------------------
The future is here, and all bets are off.
And when the moment is right, I'm gonna fly a kite.
2004-01-06, 9:54 AM #28
Man, you rock. A while ago I made terrain in some other terrain generator for Radaint, then converted it to a 3do, then loaded it in JED and it was a total mess. It took me almost an hour cleaving it into triangles so JK would load it. Looks like you took all the retard time consuming work out of it. [http://forums.massassi.net/html/smile.gif] Nice man. I made a icon, but now I see that GBK already made you one. Here it is anyways:

[http://www.sithmercenaries.net/misc/3dohm.gif]
http://www.sithmercenaries.net/misc/3dohm.ico

------------------
One day, after everybody else quits, I'll be the best.
Sith Mercenaries
^My site.
One day, after everybody else quits, I'll be the best.
Sith Mercenaries
^My site.
2004-01-06, 9:55 AM #29
<3 hellcat

------------------
<Dormouse> there are very few things quite as comforting as smelling like a close friend.

We are only human, perfect in our imperfections. - Erin amie du Dor

<Dormouse> it's really cute in the way that a sherman tank with a fuzzy steering wheel is cute
My girlfriend paid a lot of money for that tv; I want to watch ALL OF IT. - JM
2004-01-06, 10:27 AM #30
Woohoo! Me in credits!

Hmm... Why do my terrains turn out like this?

[http://fin.mine.nu/tdt2/wtf.jpg]

------------------
ILLEGAL PORNOGRAPHIC VIDEOS NEWEST GAMES MP3Z AND MOVIES!!!
Last edited by mb; today at 10:55 AM.
2004-01-06, 11:11 AM #31
I'm not sure what you're asking, but it's a 3do, CaveDemon, not a sector you walk in. If that's not what your concern is, post a pic of the terrain heightmap you used.

I'll post a pic of my new terrain thingie shortly...Textured with boring textures and the 16x16 4-color (yes, 4) heightmap I used. It still looks nice (not really referring to the textures).
-------------
[edit]
Here it is now (Beautiful, isn't it? [http://forums.massassi.net/html/tongue.gif]).
[http://blargh.mine.nu/test/169/2.jpg]

------------------
It's Peanut Butter Jelly Time!
/Banana starts dancing

[This message has been edited by Darth Slaw (edited January 06, 2004).]
May the mass times acceleration be with you.
2004-01-06, 12:15 PM #32
Quote:
<font face="Verdana, Arial" size="2">Originally posted by Darth Slaw:
I'm not sure what you're asking, but it's a 3do, CaveDemon, not a sector you walk in. If that's not what your concern is, post a pic of the terrain heightmap you used.
</font>


...i do know. That thing in the picture IS a 3do... and the generator sure doesn't create too pretty 3dos of a heightmap... on my computer atleast... i used the one that comes with the program, to test if it works..



------------------
ILLEGAL PORNOGRAPHIC VIDEOS NEWEST GAMES MP3Z AND MOVIES!!!
Last edited by mb; today at 10:55 AM.
2004-01-06, 12:36 PM #33
Quote:
<font face="Verdana, Arial" size="2">
Here's a better idea. Not only making landscaped 3DOs, but also levels. Might be a little better idea to landscape sectors, but I might be wrong. And maybe a poly adjuster. Just ideas...
</font>


The problem with doing this would that you would get HOM easily... very easily. I suggest if you need to add archi to your 3do level use a flicker cog so then it appears in all sectors.

CaveDemon what version of windows are you running? Does the heightmap appear correctly in the box? Could you please email me the 3do?

------------------
Team Battle.
Team Battle.
2004-01-06, 12:50 PM #34
Quote:
<font face="Verdana, Arial" size="2">Originally posted by Hellcat:

CaveDemon what version of windows are you running? Does the heightmap appear correctly in the box? Could you please email me the 3do?

</font>


Win2K Pro... I'll email it or upload on my server when i get the time..

------------------
ILLEGAL PORNOGRAPHIC VIDEOS NEWEST GAMES MP3Z AND MOVIES!!!
Last edited by mb; today at 10:55 AM.
2004-01-06, 1:09 PM #35
Have you thought about implementing polygon reduction techniques? Not sure what the limits of your abilities are, but that would be a very nice feature.

------------------
Bassoon, n. A brazen instrument into which a fool blows out his brains.
Bassoon, n. A brazen instrument into which a fool blows out his brains.
2004-01-06, 1:19 PM #36
Quote:
<font face="Verdana, Arial" size="2">Originally posted by Emon:
Have you thought about implementing polygon reduction techniques? Not sure what the limits of your abilities are, but that would be a very nice feature.
</font>


Do you mean faces which are at the same height/angle become merged? I might be able to I guess... I will take a look at it.

------------------
Team Battle.
Team Battle.
2004-01-06, 1:24 PM #37
At the least, I can't expect anything like in a professional 3D program. Unless there exists DLLs of something you can use, that would be interesting.

Manual polygon reduction could work though. Maybe select a group of adjacent faces, and it'll merge them into an average?

------------------
Bassoon, n. A brazen instrument into which a fool blows out his brains.
Bassoon, n. A brazen instrument into which a fool blows out his brains.
2004-01-06, 1:36 PM #38
Yeah, sort of like the way you can choose the quality of Jpgs. That could be useful.

Higher quality = more (and smaller) surfaces
Lesser quality = fewer (and larger) surfaces

------------------
It's Peanut Butter Jelly Time!
/Banana starts dancing

[This message has been edited by Darth Slaw (edited January 06, 2004).]
May the mass times acceleration be with you.
2004-01-06, 1:44 PM #39
You could already do that by changing heightmap resolution, but it doesn't let you use a lot of polygons in detailed areas where it's needed, and very few in undetailed areas like plaines that don't need it.

------------------
Bassoon, n. A brazen instrument into which a fool blows out his brains.
Bassoon, n. A brazen instrument into which a fool blows out his brains.
2004-01-06, 1:50 PM #40
I see what your saying now Emon, thats maybe alittle out of my league...

------------------
Team Battle.
Team Battle.
123

↑ Up to the top!