Skip to main content
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, command line method (Windows/Linux)
  1. Clone the tutorials’ repository:
    • git clone https://github.com/harfang3d/tutorials-hg2.git

  2. Enter the repository:
    • cd tutorials-hg2

  3. Compile the tutorial resources:
    • python3 -m harfang.bin assetc resources

    • After the compilation process finishes, you should see a resources_compiled folder next to the resources folder.

  4. Run the tutorials:
    • D:\tutorials-hg2>python3 draw_lines.py


Quickstart, drag & drop method (Windows)
  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 2060RTX in 1080P running at 60FPS, GI is performed using screen space raytracing and does not require RTX capable hardware.


The NVIDIA USD Attic using the AAA renderer (Courtesy of NVIDIA)
https://raw.githubusercontent.com/harfang3d/image-storage/main/portfolio/3.2.6/attic_harfang.png

Marine Melodies (interactive musical experience)
https://raw.githubusercontent.com/harfang3d/image-storage/main/portfolio/3.2.5/marine-melodies-screenshot_000.png

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/

Metadata

Release files for harfang 3.2.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for harfang 3.2.7
File Size Uploaded
harfang-3.2.7.tar.gz 6.6 MB Details

Built distributions (wheels)

Table of built distributions (wheels) for harfang 3.2.7
File Interpreter ABI Platform
harfang-3.2.7-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details
harfang-3.2.7-py3-none-win32.whl Python 3 none Windows x86-32 Details

Total release size: 33.0 MB

Release files / harfang-3.2.7.tar.gz

Download URL harfang-3.2.7.tar.gz
Size 6.6 MB
Tags Source
SHA-256 checksum
How to use checksums
3df6fe72ba8f83aa9f3847588525f1924444d5a13582d23c85b52be75684e4c3
BLAKE2b-256 checksum
How to use checksums
9442ac29b936da090bd114a447c36d53ef8533724e7f4ed7b7a4f3c960c2b266
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.6

Release files / harfang-3.2.7-py3-none-win_amd64.whl

Download URL harfang-3.2.7-py3-none-win_amd64.whl
Size 14.2 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
56e03f01a2bd034e04dab98e197c226621574b50c07b08e55b11c6b9199d2f6f
BLAKE2b-256 checksum
How to use checksums
24bfe719624e2e3ec84244c4804ee5af5f8ef3d320b27b2b6d5976bb40747279
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.11

Release files / harfang-3.2.7-py3-none-win32.whl

Download URL harfang-3.2.7-py3-none-win32.whl
Size 12.3 MB
Tags Python 3 Windows x86-32
SHA-256 checksum
How to use checksums
321e27d414e576d34175ea510306f65150ffa3c45510f01d270bdc2924709777
BLAKE2b-256 checksum
How to use checksums
4d89b333e7f5500c5224e9c6e5d2ea647b160e77cdd9e558496df8a3d649e85e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.11

Release history Release notifications | RSS feed

This release

3.2.7 This release

3 release files

3.2.6

3 release files

3.2.5

3 release files

3.2.4

3 release files

3.2.3

3 release files

3.2.2

3 release files

3.2.1

2 release files

3.2.0

2 release files

3.1.1

2 release files

3.1.0

2 release files

3.0.0

2 release files

2.0.111

1 release file

1.2.0

2 release files

1.1.0

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page