herebedragons

A basic 3D scene implemented with various engines, frameworks or APIs.

Github星跟踪图

Here be dragons

Hic sunt dracones.

This repository contains multiple implementations of the same 3D scene, using different APIs and frameworks on various platforms. The goal is to provide a comparison between multiple rendering methods. This is inherently biased due to the variety of algorithms used and available CPU/GPU configurations, but can hopefully still provide interesting insights on 3D rendering.

The following versions are currently available:

The following versions are (tentatively) planned:

  • DirectX, OpenGL ES
  • other console hardwares
  • another raytracing

In the directory of each version, one can find the source code, the corresponding resources (as each method has its own format/quality constraints), along with a readme describing the method and a few examples. The only exception is the OpenGL project, which is described below.

Resources

The scene is composed of four main elements:

  • a plane representing the ground, with a pavement texture.
  • a dragon (the Stanford dragon).
  • a monkey head ('Suzanne') rotating around its vertical axis.
  • a skybox surrounding the scene, textured with a cloudy sky.

Additionally, the sun is simulated by using a directional light, and the camera should be able to rotate around the scene.
The initial 3D models and textures are contained in the opengl/resources directory.

Other implementations

Here you can find implementations using some of the above APIs combined with other programming languages, submitted by awesome people!

主要指标

概览
名称与所有者kosua20/herebedragons
主编程语言C
编程语言Makefile (语言数: 18)
平台
许可证MIT License
所有者活动
创建于2016-10-14 22:29:21
推送于2025-07-11 22:47:11
最后一次提交2025-07-12 00:46:54
发布数0
用户参与
星数1.8k
关注者数46
派生数82
提交数147
已启用问题?
问题数13
打开的问题数3
拉请求数6
打开的拉请求数0
关闭的拉请求数1
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?