Third Party Tools / HeightMap to GameGuru

Author
Message
Bored of the Rings
GameGuru Master
19
Years of Service
User Offline
Joined: 25th Feb 2005
Location: Middle Earth
Posted: 14th Jun 2018 17:25
I've deleted everything from my google drive at the moment, not sure I'll be uploading anything for a while.
Professional Programmer: Languages- SAS (Statistical Analysis Software) , C++, C#, VB, SQL, PL-SQL, JavaScript, HTML, Three.js, Darkbasic Pro (still love this language), Purebasic, others
Hardware: Dell Precision 490; AMD Radeon HD 7570; 12GB.
FPSC to GameGuru Tools: SegAutoWelder, Entity+Weapon Welder, FPEtoBAT, DBO2X
Ertlov
GameGuru BOTB Developer
17
Years of Service
User Offline
Joined: 18th Jan 2007
Location: Australia
Posted: 15th Jun 2018 03:22
can you provide an alternate link then?

I had an earlier version for testing landscape visualisation, and it was awesome.

Also happy to host it on my DB Pro, if you want.
"I am a road map, I will lead and you will follow, I will teach and you will learn, when you leave my sprint planning you will be weapons, focused and full of JIRA tickets, Hot Rod rocket development gods of precision and strength, terrorizing across the repository and hunting for github submits."
Bored of the Rings
GameGuru Master
19
Years of Service
User Offline
Joined: 25th Feb 2005
Location: Middle Earth
Posted: 16th Jun 2018 22:05 Edited at: 20th Jun 2018 10:27
ok, so I've started to add code to the open source , so far added some prelimary code to get the "Import Heightmap" option added to the File menu and get a trigger going. More to come as it progresses.

[update-added some placeholder code at the moment.... will be good to see this working in the main engine....]

The 2nd pic is just a trigger messagebox to test that it works when the file option is selected.
Professional Programmer: Languages- SAS (Statistical Analysis Software) , C++, C#, VB, SQL, PL-SQL, JavaScript, HTML, Three.js, Darkbasic Pro (still love this language), Purebasic, others
Hardware: Dell Precision 490; AMD Radeon HD 7570; 12GB.

Attachments

Login to view attachments
granada
Forum Support
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: United Kingdom
Posted: 18th Jun 2018 16:48
This will be great as part of the main engine.nice work and thank you

Dave
Windows 10 Pro 64 bit
GeForce GTX 1050 Ti
AMD FX (tm)-9590 Eight-core Processor
31.96 GB RAM
1920x1080,60 Hz
PM
Bored of the Rings
GameGuru Master
19
Years of Service
User Offline
Joined: 25th Feb 2005
Location: Middle Earth
Posted: 25th Jun 2018 13:57
Now that I have an understanding of the code and found the key sections that handle certain scenarios, I can now add my c+ code to get the heightmaps imported. More to come as this evolves... the power is at me fingertips

Professional Programmer: Languages- SAS (Statistical Analysis Software) , C++, C#, VB, SQL, PL-SQL, JavaScript, HTML, Three.js, Darkbasic Pro (still love this language), Purebasic, others
Hardware: Dell Precision 490; AMD Radeon HD 7570; 12GB.
Pirate Myke
Forum Support
14
Years of Service
User Offline
Joined: 31st May 2010
Location: El Dorado, California
Posted: 25th Jun 2018 15:32
Excellent. Thank you.
Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz, 2400 Mhz, 4 Core(s), 4 Logical Processor(s), 8gb RAM, Nvidia gtx660, Windows 7 Pro 64bit, Screen resolution 1680 x 1050.

Bored of the Rings
GameGuru Master
19
Years of Service
User Offline
Joined: 25th Feb 2005
Location: Middle Earth
Posted: 27th Jun 2018 08:50 Edited at: 27th Jun 2018 08:51
By the way, I have added a link to version 3.0 here, the split map functionality has been disabled as Im still testing and the c+ code is now being added to the Github open source which I'm hoping will be cleaner, optimized, have more functionality and basically better.

https://forum.game-guru.com/thread/219806#msg2602285
Professional Programmer: Languages- SAS (Statistical Analysis Software) , C++, C#, VB, SQL, PL-SQL, JavaScript, HTML, Three.js, Darkbasic Pro (still love this language), Purebasic, others
Hardware: Dell Precision 490; AMD Radeon HD 7570; 12GB.
granada
Forum Support
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: United Kingdom
Posted: 4th Jul 2018 21:16
All sounds good Mike ,hope it goes well

