Skip to main content

HARFANG 3D is a game/visualization library for Python. It includes a comprehensive set of Scene, Physics, Rendering pipeline, Audio and Virtual Reality APIs. It is written in C++ and supports DirectX 11, OpenGL and OpenGL ES.

Project description

https://raw.githubusercontent.com/harfang3d/image-storage/main/brand/logo_harfang3d_horizontal-512px.png

Harfang for Python

3D real time visualization framework

Harfang is a 3D real time visualization framework for the industry, the education and for scientists. It grants developpers the ability to create applications ranging from data visualization to games.

See https://www.harfang3d.com/license for licensing terms.


Quickstart
  1. Download the tutorials https://github.com/harfang3d/tutorials-hg2 and unzip them to your computer (eg. d:/tutorials-hg2).

  2. To compile the tutorial resources, download assetc for your platform: https://dev.harfang3d.com/releases/

  3. Drag and drop the tutorial resources folder on the `assetc executable -OR- execute assetc passing it the path to the tutorial resources folder (eg. assetc d:/tutorials-hg2/resources).

https://raw.githubusercontent.com/harfang3d/image-storage/main/tutorials/assetc.gif

After the compilation process finishes, you should see a resources_compiled folder next to the resources folder. You can now execute the tutorials from the folder you unzipped them to.

D:\tutorials-hg2>python draw_lines.py

Alternatively you can open the tutorial folder and run the provided debug targets using Visual Studio Code


Screenshots

The following screenshots were captured on a 2070RTX in 1080P running at 60FPS, GI is performed using screen space raytracing and does not require RTX capable hardware.


Cyber City (CyberPunk City, CyberPunk Girl and Robot R32 by art-equilibrium, ILranch and ZeroArt3d)
https://raw.githubusercontent.com/harfang3d/image-storage/main/portfolio/3.1.1/cyber_city_aaa.png https://raw.githubusercontent.com/harfang3d/image-storage/main/portfolio/3.1.1/cyber_city_aaa_2.png

Sun Temple (Sun Temple, courtesy of the Open Research Content Archive)
https://raw.githubusercontent.com/harfang3d/image-storage/main/portfolio/2.0.111/sun_temple_aaa.png https://raw.githubusercontent.com/harfang3d/image-storage/main/portfolio/2.0.111/sun_temple_aaa_2.png

Cafe Exterior (Bistro, courtesy of the Open Research Content Archive)
https://raw.githubusercontent.com/harfang3d/image-storage/main/portfolio/2.0.111/cafe_exterior_aaa.png https://raw.githubusercontent.com/harfang3d/image-storage/main/portfolio/2.0.111/cafe_exterior_aaa_2.png

Sponza Atrium (Sponza Atrium GLTF, courtesy of Crytek/Themaister)
https://raw.githubusercontent.com/harfang3d/image-storage/main/portfolio/3.1.1/sponza_atrium_aaa.png https://raw.githubusercontent.com/harfang3d/image-storage/main/portfolio/3.1.1/sponza_atrium_aaa_2.png

Features
Scene API
  • Node & component based

  • Performance oriented

Rendering pipeline
  • Low-spec PBR rendering pipeline

  • High-spec ‘AAA’ rendering pipeline (screen space GI & reflection)

  • Support of user pipeline shaders

VR API
  • VR support via OpenVR/SteamVR with Eye tracking

  • Compatible with the HTC Vive/Vive Pro, Valve Index, Lenovo Explorer, Oculus Rift S

Physics API
  • Rigid bodies, collisions, mechanical constraints

  • Ray casting

  • Fast & accurate

Audio API
  • Play/stream WAV/OGG formats

  • 3D audio spatialization

More information on https://www.harfang3d.com/

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

harfang-3.2.4.tar.gz (49.9 MB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

harfang-3.2.4-py3-none-win_amd64.whl (4.7 MB view details)

Uploaded Python 3Windows x86-64

harfang-3.2.4-py3-none-win32.whl (3.9 MB view details)

Uploaded Python 3Windows x86

File details

Details for the file harfang-3.2.4.tar.gz.

File metadata

  • Download URL: harfang-3.2.4.tar.gz
  • Upload date:
  • Size: 49.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.11

File hashes

Hashes for harfang-3.2.4.tar.gz
Algorithm Hash digest
SHA256 bc6f0cb08fad7e7e08b93efb7694204571266c3475afb61833b34933fa960718
MD5 1141a5e2b406c8f05a2f1e0f60f7b2a0
BLAKE2b-256 74f1a02636f637dbbac9954cc3b14efb8384b4fb3cc5873403bef2755ccee70c

See more details on using hashes here.

File details

Details for the file harfang-3.2.4-py3-none-win_amd64.whl.

File metadata

  • Download URL: harfang-3.2.4-py3-none-win_amd64.whl
  • Upload date:
  • Size: 4.7 MB
  • Tags: Python 3, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.11

File hashes

Hashes for harfang-3.2.4-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 b81b33c1a83cc3b082b206ce73f524e9cc332d43b7cb36f10143b02a11e9b50c
MD5 d6527410b673c5180562e16fccca6f9b
BLAKE2b-256 0fdc72a156b1ffc80f96b8d55184a9ec633d95dc9c541e9e13a8116d6954d5db

See more details on using hashes here.

File details

Details for the file harfang-3.2.4-py3-none-win32.whl.

File metadata

  • Download URL: harfang-3.2.4-py3-none-win32.whl
  • Upload date:
  • Size: 3.9 MB
  • Tags: Python 3, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.11

File hashes

Hashes for harfang-3.2.4-py3-none-win32.whl
Algorithm Hash digest
SHA256 abd33dd1b93c2eeb86935dafcd0167a560f60038c55dbf7af6560d6ccdb07a7d
MD5 19cc25b798dd4fe508737d19bf6327fc
BLAKE2b-256 f521ddf2c8441e7f98a5802f3fdd166eb25bebe4f7a9ba4567bd5749f09ed894

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page