Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
3 registered members (Grant, TipmyPip, AndrewAMD), 12,724 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 4 1 2 3 4
can I import a terrain from Terragen to 3DGS #186588
03/01/08 16:31
03/01/08 16:31
Joined: Mar 2008
Posts: 16
E
eminent Offline OP
Newbie
eminent  Offline OP
Newbie
E

Joined: Mar 2008
Posts: 16
Hello guys,
I am novice to 3D Game Studio. And I need some helps.
I have gone through the Wiki of 3DGS, and it actually recommends a terrain editor "Terragen". After I create a simple terrain (.tgw file) using the editor, I don't know how to import it into 3D Game Studio...
Do you guys have any solutions to it??
Thanks in advance.

Re: can I import a terrain from Terragen to 3DGS [Re: eminent] #186589
03/01/08 19:25
03/01/08 19:25
Joined: Apr 2006
Posts: 66
Sweden
R
rstralberg Offline
Junior Member
rstralberg  Offline
Junior Member
R

Joined: Apr 2006
Posts: 66
Sweden
Hi

You can download and install the Terragen plugin For Export Only
which can export the terrain to a grayscale bitmap file which can be
imported by MED (File/Import/Terrain from image)

Kindly
~Roland


Roland Strålberg Gamestudio/A7 Commercial rstralberg@msn.com
Re: can I import a terrain from Terragen to 3DGS [Re: rstralberg] #186590
03/02/08 04:06
03/02/08 04:06
Joined: Mar 2008
Posts: 16
E
eminent Offline OP
Newbie
eminent  Offline OP
Newbie
E

Joined: Mar 2008
Posts: 16
Hello rstralberg,
I have tried the "For Export Only", and I was able to import the terrain to MED. One problem is that the texture becomes so horrible (like rainbow colors) in MED, which is supposed to be blue and green only.
Have I done something wrong?
I really appreciate your help.

Re: can I import a terrain from Terragen to 3DGS [Re: eminent] #186591
03/02/08 10:15
03/02/08 10:15
Joined: Apr 2006
Posts: 66
Sweden
R
rstralberg Offline
Junior Member
rstralberg  Offline
Junior Member
R

Joined: Apr 2006
Posts: 66
Sweden
Hi eminent.

I assume you will use mtlFX mulittextured terrain.

You should create 3 surfaces in TG.
One for the basic grass texture, one for the sand texture and one for the rocky parts.

Surface 1 = make it black (this will later be grass)
Surface 2 = make it red ( this will later be sand)
Surface 3 = make it green (this will later be rocks)

Move camera to pos
x = terrainwidh/2
y = terrainwidth/2
z = terrainwidth/2

Camera target
x = terrainwidh/2
y = terrainwidth/2
z = 0

Set the camera to ortographic

Render (best render) to a 512x512 (better 1024x1024 but thats nit possible in free version)

Save the render as RGB.bmp
Export the height map as HM.bmp

Done.

Open MED
Import HM.bmp as terrain
Open "Manage skins"

In Skin settings change texture to RGB.bmp
Create 3 new skins and set their textures to you grass, sand and rock tiles

This shold make it.

I can in fact write a tutorial on this on the WIKI this evening if there is
any interest for that.

Personally I use L3DT for terrains - Could also make a tutorial for that one
if there are people interested.

Here is a render from a L3DT terrain in GS 7.06 but it should work with
Terragen as well (though In Terragen I'm not sure how to get the shadow in)



Kindly
~Roland


Roland Strålberg Gamestudio/A7 Commercial rstralberg@msn.com
Re: can I import a terrain from Terragen to 3DGS [Re: rstralberg] #186592
03/02/08 14:30
03/02/08 14:30
Joined: Mar 2008
Posts: 16
E
eminent Offline OP
Newbie
eminent  Offline OP
Newbie
E

Joined: Mar 2008
Posts: 16
Dear rstralberg,
I have followed your instructions but was lost in some steps. I don't know how to export the height map in Terragen. The image you posted is really nice and good enough for my game which I am currently developing. Since I am using 3D Game Studio for game development, I am thinking of just using the terrain editor provided by MED to design the terrain (for example, how to draw roads and mountains, how to apply textures). However, I couldn't find any helpful tutorials of using this terrain editor.
Therefore, could you suggest any related tutorials of how to use terrain editor in MED?
Thank you very much in advance.

Last edited by eminent; 03/02/08 14:34.
Re: can I import a terrain from Terragen to 3DGS [Re: eminent] #186593
03/02/08 14:35
03/02/08 14:35
Joined: Apr 2006
Posts: 66
Sweden
R
rstralberg Offline
Junior Member
rstralberg  Offline
Junior Member
R

Joined: Apr 2006
Posts: 66
Sweden
I have not used the terrain editor in MED and don't know about any
tutorials on that one.

That was the bad side. Now to the good side.
I currently writing a tutorial on how to get att Terragen terrain up
and running in 3DGS and will publish it on the Wiki this evening.

Edit:

The first part about Terragen is done and can be found here in the Wiki under
the Content Creation Tutorials / Level design tutorials. Will add some context
about the MED import later this evening.



Kindly
~Roland

Last edited by rstralberg; 03/02/08 14:56.

Roland Strålberg Gamestudio/A7 Commercial rstralberg@msn.com
Re: can I import a terrain from Terragen to 3DGS [Re: rstralberg] #186594
03/02/08 16:16
03/02/08 16:16
Joined: Mar 2008
Posts: 16
E
eminent Offline OP
Newbie
eminent  Offline OP
Newbie
E

Joined: Mar 2008
Posts: 16
I saw the tutorial already. It really helps me a lot.
Thank you for your contributions.

Re: can I import a terrain from Terragen to 3DGS [Re: eminent] #186595
03/02/08 16:32
03/02/08 16:32
Joined: Apr 2006
Posts: 66
Sweden
R
rstralberg Offline
Junior Member
rstralberg  Offline
Junior Member
R

Joined: Apr 2006
Posts: 66
Sweden

That's nice to hear.
I will extend the tutorial with the other steps. MED and SED later also.

Glad that it healped.

Kindly
~Roland


Roland Strålberg Gamestudio/A7 Commercial rstralberg@msn.com
Re: can I import a terrain from Terragen to 3DGS [Re: rstralberg] #186596
03/03/08 14:24
03/03/08 14:24
Joined: Mar 2008
Posts: 16
E
eminent Offline OP
Newbie
eminent  Offline OP
Newbie
E

Joined: Mar 2008
Posts: 16
Dear rstralberg,
I am afraid that I am using 3DGS A6, which means I couldn't use A7_lite_C_project as script template. Therefore, I was stuck at last step "Creating the terrain level in WED". Are there any alternative approaches that can help me?

Re: can I import a terrain from Terragen to 3DGS [Re: eminent] #186597
03/03/08 14:56
03/03/08 14:56
Joined: Apr 2006
Posts: 66
Sweden
R
rstralberg Offline
Junior Member
rstralberg  Offline
Junior Member
R

Joined: Apr 2006
Posts: 66
Sweden
Hi

It should work with a terrain.wdl also. Haven't tested though.
I'm at work right now, but I can look into it this evening.

Kindly
~Roland


Roland Strålberg Gamestudio/A7 Commercial rstralberg@msn.com
Page 1 of 4 1 2 3 4

Moderated by  HeelX, rvL_eXile 

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1