Author Topic: Generating a map using a height map  (Read 1306 times)

Boy would this be useful, dont you think?
For anyone who has no idea what a height map is, its p much a black and white image that indicates... well height.
With white being high and black being low.

Commonly used in 3D modeling or level design (wich is essentially a 3D model).
This would speed up building by... allot

can post an example and 3D model of it later

Heedicalking made this.


What? Link?
I thought when I said Heedicalking it was implied that it isn't released.

I thought when I said Heedicalking it was implied that it isn't released.
oh...

Doesn't PTG take heightmaps?

Doesn't PTG take heightmaps?
Doesnt what take heightmaps?
Oh stuff the terrain generator?
He actually released it? Wow
« Last Edit: May 11, 2016, 05:11:57 PM by espio100 »

I thought when I said Heedicalking it was implied that it isn't released.
i don't get it
i don't know the connection between heed and not releasing stuff


and if it isn't released whats the point of you telling us

I'm pointing out how this is at the very least a feasible idea, opening up a dialogue maybe.

It's possible for it to all be done in TorqueScript, but the function for getting pixel colors is slow and badly made, so it'd take a long time. It'd probably take around 27 minutes for a 256x256 image.

It's possible for it to all be done in TorqueScript, but the function for getting pixel colors is slow and badly made, so it'd take a long time. It'd probably take around 27 minutes for a 256x256 image.

Just use an external tool to convert the height map to a text file

trude made a java script that did this once
https://forum.blockland.us/index.php?topic=134632.0

the source code:
http://pastehtml.com/view/1bwph7m.txt

and i'm p sure this is a compiled .jar
https://dl.dropboxusercontent.com/u/11058668/Mods/Heightmap2BLS.jar

though i'm pretty sure it didn't work very well or something??

Forgot about this thread lol
Quote from: jes00
link=topic=296931.msg9049440#msg9049440 date=1463063153
It's possible for it to all be done in TorqueScript, but the function for getting pixel colors is slow and badly made, so it'd take a long time. It'd probably take around 27 minutes for a 256x256 image.
Im not an expert but...
As long as its a greyscale image I doubt itll take so long.
trude made a java script that did this once
https://forum.blockland.us/index.php?topic=134632.0

the source code:
http://pastehtml.com/view/1bwph7m.txt

and i'm p sure this is a compiled .jar
https://dl.dropboxusercontent.com/u/11058668/Mods/Heightmap2BLS.jar

though i'm pretty sure it didn't work very well or something??
Very much of the thankings

Im not an expert but...
As long as its a greyscale image I doubt itll take so long.
I rather doubt that.

https://forum.blockland.us/index.php?topic=280801.msg8409538#msg8409538

yeah it seems weird that a function that just grabs a pixel color would take that long but Ha ha ha