]> git.tdb.fi Git - libs/gl.git/log
libs/gl.git
13 years agoSupport multiple sets of texture coordinates in datafiles
Mikko Rasa [Thu, 3 Feb 2011 21:21:29 +0000 (21:21 +0000)]
Support multiple sets of texture coordinates in datafiles

13 years agoFix capsule end vertex coordinates
Mikko Rasa [Thu, 3 Feb 2011 21:20:43 +0000 (21:20 +0000)]
Fix capsule end vertex coordinates

13 years agoAdd a Blender 2.5 port of the exporter
Mikko Rasa [Sun, 30 Jan 2011 09:45:13 +0000 (09:45 +0000)]
Add a Blender 2.5 port of the exporter

13 years agoAdjust depth clip according to camera distance
Mikko Rasa [Sun, 30 Jan 2011 09:44:36 +0000 (09:44 +0000)]
Adjust depth clip according to camera distance

13 years agoAdd capsule and grid builders
Mikko Rasa [Wed, 26 Jan 2011 18:09:37 +0000 (18:09 +0000)]
Add capsule and grid builders
Fix some bugs in the other geometry builders

13 years agoAdd classes for building some geometric shapes
Mikko Rasa [Wed, 26 Jan 2011 15:23:26 +0000 (15:23 +0000)]
Add classes for building some geometric shapes

13 years ago#include tag.h instead of forward declaring
Mikko Rasa [Tue, 25 Jan 2011 08:59:05 +0000 (08:59 +0000)]
#include tag.h instead of forward declaring

13 years agoReintroduce named texture slots for Technique inheritance
Mikko Rasa [Mon, 17 Jan 2011 17:43:10 +0000 (17:43 +0000)]
Reintroduce named texture slots for Technique inheritance

13 years agoMove winding test to Renderer::State
Mikko Rasa [Sat, 15 Jan 2011 18:13:41 +0000 (18:13 +0000)]
Move winding test to Renderer::State
Clear winding test after rendering a Mesh

13 years agoAdd WindingTest and support for it in Mesh and Renderer
Mikko Rasa [Fri, 14 Jan 2011 13:00:05 +0000 (13:00 +0000)]
Add WindingTest and support for it in Mesh and Renderer

13 years agoGeneralize instancing to all Renderables
Mikko Rasa [Wed, 12 Jan 2011 19:54:13 +0000 (19:54 +0000)]
Generalize instancing to all Renderables

13 years agoBind ProgramData to a Program upon construction
Mikko Rasa [Wed, 12 Jan 2011 19:11:50 +0000 (19:11 +0000)]
Bind ProgramData to a Program upon construction
Add uniform overloads to ProgramData for Vector3, Vector4 and Color
Also add overloads that take a uniform name instead of index
Implement the uniform_matrix4 method that has been in the header for ages

13 years agoRemove the non-const operator[] from VertexArray to make it clearer when modification...
Mikko Rasa [Wed, 12 Jan 2011 19:08:09 +0000 (19:08 +0000)]
Remove the non-const operator[] from VertexArray to make it clearer when modifications are made

13 years agoAdd EXT_framebuffer_blit and EXT_framebuffer_multisample
Mikko Rasa [Tue, 11 Jan 2011 21:13:42 +0000 (21:13 +0000)]
Add EXT_framebuffer_blit and EXT_framebuffer_multisample
Make Framebuffer attach level 0 of textures by default
Add multisampling support for Pipeline
Separate functions for setting HDR and multisample in Pipeline
Make the hdr parameter to Pipeline constructor optional

13 years agoBetter tracking of Renderer matrix changes
Mikko Rasa [Tue, 11 Jan 2011 20:03:37 +0000 (20:03 +0000)]
Better tracking of Renderer matrix changes
Make MatrixStack::top() const

13 years agoAvoid unnecessary work in Batch's vector append
Mikko Rasa [Tue, 11 Jan 2011 19:55:33 +0000 (19:55 +0000)]
Avoid unnecessary work in Batch's vector append
Make Immediate use Batch for drawing

13 years agoRename some Loader methods to avoid having to static_cast the pointers
Mikko Rasa [Mon, 10 Jan 2011 18:59:56 +0000 (18:59 +0000)]
Rename some Loader methods to avoid having to static_cast the pointers

13 years agoAdd a rendering supervisor class
Mikko Rasa [Mon, 10 Jan 2011 18:52:05 +0000 (18:52 +0000)]
Add a rendering supervisor class
Remove bind semantics from RenderPass

