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.

3 Dimensional Chat / How do you make a terrain program?

Author
Message
vampyre
23
Years of Service
User Offline
Joined: 14th Nov 2002
Location:
Posted: 3rd Jul 2004 23:02
I want to know how to make a terrain program as I want to be able to make a cyberplanet for my game
Surreal Studio IanG
22
Years of Service
User Offline
Joined: 21st Sep 2003
Location: Cyberspace...I think
Posted: 4th Jul 2004 01:53 Edited at: 24th Aug 2004 23:11
well what do you want to make it in DB, DBPro, CShop, 3dsMAx, GameSpace or what

[edit] sorry i didn't read your post fully - i thought you wanted to make a terrain, not a terrain making program [/edit]


Used to be Phoenix Insane : PC Spec- AMD Athlon 2.0Ghz, GeForce FX5200 128mb, 512MB of ram, Win XP Home SP1
vampyre
23
Years of Service
User Offline
Joined: 14th Nov 2002
Location:
Posted: 4th Jul 2004 02:48 Edited at: 4th Jul 2004 02:51
I want to use Dark Basic Classic Enhanced Version 1.13 Phoenix as that is all I have, besides I don't think you can make it with Gamespace or 3D MAX because they are modelling programs

I would love to use DBpro but I haven't got DBpro ..............yet
vampyre
23
Years of Service
User Offline
Joined: 14th Nov 2002
Location:
Posted: 24th Aug 2004 22:19
Crickey No help at all?
John H
Retired Moderator
23
Years of Service
User Offline
Joined: 14th Oct 2002
Location: Burlington, VT
Posted: 24th Aug 2004 22:37
Making a world editing program is quite easy. First of all, you want to have an array which contains one spot for each vertex on the matrix, and one spot to contain the height value.

Mathematically calculate using the width/height of the matrix and how many grid squares there are to find out where each vertex is, and place a cube at one of those points to use as your pointer object. Move it around, and when it is on a vertex, use up + down to modify the information in the array (height data)

Write all your vertex heights to a file, then use a for-next loop to read them. Voila

RPGamer


Check out our Team Request in the Team Request section if you want to help!
vampyre
23
Years of Service
User Offline
Joined: 14th Nov 2002
Location:
Posted: 24th Aug 2004 22:56
OK , thanks RPGamer but can I do the same for a 3d Model of say a ball? and I would need a kind of example code on how exactly that culd be done for a model, butthanks again RPGamer
John H
Retired Moderator
23
Years of Service
User Offline
Joined: 14th Oct 2002
Location: Burlington, VT
Posted: 24th Aug 2004 23:00
No, its impossible to form a matrix into a ball. Just use a sphere, or any modelling program to make a sphere and pull on some vertices and make it a bit bumpy.

If your talking about an actual model, then using GeoScape to create a heightmap and then loading that into DBC using some heightmap reading code is probably your best bet.


Check out our Team Request in the Team Request section if you want to help!
vampyre
23
Years of Service
User Offline
Joined: 14th Nov 2002
Location:
Posted: 25th Aug 2004 01:03
OK thanks RPGamer

Login to post a reply

Server time is: 2026-07-07 19:59:27
Your offset time is: 2026-07-07 19:59:27