Castle Game Engine

Castle Game Engine (previously known as Kambi) is an open-source engine that is especially oriented towards working with VRML models.

The main highlights of this game engine are its processing and OpenGL rendering of 3D models (in VRML and other formats), animation, collision detection, shadows, 3d sound, and ray-tracer.

Castle Game Engine is written using ObjectPascal (compiled by FreePascal).

Features include:

  • Optimized OpenGL rendering of models in VRML 1.0 and 2.0 (aka VRML 97) formats
  • 3DS, MD3, Wavefront OBJ, Collada file formats are also supported. They can be loaded, and converted to VRML
  • Animations are supported, by interpolation
  • Octrees are used for various collision detection tasks
  • Shadows by shadow volumes (full implementation, with z-fail / z-pass switching, silhouette detection etc)
  • Bump mapping (using various implementations: basic multitexturing with dot3 (normalized by cube map or not), GLSL normal, GLSL with classic parallax mapping, GLSL with steep parallax mapping and self-shadowing)
  • Shaders. There are classes to easily use ARB fragment / vertex programs and GLSL shaders. Most important, you can add and control GLSL shaders from VRML. So GLSL shaders are fully available for model designers
  • GLWindow unit is available to easily create windows with OpenGL context
  • Reading and writing of in various formats, processing them and using as OpenGL textures. Besides many common image formats (png, jpg, ppm, bmp, just for starters), support is also support for RGBE format (Radiance HDR format)
  • Handling of fonts, including rendering them with OpenGL, as bitmap or outline (3D) fonts
  • 3D sound by OpenAL helpers, including intelligent OpenAL sound manager and OggVorbis format handling
  • Ant-aliasing (initializing OpenGL multi-sampling) is covered
  • Ray-tracer based on VRML models is implemented
  • Engine components are independent when possible

Website: castle-engine.io
Support: Documentation, GitHub
Developer: Michalis Kamburelis
License: GNU GPL v3

Kambi

Castle Game Engine is written in ObjectPascal. Learn Pascal with our recommended free books and free tutorials.

Return to Games Home Page | Return to Game Engines Home Page


Ongoing series
Linux for StartersNew to Linux? Read our Linux for Starters series.
Free and Open Source SoftwareThe largest compilation of the best free and open source software in the universe. Supplied with our legendary ratings charts.
Linux ReviewsHundreds of in-depth reviews offering our unbiased and expert opinion on software.
Alternatives to GoogleAlternatives to Google's Products and Services examines your options to migrate from the Google ecosystem with open source Linux alternatives.
MicrosoftAlternatives to Microsoft's Products and Services recommends open source Linux software.
Linux System ToolsEssential Linux system tools looks at small, indispensable utilities, useful for system administrators as well as regular users.
Linux ProductivityLinux utilities to maximise your productivity. Small, indispensable tools, useful for anyone running a Linux machine.
Home Computer EmulatorsHome computers became commonplace in the 1980s. Emulate home computers including the Commodore 64, Amiga, Atari ST, ZX81, Amstrad CPC, and ZX Spectrum.
Now and ThenNow and Then examines how promising open source software fared over the years.
Linux at HomeLinux at Home looks at a range of home activities where Linux can play its part, making the most of our time at home, keeping active and engaged.
Linux CandyLinux Candy opens up to the lighter side of Linux. Have some fun!
Best Free Android AppsBest Free Android Apps. There's a strict eligibility criteria for inclusion in this series
Programming BooksThese best free books accelerate your learning of every programming language
Programming TutorialsThese free tutorials offer the perfect tonic to the free programming books series
Stars and StripesStars and Stripes is an occasional series looking at the impact of Linux in the USA
Share this article

Share your Thoughts

This site uses Akismet to reduce spam. Learn how your comment data is processed.