Dave
Windows 10 Pro 64 bit
GeForce GTX 1050 Ti
AMD FX (tm)-9590 Eight-core Processor
31.96 GB RAM
1920x1080,60 Hz
PM
Bored of the Rings
GameGuru Master
19
Years of Service
User Offline
Joined: 25th Feb 2005
Location: Middle Earth
Posted: 5th Jul 2018 07:00 Edited at: 5th Jul 2018 07:02
thanks Dave, unfortunately work and enjoying new life with my 5mth old baby boy has precedence at the moment so my adhoc tool work for GG is a bit choppy
Professional Programmer: Languages- SAS (Statistical Analysis Software) , C++, C#, VB, SQL, PL-SQL, JavaScript, HTML, Three.js, Darkbasic Pro (still love this language), Purebasic, others
Hardware: Dell Precision 490; AMD Radeon HD 7570; 12GB.
granada
Forum Support
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: United Kingdom
Posted: 6th Jul 2018 15:27
No worries enjoy the baby,the early bonding time is important

Dave
Windows 10 Pro 64 bit
GeForce GTX 1050 Ti
AMD FX (tm)-9590 Eight-core Processor
31.96 GB RAM
1920x1080,60 Hz
PM
AmenMoses
GameGuru Master
8
Years of Service
User Offline
Joined: 20th Feb 2016
Location: Portsmouth, England
Posted: 6th Jul 2018 17:30
I agree, I made the effort to bond with all my children. Now they won't leave and the youngest is 22!
Been there, done that, got all the T-Shirts!
PM
Flatlander
GameGuru Master
17
Years of Service
User Offline
Joined: 22nd Jan 2007
Location: The Flatlands
Posted: 26th Jul 2018 00:00
@AM, are they all sons or daughters. All our daughters couldn't wait to get out even though we bonded quite well. However, we had to kick the son out. They are all now between 35 and 40. Actually, I know it was humour in which I love your dry British humour.
Alienware Aurora R7 with SSD 256GB boot drive ( C: ) and a secondary drive ( D: ) that is 2TB
Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz 3.19 with Intel Turbo-burst
Installed RAM 16.0 GB
64-bit operating system, x64-based processor
Windows 10 Home
NVIDIA GeForce GTX 1070 with 8192 MB GDDR5 and 8095 MB shared system memory
MK83
GameGuru TGC Backer
18
Years of Service
User Offline
Joined: 10th Jun 2006
Location: Greeneville, TN USA
Posted: 9th Aug 2018 19:32
@BOTR, can we make underground things with this yet? ie: tunnels.
AMD Phenom x4 9850 2.70 Ghz , 6 Gb ram, 2GB EVGA Geforce GTX 750, Win 10 x64 Passmark score: 3091



PM
Bored of the Rings
GameGuru Master
19
Years of Service
User Offline
Joined: 25th Feb 2005
Location: Middle Earth
Posted: 31st Aug 2018 07:04 Edited at: 31st Aug 2018 07:07
@MK83- sorry for long delay replying, it's very hectic at the moment, not much time to breath. Anyway, back to your question. No, unfortunately, there is no possible way to do underground stuff. I think GG would need some sort of CSG cutting ability that allows you do tunnelling. That would be quite a major dev task.

On another note regarding HM2GG app, I have reworked/converted C code (taken from Gimp normalmap plugin) that will recreate/convert Normal maps to Heightmaps. It's a about 99.9% there. See below pics from a sample normal map. This is good if you no longer have or never had the original height map. It's still an ongoing experiment, playing around with and swapping various values and also altering contrast level etc. As free time is becoming less and less, I hope to release a major revamped version of HM2GG within the next few weeks.
Professional Programmer: Languages- SAS (Statistical Analysis Software) , C++, C#, VB, SQL, PL-SQL, JavaScript, HTML, Three.js, Darkbasic Pro (still love this language), Purebasic, others
Hardware: Dell Precision 490; AMD Radeon HD 7570; 12GB.

Attachments

Login to view attachments
Pirate Myke
Forum Support
14
Years of Service
User Offline
Joined: 31st May 2010
Location: El Dorado, California
Posted: 31st Aug 2018 07:32
Very nice. I can see use with that.
Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz, 2400 Mhz, 4 Core(s), 4 Logical Processor(s), 8gb RAM, Nvidia gtx660, Windows 7 Pro 64bit, Screen resolution 1680 x 1050.

