Author Topic: rbdoom3bfg with editors  (Read 577 times)

0 Members and 1 Guest are viewing this topic.

The Happy Friar

  • Happy Happy Joy Joy
  • Administrator
  • Hero Member
  • *****
  • Posts: 897
  • Karma: +42/-4
  • Semi-Newbie.
    • View Profile
    • EarthQuake
Re: rbdoom3bfg with editors
« Reply #15 on: May 28, 2018, 09:22:13 AM »
I've got Visual Studio 2017.  I'll give it a shot sometime.  :)

The Happy Friar

  • Happy Happy Joy Joy
  • Administrator
  • Hero Member
  • *****
  • Posts: 897
  • Karma: +42/-4
  • Semi-Newbie.
    • View Profile
    • EarthQuake
Re: rbdoom3bfg with editors
« Reply #16 on: May 28, 2018, 06:23:17 PM »
errors I got:
Code: [Select]
Severity    Code    Description    Project    File    Line    Suppression State
Error    C1083    Cannot open include file: '..\LibOVR\Include\OVR_CAPI.h': No such file or directory    idlib    d:\doom-3-bfg-vr-master\neo\vr\Vr.h    32   
Error    C1083    Cannot open include file: '..\LibOVR\Include\OVR_CAPI.h': No such file or directory    Doom3BFGVR    d:\doom-3-bfg-vr-master\neo\vr\Vr.h    32   
Error    C2061    syntax error: identifier 'DXGI_JPEG_AC_HUFFMAN_TABLE'    Doom3BFGVR    C:\Program Files (x86)\Windows Kits\10\Include\10.0.15063.0\um\wincodec.h    8132   
Error    C2061    syntax error: identifier 'DXGI_JPEG_AC_HUFFMAN_TABLE'    Doom3BFGVR    C:\Program Files (x86)\Windows Kits\10\Include\10.0.15063.0\um\wincodec.h    8321   
Error    C2061    syntax error: identifier 'DXGI_JPEG_DC_HUFFMAN_TABLE'    Doom3BFGVR    C:\Program Files (x86)\Windows Kits\10\Include\10.0.15063.0\um\wincodec.h    8137   
Error    C2061    syntax error: identifier 'DXGI_JPEG_DC_HUFFMAN_TABLE'    Doom3BFGVR    C:\Program Files (x86)\Windows Kits\10\Include\10.0.15063.0\um\wincodec.h    8326   
Error    C2061    syntax error: identifier 'DXGI_JPEG_QUANTIZATION_TABLE'    Doom3BFGVR    C:\Program Files (x86)\Windows Kits\10\Include\10.0.15063.0\um\wincodec.h    8142   
Error    C2061    syntax error: identifier 'DXGI_JPEG_QUANTIZATION_TABLE'    Doom3BFGVR    C:\Program Files (x86)\Windows Kits\10\Include\10.0.15063.0\um\wincodec.h    8331   
first two are easy: I don't have that folder in my neo/libs folder.  So obivious.  :)The DX ones I'm not sure.
I downloaded the .zip of the github files earlier today & tried to compile that.  i'm using Studio 2017 & had it cmake to 15, but had no issues loading the solution file.  I added the stuff I was supposed to to the preprocessor & command line for the respective projects.

motorsep

  • Hero Member
  • *****
  • Posts: 990
  • Karma: +74/-131
  • Artist
    • View Profile
    • Kot in Action Creative Artel
Re: rbdoom3bfg with editors
« Reply #17 on: May 28, 2018, 08:27:13 PM »
I think you need Oculus SDK to resolve the first two and Win 10 SDK to resolve the rest. That's why I prefer for people to provide pre-build binaries for FOSS projects ;)

anonreclaimer

  • Newbie
  • *
  • Posts: 8
  • Karma: +2/-0
  • Doom Newbie
    • View Profile
Re: rbdoom3bfg with editors
« Reply #18 on: May 31, 2018, 02:22:15 PM »

... but AF and the Material editor are broken.

Hmm.. Broken how? I recall all editors worked in Storm Engine 2 (some had inherited bugs from old vanilla Doom 3, but that wasn't something easily fixable) where one could use it to make content.

I'm going to push a commit soon that adds geometry shaders with the AF editor. Also, I'm thinking of ways of expanding the culling system and adding compute shaders to the pipeline.

Nice, it would be interesting to see how it would benefit the game, especially in VR.

Note: These instructions are for the vs2015 compiler so I don't know if these builds will compile nicely for vs2017.

I am hoping TheHappyFriar can test it as I, unfortunately, literally don't have any free time to spare in the next few month :-[

Btw, great job you are doing here!

I'm done, here's a binary. The build has a few bugs but, I'll figure it out later.
https://github.com/anonreclaimer/DOOM-3-BFG-VR/releases/tag/V0.022-Alpha
« Last Edit: May 31, 2018, 02:25:02 PM by anonreclaimer »

motorsep

  • Hero Member
  • *****
  • Posts: 990
  • Karma: +74/-131
  • Artist
    • View Profile
    • Kot in Action Creative Artel
Re: rbdoom3bfg with editors
« Reply #19 on: May 31, 2018, 03:28:56 PM »
Yay! Thanks a bunch. I tweeted about it :)

