CodeWalrus

CodeWalrus Website => Game, Software and Music Downloads => Programs and Utilities => Topic started by: kotu on February 02, 2017, 01:37:34 AM

Title: [PC] Shajun - Free 3D terrain utility
Post by: kotu on February 02, 2017, 01:37:34 AM
Thought I would add this as a tool, it's a tool for visualising 3D terrains (based on input heightmap) which can output a useful selection of images.....

(https://s24.postimg.org/u6swe8vp1/shajun.jpg)

normal map (x,y and z of terrain normal encoded as rgb)
(https://s27.postimg.org/5k35ev9fn/image.png)

shade map (lighting adjustable)
(https://s27.postimg.org/jf7p0y037/image.png)

full lighting+colour 2d output
(https://s30.postimg.org/ifjbfjoep/image.png)

use of custom gradient
(https://s27.postimg.org/fv6xaeb0z/customgradient.png)


Link here --->> http://futurerave.uk/extras.php (http://futurerave.uk/extras.php)

*edit
feature requests anyone??
Title: Re: Shajun - Free 3D terrain utility [PC]
Post by: p2 on February 02, 2017, 09:56:02 AM
Well I currently got no use for such a software as I dont plan on creating 3D games ^^
but I really like the idea of working with pictures only for everything.
is it possible to measure distances between points on the map? like both air-distance and direct walking path following the surface? :)
Title: Re: Shajun - Free 3D terrain utility [PC]
Post by: kotu on February 02, 2017, 09:58:14 AM
Quote from: p2 on February 02, 2017, 09:56:02 AM
is it possible to measure distances between points on the map? like both air-distance and direct walking path following the surface? :)
no and
direct walking path following the surface would be dubious as it depends on how you draw the quads - |/| or |\|
Title: Re: Shajun - Free 3D terrain utility [PC]
Post by: Snektron on February 02, 2017, 10:12:24 AM
Neat. Does this generate terrains too or just convert hight maps?
Title: Re: Shajun - Free 3D terrain utility [PC]
Post by: kotu on February 02, 2017, 11:39:19 AM
it doesn't generate terrains.... it just accepts a height map as its input
Title: Re: Shajun - Free 3D terrain utility [PC]
Post by: p2 on February 02, 2017, 11:55:34 AM
I think what koto is trying to say is that the program uses these pictures (heightmap and coloring) as input to create a 3D model of the map.
I dont think there's a need to export it as the pictures themselves work as the savefile.
But I agree, an output, for example as a blender file, would be really cool as well :thumbsup:
Title: Re: Shajun - Free 3D terrain utility [PC]
Post by: kotu on February 02, 2017, 12:20:09 PM
Quote from: p2 on February 02, 2017, 11:55:34 AM
But I agree, an output, for example as a blender file, would be really cool as well :thumbsup:
i could probably do that
Title: Re: Shajun - Free 3D terrain utility [PC]
Post by: p2 on February 02, 2017, 12:21:22 PM
that would really rock kotu!!
Just do some graphics work and BOOM you got your 3D landscape!  :thumbsup:
Title: Re: Shajun - Free 3D terrain utility [PC]
Post by: kotu on February 02, 2017, 04:06:45 PM
Have just upgraded this program to a version 2, have added some new stuff including quick zoom out on right click, ability to turn sun on/off (thus leaving just ambient light) and height quantization. The height quantization allows for stuff such as the following....... (could be useful for 3D plaformers or something)

(https://s30.postimg.org/q787y8jsx/example1.png)

(https://s28.postimg.org/hcav631gt/example2.png)

Won't be adding the blender export for a while as I am working on something else now

The new File isn't uploaded yet btw, will edit this post when I do that. Cheers!
*EDIT*
file has now been uploaded thanks
Title: Re: Shajun - Free 3D terrain utility
Post by: Dream of Omnimaga on February 02, 2017, 08:15:04 PM
Something cool is if this could convert small maps into gLib and HP PPL format. Nice tool, by the way :3=
Title: Re: Shajun - Free 3D terrain utility
Post by: kotu on February 02, 2017, 08:20:00 PM
Quote from: DJ Omnimaga on February 02, 2017, 08:15:04 PM
Something cool is if this could convert small maps into gLib and HP PPL format. Nice tool, by the way :3=

well i wasn't planning on adding exports for LOADS of file formats, you have mentioned 2 which i think are for calcs, and p2 has mentioned blender

i guess one PC format and one calc format would be reasonable

it's just knowing/choosing the right ones lol

thoughts people??
Title: Re: Shajun - Free 3D terrain utility
Post by: Dream of Omnimaga on February 03, 2017, 05:20:56 PM
My HP PPL suggestion was because that on-calc language has a Triangle() command that takes a list of polygons and it lets you generate 3D graphics. The downside, though, is that there aren't any textures.
Title: Re: Shajun - Free 3D terrain utility
Post by: kotu on February 08, 2017, 11:15:25 AM
Quote from: DJ Omnimaga on February 03, 2017, 05:20:56 PM
My HP PPL suggestion was because that on-calc language has a Triangle() command that takes a list of polygons and it lets you generate 3D graphics. The downside, though, is that there aren't any textures.
well this tool doesn't feature textures anyway

this answers one of the things i was thinking about anyway - how the map should be output as a 3D model. i was thinking (for a blender export) to add no colour/lighting, but now i realise there should definitely be two modes for output - one without any lighting, and one with. nice one dj
Title: Re: Shajun - Free 3D terrain utility [PC]
Post by: p2 on February 08, 2017, 12:04:46 PM
if you get that done and keep working on it, this tool could actually become the missing software to turn blender files into various calc-related formats, which would definitely be aesome  O.O
(most calcs and on-calc tools do NOT support blender files, gLib is pretty much of an exception there)
Title: Re: Shajun - Free 3D terrain utility [PC]
Post by: kotu on February 08, 2017, 12:10:10 PM
if i was going to do that it would be a separate tool, however, that is probably something i would not be interested in doing *lazy*  (-_(//));
Title: Re: [PC] Shajun - Free 3D terrain utility
Post by: kotu on June 17, 2017, 04:16:11 PM
I just today uploaded the source code for this program, as well as a couple others, here...

https://github.com/rowanmedhurst (https://github.com/rowanmedhurst)
Title: Re: Shajun - Free 3D terrain utility
Post by: Dream of Omnimaga on June 17, 2017, 05:15:27 PM
Always a good move to make your stuff open-source :)
Title: Re: [PC] Shajun - Free 3D terrain utility
Post by: kotu on June 22, 2017, 06:58:51 PM
Maybe
Title: Re: Shajun - Free 3D terrain utility
Post by: _iPhoenix_ on June 22, 2017, 07:40:03 PM
It always is.

Unless your sole goal in life is to make everyone pay up to your demands and be a cold hearted person.

Or if you really need the money, but for a free utility, it's awesome for being open source.
Title: Re: Shajun - Free 3D terrain utility
Post by: kotu on June 22, 2017, 07:42:47 PM
Quote from: _iPhoenix_ on June 22, 2017, 07:40:03 PM
It always is.
Never say never!!

For example I can't let my game Tach Chess be open source, as then people would be able to change the rules, etc
Title: Re: Shajun - Free 3D terrain utility
Post by: p4nix on June 22, 2017, 08:12:03 PM
Quote from: kotu on June 22, 2017, 07:42:47 PM
For example I can't let my game Tach Chess be open source, as then people would be able to change the rules, etc
It's not impossible to hack into closed source programs. Also, isn't being able to modify rules and tweaking things actually a good thing? (as long as we are not talking about cheating human vs human like in computer games)
Title: Re: Shajun - Free 3D terrain utility
Post by: kotu on June 22, 2017, 08:14:43 PM
Quote from: p4nix on June 22, 2017, 08:12:03 PM
Quote from: kotu on June 22, 2017, 07:42:47 PM
For example I can't let my game Tach Chess be open source, as then people would be able to change the rules, etc
It's not impossible to hack into closed source programs. Also, isn't being able to modify rules and tweaking things actually a good thing? (as long as we are not talking about cheating human vs human like in computer games)

Yes I know you can hack straight into an .exe file

And, no, it's not necesarily a good idea to let ppl change the rules, lol
Title: Re: Shajun - Free 3D terrain utility
Post by: _iPhoenix_ on June 22, 2017, 10:16:30 PM
One thing- in Mandarin, shajun means "to disinfect" according to my friend.

/me feels a little uncomfortable....
Title: Re: [PC] Shajun - Free 3D terrain utility
Post by: kotu on June 22, 2017, 10:24:58 PM
That's good enough for me

It's actually named that because the word is based on the phrase 'shadegen' - a phrase which had already been used for a previous tool - the one this is based on.
Title: Re: Shajun - Free 3D terrain utility
Post by: _iPhoenix_ on June 22, 2017, 10:45:49 PM
Ahh awesome!

This is a really cool project, btw.
Title: Re: [PC] Shajun - Free 3D terrain utility
Post by: kotu on June 22, 2017, 10:46:32 PM
Thankyou very much!