]> git.tdb.fi Git - libs/gl.git/log
libs/gl.git
16 years agoAdd Uniform* classes to store uniform data of Programs
Mikko Rasa [Fri, 26 Oct 2007 12:58:54 +0000 (12:58 +0000)]
Add Uniform* classes to store uniform data of Programs
Add ProgramData class to manage said data
Remove uniform* functions from Program
Make Shader::compile and Program::link throw on failure
Support binding attributes of Programs in datafiles
Add Object and ObjectInstance classes

16 years agoBlender exporter:
Mikko Rasa [Sun, 21 Oct 2007 18:07:02 +0000 (18:07 +0000)]
Blender exporter:
Fix big strip generation
Improve locality optimizer
Add user interface for specifying flags

16 years agoAdd scissor, stencil, alpha and depth test functions and constants
Mikko Rasa [Sat, 20 Oct 2007 10:50:51 +0000 (10:50 +0000)]
Add scissor, stencil, alpha and depth test functions and constants

16 years agoBugfixes to Light
Mikko Rasa [Wed, 17 Oct 2007 14:58:32 +0000 (14:58 +0000)]
Bugfixes to Light

16 years agoAdd Lights
Mikko Rasa [Wed, 17 Oct 2007 13:53:28 +0000 (13:53 +0000)]
Add Lights

16 years agoBlender exporter: Fix big strip generation so that winding is retained
Mikko Rasa [Wed, 17 Oct 2007 11:47:16 +0000 (11:47 +0000)]
Blender exporter: Fix big strip generation so that winding is retained

16 years agoAllow retrieving data from Mesh
Mikko Rasa [Wed, 17 Oct 2007 06:22:28 +0000 (06:22 +0000)]
Allow retrieving data from Mesh
Make use of DataFile::Collection in loading Font

16 years agoTry to generate longer strips
Mikko Rasa [Sun, 14 Oct 2007 18:32:42 +0000 (18:32 +0000)]
Try to generate longer strips
Fix a bug with strips starting with a triangle
Add some more debug output
Optimize vertex order

16 years agoBlender exporter: Add support for texture coordinates
Mikko Rasa [Fri, 12 Oct 2007 09:18:12 +0000 (09:18 +0000)]
Blender exporter: Add support for texture coordinates

16 years agoBlender exporter: Generate correct normals for smooth vertices
Mikko Rasa [Thu, 11 Oct 2007 15:10:17 +0000 (15:10 +0000)]
Blender exporter: Generate correct normals for smooth vertices

16 years agoMake Material::apply const
Mikko Rasa [Wed, 10 Oct 2007 06:58:39 +0000 (06:58 +0000)]
Make Material::apply const
Allow creating meshes runtime
Add Program::uniform4
Add arithmetic operators for Color
Use glXGetProcAddressARB to hopefully work on olfder glX implementations

16 years agoAdd support for detecting extensions
Mikko Rasa [Fri, 5 Oct 2007 06:01:20 +0000 (06:01 +0000)]
Add support for detecting extensions
Implement shaders through extensions to support lower OpenGL versions
Rename error.h to except.h

16 years agoAdd Material class
Mikko Rasa [Tue, 2 Oct 2007 15:25:55 +0000 (15:25 +0000)]
Add Material class

16 years agoAdd mult_matrix functions
Mikko Rasa [Mon, 1 Oct 2007 10:45:30 +0000 (10:45 +0000)]
Add mult_matrix functions
Finish shader classes
Blender exporter: Fix triangle strip generation

16 years agoAdd projection functions
Mikko Rasa [Sat, 22 Sep 2007 17:01:48 +0000 (17:01 +0000)]
Add projection functions
Add enable/disable
Blender exporter: Fix a deprecation warning

16 years agoBlender exporter: Finish triangle strip support
Mikko Rasa [Wed, 5 Sep 2007 05:50:15 +0000 (05:50 +0000)]
Blender exporter: Finish triangle strip support

16 years agoBlender export: Create triangle strips (incomplete)
Mikko Rasa [Tue, 4 Sep 2007 14:16:17 +0000 (14:16 +0000)]
Blender export: Create triangle strips (incomplete)

16 years agoAdd Mesh and Batch classes
Mikko Rasa [Tue, 4 Sep 2007 09:59:14 +0000 (09:59 +0000)]
Add Mesh and Batch classes
Implement VertexBuffer::unbind correctly
Fix VertexFormat parsing
Add input conversion for PrimitiveType

16 years agoBlender export: Add support for smoothing
Mikko Rasa [Tue, 4 Sep 2007 09:06:55 +0000 (09:06 +0000)]
Blender export: Add support for smoothing

16 years agoAdd script for exporting meshes from Blender
Mikko Rasa [Mon, 3 Sep 2007 14:26:50 +0000 (14:26 +0000)]
Add script for exporting meshes from Blender

16 years agoMove VertexFormat and VertexArrayBuilder to their own files
Mikko Rasa [Mon, 3 Sep 2007 11:39:58 +0000 (11:39 +0000)]
Move VertexFormat and VertexArrayBuilder to their own files
Create a generix VertexBuilder class for building vertices
Add attribute binding to Program
Add primitive types
Add VertexArray loader
Add Immediate

16 years agoUpdate dependency for mspparser to mspdatafile
Mikko Rasa [Mon, 3 Sep 2007 10:34:52 +0000 (10:34 +0000)]
Update dependency for mspparser to mspdatafile

16 years agoAdd Id tags and copyright notices to files
Mikko Rasa [Mon, 3 Sep 2007 10:33:27 +0000 (10:33 +0000)]
Add Id tags and copyright notices to files

16 years agoMake use of the ability to load multiple arguments diretly into member variables
Mikko Rasa [Mon, 3 Sep 2007 08:57:55 +0000 (08:57 +0000)]
Make use of the ability to load multiple arguments diretly into member variables

16 years agoMake ~Program virtual
Mikko Rasa [Tue, 21 Aug 2007 15:00:20 +0000 (15:00 +0000)]
Make ~Program virtual
Rename Parser -> DataFile
Utilize string codecs in Font

16 years agoAdd shaders
Mikko Rasa [Tue, 21 Aug 2007 13:51:07 +0000 (13:51 +0000)]
Add shaders

16 years agoAdd ascent and descent to Font
Mikko Rasa [Tue, 10 Jul 2007 19:21:01 +0000 (19:21 +0000)]
Add ascent and descent to Font

16 years agoAdd vertex arrays and buffers
Mikko Rasa [Tue, 12 Jun 2007 12:06:12 +0000 (12:06 +0000)]
Add vertex arrays and buffers
Add (some) matrix operations
Add transform operations
Texture changes:
- Throw if trying to bind a texture without a target
- Track textures per-unit
- Move the dimension getting functions from the base class to dimensioned textures
Font changes:
- Change descent of glyphs to x and y offsets
- Add wstring versions of get_string_width and draw_string
- Use a vertex array to store glyph vertices
- Add a default size for fonts

17 years agoAdd files
Mikko Rasa [Mon, 27 Nov 2006 23:59:37 +0000 (23:59 +0000)]
Add files

17 years agoCreate trunk
Mikko Rasa [Mon, 27 Nov 2006 17:21:01 +0000 (17:21 +0000)]
Create trunk