mahmoudgalal / Filament-Physx-wxWidget-Integration

A Demo showing Google Filament Renderer Integration with Nvidia Physx And wxWidgets .

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Filament-Nvidia-Physx-wxWidget-Integration

A Demo showing Google Filament PBR Renderer Integration with Nvidia Physx Engine and using wxWidget as UI backend. The integration is using latest filament build with Nvidia Physx v4.1 and wxWidget 3.2.1 as a windowing framework.

How to build:

Define the following environment variables that points to your installation of filament:

  • FILAMENT_INCLUDE_DIR: should point to root directory where filament is installed.
  • FILAMENT_LIB_DIR: should point to root directory where filament static libs is installed.
  • PHYSX_DIR: should point to root directory where Nvidia Physx is installed.
  • Download pre-built wxWidget for your version of VisualC++ and add it the visual studio project of the demo see instructions here: https://docs.wxwidgets.org/3.2.1/plat_msw_binaries.html
  • Open Filament-wxWidget-Integration solution and build the app.
  • All compiled materials and Textures are pachaged in this repo.
  • The Physx integration is in separate branch,Physx-Integration.

The demo shows some animated, Physics-controlled, spheres, cubes and lights with textured and plain materials along with Controlable camera.

  • Move the orbit camera using the mouse.
  • Press SPACE to shoot a box
  • Press ENTER to shoot a sphere
  • Press F1 to Add a Pyramid Stack to the scene.
  • Right click an object to pick it (Raycasting).

About

A Demo showing Google Filament Renderer Integration with Nvidia Physx And wxWidgets .

License:MIT License


Languages

Language:C++ 100.0%