Bored of the Rings
GameGuru Master
19
Years of Service
User Offline
Joined: 25th Feb 2005
Location: Middle Earth
Posted: 31st Aug 2018 09:57 Edited at: 31st Aug 2018 09:58
thanks P.Myke

Here is a preview screenshot showing the results in GameGuru with the newly recreated HeightMap being applied:

Of course , you could just use Gimp's Normalmap plugin, but I wanted to be able to do it all in my own app, so converted the C source code to DBPRo code.
Professional Programmer: Languages- SAS (Statistical Analysis Software) , C++, C#, VB, SQL, PL-SQL, JavaScript, HTML, Three.js, Darkbasic Pro (still love this language), Purebasic, others
Hardware: Dell Precision 490; AMD Radeon HD 7570; 12GB.

Attachments

Login to view attachments
granada
Forum Support
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: United Kingdom
Posted: 1st Sep 2018 11:29
Nice to see your finding a little spare time now Mike,nice things happening here.

Dave
Windows 10 Pro 64 bit
GeForce GTX 1050 Ti
AMD FX (tm)-9590 Eight-core Processor
31.96 GB RAM
1920x1080,60 Hz
PM
Bored of the Rings
GameGuru Master
19
Years of Service
User Offline
Joined: 25th Feb 2005
Location: Middle Earth
Posted: 1st Sep 2018 21:37
@Granada - thanks Dave. Of course , all this came about when OldPMan required some help to recreate a heightmap from a normal map using FFTW (Fourier Transform).. Anyway, I couldn't get that to work ( but will revisit at some point), so reworked the C code from GIMP normalmap plugin that does the same thing and turned out really well after many attempts getting the code / formula right. Was very rewarding in the end.
Professional Programmer: Languages- SAS (Statistical Analysis Software) , C++, C#, VB, SQL, PL-SQL, JavaScript, HTML, Three.js, Darkbasic Pro (still love this language), Purebasic, others
Hardware: Dell Precision 490; AMD Radeon HD 7570; 12GB.
Bored of the Rings
GameGuru Master
19
Years of Service
User Offline
Joined: 25th Feb 2005
Location: Middle Earth
Posted: 1st Sep 2018 22:28 Edited at: 1st Sep 2018 22:30
an example of the difference between converting a normal map to greyscale and heightmap are shown in the following pics:

Normal map on left , Grey scale map in middle and the actual heightmap on the right
Professional Programmer: Languages- SAS (Statistical Analysis Software) , C++, C#, VB, SQL, PL-SQL, JavaScript, HTML, Three.js, Darkbasic Pro (still love this language), Purebasic, others
Hardware: Dell Precision 490; AMD Radeon HD 7570; 12GB.

Attachments

Login to view attachments
karolko68
6
Years of Service
User Offline
Joined: 29th Sep 2018
Location:
Posted: 29th Sep 2018 12:38
Hello, yes download link is dead and i need this tool too. Or some useful info how to handy transport my heightmaps. I found something about m.dat file, but i not know what app can open it. Please some clue help. Thank you
PM
Bored of the Rings
GameGuru Master
19
Years of Service
User Offline
Joined: 25th Feb 2005
Location: Middle Earth
Posted: 29th Sep 2018 15:36
Np, I sent u a pm.
Professional Programmer: Languages- SAS (Statistical Analysis Software) , C++, C#, VB, SQL, PL-SQL, JavaScript, HTML, Three.js, Darkbasic Pro (still love this language), Purebasic, others
Hardware: Dell Precision 490; AMD Radeon HD 7570; 12GB.
Bored of the Rings
GameGuru Master
19
Years of Service
User Offline
Joined: 25th Feb 2005
Location: Middle Earth
Posted: 29th Sep 2018 23:12 Edited at: 30th Sep 2018 07:40
new link to tool. gmail account got hacked, now resolved. :

https://drive.google.com/open?id=1e7FfiKseqdFnxSRVkH4I96QjkxwlP8Zw
Professional Programmer: Languages- SAS (Statistical Analysis Software) , C++, C#, VB, SQL, PL-SQL, JavaScript, HTML, Three.js, Darkbasic Pro (still love this language), Purebasic, others
Hardware: Dell Precision 490; AMD Radeon HD 7570; 12GB.

Login to post a reply

Server time is: 2024-11-23 09:30:58
Your offset time is: 2024-11-23 09:30:58