Author Topic: Relief Mapping  (Read 266 times)

0 Members and 1 Guest are viewing this topic.

Offline Swifty

  • 210
  • I reject your fantasy & substitute my own
Thanks to taylor, we've had normal mapping since the Xt builds. Along with it, we've had support for reading height maps for a while but the shaders never did anything with them.

So I'm pleased to finally announce some formal height mapping support in Freespace. I've coded relief mapping which will finally allow our models to have raised/depressed occluding surfaces not part of the mesh.

Screenies:

Axem's Rahu:


Axem's Rahu (Without Relief Mapping for comparison):


Height Maps Are Cool:




Win32 Test Build:
https://drive.google.com/open?id=1lcLeNWAk5flAiO90XeiynfAEY0Wl7FpY

Win64 Test Build:
https://drive.google.com/open?id=1bdZ1MmaHjWktoeZo5OKDDRLya7xg5LzJ

WIP Source:
https://github.com/SamuelCho/fs2open.github.com/tree/relief_mapping

No test data included but maybe Axem can post the test models he gave me here (Or give me permission to share them)

 

Offline Oddgrim

  • 29
  • I like building stuff.
    • Art Thumblr
ooooh... moar shinys! *grabs build*  :D
[GhostOfMjn: I can provide hi res vasudan ass]
[Hades]: we have so much in common we should bang.
My models page:
http://p3d.in/u/Oddgrim

 

Offline niffiwan

  • 211
  • Eluder Class
oooh oooh oooh, very nice sir, thank you!  :yes:
Creating a fs2_open.log | Red Alert Bug = Hex Edit | MediaVPs 2014: Bigger HUD gauges | 32bit libs for 64bit Ubuntu
----
Linux OBS Packages: FSO 3.7.0 | FSO BP Build | wxLauncher (?) | PCS2 (?) | wxVPView (?)
Debian Packages (testing/unstable): Freespace2 | wxLauncher
----
m|m: I think I'm suffering from Stockholm syndrome. Bmpman is starting to make sense and it's actually written reasonably well...

 

Offline Trivial Psychic

  • 212
  • Snoop Junkie
Does that mean that damage decals can now cause depressions in a target's hull?
The Trivial Psychic Strikes Again!

 

Offline Luis Dias

  • 211
is dis some form of geomod

 

Offline Swifty

  • 210
  • I reject your fantasy & substitute my own
Does that mean that damage decals can now cause depressions in a target's hull?

m!m's screenspace decals write diffuse and normals into the gBuffer, no height data. Getting the same occlusion effect in there might be a bit trickier so that's something I'd have to get back to you on.
« Last Edit: January 12, 2018, 12:10:15 pm by Swifty »

 

Offline Axem

  • Administrator
  • 211
No test data included but maybe Axem can post the test models he gave me here (Or give me permission to share them)

I hereby give Swifty S. Swifterson permission to release the test models. (Note to people checking out the Rahu, that isn't quite the final model yet. I have a few small things to change still!)

  

Offline Nyctaeus

  • Betrayal is his middle name
  • 211
  • Get Exiled! ^^
    • Minecraft
    • Exile
Yes! Freaking yes! Finally! I was waiting for this since I bought Substance Painter :D. Great job guys!

Some of my newer models like Anteros or Schrodinger have heightmaps if anyone is looking for some test subjects.
Exile | Shadow Genesis | DA Profile | P3D Profile

MY RELEASED CONTENT SO FAR
Old Conversions | GTSD Anchorage | ORFg Tychicus | GTCa Sagittarius | SCv Scylla | EFC Evangelist | EFFg Solomon | GTL Latona | SC Raguel | PVD Atum | GTCv Eurynome | FractalSpace - Apophysis Skydome Pack | Updated Ancients Models
All of my stuff can be used ONLY in Freespace campaigns and missions.

Veteran modder and graphic designer of all kinds. 3D is my speciality. Feel free to PM me if you looking for a model or other GFX help.