13 years agoMake RenderPass use a Texturing for textures
Mikko Rasa [Sun, 26 Dec 2010 16:35:14 +0000 (16:35 +0000)]
Make RenderPass use a Texturing for textures

13 years agoImprove the ambient occlusion algorithm
Mikko Rasa [Sun, 19 Dec 2010 13:22:54 +0000 (13:22 +0000)]
Improve the ambient occlusion algorithm
Allow changing the depth ratio
Use correct winding for the triangle strip
Set pipeline texture wrapping to CLAMP_TO_EDGE

13 years agoSupport different data types in Batch
Mikko Rasa [Sun, 19 Dec 2010 10:06:30 +0000 (10:06 +0000)]
Support different data types in Batch
Select data type automatically based on index values
Add GL_NV_primitive_restart extension
Automatically concatenate batches of same primitive type if possible
Add BufferAlias class for using Buffers with RAII binding

13 years agoRestore old buffer binding when setting data
Mikko Rasa [Fri, 17 Dec 2010 20:55:26 +0000 (20:55 +0000)]
Restore old buffer binding when setting data
Rename buffer binding functions to be more in line with others
Use a RefPtr to store buffer in VertexArray
Use vertex buffer by default
Track VertexArray dirty state internally
Remove the deprecated vertexbuffer.h

13 years agoChange Scene into an abstract base class and add a few subclasses
Mikko Rasa [Thu, 9 Dec 2010 20:57:30 +0000 (20:57 +0000)]
Change Scene into an abstract base class and add a few subclasses

13 years agoSetting depth mask off in Framebuffer is not required
Mikko Rasa [Thu, 9 Dec 2010 20:56:22 +0000 (20:56 +0000)]
Setting depth mask off in Framebuffer is not required
Re-enable depth mask when unbinding depth test

13 years agoModernize the Bloom code
Mikko Rasa [Thu, 9 Dec 2010 20:55:25 +0000 (20:55 +0000)]
Modernize the Bloom code

13 years agoOptimize the Blender exporter to process face islands when creating strips
Mikko Rasa [Sun, 5 Dec 2010 19:22:35 +0000 (19:22 +0000)]
Optimize the Blender exporter to process face islands when creating strips
Display a progress bar while exporting

13 years agoUse VertexBuilder's MatrixStack in Font
Mikko Rasa [Sun, 5 Dec 2010 19:16:46 +0000 (19:16 +0000)]
Use VertexBuilder's MatrixStack in Font

13 years agoAdd a MatrixStack to VertexBuilder
Mikko Rasa [Sun, 5 Dec 2010 19:16:12 +0000 (19:16 +0000)]
Add a MatrixStack to VertexBuilder
Change the vertex handler function to take a Vector4 as parameter

13 years agoAdd conversion from Vector4 to Vector3
Mikko Rasa [Sun, 5 Dec 2010 18:56:03 +0000 (18:56 +0000)]
Add conversion from Vector4 to Vector3
Add overloads of Matrix transformations with Vector3 parameters
Add multiplication operator between Matrix and Vector4

13 years agoUse a RefPtr to store font texture
Mikko Rasa [Sun, 5 Dec 2010 18:53:05 +0000 (18:53 +0000)]
Use a RefPtr to store font texture
Rename default_size to native_size
Use keyword overloading for inline textures
Avoid rendering strings with undefined color

13 years agoReorder Font members
Mikko Rasa [Wed, 1 Dec 2010 13:46:44 +0000 (13:46 +0000)]
Reorder Font members
Remove unimplemented draw_glyph from header
Whitespace changes

13 years agoGive both color and depth buffers to postprocessors
Mikko Rasa [Tue, 30 Nov 2010 14:38:11 +0000 (14:38 +0000)]
Give both color and depth buffers to postprocessors
Add SSAO postprocessor

13 years agoAllocate textures attached to framebuffers automatically
Mikko Rasa [Tue, 30 Nov 2010 14:34:46 +0000 (14:34 +0000)]
Allocate textures attached to framebuffers automatically

13 years agoRemove support for texture borders
Mikko Rasa [Tue, 30 Nov 2010 13:10:50 +0000 (13:10 +0000)]
Remove support for texture borders
Implement missing Texture3D::sub_image
Add allocate methods to Texture2D and Texture3D
Fix a bug in Texture

