SLProject
4.2.000
A platform independent 3D computer graphics framework for desktop OS, Android, iOS and online in web browsers
|
Alternatively you can render a scene with ray tracing using the menu Renderer > Ray Tracing. The ray tracer is optimized for the Blinn-Phong reflection model. By default, the resolution 0.5 times the window resolution. You can adjust the ray tracing setting over the menu RT. On the web there is no inter-frame update of the scene. Depending on the complexity you have to be patient a few seconds. The ray tracer is multithreaded and uses a combination bounding boxes and regular voxel grid for fast ray-triangle intersection. The ray tracer is implemented in the classes SLRaytracer and SLRay.
Unfortunately, we can not embed externally hosted WebAssembly code on github.io.
Please open example in new tab
General help: