Gamestudio Links
Zorro Links
Newest Posts
Windows permission issues
by HellThunder
Today at 21:51
CSVToHistory.c
by Dalla
Today at 20:42
Position Close not possible
by MatPed
Today at 18:49
Options trading questions
by Zheka
Today at 17:36
Published Gamestudio Games?
by jumpman
Today at 08:05
New Zorro version 1.88
by DdlV
Yesterday at 20:32
Possible to extend assetHistory with own source?
by jcl
Yesterday at 16:32
AUM Magazine
Latest Screens
Worst Case Z
AckCon'18 - Lotter vs the World 2 - Preview Release
Evonet Beta v1.0 : Online Project Development Template
Lake scene
Who's Online
17 registered (Jason_Rogers, alibaba, dmac, AndrewAMD, HellThunder, Dalla, jumpman, 3run, 3 invisible), 505 Guests and 3 Spiders online.
Key: Admin, Global Mod, Mod
Newest Members
cepturion, Mon3y, vincitytaymo, just, XJohnny_Hoffmann
18057 Registered Users
Topic Options
Rate This Topic
#439626 - 04/06/14 01:37 Game Maker Terrain editor 2 (GMTE2) to GST terrain (MED)
NeoDumont Offline
Junior Member

Registered: 05/21/13
Posts: 84
Hi Folks !

Here are some results I got from trying to use the Gamemaker Terrain editor 2 (GMTE2) for a Gamestudio terrain . The approach of the GMTE2 is a little different from the one MED uses. GMTE modifies the terrain and sprays a texture (soft borders) on it at the same time. You can quickly select another texture with rising or lowering the terrain, beside some other nice features. Check out GMTE2, its a free program. GMTE2 is patch/ texture tile oriented and originally made for use with Gamemaker (TM). However there is one anoying thing with GMTE2:. There is no undo function. MED has one, beside some other nice features.

Anyway, I created a terrain in GMTE2 succesfully and imported it in MED with the following parameters best, having in mind a single large terrain, like in the nice little car demo supplied with GST:

Create a new terrain in GMTE2 with the following parmeters:

Widh of terrain (in patches): 128
Height of new terrain(in patches): 256
Amount of patches per model: 16
Amount of texture pixels per patch: 16

Now select your textures and spray your terrain.

Export the terrain texture colormap.png with the following params:

Width (in pixels): 512
Height (in pixels): 1024

If an error message occours, press ignore.

Export the heightmap now, no params req.

Load the colormap.png from the GMTE2 main directory into your favourite paintprogram. The size of the colormap you will see is indicated as 513 x 1025 pixels. (Small flaw of the exporter ?, Don't know)
Resize it to 512 x 1024 pixels and finetune or change it as you like and then save it as a bmp or tga file, ready to be used for a terrain skin in MED.

Load the heightmap.png into your paintprogram. Again you need to rescale the 129x256 to 128x256. Add or change details to the heightmap and save it as a bmp. 128x256 for a heightmap may look very small to you, but it does well do the job.

Open MED and create a terrain from the heighmap.bmp via -->Import-->create terrain from image.
Set vertices horizontal to 80.
Set Vertices vertical to 160.
Set Traingle size horizontal to 100.
Set triangle size vertical to 100.

Now add the colormap.bmp terrain skin in the skin editor (File-->Import-->Skin Image).

Edit the terrain, add a detail skin or else, if needed.

Thats all.

I tried to us higher values for the terrain and terrain texture in GMTE2, but the values above seem to be the limit of GMTE2, well at least on my system/graphic card.

----------------------------------------------

I did this on an Athlon XP 1.2 GHZ, 1.5 GB Ram and an ATI Radeon 9600/X1050 256 MB, GST 7 Extra, MED 6.86

Best wishes !

Top
#470598 - 01/24/18 01:13 Re: Game Maker Terrain editor 2 (GMTE2) to GST terrain (MED) [Re: NeoDumont]
NeoDumont Offline
Junior Member

Registered: 05/21/13
Posts: 84
Ok, just a small update concerning the mini tutorial about gamemaker terrain editor terrain to Gamestudio hmp.

Same as above, but this time I exported the mesh instead of the hightmap.

I used the default values in the 'new terrain' requester: 128,128,16,32. then sprayed some terrain and exported the colormap first with 2048x2048 in size.
After that, instead of using the height map, I exported the terrain as an .obj file. The result is saved in the objexport folder of GMTE. Because the .obj file here is fragmented in triangles I joined them in Meshlab (free, wonderful tool) via
Cleaning+Repairing-->Merge Close Vertices to get one single mesh. Then I saved the terrain as a .3ds file and imported it in MED and put the colormap (needs to be converted to
become exactly 2048x2048) on it.

Thats all.

Best wishes !

NeoDumont

----------------------------------------------------------------------------------

If you dont know GMTE: There is a youtube video showing how GMTE works.

If you cant find GMTE on the net anymore feel free to ask me. I can put it on my Webspace for download. GMTE is open source freely distributable Software.

Top


Moderator:  aztec, Blink, HeelX 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

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