14 years agoUse RefPtrs in Object
Mikko Rasa [Sun, 7 Nov 2010 14:24:10 +0000 (14:24 +0000)]
Use RefPtrs in Object
Disallow gaps in Object's mesh array
Add methods for dynamic creation of Objects, Techniques and RenderPasses

14 years agoAdd some missing virtual destructors and a base class copy-c'tor call
Mikko Rasa [Sun, 7 Nov 2010 09:16:47 +0000 (09:16 +0000)]
Add some missing virtual destructors and a base class copy-c'tor call

14 years agoUse SimpleWindow::tick in viewer
Mikko Rasa [Wed, 3 Nov 2010 07:00:19 +0000 (07:00 +0000)]
Use SimpleWindow::tick in viewer
Add destructor to viewer for cleaning up

14 years agoUse the matrix classes internally
Mikko Rasa [Wed, 3 Nov 2010 06:59:39 +0000 (06:59 +0000)]
Use the matrix classes internally
Fix an error in Matrix::perspective

14 years agoReplace GL matrices with an object-oriented implementation
Mikko Rasa [Tue, 2 Nov 2010 13:10:08 +0000 (13:10 +0000)]
Replace GL matrices with an object-oriented implementation

14 years agoAdd a simple object/mesh viewer application
Mikko Rasa [Mon, 1 Nov 2010 10:06:53 +0000 (10:06 +0000)]
Add a simple object/mesh viewer application

14 years agoInclude version_1_3.h for multitexturing
Mikko Rasa [Mon, 1 Nov 2010 10:06:11 +0000 (10:06 +0000)]
Include version_1_3.h for multitexturing

14 years agoDon't bind RenderBuffer in constructor
Mikko Rasa [Sun, 10 Oct 2010 09:49:41 +0000 (09:49 +0000)]
Don't bind RenderBuffer in constructor
Use correct parameter for glDrawBuffer

14 years agoWrite correct specularity parameters for materials
Mikko Rasa [Sat, 9 Oct 2010 10:42:06 +0000 (10:42 +0000)]
Write correct specularity parameters for materials

14 years agoUse texture unit numbers instead of slot names in RenderPass
Mikko Rasa [Sat, 9 Oct 2010 06:58:23 +0000 (06:58 +0000)]
Use texture unit numbers instead of slot names in RenderPass
Change the datafile syntax for defining textures
Allow inline textures
Use RefPtr for storing possibly-inline data

14 years agoBlender exporter:
Mikko Rasa [Sat, 9 Oct 2010 06:51:32 +0000 (06:51 +0000)]
Blender exporter:
Support exporting mspgl objects
Add ability to create a texture from material colors

14 years agoBlender exporter: support exporting multiple objects as a single compound object
Mikko Rasa [Fri, 8 Oct 2010 18:28:50 +0000 (18:28 +0000)]
Blender exporter: support exporting multiple objects as a single compound object

14 years agoToss out the locality optimizer as it's largely irrelevant to graphics hardware
Mikko Rasa [Thu, 7 Oct 2010 19:31:41 +0000 (19:31 +0000)]
Toss out the locality optimizer as it's largely irrelevant to graphics hardware
Add an LRU cache optimizer instead

14 years agoBlender exporter: add spaces around assignments
Mikko Rasa [Thu, 7 Oct 2010 16:52:13 +0000 (16:52 +0000)]
Blender exporter: add spaces around assignments

14 years agoUse the Blend and DepthTest classes
Mikko Rasa [Mon, 27 Sep 2010 06:43:55 +0000 (06:43 +0000)]
Use the Blend and DepthTest classes

14 years agoSupport limiting renderables in Pipeline to specific passes
Mikko Rasa [Thu, 16 Sep 2010 19:44:40 +0000 (19:44 +0000)]
Support limiting renderables in Pipeline to specific passes
Allow removing renderables from Pipeline

14 years agoRewrite Framebuffer to defer attach/detach operations until bound
Mikko Rasa [Wed, 15 Sep 2010 19:14:55 +0000 (19:14 +0000)]
Rewrite Framebuffer to defer attach/detach operations until bound
Set draw buffer and depth mask automatically according to attachments
Treat system framebuffer as an object as well
Move the clear function inside the Framebuffer class
Use temporary binding in RenderBuffer::storage

