This is a C++ conversion of the Qt3D QML Shadow Map example. This is not a strict port, since I just wanted the shadow mapping for another project I'm working on, so the fancy airplane animation is not included. I tried to build the classes so that they mirror the QML in terms of interface and functionality. It took me weeks to work this out, so I'm posting the code to help others. It's a shame that Qt3D is so lacking in documentation and example code.

Tested against Qt 5.12.3 and Qt 5.15.5

Features

  • Qt3D
  • Shadow Mapping
  • C++

Project Samples

Project Activity

See All Activity >

Categories

3D Rendering

License

MIT License

Follow Qt3D ShadowMap C++

Qt3D ShadowMap C++ Web Site

Other Useful Business Software
$300 Free Credits to Build on Google Cloud Icon
$300 Free Credits to Build on Google Cloud

New customers can spin up VMs, build with AI, and query data at no cost.

Put your $300 in credit toward real workloads, then keep building with free monthly usage for 20+ products. No commitment and no charge until you upgrade.
Sign Up
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Qt3D ShadowMap C++!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Intended Audience

Developers

User Interface

OpenGL

Programming Language

C++

Related Categories

C++ 3D Rendering Software

Registered

2021-08-09