Get access to over 100 FireMonkey cross platform samples for Android, IOS, OSX, Windows, and Linux!

AndroidAppmethodDelphiDemoFiremonkeyIOSOSXWindows

Simple Raytracing Engine Source Code For Delphi XE7 Firemonkey On Android And IOS

| Delphi 11 10 XE8 XE7 XE Seattle Berlin Tokyo Rio Firemonkey Delphi Android Delphi IOS

Delphi XE7 Firemonkey Raytrace Engine Android IOS Windows OSX | Delphi 11 10 XE8 XE7 XE Seattle Berlin Tokyo Rio Firemonkey Delphi Android Delphi IOSDeveloper Paweł Głowacki from Embarcadero has translated an open source raytracing engine from C++ into Object Pascal for Delphi XE7 Firemonkey. The original raytracer is by Caleb Piercy who has 9 YouTube videos which guide you through the entire process of writing the raytrace engine in C++. Paweł translated the code from the guide into Object Pascal with support for both the VCL and FMX frameworks. The FMX version runs on Android, IOS, OSX, and Windows. The FMX code has some pretty good examples in there like directly writing colors to pixels using TMapAccess and TBitmapData.SetPixel(). The core of the raytracer is shared and usable by both the VCL and FMX frameworks. The entire raytracer comes in at only a few thousand lines of code. You can check out the original source code in C++ on SourceForge. This code should also compile in Appmethod.

Head over and check out the full blog post from Paweł about building a simple raytracing engine in Delphi XE7 Firemonkey.

Head directly to the Embarcadero Code Central site and download the source code for the multi device raytracing engine in Object Pascal.

Have Delphi Firemonkey questions? Ask and get answers on StackOverflow.

Related posts
DelphiDemoFiremonkeyLinuxOSXShowcaseWindows

AutoBlogAI: FireMonkey Client To Leverage LLMs And Generative AI For Blogging

DelphiFiremonkeyShowcaseUtilityWindows

Unleashing Creativity With Song Writer AI: A Deep Dive

DelphiFiremonkeyShowcaseWindows

How To Build Stable Diffusion Text To Image Prompts

AndroidC++BuilderDelphiFiremonkeyIOSOSXWindows

FireMonkey 10.4.2 Features Updated iOS 14, Android 11, And macOS 11 Support Plus Hundreds Of Fixes

Sign up for our Newsletter and
stay informed

Leave a Reply