14 years agoRemove non-OO access to blending
Mikko Rasa [Wed, 15 Sep 2010 19:06:58 +0000 (19:06 +0000)]
Remove non-OO access to blending
Make Bind constructible from a reference again
Use RAII binding for texture in Font

14 years agoAdd the missing TexEnv::current() function
Mikko Rasa [Thu, 15 Jul 2010 15:51:30 +0000 (15:51 +0000)]
Add the missing TexEnv::current() function
Use current() instead of the more complex invocation in Texture::update_parameter

14 years agoAdd a Texturing class to encapsulate the state of multiple texturing units
Mikko Rasa [Thu, 15 Jul 2010 12:11:59 +0000 (12:11 +0000)]
Add a Texturing class to encapsulate the state of multiple texturing units
Make TexEnv::bind const
Propagate changes to GL when changing the currently bound TexEnv
Restore default TexEnv state on unbind
Take GL version into account in TexUnit::get_n_units

14 years agoAdd is_version_at_least function
Mikko Rasa [Thu, 15 Jul 2010 11:27:29 +0000 (11:27 +0000)]
Add is_version_at_least function
Reorder functions in extension.* more logically

14 years agoSupport multiple sets of texture coordinates in VertexArrays
Mikko Rasa [Thu, 15 Jul 2010 11:21:23 +0000 (11:21 +0000)]
Support multiple sets of texture coordinates in VertexArrays
Allow more generic vertex attributes
Fix memory allocation bug when copying VertexFormats
Refactor the internals of VertexBuilder
Add overloads of VertexBuilder functions that take Vector* or Color

14 years agoGet rid of the generic Texture::parameter method
Mikko Rasa [Sun, 4 Jul 2010 11:28:36 +0000 (11:28 +0000)]
Get rid of the generic Texture::parameter method
Add distinct methods for setting texture attributes
Don't bind textures for setting attributes, cache the changes instead
Restore previous binding after uploading texture images
Some improvements for choosing texture unit

14 years agoRework Bind and enable it to restore the old binding
Mikko Rasa [Tue, 8 Jun 2010 17:22:30 +0000 (17:22 +0000)]
Rework Bind and enable it to restore the old binding
Derive all simple bindable classes from Bindable
Some logic corrections in RenderPass

14 years agoFix compile errors caused by faulty regex application in previous revision
Mikko Rasa [Tue, 8 Jun 2010 17:18:08 +0000 (17:18 +0000)]
Fix compile errors caused by faulty regex application in previous revision

14 years agoStyle update: add spaces around assignment operators
Mikko Rasa [Sun, 6 Jun 2010 07:02:45 +0000 (07:02 +0000)]
Style update: add spaces around assignment operators

14 years agoAdd object-oriented interfaces for the various tests and blending
Mikko Rasa [Wed, 3 Mar 2010 12:39:59 +0000 (12:39 +0000)]
Add object-oriented interfaces for the various tests and blending
Add DepthTest and Blend pointers to PipelinePass
Move the Bind RAII class from misc.h to bindable.h

14 years agoFix projection calculations in camera.cpp
Mikko Rasa [Thu, 25 Feb 2010 16:47:26 +0000 (16:47 +0000)]
Fix projection calculations in camera.cpp

14 years agoFix 4th column of camera matrix
Mikko Rasa [Wed, 24 Feb 2010 21:56:25 +0000 (21:56 +0000)]
Fix 4th column of camera matrix
Add getters for camera lens parameters

14 years agoSupport collectionless loading of Technique and RenderPass
Mikko Rasa [Tue, 23 Feb 2010 14:42:09 +0000 (14:42 +0000)]
Support collectionless loading of Technique and RenderPass

14 years agoGet rid of the typedefs for fundamental types
Mikko Rasa [Sun, 21 Feb 2010 13:32:51 +0000 (13:32 +0000)]
Get rid of the typedefs for fundamental types

14 years agoAdd a Camera class
Mikko Rasa [Sat, 20 Feb 2010 19:08:43 +0000 (19:08 +0000)]
Add a Camera class
Add Pipeline::camera pointer

14 years agoCorrect some #includes
Mikko Rasa [Sat, 20 Feb 2010 19:06:37 +0000 (19:06 +0000)]
Correct some #includes
Allow loaded objects to have an inline mesh

14 years agoAllow copying of Uniforms and ProgramData
Mikko Rasa [Fri, 12 Feb 2010 15:50:13 +0000 (15:50 +0000)]
Allow copying of Uniforms and ProgramData
Use typedefs in Scene for shorter code and to avoid collisions with GL::set
Major rework of Object and Technique

