A downloadable tool for Windows, macOS, and Linux

Buy Now$19.99 USD or more

D3D is a free, open source (MIT) 3D engine for DragonRuby GTK, written in pure Ruby: models, OBJ loading, voxel worlds, 6DOF cell-grid scenes, lighting, fog and collisions.

D3D Pro is its optional C extension. It takes over the engine's hot loops and renders exactly the same output, just much faster. You don't change any game code: copy one folder, add one line, done.

require 'app/d3d/d3d.rb'
D3D::Native.load

How much faster?

Measured inside DragonRuby, time per render call:

  • Depth sorting: about 50× faster
  • A 14,000-triangle mesh: 22.4 ms → 5.1 ms
  • A textured 32×32 voxel terrain: 8.7 ms → 1.7 ms
  • A cell-grid dungeon frame with point lights: about 7.4 ms → 0.9 ms

Model and voxel rendering takes 65–84% less time overall. That's the difference between 20 fps and a smooth 60 fps for detailed scenes.

Identical output, guaranteed

Every native function mirrors its Ruby counterpart operation by operation. Each release is checked scene by scene against the pure Ruby engine and must render identical triangles. If the extension isn't available (e.g. in a build without it), D3D quietly falls back to Ruby, and your game keeps running.

What you get

  • Prebuilt libraries for macOS (Apple silicon and Intel), Linux (x64 and ARM64) and Windows (x64)
  • The full C source, plus the build and check scripts, so you can rebuild it yourself
  • Updates for all 1.x releases

Requirements

  • D3D (free): https://github.com/webmatze/d3d, same version as the package
  • DragonRuby Indie or Pro to ship games with C extensions. With DragonRuby Standard, C extensions load in development mode, so you can try D3D Pro before you upgrade.

License

  • One license per developer, one-time payment
  • Use it in unlimited games, royalty-free
  • Ship the libraries inside your games. Please don't share the package or the source on their own.

The full terms are in LICENSE-COMMERCIAL.md inside the download.

Try the free engine first

The whole engine is free and complete without D3D Pro. D3D Pro only makes it faster. Get it on GitHub (https://github.com/webmatze/d3d), run the Performance Benchmark demo, and see where your game spends its time.

Support

Found a bug or have a question? Open an issue on GitHub (mention D3D Pro) or leave a comment here.

Published 10 hours ago
StatusIn development
CategoryTool
PlatformsWindows, macOS, Linux
Authorwebmatze
Tags3D, dragonruby, Game engine, ruby
LinksGitHub

Purchase

Buy Now$19.99 USD or more

In order to download this tool you must purchase it at or above the minimum price of $19.99 USD. You will get access to the following files:

D3D Pro 1.0.0 (all platforms) 154 kB
Version 1.0.0

Leave a comment

Log in with itch.io to leave a comment.