项目介绍

SNMetamorph/PrimeXT 是一个托管在 GitHub 上的开源项目,主要使用 C++ 编写,目前获得 181 个 Star、45 次 Fork。

仓库全名
SNMetamorph/PrimeXT
Star 数
181
Fork 数
45
未关闭 Issue
64

README 摘要

PrimeXT Modernized toolkit for Xash3D FWGS engine, with extended physics, improved graphics and a lot of other new features for mod-makers. Based on XashXT and Spirit Of Half-Life and includes features and entities from it. Features, brief overview HDR rendering support Parallax-corrected cubemaps Physically based rendering support (in progress) Dynamic lighting with shadow mapping (omnidirectional, cascaded, etc.)…

完整内容见 GitHub 原始 README 或本页 。

常见问题

PrimeXT 用什么语言开发?

主要使用 C++ 编写,目前有 181 个 Star。

如何获取 PrimeXT 的源码?

可以直接克隆仓库:git clone https://github.com/SNMetamorph/PrimeXT.git,默认分支为 master;安装与运行步骤见仓库 README。

PrimeXT 最近还在维护吗?

仓库最近一次更新为 3 周前,当前有 64 个未关闭 Issue;Star 数为 181,可作为社区活跃度的参考。

关于

GitHub 原始描述(英文)

Modernized toolkit for Xash3D FWGS engine, has enhanced graphics and physics and a lot of new features for mod-makers. Crossplatform, supports Windows and Linux. Based on XashXT and Spirit Of Half-Life. Not production-ready.

描述取自 GitHub 官方 API,保持仓库作者书写的原文。

简要分析

热度分
284
价值分
120
活跃状态
活跃

语言占比

C
C++
CMake
GLSL
Java
Python

README

PrimeXT

Discord GitHub Workflow Status (branch) GitHub release (by tag) GitHub repo size GitHub commit activity

ModDB Rating

Modernized toolkit for Xash3D FWGS engine, with extended physics, improved graphics and a lot of other new features for mod-makers. Based on XashXT and Spirit Of Half-Life and includes features and entities from it.

Features, brief overview

  • HDR rendering support
  • Parallax-corrected cubemaps
  • Physically based rendering support (in progress)
  • Dynamic lighting with shadow mapping (omnidirectional, cascaded, etc.)
  • Normal mapping, parallax mapping support
  • Advanced post-processing: bloom, depth-of-field, color correction, SSAO
  • PhysX engine integration
  • Eliminated many of limits that were presented in GoldSrc and vanilla Xash3D

Projects that are based on PrimeXT

Development goals

At this time, project in primal state: it somehow works, but there are a lot of things to fix or implement next. You can discuss with community members and ask questions in our Discord server.

We would be very grateful to potential contributors. Main development goals of this project is:

  • Optimizing brushes rendering (clustered forward rendering, getting rid of legacy OpenGL code)
  • Implementing lighting precomputation in HDR format
  • Total reworking of material system
  • Implementing particle engine, something like in Source Engine
  • Improving physics futher: ragdolls, vehicles, fine-tuning, etc.
  • Improving cross-platform: developing Android port, supporting other architectures like ARM or RISC-V
  • Writing actual documentation, translating existing pages to English
  • Code refactoring (where it is really necessary, there is no goal to refactor everything)

You can see the full list of project goals and a detailed description on the documentation site, but it is still a work in progress. So feel free to make suggestions on what should be documented first.

Installation

You can read the detailed installation guide on our documentation site: available on English and Russian languages.

Building

NOTE: Never download sources from GitHub manually, because it doesn’t include external depedencies, you SHOULD use Git clone instead.

  1. Install Git for cloning project
  2. Clone this repository, enter these commands to Git console:
git clone --recursive https://github.com/SNMetamorph/PrimeXT.git
cd PrimeXT

Next steps will be vary according to your development environment and tools.

Windows (using Visual Studio)

  1. Open cloned repository directory as CMake folder with Visual Studio (you can use VS2019 or VS2022)
  2. Select desired build preset, for example you can use Windows / x64 / Debug. You can see other available presets in CMakePresets.json file.
  3. In Build menu select Build solution, or you can use hotkey Ctrl+Shift+B instead. Wait for completion.
  4. Compiled binaries locates in build\x\bin and build\x\devkit, where x is your build configuration name, in this case it will be “Debug”.

Linux (using CMake)

This example shows how to build project for Linux with x64 architecture. Of course, you can set another target platform, check CMakePresets.json file for more available presets.

Tested on Ubuntu 18.04 and Ubuntu 22.04, but also will work on other Linux distributions which uses apt package manager, such as Debian.

  1. Install required packages:
sudo apt-get update
sudo apt-get install gcc-multilib g++-multilib cmake ninja-build 
sudo apt-get install curl zip unzip pkgconfig
sudo apt-get install qtbase5-dev
  1. Prepare build environment and configure project:
external/vcpkg/bootstrap-vcpkg.sh
cmake -E make_directory ./build
cd build
cmake .. --preset linux-x64-debug
  1. Build project:
cmake --build .
  1. Compiled binaries will be located in build and build\primext\bin directories.

评论

暂无评论