14 years agoInherit Loaders from the ObjectLoader classes
Mikko Rasa [Thu, 4 Feb 2010 17:59:06 +0000 (17:59 +0000)]
Inherit Loaders from the ObjectLoader classes

14 years agoMake Tag directly comparable and use it as a key in relevant maps
Mikko Rasa [Thu, 4 Feb 2010 14:12:45 +0000 (14:12 +0000)]
Make Tag directly comparable and use it as a key in relevant maps

14 years agoDrop Renderable::has_pass; renderables are now expected to ignore unknown passes
Mikko Rasa [Thu, 4 Feb 2010 07:59:12 +0000 (07:59 +0000)]
Drop Renderable::has_pass; renderables are now expected to ignore unknown passes

Note: compatibility-breaking change.  Major version bump in next release.

14 years agoAdd a tool to convert a mesh into C code
Mikko Rasa [Thu, 4 Feb 2010 07:43:30 +0000 (07:43 +0000)]
Add a tool to convert a mesh into C code
Add Batch::get_type() accessor
Make get_stride a member of VertexFormat
Add a #define GLX_GLXEXT_PROTOTYPES to allow compilation against Mesa

14 years agoAdd static Texture::unbind_from function
Mikko Rasa [Mon, 1 Feb 2010 20:02:33 +0000 (20:02 +0000)]
Add static Texture::unbind_from function
Handle generic attributes in PrimitiveBuilder

14 years agoAdd a hackish support for positional lights in ShadowMap
Mikko Rasa [Fri, 15 Jan 2010 21:13:48 +0000 (21:13 +0000)]
Add a hackish support for positional lights in ShadowMap

14 years agoUse a struct to store texture slots in Technique
Mikko Rasa [Fri, 4 Dec 2009 17:18:21 +0000 (17:18 +0000)]
Use a struct to store texture slots in Technique

14 years agoFix compilation on 64-bit platforms
Mikko Rasa [Fri, 4 Dec 2009 07:00:37 +0000 (07:00 +0000)]
Fix compilation on 64-bit platforms
Set init_done in get_version

15 years agoBump version to 1.1 1.1
Mikko Rasa [Mon, 5 Oct 2009 18:48:09 +0000 (18:48 +0000)]
Bump version to 1.1
Update Build file for builder 1.0

15 years agoAdd get_width() / get_height() methods to Renderbuffer and Framebuffer
Mikko Rasa [Mon, 21 Sep 2009 13:50:58 +0000 (13:50 +0000)]
Add get_width() / get_height() methods to Renderbuffer and Framebuffer
Add some framebuffer-related global functions
Set viewport size when binding a framebuffer and restore it when unbinding
Allow detaching attachments from a Framebuffer
Configurable texture unit number in ShadowMap

15 years agoProperly handle the case where an object doesn't have a main texture but its techniqu...
Mikko Rasa [Mon, 3 Aug 2009 12:25:44 +0000 (12:25 +0000)]
Properly handle the case where an object doesn't have a main texture but its technique does

15 years agoDisable blend and depth test while rendering Bloom
Mikko Rasa [Sun, 26 Jul 2009 19:06:34 +0000 (19:06 +0000)]
Disable blend and depth test while rendering Bloom
Restore original FBO after rendering ShadowMap

15 years agoReset viewport also after pass-specific effects
Mikko Rasa [Tue, 14 Jul 2009 13:53:12 +0000 (13:53 +0000)]
Reset viewport also after pass-specific effects
Use a separate pass name for rendering shadow maps to allow for optimization

15 years agoAdd Vector3 and Vector4 classes
Mikko Rasa [Sun, 5 Jul 2009 20:32:00 +0000 (20:32 +0000)]
Add Vector3 and Vector4 classes
Add the rest of Light parameters
Make lighting in PipelinePass const
Reset viewport after each effect
Add load_matrix functions

15 years agoAdd a size parameter to makefont.py
Mikko Rasa [Sat, 4 Jul 2009 11:32:17 +0000 (11:32 +0000)]
Add a size parameter to makefont.py

15 years agoBlender exporter:
Mikko Rasa [Thu, 28 May 2009 06:18:39 +0000 (06:18 +0000)]
Blender exporter:
- Detect autosmoothing
- Export mesh with modifiers applied

