]>
git.tdb.fi Git - libs/gl.git/log
Mikko Rasa [Sun, 5 Aug 2012 12:53:41 +0000 (15:53 +0300)]
Add support for viewing animations
Mikko Rasa [Sun, 5 Aug 2012 12:26:23 +0000 (15:26 +0300)]
Basic animation support
Mikko Rasa [Tue, 31 Jul 2012 23:35:29 +0000 (02:35 +0300)]
Use a custom drawing function to group the properties in a sensible way
Mikko Rasa [Tue, 31 Jul 2012 23:07:55 +0000 (02:07 +0300)]
Support exporting textures with objects
Mikko Rasa [Tue, 31 Jul 2012 22:49:59 +0000 (01:49 +0300)]
Improve texture unit handling
Mikko Rasa [Tue, 31 Jul 2012 22:36:23 +0000 (01:36 +0300)]
More compilation fixes
Mikko Rasa [Tue, 31 Jul 2012 21:03:27 +0000 (00:03 +0300)]
Don't try to export a material texture if the mesh has no materials
Mikko Rasa [Tue, 31 Jul 2012 21:03:03 +0000 (00:03 +0300)]
Split mesh and object export into separate operators
Mikko Rasa [Tue, 31 Jul 2012 19:34:04 +0000 (22:34 +0300)]
Fix exporting compound objects with no materials
Mikko Rasa [Thu, 26 Jul 2012 20:46:11 +0000 (23:46 +0300)]
Adapt exporter to Blender 2.63
Mikko Rasa [Wed, 25 Jul 2012 19:48:44 +0000 (22:48 +0300)]
Fix compiler warnings
Mikko Rasa [Sun, 19 Feb 2012 13:57:27 +0000 (15:57 +0200)]
Adjust material export and material-based texcoord generation for Blender 2.6
Mikko Rasa [Tue, 7 Feb 2012 17:45:09 +0000 (17:45 +0000)]
Rename a variable in shader code to avoid conflict with a keyword
Mikko Rasa [Tue, 7 Feb 2012 17:44:41 +0000 (17:44 +0000)]
Use proper cast
Mikko Rasa [Tue, 7 Feb 2012 17:44:02 +0000 (17:44 +0000)]
Compatibility with Blender 2.6
Mikko Rasa [Fri, 20 Jan 2012 20:29:11 +0000 (22:29 +0200)]
Add a standard program feature for custom transforms
Mikko Rasa [Wed, 7 Sep 2011 19:51:40 +0000 (22:51 +0300)]
Move tools to their own directory as well
Mikko Rasa [Wed, 7 Sep 2011 16:23:03 +0000 (19:23 +0300)]
Add two demo programs (with crappy code)
Mikko Rasa [Wed, 7 Sep 2011 16:17:49 +0000 (19:17 +0300)]
Fix an incorrect #include
Mikko Rasa [Tue, 6 Sep 2011 20:58:13 +0000 (23:58 +0300)]
Update viewer for compatibility with library changes
Mikko Rasa [Tue, 6 Sep 2011 20:55:35 +0000 (23:55 +0300)]
Use the lexical_cast framework instead of istreams
Mikko Rasa [Tue, 6 Sep 2011 20:49:10 +0000 (23:49 +0300)]
mspdatafile APIs have changed slightly
Mikko Rasa [Tue, 6 Sep 2011 20:46:52 +0000 (23:46 +0300)]
Rework exceptions
Mikko Rasa [Tue, 6 Sep 2011 20:37:38 +0000 (23:37 +0300)]
Use maputils functions
Mikko Rasa [Tue, 6 Sep 2011 20:35:04 +0000 (23:35 +0300)]
Namespace Codecs was renamed to StringCodec
Mikko Rasa [Tue, 6 Sep 2011 19:21:11 +0000 (22:21 +0300)]
Update header names
Mikko Rasa [Tue, 6 Sep 2011 18:20:52 +0000 (21:20 +0300)]
Move scripts to their own directory
Mikko Rasa [Tue, 6 Sep 2011 18:20:18 +0000 (21:20 +0300)]
Remove the Blender 2.4 exporter now that 2.5 is stable
Mikko Rasa [Tue, 6 Sep 2011 18:19:14 +0000 (21:19 +0300)]
Drop Id tags and copyright notices from files
Mikko Rasa [Tue, 24 May 2011 06:02:53 +0000 (09:02 +0300)]
Convert svn:ignore to .gitignore
Mikko Rasa [Tue, 10 May 2011 07:37:55 +0000 (07:37 +0000)]
Store uniform information inside Program to reduce glGetUniformLocation calls
Mikko Rasa [Tue, 10 May 2011 07:34:16 +0000 (07:34 +0000)]
Drop Shader::get_param and Program::get_param
Rename Shader::get_compiled and Program::get_linked to is_*
Use correct _ARB constants
Mikko Rasa [Wed, 4 May 2011 13:32:16 +0000 (13:32 +0000)]
Drop the global *_test constants and related functions
Mikko Rasa [Wed, 27 Apr 2011 11:02:11 +0000 (11:02 +0000)]
Make the compiler shut up about a signed/unsigned mismatch
Mikko Rasa [Wed, 27 Apr 2011 11:01:47 +0000 (11:01 +0000)]
Remove the LIGHTING enum
Add Light::unbind_from function
Mikko Rasa [Wed, 20 Apr 2011 12:42:49 +0000 (12:42 +0000)]
System for generating standard shaders based on flags
Mikko Rasa [Sat, 9 Apr 2011 10:42:57 +0000 (10:42 +0000)]
Support loading texture wrap parameters
Mark font textures as CLAMP_TO_EDGE
Mikko Rasa [Fri, 8 Apr 2011 22:56:45 +0000 (22:56 +0000)]
Add an element offset to PrimitiveBuilder
Mikko Rasa [Thu, 7 Apr 2011 14:28:04 +0000 (14:28 +0000)]
Adapt to changes in bpy API
Mikko Rasa [Mon, 4 Apr 2011 16:45:47 +0000 (16:45 +0000)]
Add methods to get Framebuffer size
Mikko Rasa [Mon, 4 Apr 2011 16:45:35 +0000 (16:45 +0000)]
Add a method to get the mesh of an Object
Mikko Rasa [Mon, 4 Apr 2011 16:44:40 +0000 (16:44 +0000)]
Add a method to get the offset of a single component of a VertexFormat
Mikko Rasa [Tue, 15 Mar 2011 07:46:15 +0000 (07:46 +0000)]
Remove rendermode and selection support due to lack of decent hardware support
Mikko Rasa [Tue, 15 Mar 2011 06:47:41 +0000 (06:47 +0000)]
Support exporting separate arrays in mesh2c (as opposed to interleaved)
Mikko Rasa [Sun, 6 Mar 2011 01:02:52 +0000 (01:02 +0000)]
Fix texunit processing order to avoid artifacts in tbn vectors
Mikko Rasa [Sun, 6 Mar 2011 01:01:00 +0000 (01:01 +0000)]
Rename CUT to CROP in GeometryBuilder
Fix capsule texture coordinates
Use adjust_texture_scale in capsule and box builders
Mikko Rasa [Thu, 3 Feb 2011 21:23:12 +0000 (21:23 +0000)]
Improve smoothing in blender exporter
Support exporting multiple sets of texture coordinates
Mikko Rasa [Thu, 3 Feb 2011 21:21:29 +0000 (21:21 +0000)]
Support multiple sets of texture coordinates in datafiles
Mikko Rasa [Thu, 3 Feb 2011 21:20:43 +0000 (21:20 +0000)]
Fix capsule end vertex coordinates
Mikko Rasa [Sun, 30 Jan 2011 09:45:13 +0000 (09:45 +0000)]
Add a Blender 2.5 port of the exporter
Mikko Rasa [Sun, 30 Jan 2011 09:44:36 +0000 (09:44 +0000)]
Adjust depth clip according to camera distance
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
Mikko Rasa [Wed, 26 Jan 2011 15:23:26 +0000 (15:23 +0000)]
Add classes for building some geometric shapes
Mikko Rasa [Tue, 25 Jan 2011 08:59:05 +0000 (08:59 +0000)]
#include tag.h instead of forward declaring
Mikko Rasa [Mon, 17 Jan 2011 17:43:10 +0000 (17:43 +0000)]
Reintroduce named texture slots for Technique inheritance
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
Mikko Rasa [Fri, 14 Jan 2011 13:00:05 +0000 (13:00 +0000)]
Add WindingTest and support for it in Mesh and Renderer
Mikko Rasa [Wed, 12 Jan 2011 19:54:13 +0000 (19:54 +0000)]
Generalize instancing to all Renderables
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
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
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
Mikko Rasa [Tue, 11 Jan 2011 20:03:37 +0000 (20:03 +0000)]
Better tracking of Renderer matrix changes
Make MatrixStack::top() const
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
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
Mikko Rasa [Mon, 10 Jan 2011 18:52:05 +0000 (18:52 +0000)]
Add a rendering supervisor class
Remove bind semantics from RenderPass
Mikko Rasa [Sun, 26 Dec 2010 16:35:14 +0000 (16:35 +0000)]
Make RenderPass use a Texturing for textures
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
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
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
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
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
Mikko Rasa [Thu, 9 Dec 2010 20:55:25 +0000 (20:55 +0000)]
Modernize the Bloom code
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
Mikko Rasa [Sun, 5 Dec 2010 19:16:46 +0000 (19:16 +0000)]
Use VertexBuilder's MatrixStack in Font
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
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
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
Mikko Rasa [Wed, 1 Dec 2010 13:46:44 +0000 (13:46 +0000)]
Reorder Font members
Remove unimplemented draw_glyph from header
Whitespace changes
Mikko Rasa [Tue, 30 Nov 2010 14:38:11 +0000 (14:38 +0000)]
Give both color and depth buffers to postprocessors
Add SSAO postprocessor
Mikko Rasa [Tue, 30 Nov 2010 14:34:46 +0000 (14:34 +0000)]
Allocate textures attached to framebuffers automatically
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
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
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
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
Mikko Rasa [Wed, 3 Nov 2010 06:59:39 +0000 (06:59 +0000)]
Use the matrix classes internally
Fix an error in Matrix::perspective
Mikko Rasa [Tue, 2 Nov 2010 13:10:08 +0000 (13:10 +0000)]
Replace GL matrices with an object-oriented implementation
Mikko Rasa [Mon, 1 Nov 2010 10:06:53 +0000 (10:06 +0000)]
Add a simple object/mesh viewer application
Mikko Rasa [Mon, 1 Nov 2010 10:06:11 +0000 (10:06 +0000)]
Include version_1_3.h for multitexturing
Mikko Rasa [Sun, 10 Oct 2010 09:49:41 +0000 (09:49 +0000)]
Don't bind RenderBuffer in constructor
Use correct parameter for glDrawBuffer
Mikko Rasa [Sat, 9 Oct 2010 10:42:06 +0000 (10:42 +0000)]
Write correct specularity parameters for materials
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
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
Mikko Rasa [Fri, 8 Oct 2010 18:28:50 +0000 (18:28 +0000)]
Blender exporter: support exporting multiple objects as a single compound object
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
Mikko Rasa [Thu, 7 Oct 2010 16:52:13 +0000 (16:52 +0000)]
Blender exporter: add spaces around assignments
Mikko Rasa [Mon, 27 Sep 2010 06:43:55 +0000 (06:43 +0000)]
Use the Blend and DepthTest classes
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
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
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
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