aboutsummaryrefslogtreecommitdiffstats
path: root/model.c
Commit message (Collapse)AuthorAgeFilesLines
* Cleanup passTomasz Kramkowski2018-10-271-1/+1
|
* use shaders/data.h for the definition of verticesTomasz Kramkowski2018-10-221-6/+6
| | | | | | | | | | | | | Now that shaders/data.h is in place, it can be taken to the next extreme. The information stored in shaders/data.h is plentiful enough that vertex attribute location information can be standardised, the definition of vertices can be specified in only one place and the bindings for vertex information can be generated. It's around this point in time that I wish there was a better pre-processor for all this. It might make things a lot cleaner.
* Implement diffuse texture loading and basic material supportTomasz Kramkowski2018-05-021-1/+5
|
* Implement basic model loading of FMD format.Tomasz Kramkowski2018-04-271-0/+60
The FMD (Faqe Model Data) format is a format designed for faqe. It stores vertex, element and material information and mesh information. This patch provides the basic implementation and use of this format. This patch also implements perspective projection, depth testing and view and model matrices. An example fmd file is provided.