GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - Dadunito/DevoJK: Jedi Academy client by Devoted, built on JKSunny's EternalJK Vulkan PBR renderer. Aims for better JA++ compatibility, global illumination and improved mapping tools.

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

6,382 Commits
6,382 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
assets/japro
assets/japro
 
 
build
build
 
 
cmake
cmake
 
 
codemp
codemp
 
 
docs
docs
 
 
documentation/developer
documentation/developer
 
 
lib
lib
 
 
scripts
scripts
 
 
shared
shared
 
 
tests
tests
 
 
tools
tools
 
 
ui
ui
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
.travis.yml
.travis.yml
 
 
CHANGELOG.md
CHANGELOG.md
 
 
CMakeLists.txt
CMakeLists.txt
 
 
Dockerfile
Dockerfile
 
 
LICENSE.txt
LICENSE.txt
 
 
MANUAL.md
MANUAL.md
 
 
README.md
README.md
 
 
appveyor.yml
appveyor.yml
 
 
japro_docs.md
japro_docs.md
 
 
rv-readme.txt
rv-readme.txt
 
 

Repository files navigation

DevoJK

DevoJK is a Jedi Knight: Jedi Academy multiplayer client by Devoted. It's built on JKSunny's EternalJK with the Vulkan PBR renderer, which itself builds on EternalJK, jaPRO and OpenJK.

Its heart is DevoGI, a new ray-traced lighting system.

Status: beta 0.1.2. Things may still change; feedback is very welcome under issues.

