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
推送於2024-03-23 12:15:20
最后一次提交2024-03-23 13:15:15
發布數0
用户参与
星數1.7k
關注者數46
派生數81
提交數143
已啟用問題?
問題數13
打開的問題數3
拉請求數6
打開的拉請求數0
關閉的拉請求數1
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?