Skip to content

fractalbach/DEMO23

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

3D Software Render of a Diablo Model
======================================================================

About
------------------------------------------------------------

3D Cpu Rasterizer in C



Files
------------------------------------------------------------

demo23.c  - main source code file
build.sh - shell script to compile the code

model/diablo3_pose.obj - the diablo model that is rendered
model/gen.py           - script that processes the obj file
model/model.c          - output from gen.py, included into demo23.c

model/texture/diablo3_pose_diffuse.tga - texture image
model/texture/main.cpp                 - processes the tga file 
model/texture/diffuse.c                - output from main.cpp

model/texture/tgaimage.cpp - borrowed from the internet
model/texture/tgaimage.h   - borrowed from the internet



Arrow key controls
------------------------------------------------------------

Up    : Wireframe Mode
Right : Lighting Only
Left  : Texture Only
Down  : Texture + Lighting (Default)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages