]> git.tdb.fi Git - libs/gl.git/log
libs/gl.git
16 years agoSet svn:keywords on Build 0.9
Mikko Rasa [Tue, 19 Aug 2008 16:47:41 +0000 (16:47 +0000)]
Set svn:keywords on Build
Bump version for release
Add License.txt

16 years agoMove Image to mspgbase
Mikko Rasa [Sun, 17 Aug 2008 22:16:15 +0000 (22:16 +0000)]
Move Image to mspgbase
Do not define GL_GLEXT_PROTOTYPES in blend.cpp since glBlendEquation is to be used through the extension mechanism
Update svn:ignore

16 years agoUnbind vertex buffer after updating array data
Mikko Rasa [Wed, 23 Jul 2008 01:39:40 +0000 (01:39 +0000)]
Unbind vertex buffer after updating array data
Use glBlendEquation through extension mechanism

16 years agoAdd the BLEND constant too
Mikko Rasa [Sat, 19 Jul 2008 11:24:42 +0000 (11:24 +0000)]
Add the BLEND constant too

16 years agoAdd blending and clipping support
Mikko Rasa [Sat, 19 Jul 2008 11:19:01 +0000 (11:19 +0000)]
Add blending and clipping support
Add name stack management functions

16 years agoAdd a missing #include
Mikko Rasa [Wed, 25 Jun 2008 09:21:13 +0000 (09:21 +0000)]
Add a missing #include
Fix gcc 4.3 style warnings

16 years agoAdd Mesh::use_vertex_buffer
Mikko Rasa [Mon, 19 May 2008 14:42:17 +0000 (14:42 +0000)]
Add Mesh::use_vertex_buffer
Change VertexArray::use_vertex_buffer semantics to allow disabling vertex buffer
Initialize ObjectPass:use_textures in constructor

16 years agoSupport specifying elements in PrimitiveBuilder
Mikko Rasa [Mon, 24 Mar 2008 00:10:57 +0000 (00:10 +0000)]
Support specifying elements in PrimitiveBuilder
Add use_textures flag to ObjectPass
Add type indicator to uniform* statements of ProgramData

16 years agoOpenGL can now be required as a package on all archs
Mikko Rasa [Wed, 19 Mar 2008 12:00:25 +0000 (12:00 +0000)]
OpenGL can now be required as a package on all archs

16 years agoSeparate main and shader textures in Object
Mikko Rasa [Thu, 6 Mar 2008 10:59:35 +0000 (10:59 +0000)]
Separate main and shader textures in Object

16 years agoAllow Renderables in a Scene to specify ordering
Mikko Rasa [Wed, 27 Feb 2008 14:09:02 +0000 (14:09 +0000)]
Allow Renderables in a Scene to specify ordering

16 years agoAdd the meshbuilder.* files too
Mikko Rasa [Tue, 26 Feb 2008 10:29:52 +0000 (10:29 +0000)]
Add the meshbuilder.* files too

16 years agoAdd class MeshBuilder
Mikko Rasa [Tue, 26 Feb 2008 10:28:32 +0000 (10:28 +0000)]
Add class MeshBuilder
Enable drawing text with a custom PrimitiveBuilder (possibly into a mesh)
Refactor VertexArray and VertexArrayBuilder so that the latter can be created in stack
Use the DataType enum in Texture[23]D

16 years agoInclude the local gl.h in types.h to make it work on win32
Mikko Rasa [Wed, 6 Feb 2008 10:43:42 +0000 (10:43 +0000)]
Include the local gl.h in types.h to make it work on win32

16 years agoAdd a missing negation
Mikko Rasa [Tue, 5 Feb 2008 12:16:25 +0000 (12:16 +0000)]
Add a missing negation

16 years agoMake the use of DevIL optional
Mikko Rasa [Mon, 4 Feb 2008 12:21:42 +0000 (12:21 +0000)]
Make the use of DevIL optional
Allow speifying storage and raw data in texture files
Add class PrimitiveBuilder
Change Font to build all vertices of a string and then draw them at once
Only require OpenGL 1.3 in TexUnit when actually changing the unit
Add a python script to create .tex files with raw data from images

16 years agoSupport embedding textures in datafiles
Mikko Rasa [Sat, 12 Jan 2008 12:10:52 +0000 (12:10 +0000)]
Support embedding textures in datafiles

16 years agoAdd functions to retrieve material properties
Mikko Rasa [Tue, 1 Jan 2008 21:39:13 +0000 (21:39 +0000)]
Add functions to retrieve material properties

16 years agoWindows compatibility:
Mikko Rasa [Sat, 29 Dec 2007 20:47:08 +0000 (20:47 +0000)]
Windows compatibility:
- Tweak includes
- Fetch all functions from OpenGL 1.2+ with get_proc_address

16 years agoAdd $Id$ to tag.*
Mikko Rasa [Thu, 27 Dec 2007 17:12:27 +0000 (17:12 +0000)]
Add $Id$ to tag.*
Fix some memory leaks
Compiler shader programs in finish() instead of ~Loader() since it may throw
Blender exporter: Rewrite the smoothing algorithm to handle certain cases correctly

16 years agoDefault to Utf8 instead of direct mapping in Font
Mikko Rasa [Tue, 11 Dec 2007 11:30:48 +0000 (11:30 +0000)]
Default to Utf8 instead of direct mapping in Font

17 years agoSupport for loading materials from datafiles
Mikko Rasa [Fri, 9 Nov 2007 17:13:31 +0000 (17:13 +0000)]
Support for loading materials from datafiles

17 years agoAdd a Tag class to identify passes
Mikko Rasa [Sun, 4 Nov 2007 22:11:27 +0000 (22:11 +0000)]
Add a Tag class to identify passes
Refactor the Renderable and Object interfaces a bit

17 years agoAdd class Renderable
Mikko Rasa [Sun, 4 Nov 2007 18:05:19 +0000 (18:05 +0000)]
Add class Renderable
Inherit Object and ObjectInstance from Renderable
Add class Scene
Include GL/gl.h in renderable.h

17 years agoAdapt to DataFile changes
Mikko Rasa [Fri, 2 Nov 2007 20:22:15 +0000 (20:22 +0000)]
Adapt to DataFile changes

17 years agoUse DevIL for loading images
Mikko Rasa [Fri, 2 Nov 2007 19:11:28 +0000 (19:11 +0000)]
Use DevIL for loading images
Rework the texture interface
Add framebuffer objects
Add Loader for ProgramData
Support for multiple rendering passes and levels of detail in Object
Add 3D textures

17 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

17 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

17 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

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

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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

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

17 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

17 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

17 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

17 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)

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

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

17 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

17 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

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

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