Skip to content
Projets

À propos

A full blown 3D graphics engine that runs in a windows console window

Design et médias

Comment ces chiffres sont mesurés

What you can do

  • 3D Wireframe/solid rendering. Solid rendering done with rasterizer. Z buffer for solid rendering, but it's messed up a little.
  • Load meshes from .obj files. Sample .obj is included.
  • Mesh transformations - rotations around x/y/z axis done.
  • Texture mapping. I used barycentric interpolation to do this. Multiple materials/mesh.

Progression mesurée des étoiles

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
Historique en cours

Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.

README.md

Original
                                      Console-Graphics
                                      a.k.a Hello World
                                      =================

If you are having trouble building this, you can just download a build at https://www.dropbox.com/sh/pjt2f0hs50iag4j/AAAvBZhCsbmRVUQFwSr5NA9ua?dl=0

A full blown 3D graphics engine that runs in the windows command prompt. 3D objects are rendered in real-time as monochromatic ASCII art.

Right now, you can only load one .obj file at a time.

Before running

Set the command prompt's font size to 6 pt. Lucida Console works well.

Features

  • 3D Wireframe/solid rendering. Solid rendering done with rasterizer. Z buffer for solid rendering, but it's messed up a little.

  • Load meshes from .obj files. Sample .obj is included.

  • Mesh transformations - rotations around x/y/z axis done.

  • Texture mapping. I used barycentric interpolation to do this. Multiple materials/mesh.

  • Lighting: Simple flat shading.

  • User input runs on another thread.

User Input

After the model has loaded, press Return (the model will start to flicker)

  • Use WASD translate meshes
  • Use R,T,Y to rotate them
  • Press Space to change the rendering mode

Bugs

  • Problems with using multiple materials per mesh
  • zBuffer isn't quite right

Explorer des projets similaires

Chargement…