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 XE7 Firemonkey Raytrace Engine Android IOS Windows OSXDeveloper 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
AndroidC++BuilderCode SnippetDelphiDemoFiremonkeyIOSOSXShowcaseWindows

Powerful Cross Platform Email App Sample In Delphi 10.4.1 FireMonkey For Android And IOS

AndroidC++BuilderDelphiFiremonkeyIOSOSXWindows

Significant Update Available For Delphi FireMonkey 10.4.1 On Android, IOS, OSX, Windows, And Linux

C++BuilderDelphiIDEWindows

Professional SVG Icon Image List For Delphi 10.4 FireMonkey On Windows

AndroidC++BuilderDelphiFiremonkeyIOSLiveBindingsOSXWindows

Top Tips And Tricks To Speed Up Development With Delphi 10.4 FireMonkey On Android and IOS

Sign up for our Newsletter and
stay informed

Leave a Reply