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
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
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