summaryrefslogtreecommitdiff
path: root/gfx/models
Commit message (Collapse)AuthorAge
* Apply StdTypeDefs for TextureDan Goodliffe2024-08-10
|
* Allow passing start index for instanced drawDan Goodliffe2024-06-28
| | | | First stage of culling support
* Remove some unnecessary includesDan Goodliffe2024-06-28
|
* Build stb_image impl as a thirdparty libDan Goodliffe2024-06-25
|
* Reformat with new clang-formatDan Goodliffe2024-06-01
|
* Remove the static texture cacheDan Goodliffe2024-01-25
| | | | | Static variables persist too long, destruction is unmanaged and occurs after the gl context is gone.
* Add traits helpers for glTexParameter functionsDan Goodliffe2024-01-25
|
* Remove more use of legacy typesDan Goodliffe2024-01-01
|
* Basic support for saving integer position bufferDan Goodliffe2023-12-15
|
* WIP typedefing all the things - sourcesDan Goodliffe2023-11-09
|
* WIP typedefing all the things - headersDan Goodliffe2023-11-07
|
* 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
|