Use Turbowarp: https://turbowarp.org/911468701 Mouse X - Light X Mouse Y - Light Y It didn't crash, the textures are just loading Caution -- You may need a really powerful computer to run this due to the CPU usage and Ram consumption. I recommend minimum a desktop Ryzen 5 3600 / Core i5 10400f, and at least 4GB ddr4 Ram to run at a solid 3 frames per second at 100%. This is not an engine yet, as it doesn't have z clipping, that's all that's left for me to add and you can use it for games, ill remove this text when the time comes, and i assume it'll be done in a month for those who don't want to check every day Comment Bugs or Crashes PLEASE! This is the product of lots of research and many CPU burns Welcome to SOGL or Scratch Open Graphics Library. This project is a demo on how 3D graphics can be implemented, you can modify it in any way, and depending on what you do with it, you can make something cool.
Outdated, use this instead https://scratch.mit.edu/projects/1071343741 Now coming to GitHub as PySOGL https://github.com/UrLocalCreator/PySOGL Before you use the python version, beware of the cautions that are there when using a non-browser app. The measures you must take are necessary for dealing with overheating. See the README.md for more information Ask any questions in the comments, i will answer and help create similar projects. This is like the lower level version of Phusion Engine (SOGL V1) and with many more features for graphics computing which is RawV (Raw Version) This uses Blinn Phong Specular model for adding light reflections This uses normal maps to do shading and materials This uses Displacement / Parallax Occlusion Mapping to add a more 3D effect to the textures and make them pop with the lighting too. It works as a window to the 3D image, it does use raytracing, so i took advantage of that, and it does not displace real geometry which saves a lot in performance terms. I also set the default resolution to 25% which can easily be changed, so do as you shall, but i prefer realism over performance There are some pre-loaded models for you to choose such as sphere, plane, cube, and triangle There is only procedural generated textures for right now, but it will change This is not ray-tracing, its just the work of reflection mapping and lots of graphics tricks that are close to ray tracing for performance