Author Topic: Heightmaps  (Read 8678 times)

Schala Zeal

  • Radical Dreamer (+2000)
  • *
  • Posts: 2145
  • 7th Elemental Innate, and vtuber
    • View Profile
Heightmaps
« on: May 25, 2020, 08:15:30 pm »
My isolation project is to 3D model Zeal for VRChat or something similar (yes, VRChat has competition but it's not as popular) and for the most part, I can manage it. I'm almost done with the skyway stations, I have a good idea for the Mammon machine, but what I'm struggling to approach is how to do the actual landmass of Zeal, and possibly select surface landmasses like Mt. Woe and such.

Normally, this would be done by generating it from what's called a heightmap. A heightmap is a bird's eye view of some landscape and the height info is represented by black, white, and shades of gray in between. (black = lowest height, white = highest) Though, I could do it the hard (hopefully not necessary) way of 3D sculpting it.

As amazing as the fan works of Chrono Trigger I've seen are, I've never seen anyone make anything remotely similar to a heightmap of either the Zenan continent, Zeal, whatever. The CT Resurrection crew I'm sure is pretty hit or miss. I'm posting this in the hopes someone can point me to some resources.

I'd really appreciate any effort and by the time this is all done, I hope it pays off for a lot of fans to have a nostalgic place in VR to hang out, role-play, whatever. For now, here's a render of the in-progress skyway hub


« Last Edit: May 25, 2020, 08:19:30 pm by Schala Zeal »

stingrayiii

  • Porrean (+50)
  • *
  • Posts: 81
    • View Profile
Re: Heightmaps
« Reply #1 on: June 08, 2020, 12:53:22 am »
Here is from my project years ago.

stingrayiii

  • Porrean (+50)
  • *
  • Posts: 81
    • View Profile
Re: Heightmaps
« Reply #2 on: June 08, 2020, 12:55:29 am »
More

Boo the Gentleman Caller

  • Guru of Life Emeritus
  • Hero of Time (+5000)
  • *
  • Posts: 5297
    • View Profile
Re: Heightmaps
« Reply #3 on: June 08, 2020, 09:42:55 am »
Those are slick!

cymorg

  • Earthbound (+15)
  • *
  • Posts: 17
  • I draw Frogs
    • View Profile
Re: Heightmaps
« Reply #4 on: June 12, 2020, 11:15:43 pm »
Hi Schala! I'm not really experienced with heightmaps and the like, I mostly have experience with character stuff in the 3D realm. But I just wanted to say that your assets are looking really nice! The shaders look excellent. What program are you making these in, and have you heard of substance painter?

Schala Zeal

  • Radical Dreamer (+2000)
  • *
  • Posts: 2145
  • 7th Elemental Innate, and vtuber
    • View Profile
Re: Heightmaps
« Reply #5 on: July 07, 2020, 04:58:26 am »
@cymorg: I'm a beginner-to-intermediate with Blender 2.8's shader nodes. Since posting this, I tried my best making my own heightmaps by doing the following:

- Set the render colouring profile from Filmic to Standard for more accuracy
- Set the render output format to OpenEXR with full 32-bit float for the same reason
- Set the camera mode to orthographic and placing it above the map mesh pointing down at it like a bird's eye view
- Positioned and scaled the map mesh to be sitting on the grid of the viewport
- In the shader editor, created the material seen in the attached screenshot. Blender takes the Z axis positions of the mesh's geometry and multiplies them by 0.225, feeding it directly into the material surface output, as lighting or shadows are irrelevant here. This produces a colouring effect where the bottom of the mesh is all black, but as it gets higher, turns brighter shades of grey up to the highest points, which are white.
- I got the 0.225 multiplier value by plugging the multiply node into a 'greater than' node which had a value of 1. Then I slid the multiply value to a point where you first start seeing white. This operation tells Blender that the highest point on the mesh should be white and not a lesser shade of grey.
- For Unity heightmap import, I rendered with a 4097x4097 resolution. It is the highest heightmap res that Unity currently supports.

Granted, Stringray's heightmaps look a bit more precise, though lower res. Maybe I need a color adjustment?

Also, Stingray, do you have anything for the Zeal floating isles, like a variant of the model without the tunnels or holes cut in them? I want to build more suitable models for the various buildings, etc.
« Last Edit: July 07, 2020, 05:04:01 am by Schala Zeal »

stingrayiii

  • Porrean (+50)
  • *
  • Posts: 81
    • View Profile
Re: Heightmaps
« Reply #6 on: July 11, 2020, 02:27:11 am »

Also, Stingray, do you have anything for the Zeal floating isles, like a variant of the model without the tunnels or holes cut in them? I want to build more suitable models for the various buildings, etc.

No, I took a model from minecraft and recreated it from that. So that is all I have for the floating islands.

Schala Zeal

  • Radical Dreamer (+2000)
  • *
  • Posts: 2145
  • 7th Elemental Innate, and vtuber
    • View Profile
Re: Heightmaps
« Reply #7 on: July 11, 2020, 08:36:49 pm »
I see. Well, I was able to cover up the holes with patches a bit roughly, but rendered out, you can't really notice them

stingrayiii

  • Porrean (+50)
  • *
  • Posts: 81
    • View Profile
Re: Heightmaps
« Reply #8 on: July 11, 2020, 10:10:34 pm »
Maybe you are trying for more realistic maps. I messed with this today.
« Last Edit: July 11, 2020, 10:14:48 pm by stingrayiii »

stingrayiii

  • Porrean (+50)
  • *
  • Posts: 81
    • View Profile
Re: Heightmaps
« Reply #9 on: July 12, 2020, 01:35:50 am »
600
« Last Edit: July 12, 2020, 02:33:16 am by stingrayiii »

stingrayiii

  • Porrean (+50)
  • *
  • Posts: 81
    • View Profile
Re: Heightmaps
« Reply #10 on: July 12, 2020, 01:38:28 am »
1000
« Last Edit: July 12, 2020, 02:33:49 am by stingrayiii »

stingrayiii

  • Porrean (+50)
  • *
  • Posts: 81
    • View Profile
Re: Heightmaps
« Reply #11 on: July 12, 2020, 01:40:48 am »
2300

stingrayiii

  • Porrean (+50)
  • *
  • Posts: 81
    • View Profile
Re: Heightmaps
« Reply #12 on: July 12, 2020, 01:42:32 am »
12000

Schala Zeal

  • Radical Dreamer (+2000)
  • *
  • Posts: 2145
  • 7th Elemental Innate, and vtuber
    • View Profile
Re: Heightmaps
« Reply #13 on: July 12, 2020, 05:59:12 pm »
Oh wow! Nice job! Uhm... if possible, can I have it in 4097x4097?
« Last Edit: July 12, 2020, 07:31:58 pm by Schala Zeal »

stingrayiii

  • Porrean (+50)
  • *
  • Posts: 81
    • View Profile
Re: Heightmaps
« Reply #14 on: July 12, 2020, 09:59:58 pm »
Here ya go