What's new in 0.1.2

  • Dirt mapping: baked contact AO (stored in the lamp masks' alpha channel) for tight corners and ledges, plus large-scale AO with a wider radius and a softer falloff.
  • Cubemap reflections: per-floor cubemap probes replace the legacy tcGen environment shine stages; glass, metals and polished floors reflect the room, with specular occlusion from baked and live shadows.
  • PBR pipeline: .mtr materials (roughness/metalness, normal and height maps) feed both the bake and the live shading; normal maps shape the baked lightmaps, parallax only for real height maps.
  • Sky box sun extraction: maps without a q3map_sun get a sun direction and colour detected from the sky box textures.
  • Cascaded live sun shadows: two cascades with full-map shadow views (fixes ffa5's sun camera), and misc_model_static geometry casts even outside the player's view frustum.
  • Low spec character shadows: soft real-time shadow maps from the sun and nearby light sources over the fully baked lightmaps.
  • Bake pipeline: separate high/low spec caches (<map>_HI_GI.DAT, <map>_LO_GI.DAT), Fast and EQ bake quality, texture-pack hashing with a rebake prompt, levelshot loading screen; the Bake tool keeps the system awake and can suspend it when done (30-second cancellable countdown).
  • New defaults: cube mapping, bloom and dynamic glow on, 32-bit textures, full LOD and curve tessellation, 4x MSAA, 8x anisotropic filtering.

Gallery

Ffa3, both performance modes in a visual comparison. Low spec GI is fully baked, and heavily optimized for lower spec machines, high spec adds the live sun and dynamic lighting with real-time shadows, prebaked Global Illumination style.

Low spec and high spec, the hangar Low spec and high spec, a corridor Low spec and high spec, an archway Low spec and high spec, a tower room Low spec and high spec, the ship hangar Low spec and high spec, the cantina Low spec and high spec, a balcony Low spec and high spec, the courtyard

Live shadows up close

Complex shadows smoothly projecting onto the character Dynamic lights cast shadows
Complex shadows fall smoothly across the character Lights near you cast the shadows of everything that moves
More dynamic light shadows Smooth shadows, uniform regardless of what is above
Every nearby light source, not just the sun Smooth, even shadows, whatever hangs above

Features

  • Fully baked global illumination for every PC. Low spec mode bakes everything: bounced light, soft shadows, darker corners, colour carried from wall to wall. In game it costs nothing more than the original lighting. Baking a map takes a while the first time, about 5 to 8 minutes for a map like ffa3 and longer for big indoor maps. Sorry about that! We're working on making it much faster. Once a map is baked, it's baked for good, and the wait is worth it.
  • High spec mode: baked and live, in levels of detail. The sun is drawn live with real-time shadows. Light sources switch smoothly with distance: far away they're baked, in view they shine live over their baked shadows, and right next to you they cast real-time shadows of players, weapons and anything else that moves. The handover is designed to be invisible to the naked eye, while the expensive work only happens where you can see it.
  • The original lighting is never touched. DevoGI swaps out a map's whole lighting without destroying anything: the classic lightmaps stay in the map as they were. To go back, just turn DevoGI off.
  • Rend2 maps keep their own lighting. Maps made for rend2 bring HDR lightmaps and light grids (*.hdr, *.raw). DevoGI recognises them and switches itself off, and the Precompile tool marks them as not recommended to bake.
  • Drag-and-drop realism. The ray tracer reads a map's lights however the mapper made them: light entities, shaders with surface lights, glowing textures, the sun and the sky. Nobody has to change their workflow, so every standard map is relit automatically, and that is the part we're proudest of.
  • Precompile Shaders. A little tool in the game folder that bakes the lighting for as many maps as you like, outside the game. Let it run while you use your PC for something else, or while you build your own maps.
  • Full integration into Q3Map2. DevoQ3Map2 has the same baker built in: mapcompiler -devogi. Mappers can ship the baked lighting inside their pk3, and players get it with no wait. Mappers are very welcome!
  • SFX sabers, fixed and back. The SFX saber system is reintegrated and fixed: the trail only shows while swinging, it has a length setting, black blades keep their colour, and the menus preview the SFX blade too.
  • DevoJK settings menu. Setup → DevoJK, with a Vulkan page and a DevoGI page. The main switch is Performance mode: Low spec or High spec.

Everything about the settings, baking and recommended values is in the manual.

Credits

DevoJK only exists thanks to the people who brought Vulkan and incredible graphics to Jedi Knight, and everyone who kept the game alive before them. Thank you to:

  • JKSunny, for the Vulkan renderer, PBR and many graphics improvements in EternalJK. DevoJK is built directly on this work.
  • ec- and the Quake3e contributors, whose Vulkan renderer the EternalJK one is based on, along with kennyalive's Quake-III-Arena-Kenny-Edition and suijingfeng's vkQuake3, which started it.
  • eternal, for creating and maintaining EternalJK, and bucky for contributing to it.
  • loda, for jaPRO and the client-side features EternalJK is built around.
  • The OpenJK team (JACoders), including ensiform, Razish, xycaleth, eezstreet, mrwonko and many more, for years of engine fixes and improvements.
  • redsaurus and JKEnhanced, for SFX sabers.
  • The q3map2 authors, id Software, ydnar, the NetRadiant team, Aciz and ryven, whose compiler DevoQ3Map2 builds on.
  • Raven Software and Activision, for making Jedi Academy and releasing its source code.

For players

  1. Download the latest release, or build DevoJK yourself (see below).
  2. Copy the files into your Jedi Academy GameData folder. For Steam, that's <Steam Folder>/steamapps/common/Jedi Academy/GameData/.
  3. Run eternaljk.x86_64.exe. The Vulkan renderer is selected with cl_renderer rd-vulkan.
  4. Go to Setup → DevoJK and pick your Performance mode. The manual explains the rest.

For developers

Building

DevoJK uses CMake. On Windows with Visual Studio:

cmake -S . -B build -A x64
cmake --build build --config Release
cmake --install build --config Release --prefix <install folder>

The install folder gets the client, both renderers (rd-vulkan and rd-eternaljk) and the EternalJK folder with the game modules and assets. The Precompile tool and mapcompiler.exe come from DevoQ3Map2.

Where things are

  • codemp/rd-vulkan/devogi_core.cpp: the baker. It's shared word for word with DevoQ3Map2, so the game and the compiler always bake the same lighting.
  • codemp/rd-vulkan/tr_devogi.cpp: how the renderer uses the bake: loading, live lights, sun and light-source shadows.
  • codemp/rd-vulkan/vk_devo_shadow.cpp: the shadow map image.
  • tools/devojk_menu.py: generates the DevoJK menu from two simple tables.

Contributing

Bug reports, suggestions and pull requests are welcome under issues.

Fixes that also apply upstream are worth sending to JKSunny/EternalJK as well.

Vulkan support

From the EternalJK README by JKSunny: Vulkan support was first started by porting Quake-III-Arena-Kenny-Edition, then took its file structure from vkQuake3, and is now based on Quake3e, which is actively maintained and has many additions. A list of those additions is here.

License

License

DevoJK, like OpenJK, is licensed under GPLv2 as free software. You are free to use, modify and redistribute it following the terms in LICENSE.txt. See rv-readme.txt for Raven's original source release notes.

Author

  • Devoted

About

Jedi Academy client by Devoted, built on JKSunny's EternalJK Vulkan PBR renderer. Aims for better JA++ compatibility, global illumination and improved mapping tools.

github.com/Dadunito/DevoJK/

Topics

eternaljkglobal-illuminationjappjedi-academyopenjkpbrvulkan

Resources

Readme
License
Activity

Stars

1 star

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.