View Full Version : itw spherical mapping software

06-15-2012, 09:02 PM
with significant help from waldronate i've been developing a new software for mapping.

atm it's buggered because of the !@(#*&$^ win32 sdk (no clue how to make more than one auxiliary dialog)

so i figured that itm i'd share what i've got, which is only the height field gen function so far.. not much :)

next step is to add a panel for editing oceans.. once i have an appropriate place to enter a water level coefficient, it can do the same thing with green and blue instead of gray.. about 2 minutes of editing.


preview mode: (the default mode)
current functions are all on the first panel, globe > height field. open that up, then (or before) wiggle your pointer on the gui. shift confines to orthogonal editing, right click 'spins' (well.. it's not really spinning.. there's side-to-side/longitudinal movement, then latitude and 'rotate'/right click are the two other axes..

...it's not ideal. i'd like to have confined the rotation to 'down' in the center of the image, but that's counterintuitive to the 3d axis system (and not as easy to code..)

...it's fairly nifty in preview mode, but if you turn it off, it will take about a minute to render.. (internally 4096x2048) - you can't see this because i haven't added the bmp export functions to this build yet...

i enjoy procedural programming, and while the height field will have manual editing, and various generative functions.. atm it's more because i like to code this than a really useful thing.. my coding aesthetic is ~antithesis to the commercial paradigm so there's no way it will ever have the bells and whistles of the other apps out there. but it should be ideal if you're about making stuff up quickly.

..if you're a win32 sdk genius, pls see other thread in software forum so i can add my bloody 2nd panel and move forward :)

06-16-2012, 01:06 PM
work for anyone? crash?

i'll come back when there's more to it :)

06-17-2012, 05:06 PM
Opened this thread because you mention win32 sdk. And my laptop just shut itself off (blue screen) on account of that. To momentarily hijack your thread... What is win32 sdk?

06-17-2012, 11:29 PM
What is win32 sdk?

oh man! if you've got win32 sdk, you're screwed! :D

sdk = software development kit, and win32 means 32 bit windows operating system. it's the worst, absolutely lethal. ;) you'll be okay.

fixed my panels, added land and sea colours..

for those of you who are just taking a peek to see where this is going, it looks like this.. (pixelated = preview mode, but again i haven't added the hi-res export)

you can drag your mouse around on it to 'spin' the globe and reposition which part is in the center.


06-18-2012, 12:24 PM
Worked fine for me on Win7 64x... I look forward to seeing future versions. Thanks for sharing it.

06-18-2012, 07:27 PM
nice to hear that! i'm going to be using xp for some time to come :) thank you!

06-21-2012, 03:49 PM
oh man! if you've got win32 sdk, you're screwed! :D

sdk = software development kit, and win32 means 32 bit windows operating system. it's the worst, absolutely lethal. ;) you'll be okay.

haha It seemed lethal (blue screen of death 6x in a week) but I know nothing of computers. Thanks for the explanation.

06-21-2012, 06:18 PM
weren't me i promise.

computers: stay away from warez, lyrics and midi file sites and you'll be alright i guess :)

06-21-2012, 07:32 PM
Just to chime in, you cant get a blue screen of death from a normal windows application since the advent of win2000. So if your Win95 or Win98 then get shot of that and upgrade. From NT, 2000, XP and beyond all processes have their own memory so if they pop then it doesnt take out the whole OS.

Now a device driver or something running in privileged mode can BSOD but an app will merely terminate - usually with one of those "This application has caused an unexpected error and needs to be closed" kind of messages. If you are getting random BSODs then check the event log and try to find out what code it posted. Then look up the code. It usually falls into one of two camps. A) is badly written device driver. If you can determine which one it is then upgrade it or disable that hardware device. If it has a driver required - like say a graphics card, then get a WHQL tagged driver which is also signed from the manufacturer. That means its been certified by microsoft... if you can trust the signing / certification process. The other common one B) is that some part of your systems hardware is dying and when the correct driver is talking to it, then its getting back gibberish or else its trying to make the hardware do something it doesn't want to do. 9 times out of 10 thats something with the power settings like sleep mode. So if your getting that then try disabling the sleep, standby and other low power options.

Another common cause of BSODs is that you have a virus of the root kit variety which is a virus running as a device driver. They are particularly nasty to get rid of. Also in the same camp are virus checkers & virus scanners like say ZoneAlarm or AVG which I find good but are also running in privileged mode. If you install some special software like Wireshark then it too has a driver based network packet monitor which is also a driver like bit of it.

Running a good set of drivers for your hardware is paramount for stability but I don't recommend just arbitrarily uninstalling various drivers to see if it helps as you may end up with an OS that wont boot and you would need to use the recovery disk or safe mode to get back in and fix it.

06-30-2012, 09:08 PM
are these colours and shades agreeable? only for arranging the ocean/land of the globe..


07-01-2012, 01:07 AM
just gleeing now.. with the directional shading it's the first 3d imagery i've coded myself..

part of the above world at high res, with the globe rotated and water raised..

you can see some pixels are wrong in the ocean.. due to some floating point precision thingy (they're doubtlessly all 'facing' the same direction, i'll sort it out)


07-02-2012, 08:06 PM
That's looking great....I'm really impressed.

I look forward to each new feature you refine and add, as things keep getting better.

07-03-2012, 12:44 PM
Absolutely gorgeous, xoxos. Those colors are great, too. I'm incredibly jealous - I have no gift for graphics coding, and wish I could be of use in projects like this. Can't wait to try it out, hopefully tonight.