summaryrefslogtreecommitdiff
path: root/gfx/models
Commit message (Collapse)AuthorAge
* Reformat with new clang-formatDan Goodliffe2023-11-07
|
* Swap GLEW for more modern gladDan Goodliffe2023-05-28
|
* Make Mesh into a template to support any vertex typeDan Goodliffe2023-05-10
| | | | Customisation point VertexArrayObject to define the layout for the type
* Drop .hpp for header only thingsDan Goodliffe2023-04-29
| | | | Half of them acquired a .cpp part anyway
* Dunno how, but some DOS new lines got in here!Dan Goodliffe2023-04-29
|
* Revert "Export mesh size and primitive type"Dan Goodliffe2023-04-26
| | | | This reverts commit f3343e1cc8a56f039888d4d375a6d5a088a68494.
* Add Mesh helper for drawing instancesDan Goodliffe2023-04-26
| | | | Assumes the supplied VAO was created and configured for the mesh it's passed back to.
* Export mesh size and primitive typeDan Goodliffe2023-04-19
|
* Separate storing of mesh vertex/index data from configuring VAODan Goodliffe2023-04-17
|
* Revamp how VertexArrayObject configures attributes and dataDan Goodliffe2023-04-17
|
* Remove the old .obj load, assets and supporting stuffDan Goodliffe2023-04-14
|
* Write applicable Texture Options into texture atlas texture dataDan Goodliffe2023-04-14
|
* Define our own enum for texture mapmodeDan Goodliffe2023-04-14
|
* Set GL_PACK_ALIGNMENT before saving texture to fit buffer correctlyDan Goodliffe2023-04-14
|
* Externalise a neater definition of TGAHeadDan Goodliffe2023-04-14
|
* No need to pass size around, we can get it back from the textureDan Goodliffe2023-04-14
|
* Add material field to vertex and configure it in meshDan Goodliffe2023-04-13
|
* Add TextureAtlas class as an extension of TextureDan Goodliffe2023-04-13
|
* Add defaulted Vertex equality operatorDan Goodliffe2023-03-19
|
* Make Vertex aggregrate constructor conditional on requirementDan Goodliffe2023-03-19
|
* Allow specifiying the texture type/targetDan Goodliffe2023-03-16
|
* Texture member to save the texture as a TGADan Goodliffe2023-03-15
|
* Add support for setting Texture options on constructionDan Goodliffe2023-03-15
|
* Support for model colours mixed with texturesDan Goodliffe2023-02-24
|
* Fix up all the static analyzer warningsDan Goodliffe2023-01-08
|
* Add helper for configuring vertex array objects/buffers of arbitrary thingsDan Goodliffe2023-01-02
|
* Make Vertex constexprDan Goodliffe2022-12-30
|
* Support saving a normals textureDan Goodliffe2022-12-11
|
* Support saving textures with different output typesDan Goodliffe2022-12-11
|
* Add a mini C filesystem wrapper library with mmap supportDan Goodliffe2022-12-11
|
* Save texture to TGA using mmapDan Goodliffe2022-12-09
| | | | | Removes the need to allocate a large temporary buffer, instead just memmaps a file big enough and has OpenGL write the texture data directly to it.
* We need to transform the model normals the same as we do the verticesDan Goodliffe2022-12-04
|
* Support saving a depth textureDan Goodliffe2022-12-04
|
* Simplified texture saveDan Goodliffe2022-11-18
| | | | Read directly from texture into file buffer, no temporary framebuffer
* Refactor for per window context and more setup to the right placesDan Goodliffe2022-11-14
|
* Somewhat dirty but functional helper to save a textureDan Goodliffe2022-11-01
| | | | Useful for debugging and not much else.
* Setting texture unit on bindDan Goodliffe2022-10-30
| | | | Always sets the target unit before binding, allows specifying the unit
* Fix const correctness of Texture from raw dataDan Goodliffe2022-10-14
|
* Allow creating a texture directly from an dimensions and pixel dataDan Goodliffe2022-10-14
|
* Allow creating a texture directly from an ImageDan Goodliffe2022-10-13
|
* Standard typedefs for MeshDan Goodliffe2022-10-13
|
* Replace include guard macros with pragma onceDan Goodliffe2022-01-02
|
* Cache allows multiple key partsDan Goodliffe2022-01-01
|
* Don't forward declare CacheDan Goodliffe2022-01-01
|
* Generic solution for glGen/glDel arrays, then tidy-up the usesDan Goodliffe2022-01-01
|
* Remove unnecessary initialiserDan Goodliffe2021-12-31
|
* RAII for glVertex and glBufferDan Goodliffe2021-12-22
|
* Fix up all remaining warningsDan Goodliffe2021-11-28
|
* Enable all Jason Turner recommended warningsDan Goodliffe2021-11-26
|
* Compile generated/external code as releaseDan Goodliffe2021-11-26
| | | | Moves stb stuff to .c then all .ll and .c built release mode, neatly disables all the warnings