15 years agoGeneralize VertexBuffer into Buffer with support for other types as well
Mikko Rasa [Sun, 24 May 2009 10:56:35 +0000 (10:56 +0000)]
Generalize VertexBuffer into Buffer with support for other types as well
Support using index buffer for Mesh
Don't autoreset Immediate on end() to make it compatible with MeshBuilder
Add a RAII class for bindings
Make Program::bind const

15 years agoAdd a Pipeline framework for constructing complex rendering sequences
Mikko Rasa [Tue, 27 Jan 2009 19:38:22 +0000 (19:38 +0000)]
Add a Pipeline framework for constructing complex rendering sequences
Some minor fixes

15 years agoAdd post-processing effect framework
Mikko Rasa [Sun, 25 Jan 2009 10:39:28 +0000 (10:39 +0000)]
Add post-processing effect framework
Add Bloom effect
Allow querying currently bound Framebuffer
Add floating-point PixelFormats

15 years agoFix an index mismatch between setting attribute array pointers and enabling the arrays
Mikko Rasa [Fri, 16 Jan 2009 09:05:12 +0000 (09:05 +0000)]
Fix an index mismatch between setting attribute array pointers and enabling the arrays

15 years agoAllow generic vertex attribute 0, since OpenGL 3.0 does not support any fixed-functio...
Mikko Rasa [Wed, 14 Jan 2009 19:19:18 +0000 (19:19 +0000)]
Allow generic vertex attribute 0, since OpenGL 3.0 does not support any fixed-function attributes
Blender exporter: support exporting tangent/binormal vectors for bump mapping

15 years agoRewrite VertexFormat to support an arbitary amount of components
Mikko Rasa [Sat, 10 Jan 2009 10:07:36 +0000 (10:07 +0000)]
Rewrite VertexFormat to support an arbitary amount of components
Add support for generic vertex attributes to VertexFormat and VertexArray
Check for proper extensions in Shader constructor
Blender exporter: Export texture coordinates

16 years agoMove transform functions to matrix.h
Mikko Rasa [Sun, 2 Nov 2008 21:18:56 +0000 (21:18 +0000)]
Move transform functions to matrix.h
Add RAII version of push_matrix

16 years agoSupport embedding textures inside font files
Mikko Rasa [Sun, 2 Nov 2008 17:46:18 +0000 (17:46 +0000)]
Support embedding textures inside font files
Make maketex.py usable as an import
Add makefont.py to create fonts from TTF files (needs ttf2png)

16 years agoBlender exporter:
Mikko Rasa [Tue, 21 Oct 2008 20:08:53 +0000 (20:08 +0000)]
Blender exporter:
Remove unused code
Support exporting faceless edges as lines
Determine default filename from object name
Store configuration between runs

16 years agoAdd Changelog.txt 1.0
Mikko Rasa [Tue, 14 Oct 2008 19:01:43 +0000 (19:01 +0000)]
Add Changelog.txt
Update description
Bump version

16 years agoAdd class Technique to share passes between Objects
Mikko Rasa [Sat, 4 Oct 2008 20:26:55 +0000 (20:26 +0000)]
Add class Technique to share passes between Objects
Refactor Object to make use of Technique and also work without one
Make ObjectInstance take a Tag instead of ObjectPass in (prepare|finish)_render

16 years agoAdd Texture::bind_to() method
Mikko Rasa [Sat, 4 Oct 2008 19:50:15 +0000 (19:50 +0000)]
Add Texture::bind_to() method
Check if texture is already bound in bind()

16 years agoConvert Light to object model
Mikko Rasa [Sun, 28 Sep 2008 15:40:26 +0000 (15:40 +0000)]
Convert Light to object model
Add class Lighting to encapsulate lighting state as a whole

16 years agoAdd virtual destructors to Renderable and Uniform
Mikko Rasa [Wed, 24 Sep 2008 16:17:29 +0000 (16:17 +0000)]
Add virtual destructors to Renderable and Uniform
Convert C-style casts to C++-style

16 years agoObject model for Material and TexEnv
Mikko Rasa [Wed, 24 Sep 2008 16:10:43 +0000 (16:10 +0000)]
Object model for Material and TexEnv

16 years agoUse RAII checks for extensions and versions
Mikko Rasa [Mon, 8 Sep 2008 19:39:39 +0000 (19:39 +0000)]
Use RAII checks for extensions and versions
Add functions for drawing vertex array elements