motorsep

  • Hero Member
  • *****
  • Posts: 990
  • Karma: +74/-131
  • Artist
    • View Profile
    • Kot in Action Creative Artel
Re: rbdoom3bfg with editors
« Reply #20 on: May 31, 2018, 04:39:42 PM »
Btw, there are a few rendering fixes in Storm Engine 2 that would probably benefit Doom 3 BFG.

When running mods, particle bounds are ignored and as soon as particle emitter origin is outside of the view, whole particle system gets culled, which is wrong. SE2 has a fix for that.

Another one is more of an improvement - oblique frustum clipping. That makes reflections/refractions in the water render correctly. There is also a fix for heat haze shader that fixes (somewhat) boundary between heat haze plane and geometry it intersects (minimizing distortion of the water plane intersection with pool wall or river shore, for example). If you port it, you might want to cvar it as I have no idea if it will affect performance in VR.

Another goodie to mention (already in the RBDoom 3 BFG) is progress bar indicator - when you load mod first time, it will build all the assets and in vanilla Doom 3 BFG you'd just wait for who knows how long. SE2 has progress bars that show each asset building progress.

And the last one is cmd to render cubemaps (envshot) - useful for modders who want to make reflection "probes" for the environment.

anonreclaimer

  • Newbie
  • *
  • Posts: 8
  • Karma: +2/-0
  • Doom Newbie
    • View Profile
Re: rbdoom3bfg with editors
« Reply #21 on: June 01, 2018, 12:16:46 AM »
errors I got:
Code: [Select]
Severity    Code    Description    Project    File    Line    Suppression State
Error    C1083    Cannot open include file: '..\LibOVR\Include\OVR_CAPI.h': No such file or directory    idlib    d:\doom-3-bfg-vr-master\neo\vr\Vr.h    32   
Error    C1083    Cannot open include file: '..\LibOVR\Include\OVR_CAPI.h': No such file or directory    Doom3BFGVR    d:\doom-3-bfg-vr-master\neo\vr\Vr.h    32   
Error    C2061    syntax error: identifier 'DXGI_JPEG_AC_HUFFMAN_TABLE'    Doom3BFGVR    C:\Program Files (x86)\Windows Kits\10\Include\10.0.15063.0\um\wincodec.h    8132   
Error    C2061    syntax error: identifier 'DXGI_JPEG_AC_HUFFMAN_TABLE'    Doom3BFGVR    C:\Program Files (x86)\Windows Kits\10\Include\10.0.15063.0\um\wincodec.h    8321   
Error    C2061    syntax error: identifier 'DXGI_JPEG_DC_HUFFMAN_TABLE'    Doom3BFGVR    C:\Program Files (x86)\Windows Kits\10\Include\10.0.15063.0\um\wincodec.h    8137   
Error    C2061    syntax error: identifier 'DXGI_JPEG_DC_HUFFMAN_TABLE'    Doom3BFGVR    C:\Program Files (x86)\Windows Kits\10\Include\10.0.15063.0\um\wincodec.h    8326   
Error    C2061    syntax error: identifier 'DXGI_JPEG_QUANTIZATION_TABLE'    Doom3BFGVR    C:\Program Files (x86)\Windows Kits\10\Include\10.0.15063.0\um\wincodec.h    8142   
Error    C2061    syntax error: identifier 'DXGI_JPEG_QUANTIZATION_TABLE'    Doom3BFGVR    C:\Program Files (x86)\Windows Kits\10\Include\10.0.15063.0\um\wincodec.h    8331   
first two are easy: I don't have that folder in my neo/libs folder.  So obivious.  :)The DX ones I'm not sure.
I downloaded the .zip of the github files earlier today & tried to compile that.  i'm using Studio 2017 & had it cmake to 15, but had no issues loading the solution file.  I added the stuff I was supposed to to the preprocessor & command line for the respective projects.

lol, I was faced with the same issue but Motorsep is right your missing the libraries. The libraries that are used is valve's openvr library and the oculus window SDK. I'll post the link to the libraries.
https://drive.google.com/file/d/1gMshC5WQ5BP_tW5pmc7JhW8FttBxyeLE/view?usp=sharing
« Last Edit: June 01, 2018, 12:24:48 AM by anonreclaimer »

motorsep

  • Hero Member
  • *****
  • Posts: 990
  • Karma: +74/-131
  • Artist
    • View Profile
    • Kot in Action Creative Artel
Re: rbdoom3bfg with editors
« Reply #22 on: June 04, 2018, 03:06:55 PM »
Here is some good ol' FOSS BS (I asked if the author can incorporate tools into official Doom 3 BFG VR fork):

https://github.com/KozGit/DOOM-3-BFG-VR/issues/266#issuecomment-394462633

"When the next version is out, if you create a pull request I can look at incorporating the changes."

 ::)