Author Topic: Relief Mapping  (Read 988 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, 11:10:15 am 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
  • Lazy, retarded and speaking polgrish.
    • 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.

 

Offline Bryan See

  • Has anyone really been far as decided to use even go want to do look more like?
  • 29
  • Trying to redeem.
    • Skype
    • Steam
    • Twitter
Next up: I hope it will be displacement mapping and tessellation. And real-time environment PBR mapping and lighting.
« Last Edit: February 16, 2018, 10:18:44 am by Bryan See »
Bryan See - My FreeSpace Wiki User Page (Talk, Contributions)

Campaigns:
FreeSpace: Reunited - Shattered Stars

Ships:
GTS Hygeia, GTT Argo, SC Raguel

 

Offline chief1983

  • Still lacks a custom title
  • Moderator
  • 212
  • ⬇️⬆️⬅️⬅️🅰➡️⬇️
    • Minecraft
    • Skype
    • Steam
    • Twitter
    • Fate of the Galaxy
Someone's trying really hard to win Buzzword Bingo today...
Fate of the Galaxy - Now Hiring!  Apply within | Diaspora | SCP Home | Collada Importer for PCS2
Karajorma's 'How to report bugs' | Mantis
#freespace | #scp-swc | #diaspora | #SCP | #hard-light on EsperNet

"You may not sell or otherwise commercially exploit the source or things you created based on the source." -- Excerpt from FSO license, for reference

Nuclear1:  Jesus Christ zack you're a little too hamyurger for HLP right now...
iamzack:  i dont have hamynerge i just want ptatoc hips D:
redsniper:  Platonic hips?!
iamzack:  lays

 
Could we get non-AVX2 build for win64?  ;)