Gamestudio Links
Zorro Links
Newest Posts
Blobsculptor tools and objects download here
by NeoDumont. 03/28/24 03:01
Issue with Multi-Core WFO Training
by aliswee. 03/24/24 20:20
Why Zorro supports up to 72 cores?
by Edgar_Herrera. 03/23/24 21:41
Zorro Trader GPT
by TipmyPip. 03/06/24 09:27
VSCode instead of SED
by 3run. 03/01/24 19:06
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (AndrewAMD, Nymphodora, Quad), 919 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
sakolin, rajesh7827, juergen_wue, NITRO_FOREVER, jack0roses
19043 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Game Maker Terrain editor 2 (GMTE2) to GST terrain (MED) #439626
04/05/14 23:37
04/05/14 23:37
Joined: May 2013
Posts: 154
N
NeoDumont Offline OP
Member
NeoDumont  Offline OP
Member
N

Joined: May 2013
Posts: 154
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 !

Re: Game Maker Terrain editor 2 (GMTE2) to GST terrain (MED) [Re: NeoDumont] #470598
01/24/18 00:13
01/24/18 00:13
Joined: May 2013
Posts: 154
N
NeoDumont Offline OP
Member
NeoDumont  Offline OP
Member
N

Joined: May 2013
Posts: 154
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.


Moderated by  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

Powered by UBB.threads™ PHP Forum Software 7.7.1