Visualization Library 2.1
- Added Qt 6 support
- Added wxWidgets 3.1 support
- Added Vector2/3/4 constructor from T_Scalar*
- Unified FramebufferObject and Framebuffer classes
- Renamed TextureSampler to TextureImageUnit for better compliance with OpenGL language
- Removed extraneous deprecated TexParameterOverride dead code
- Various other compilation fixes and code cleanups
Visualization Library 2.0
- Excluded external sources in documentation
- Set default verbosity level in debug mode to vl::VEL_VERBOSITY_DEBUG (remains vl::VEL_VERBOSITY_ERROR in release mode)
- Logs: improved Win32 console implementation
- Logs: improved ScopedColor implementation
- Request the highest compatible GL context by default (GLFW, Qt4, Qt5, GLUT)
- Setting maj and min GL version to 0 requests the highest availalbe level
- Replaced printfs with vl::Log to print the list of tests
- Run tests @ 800x800 pixels instead of 512x512
- Added Linux command line interface compilation and installation instructions to README.md
- Added Windows command line interface compilation and installation instructions to README.md
- Various documentation updates and improvements
- README.TXT -> README.md
- Added new Extrusions class courtesy of Fabien Mathieu to extrude multiple contours, useful for "hollow" extrusions etc.
- Enabled 4x multi process compilation by default in Visual Studio
- Fixed bug in CRC32CheckSum
- Fixed ioOBJ vectors initialization bug
- Fixed compilation warnings with VS2019
- Replace respectively fmat and fvec with mat and vec to repect the pipeline precision settings
- Fixed VLGRAPHICS_EXPORT issue with template classes
- Fixed wrong "external" instead of "3rdparty" during build
- Fixed compilation issue with <vlX/Defines.hpp>
- RaycastVolume upated to support OpenGL Core (3.3+)
- More resilient Applet, OpenGLContext and volume examples shutdown and destruction
- GLFW support fixed
- General documentation & website updates:
- Based on Doxygen 1.8
- Website includes v1.0 and v2.0 docs
- Allow Markdown docs
- Several fixed and updates in the docs
- Use compatibility GL profile by default
- Qt4,Qt5,GLFW: allow GL profile Core or Compatibility
- VertexAttribInfo: removed
- Volume GLSL: improved render quality
- Added simple MHD loader
- STL: 10x faster binary loader
- Added GLFW support
- Locate GDCM using standard FIND_PACKAGE
- OpenGLContext::dispatchRunEvent() renamed dispatchUpdateEvent()
- Added standard GLSL includes uniforms.glsl and vertex_attribs.glsl
- Using new GLSL #pragma VL include capability
- #version 150 compatibility is current preferred safe version for many GLSL scripts
- mGLSLProgram->useProgram() becomes openglContext()->useGLSLProgram( mGLSLProgram.get() )
- Legacy GLSL removed (these are taken care of from inside the GLSL script): setGeometryInputType, setGeometryOutputType, setGeometryVerticesOut
- sceneManager()->extractActors( intersector.actors() ) becomes sceneManager()->extractVisibleActors( *intersector.actors(), NULL )
- Removed functions geom->convertToVertexAttribs() and glsl->addAutoAttribLocation() as not needed anymore
- Added Qt4 & Qt5 GUI and filesystem support: QFile and QDirectories can be used as part of VL virtual file system - including Qt compiled resurces.
- Added CalibratedCamera class for augmented reality applications
- Added AdjacencyExtractor class: used to generate PT_LINES_ADJACENCY, PT_LINE_STRIP_ADJACENCY, PT_TRIANGLES_ADJACENCY, PT_TRIANGLE_STRIP_ADJACENCY primitive type for silhouette extraction, geometry slicing and topology manipulation in geometry shaders
- Updated vlVolume:
- Improved raycast volume rendering quality & fixed bugs
- Automatic slice count computation for sliced volume rendering & fixed bugs
- vl::genGradientNormals() utility function fixed
- Added vl::Object::setObjectName()
- Added vl::String constructor for std::string & std::wstring
- Vector2, Vector3 and Vector4 can be constructed from single scalar
- Better automatic texture unit management: user configurable VL_MAX_TEXTURE_UNITS now removed by internal VL_MAX_TEXTURE_IMAGE_UNITS and VL_MAX_LEGACY_TEXTURE_UNITS constants
- Fixed warnings in glsl_math.hpp
- Improved Buffer Object documentation in Array.hpp
- Fixed various render states getter/setter constness in Shader.hpp
- TriangleIterator supports PT_TRIANGLES_ADJACENCY primitive type
- Scissor:
- Removed Viewport::enableScissorSetup()
- Added Viewport::setScissorEnabled(bool)
- Added bool Viewport::isScissorEnabled()
- Viewport::mSetupScissor -> mScissorEnabled
- Improved Uniform getters/setters
- Image:
- Added support to IF_RG
- New constructor Image(void buffer_ptr, int buffer_bytes) allowing initializing an Image against a user/externally allocated buffer
- TextureSampler::reset(int index, OpenGLContext* ctx) utility function to set a texture sampler to it's default disabled state
- Textures:
- Managed Textures: allows user to assign and manage the low level OpenGL handle with vl::Texture. Useful when you want to use a single vl::Texture object but change/recreate the underlying OpenGL texture handle at will
- Destroy on create: calling Texture::createTexture() (or any function that calls this) will automatically destroy any existing texture (not if it's managed)
- GLSL: removed UniformInfo, AttribInfo and AutoAttribLocations because not useful and superseded by new auto vertex attrib system
- GLSL: new #pragma VL include /path/to/file.glsl directive to include a GLSL file from another GLSL file!
- GLSL: removed deprecated GeometryVerticesOut, GeometryInputType, GeometryOutputType logic. OpenGL 3+ uses the layout keyword for these
- GLSL: added GLSLShader and GLSLProgram reload() functions
- GLSL: GLSLProgram::useProgram() removed, use OpenGLContext::useGLSLProgram()
- GLSL: automatic vertex attrib location binding:
- vl_VertexPosition
- vl_VertexNormal
- vl_VertexColor
- vl_VertexSecondaryColor
- vl_VertexFogCoord
- vl_VertexTexCoord0
- vl_VertexTexCoord1
- vl_VertexTexCoord2
- vl_VertexTexCoord3
- vl_VertexTexCoord4
- vl_VertexTexCoord5
- vl_VertexTexCoord6
- vl_VertexTexCoord7
- vl_VertexTexCoord8
- vl_VertexTexCoord9
- vl_VertexTexCoord10
- GLSL: automatic standard uniform detection:
- vl_WorldMatrix
- vl_ModelViewMatrix
- vl_ProjectionMatrix
- vl_ModelViewProjectionMatrix
- vl_NormalMatrix
- Added Renderer::rederRaw() function useful to create custom Renderer classes
- Added Enabled attribute to Actor and ActorTree. See also the new/updated functions:
- bool Renderer::isEnabled(const Actor* actor)
- bool Rendering::isEnabled(const Actor* actor)
- bool SceneManager::isEnabled(const Actor* actor)
- SceneManager::extractActors() vs extractVisibleActors()
- Actor::setEnabled()/isEnabled()
- ActorTreeAbstract::setEnabled()/isEnabled()
- ActorTreeAbstract::extractActors() vs extractVisibleActors()
- ActorTree API changes:
- mChildren is now protected and can be accessed in read-only mode using the children() method
- New/updated methods to manipulate the tree nodes:
- void addChild(ActorTreeAbstract* node)
- void addChildOnce(ActorTreeAbstract* node)
- void setChild(int i, ActorTreeAbstract* node)
- void eraseChild(int i, int count=1)
- int findChild(ActorTreeAbstract* node)
- bool eraseChild(ActorTreeAbstract* node)
- void eraseChild(int i, int count = 1)
- void eraseAllChildren()
- Automatic Generalized Vertex Attribute Arrays:
- Unified API to access all vertex attibutes, position, normal, color but also texture coords and the generic vertex attibutes (glVertexAttribPointer)
- Standard vertex attributes like position, normal and color can be seen both from the legacy API (ex. Geometry::normalArray()) and the generic api (ex. Geometry::vertexAttribArray(vl::VA_Normal))
- Geometry::convertToVertexAttribs() removed as it's not needed anymore
- Great simplification of lot's of code that can now be agnostic of legacy vs generic vertex attributes usage
- Geometry::setColorArray() tries to not reallocate the color array. It also sets the buffer object dirty
- Rendering: fixed bug creating a continuous stream of Textures
- GLSL: always setup legacy GLSL matrices as well as vl standard matrix uniforms
- OpenGLContext: much better Core profile support and closer OpenGL state tracking
Visualization Library 1.0.2
- vl::makeGrid() new "center=true" option to optionally disable centering of geometry.
- TrackballManipulator::adjustView() do nothing if ActorCollection is empty instead of crashing.
- Make scissor test optional.
- Only bind draw buffer and read buffer when appropriate.
- Fixed VL version string in log.
Visualization Library 1.0.1
- Fixed Visual Studio 2015 compile error and warnings.
- Fixed IO plugin compilation to include VL's third party libs.
- Updated third party libraries.
Visualization Library 1.0.0
Visualization Library 2011.09.1168
- Added StereoCamera utility class to easily setup stereo renderings.
- Allow Renderer to override default render states used by OpenGLContext.
- Finalized App_Stereo demo: simple example of how to setup a stereo rendering using anaglyphs.
- Updated Khronos OpenGL header files to latest versions.
- Bug: fixed instrumentation classes when used outside vl:: namespace.
- Bug: fixed Viewport::activate(): restore the original color, depth and stencil masks after utilization.
- Bug: fixed DepthSortCallback VLX importer.
- Bug: fixed other compilation warnings and errors.
Visualization Library 2011.09.1166
- Geometry::clearArrays() now calls setBufferObjectDirty(true)
- removed (wrong) default value from Renderable::setBufferObjectDirty(bool dirty=false)
- added missing Texture::setFixedSamplesLocation() and Texture::setSamples()
Visualization Library 2011.09.1164
- OpenGLContext now exposes both leftFramebuffer() and rightFramebuffer() to more easily allow stereo rendering.
- Framebuffer can now be publicly constructed if really really needed.
- Added Qt4Widget::setRefreshRate() to adjust the FPS frequency when continuous update is active.
- More informative OpenGL environment sanity checks: OpenGLContext::isCleanState() does not stop execution on failure, tries to fix some common errors and goes on, prints a full report of the errors found also including GL driver info.
- Updated comments regarding effect and shader override in Actor, Rendering and Renderer.
- Various minor code and documentation enhancements.
- Bug: workaround for annoying NVIDIA driver bug where glGetActiveUniform() returns uniform array names with []. We simply strip the [] from the uniform name, issue a warning and continue.
- Bug: renderer and Rendering now stop at the first effect and shader override they find.
- Bug: fixed ArrayAbstract copy constructor crash.
- Bug: fixed issue with GL_MAX_VARYING_VECTORS check at startup with OpenGL 3.2.
Visualization Library 2011.09.1162
- Bug: fixed compilation of vlGLUT under windows.
- Bug: fixed SDLWindow compilation under Windows.
- Bug: fixed "return NULL" in vl::loadDAT(VirtualFile* file)
- Bug: FlatManipulator compilation fixes.
- Bug: removed bogus include in ioDICOM.cpp
Visualization Library 2011.09.1160
- Bug: fixed crashes when running Win32 and MFC tests with no arguments.
- Bug: fixed Z axis reversed in SlicedVolume.cpp.
- Various documentation updates.
Visualization Library 2011.09.1160 RC4
- Fixed double precision pipeline compilation.
- Fixed some GLES1 compilation errors.
- Fixed RayIntersectionGeometry::triangle() now returns correctly the picked triangle's vertex indices.
Visualization Library 2011.09.1160 RC3
- Various fixes for broader support to generic vertex attributes.
Visualization Library 2011.09.1160 RC2
- Fixed MinGW and MSYS compilation errors.
Visualization Library 2011.09.1160 RC1
- Allow DrawElements and DrawRangeElements to use an arbitrary window of the index buffer.
Visualization Library 2011.05.1144 (maintenance release of VL 2011.05.1142)
- Bug: fixed FontManager::acquireFont() always returning entry #0.
- Bug: fixed Matrix3::getInverse() returning the transpose of the inverse.
- Bug: fixed bug when destroying a Transform with children did not set mParent to NULL.
- Bug: fixed lag when starting font rendering with many glyphs.
- Bug: fixed problems and typos in FindVL.cmake.
- Bug: fixed vl::Time precision when system is up for several days.
- Bug: fixed partial GLSLProgState sorting in Renderer.cpp.
- actorQueue() cleared after rendering to potentially release rendered objects.
- Matrix4::getInverse() implemented using cofactors method give 3.5X speedup.
Visualization Library 2011.09.1157
- Added new tool: vlxtool.exe: convert data to vlt/vlb format.
- Added several GLSL shader examples in test "glsl": procedural bump mapping, wood shader, various marble shaders, hatching shader, cloud shader, ribbon shader, the classic toy-ball shader etc. Shown also in the gallery.
- Matrix4::getLookAt() changed semantic: now returns the view-look-at-matrix rather than the modeling-look-at-matrix to comply with OpenGL and COLLADA conventions. See also vl::Matrix4::getLookAtModeling().
- Matrix4::getInverse() uses co-factor method: 3.5X quicker and slightly more precise.
- More efficient setup of vertex arrays and buffer object usage.
- More efficient vl::Material setup.
- Added MurmurHash3 quick and reliable hash functions to use with hash tables (not for cryptographic uses).
- Added vl::MersenneTwister for high quality and fast random number generation.
- LoadWriterManager automatically and transparently loads .gz-ipped files.
- Tests can be called by name (besides their number).
- App_ModelProfiler.cpp allow drag and drop of GLSL shaders.
- Shader::get* return NULL when RenderStateSet is NULL.
- Improvements to OBJ loader, correctly handle alpha blending and mask maps.
- API:
- Removed 'As' from the vl::Camera projection setters, 'As' should be used only for the getters of both matrices and camera.
- Camera 'local' matrix renamed to more correct 'modeling' matrix.
- blendingEnabled() renamed isBlendingEnabled().
- BUGS:
- Fixed TypeInfo problems with DLLs and vl namespace.
- Fixed FontManager::acquireFont() always returning entry #0.
- ShaderNode render state indices made coherent with their usage in Shader.
Visualization Library 2011.09.1155
- New VLX framework:
- Several VL classes can now be saved and restored to VLT (text) and VLB (binary) files, including: vl::Actor, vl::Shader, vl::Effect, vl::Transform, vl::GLSLProgram and vertex/fragment/geometry/tess-evaluation/tess-control shaders, vl::Uniform, vl::Light, vl::Material, vl::Texture, vl::Camera, vl::DepthSortCallback, vl::PixelLODEvaluator and vl::DistanceLODEvaluator, all draw calls and vl::Array subclasses and several others.
- The framework allows the user to add or subclass a class wrapper for serialization following a few simple steps.
- The VLX framework is a sort of XML designed to efficiently represent numerical data and complex networks of objects referencing each other. It can be used to represent any type of data also besides VL classes. The VLX is much less verbose than XML and at the same time more efficient than JSON to store numerical data. It also allows the embedding of GLSL shaders (or any programming language bascally) with virtually no modification or encoding. This means that you can edit 99.99% of GLSL shader code directly in a VLT file as is, which is impossible in XML and JSON due to the encoding rules they use. References to objects are also automatically resolved when loading or saving VLX files and you can even link multiple VLX files togeter, i.e. a VLX file can refer to an object defined in a separate VLX file and then linked together.
- VLT and VLB are just representations of a VLX hierarchy. Adding new representations is surprisingly simple actually. For example one could create an XML representation to take advantage of XML validation. There is no VLX validator at the moment.
- In the future it will be possible to embed binary blobs in both VLT and VLB representations and the number of wrapped classes will grow to include the missing render states, scene managers, and all the objects necessary to setup rendering pipelines.
- COLLADA: added support for importing .dae files: geometry, basic materials and lights.
- vl::PolygonSimplifier: allows also non-ArrayFloat3 input. Now can output multiple mesh resolutions of the same mesh in 1 single run i.e in a fraction of the time previously required.
- vl::DoubleVertexRemover speed improvements and code cleaning.
- vl::Geometry updates:
- Geometry copy methods policy made coherent with vl::Shader and vl::Effect copy methods.
- Implemented completely generic vl::Geometry::shrinkDrawCalls() and vl::Geometry::triangulateDrawCalls().
- Added vl::Geometry::fixTriangleWinding().
- Added vl::Geometry::mergeDrawCallsWithMultiDrawElements().
- Added vl::Geometry::mergeDrawCallsWithPrimitiveRestart().
- Updated vl::Geometry::mergeTriangleStrips() to use index iterators.
- Refactored vl::Geometry::makeGLESFriendly().
- vl::DrawElements, vl::MultiDrawElements, vl::DrawRangeElements classes fixed, refactored and retested.
- vl::Array exposes 'vector_type', 'gl_size' and 'gl_type' to ease template code using them.
- Added vl::DrawElements::setIndexBuffer() to allow the sharing of index buffers among several draw calls.
- Added std_types.hpp file exposing basic typedefs, the new vl::degree and vl::radian classes and swapBytes() function to easily swap te byte order of common types.
- vl::DepthSortCallback code and comments update + allows use of any kind of vertex array.
- Bug: fixed lag when starting to render text.
- Various 'const'-ness fixes for better consness enforcing. In particular vl::ref<> now enforces the constness much more strictly.
- CMake scrips updated to allow debug/release extra library linking.
- Bug: fixed missing plug-in headers when installing.
- vl::TexParameter can now be specified also at the vl::TextureSampler level to allow easy COLLADA/DirectX-like effects specification. Essentially this allows a vl::Texture to use more than one vl::TexParameter which might be required in particular use cases.
- Automatic tracking of previous render states and enables.
- New indexed render states management:
- Till now indexed render states such as lights, clipping planes and texture unit related render states had their binding index hardwired in the render state class making it impossible to share the same indexed render states among different shaders with a different index. Now it is possible for a light, a clipping plane etc. to be bound to the same or a different shader with the same or different binding point, maximizing render states reusability and simplifying the code necessary to their management.
- Currently indexed render states are: vl::ClipPlane, vl::Light, vl::TexEnv, vl::TexGen, vl::TextureMatrix, vl::TextureSampler, vl::VertexAttrib.
- Render states management updated to allow future support to indexed blending states and enables and later maybe also indexed viewports, depth-range and scissoring at some point...
- New constant attributes render states to be used in vl::Shader:
- vl::VertexAttrib indexed render state: wraps the constant generic vertex attributes.
- vl::Color, vl::SecondaryColor and vl::Normal: their use can potentially minimize the use of dummy arrays for geometries with attributes whose value does not change across the vertices and allowing the same geometry to be rendered with several different solid colors (which was nearly impossible before).
- vl::Transform:
- Refactored to its original simpler form.
- Update children local matrix to their world matrix when orphaning.
- Added vl::Transform::preMultiply() and vl::Transform::postMultiply() methods.
- Added vl::Transform::flattenHierarchy().
- Bug: fixed crash when destroying Transforms with children.
- Bug: fixed vl::Matrix3::getInverse() function, was returning the transpose inverse.
- Finalized App_DrawCalls demo-test: checks primitive restart, base vertex, MultiDrawElements, index iterators, triangle iterators.
- Added vl::String::fromPointer() to create a string representing the given pointer.
- vl::String::normalizeSlashes() now takes care also of . and ..
- Added VL_UNIX_INSTALL_MODE option to allow VL installation to be done into unix path structure
- FindVL.cmake: added VL module comments.
- Bug: fixed FindVL.cmake errors.
- Bug: fixed installation of vlGraphics/GL folder.
- pagInstall.dox updated with instructions on how to use VL with a CMake-based project.
- Several other minor fixes, enhancements and documentation updates.
- API CHANGES
- RenderTarget renamed vl::Framebuffer.
- FBORenderTarget renamed vl::FramebufferObject.
- vl::LoadWriterManager and vl::FileSystem now use plain std::vector instead of vl::Collection<>.
- std::string usage rationalized: std::string setters now use "const char*" to minimize the creation of temporary objects.
- Prefix of IO plugins changed from 'vl' to 'io' i.e. ioVLT, ioVLB, ioDae, io3DS, ioPNG, ioJPG etc.
- Enforced coherent policy on file names: GLSLmath.hpp -> glsl_math.hpp, math3D.hpp -> math_utils.hpp etc.
- followTransform() methods renamed boundTransform() for coherency with vl::Camera
- Removed vl::Log::info() which didn't seem to fit anywhere, added vl::Log::notify() which is a high importance vl::Log::print()
- vl::DrawElements::indices() renamed vl::DrawElements::indexBuffer()
- TriangleIterator::isEnd() changed to vl::TriangleIterator::hasNext() and IndexIterator::isEnd() to vl::IndexIterator::hasNext() for better similarity with other APIs (such as Java iterators etc.).
- FBO API made coherent with other GL resources:
- create() -> createFBO() and createFBORenderTarget()
- destroy() -> deleteFBO() and deleteRenderBuffer()
- Legacy GPUBuffer / GLBufferObject / VBO language have been completely replaced with the more correct 'BufferObject' language:
- GLBufferObject renamed vl::BufferObject
- gpuBuffer() renamed bufferObject()
- sizeGPU() renamed sizeBufferObject()
- scalarCountGPU() renamed scalarCountBufferObject()
- createGLBufferObject() renamed createBufferObject()
- deleteGLBufferObject() renamed deleteBufferObject()
- downloadGLBufferObject() renamed downloadBufferObject()
- mapGPUBuffer() renamed mapBufferObject()
- unmapGPUBuffer() renamed unmapBufferObject()
- EGLBufferUsage renamed EBufferObjectUsage
- EGLBufferAccess renamed EBufferObjectAccess
- mBufferGPU renamed mBufferObject etc.
- VBO/BufferObject changes:
- New vl::EBufferObjectUpdateMode flags for clearer API.
- updateVBO(bool) replaced by updateBufferObject(vl::EBufferObjectUpdateMode mode), which now always updates the BufferObjects.
- updateDirtyVBO(bool) replaced by updateDirtyBufferObject(vl::EBufferObjectUpdateMode mode), which updates the BufferObjects only if dirty.
- VL never sets a vl::BufferObject's dirty flag, it is totally under the user's control now. This is to make the behavior of VL more predictable and also avoid unwanted/unnecessary data updates.
Visualization Library 2011.07.1153
- New class instrumentation system for portable RTTI-like functionalities.
- Added TypeInfo regression test.
- Texturing tutorial basically rewritten.
- vl::Texture::createTexture*() returns boolean value to report success/failure.
- Camera enhancements:
- vl::Camera::computeNearFarOptimizedProjMatrix() now support orthographic projections as well and issues error if unsupported projection is used (Camera::setProjectionAsFrustum() and custom projection types).
- added Camera::left(), Camera::right(), Camera::bottom(), Camera::top() methods.
- the projection type now is tracked by projectionMatrixType() and required to be set when setting the projection type.
- proper support to Camera::setProjectionAsFrustum() and added comments.
- Camera::setProjectionAsOrtho() now can use parameters other than the ones coming from the viewport.
- Camera::setProjectionAsOrtho2D() requires explicit offset now for better clarity.
- Actor queue cleared after a rendering.
- Lots of docs update, code cleanup and OpenGL ES fixes.
- API CHANGES
- Simplified generic vertex attrib array API.
- vl::TextureUnit renamed vl::TextureSampler.
- vectorAsVec*() renamed getAsVec*().
- Camera::inverseViewMatrix() renamed Camera::localMatrix()
Visualization Library 2011.07.1151
- New OpenGL extensions management supporting all versions of OpenGL 1/2/3/4 and OpenGL ES 1/2. GLEW has been removed completely.
- Important OpenGL status global variables: vl::Is_OpenGL_Initialized, vl::Is_OpenGL_Core_Profile, vl::Is_OpenGL_Forward_Compatible, vl::Has_Fixed_Function_Pipeline.
- Preliminary support to OpenGL ES 1.1 and OpenGL ES 2.0, tested with PowerVR SDK under Win32.
- New vl::EGLWindow: EGL bindings for Win32.
- New OpenGL ES tests and examples: GLES1_example.cpp, GLES1_tests.cpp, GLES2_example.cpp. All relevant tests already passed by GLES1_tests.cpp.
- All geometry primitives are now suported under OpenGL ES 1 and OpenGL ES 2.
- OpenGL ES related new functions: vl::Geometry::convertToVertexAttribs(), vl::Geometry::makeGLESFriendly()
- vl::Geometry::computeNormals() now automatically detects the use of fixed function pipeline or generic vertex attributes.
- vl::Text now working under OpenGL ES 1.1 (not yet OpenGL ES 2.0) and enhanced redering efficiency.
- Enhanced support to core profiles and forward compatible profiles.
- Better enbles management. VL can now detect ahead of time which enables are supported by the current OpenGL driver.
- vl::Shader now allows you to enable and disable also GL_DITHER and GL_MULTISAMPLE.
- GLSLProgram now reports the full list of active uniforms with name, type, size and location information. See vl::UniformInfo and vl::GLSLProgram::activeUniforms().
- Minor efficiency enhancements in MarchingCubes.
- Added String::printf() utility function.
- Added experimental TypeInfo.hpp for portable RTTI implementation (not yet used).
- Added experimental vl::CoreText for text rendering support under OpenGL ES 2.0 and OpenGL core profiles (work in progress).
- Fixed vl::Time behavior when system runs for very long time.
- Fixed bug in GLSLProgState sorting in rendering loop.
- Fixed vl::Object::className() constness.
- Simplified generic vertex attrib array API.
Visualization Library 2011.05.1142
- Fixed compilation error when VL_PIPELINE_PRECISION is 2.
- Define _CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES for MSVC compilers.
Visualization Library 2011.05.1140
Visualization Library 2011.05.1140 RC4
- GLSLProgram: log warning on GLSLProgram linkage in debug mode.
- GLSLProgram: methods AutomaticAttribLocation() renamed *AutoAttribLocation()
- GLSLProgram: added getUniformLocation() taking "const char</em>" as argument.
- GLSLProgram: added activeUniformLocations() method to access the list of currently active uniforms and relative binding locations.
- GLSLProgram: added methods vl_ModelViewMatrix(), vl_ProjectionMatrix(), vl_ModelViewProjectionMatrix() and vl_NormalMatrix() to access VL built-in uniforms locations and test for their existence after GLSLProgram linkage.
- OpenGL 4: OpenGL 4 Core working!
- OpenGL 4: unified ProjViewTransfCallback class can automatically update OpenGL 1.x matrices as well as VL built-in matrices for GL 4 Core profile: vl_ModelViewMatrix, vl_ProjectionMatrix, vl_ModelViewProjectionMatrix, vl_NormalMatrix.
- OpenGL 4: OpenGL 4 Core mipmaps generation support.
- OpenGL 4: App_TessellationShader made (almost) compatible with OpenGL 4 Core.
- Added method toGenericVertexAttribs() to convert a Geometry vertex array to generic ones.
- Fixed use of wxUSE_UNICODE in WXGLCanvas.cpp
- Fixed VL_ACTOR_USER_DATA incorrectly placed inside Object.hpp
- VertexAttribInfo construction parameters order changed and added defaults.
Visualization Library 2011.05.1140 RC3
- BlitFrameBuffer::setReadFramebuffer/setDrawFramebuffer() renamed setReadRenderTarget()/setDrawRenderTarget()
- Added RenderTarget::setReadBuffer() to specify the read-buffer to be used with a RenderTarget.
- Read-buffer and draw-buffer binding moved after render-target binding but before fbo completeness check.
- Added VL_INSTALL_DATA option during CMake configuration.
Visualization Library 2011.05.1140 RC2
- Fixed version.hpp configuration error in CMake
- Fixed Linux compilation error
- Fixed vlQt4 install directory
- gDebugger-friendly texture creation
Visualization Library 2011.05.1140 RC1
- Added ScopedMutex class and IMutex interface class.
- Synchronized log functions for multithreaded usage of VL.
- Added VL_SHADER_USER_DATA config variable, to bind user data to a vl::Shader.
- Added ShaderNode getter functions.
- CopyTexSubImage calls glReadBuffer only for color textures.
- Added vl::Texture::isDepthTexture() method.
- DLL compilation enabled by default.
- Fixed OpenGL context creation attributes handling.
- setUniform(int/unsigned/float/double) renamed setUniformI/U/F/D() for better clarity.
- CMake variables starting with GUI_* renamed VL_GUI_*
- Fixed double precision pipeline compilation.
- Marching cube volume can now use directly the user's data without duplication and perform an optional copy on the internal volume buffer.
- MarchingCubes demo-tests uses VBOs and shows polygon tessellation in wireframe.
- Added Texture::clone() function. Useful when one needs to use the same texture object with different texture parameters.
- Added direct texture creation functions: vl::Texture::createTexture1D()/createTexture2D() etc.
- VL_DEBUG_LIVING_OBJECTS enabled also in release mode.
- Optional debugging living objects code after tests.
- Print demo-applet info on startup.
- More coherent template parameters naming conventions.
- config.hpp renamed to link_config.hpp.
- Updated READMEs.
Visualization Library 2011.04.1135
- Multisample textures.
- Texture buffers support.
- Tessellation shaders demo-test.
- New directory layout.
- New building scripts.
- VL can now be compiled as a DLL.
- Restored wxWidgets GUI bindings.
- A ton of bug fixes and enhancements.
Visualization Library 2011.02.1133
- API CHANGES
- Visualization Library splitted into:
- VLCore: all classes not requiring OpenGL, including vl::Image and 2D image IO modules, virtual file system, resource management, vl::String, math classes and functions etc.
- VLGraphics [depends on VLCore]: all classes that depend on OpenGL such as vl::Geometry, vl::Shader, vl::Rendering, vl::OpenGLContext, 3D files IO modules etc.
- VLVG [depends on VLGraphics]: 2D vector graphics facilities.
- VLVolume [depends on VLGraphics]: volume rendering facilities such as marching cubes, screen aligned slices, ray-casting etc.
- VLMolecule [depends on VLGraphics]: molecule rendering facilities.
- Inclusion of VL files now are in the form of <vlCore/Image.hpp> instead of <vl/Image.hpp> and <vlGraphics/Geometry.hpp> instead of <vl/Geometry.hpp> etc.
- "vlut" utility namespace removed.
- All sub-library namespaces have been consolidated into vl:: with the exception of the GUI-binding namespaces.
- Win32Context::init() renamed Win32Context::initWin32GLContext()
- initWin32Window() & destroyWindow() renamed initWin32GLWindow() & destroyWin32GLWindow()
- vlWXGLCanvas renamed WXGLCanvas.
- Applet::run() renamed Applet::updateScene().
- Changed default top-level objects locations:
- vl::VisualizationLibrary::settings() renamed vl::globalSettings().
- vl::VisualizationLibrary::fontManager() renamed vl::defFontManager().
- vl::VisualizationLibrary::fileSystem() renamed vl::defFileSystem().
- vl::VisualizationLibrary::loadWriterManager() renamed vl::defLoadWriterManager().
- vl::VisualizationLibrary::rendering() REMOVED (not needed and generated more confusion than anything else)
- UIEventListener revisited:
- events have pure virtual functions
- runEvent() renamed updateEvent()
- addedListenerEvent() removedListenerEvent() substitute openglContextBoundEvent()
- enableEvent(bool) substitute prepareToReconnect()
- Removed deprecated Cocoa bindings.
- Raycast volume rendering: added vl::RaycastVolume class and App_VolumeRaycast.cpp demo and tutorial.
- Added new tutorial on basic rendering application (Win32_direct.cpp)
- New vlMFC::MDIWindow to support MFC's MDI framework.
- New MFC_MDI_example.cpp application demonstrating multiple VL windows in MFC application with MDI framework.
- warning/bug/error logs are now color coded on both Windows and Linux (and hopefully Mac).
- GLSL program and shader checks and error messages reviewed.
- GLSL math library completely reviewed.
- Reviewed various OpenGL checks to use more human readable macros.
- Updated and extended documentation of FBO classes, GhostCameraManipulator, TrackballManipulator, UIEventListner, RenderTarget, render states vari, Applet, Sphere, AABB, Camera.
- FBO render target and FBO attachment implementation reviewed and more robust.
- OpenGLContext & GUI bindings messaging policy clarified especially for destruction.
- SDLWindow how allows x/y window positioning.
- OpenGL context made current during OpenGLContext event dispatch and FBO operations.
- Fixed crash in OBJ loader.
- fixed crash on Actor::setLod().
- GDCM IO module fixed and updated.
- Sphere and AABB classes documented, reviewed and fixed.
- Fixed bug when calling multiple simplifications on the same PolygonSimplifier.
- Actor and Renderable bounds computation more automatic and developer-friendly.
- Added vl::Geometry::flipNormals() and degenerate triangles check during normal computation.
- App_PolygonReduction: added file drag&drop and polygon count label, and shows animation of simplified mesh.
- App_BezierSurface.cpp demo & gallery updated to use Newell's tea set.
- Added App_Primitives demotest and primitive objects gallery.
- Refreshed render order tests, now all the tests are collapsed into a single one.
- Added makeTeapot() primitive object.
- New image gallery (work in progress).
Visualization Library 2010.12.1129
- New vl::UUID class implementing version 4 (random based) universally unique IDs.
- New vl::Random class to generate high quality random numbers based on OS specific cryptographic facilities.
- New experimental signal/slot framework.
- New raycasting volume rendering example App_VolumeRaycast.cpp (to be continued).
- New
half
class to manipulate half precision floating point data.
- OpenGL 4.x:
- Double precision uniforms.
- Texture and color buffer formats
- API CHANGES
- Streamlined array naming convention: ArrayFloat,ArrayFVec2/3/4 renamed ArrayFloat1/2/3/4, the same goes with all the other base types.
- Reworked matrix and quaternion classes for better performances and more coherent API.
- Updated to GLEW 1.5.7
- Blind tests solidified in App_BlindTests.cpp: matrix & quaternions, signal/slots framework, virtual filesystem, unique ID generation, half float scalar vector and matrices.
- Deferred display list and VBO creation and update.
- Enhanced renderable bounds update policy.
- Many other minor fixes and enhancements.
Visualization Library 2010.12.1127
- OpenGL 2.x, 3.x and 4.1 support enhanced:
- Tessellation shaders (GL_ARB_tessellation_shader)!
- Read/write GLSL program binaries (GL_ARB_get_program_binary)!
- Pure double precision vertex attributes!
- New vertex array formats: GL_FIXED, GL_HALF_FLOAT, GL_INT_2_10_10_10_REV, GL_UNSIGNED_INT_2_10_10_10_REV.
- New texture formats: GL_EXT_texture_sRGB formats, GL_ARB_texture_rg formats.
- Added PointParameter point sprite coordinate origin. Fixed PointParameter support for GL 3.x non backwards compatible profiles.
- App_GeomLODAnim and App_ShaderMultiPassLODAnim tests refactored and tutorials.
- New framebuffer objects test and tutorial (
App_Famebuffer_Object.cpp
).
- Updated to Freetype 2.4.4.
- Several other minor bug fixes, enhacements, code cleanup and documentation updates.
Visualization Library 2010.11.1125
- Vertex Attrib Set new mechanics for lazy binding of vertex attribute arrays. Mesured around 5% rendering speedup for complex scenes with several geometries shared by several other actors.
- Greatly improved vl::Texture: immediate and lazy empty texture creation, better texture format/size combination support check, each mipmap layer can be manipulated individually, updated documentation.
- New animation system for vl::Shader and vl::Actor. Removed deprecated virtual method "update()" in favor of vl::ShaderAnimator and vl::ActorEventCallback. This way one does not need anymore to subclass vl::Actor or vl::Shader to implement a specific animation and allows one to change the animation bound to an vl::Actor or vl::Shader very easily.
- RenderEventCallback new class to intercept Renderer and Rendering related events. Much more robust rendering event triggering and well defined environment contract.
- ShaderAnimator can now be enabled/disabled.
- Fixed vl::TexGen reset bug.
- Enhanced vl::Geometry VBO management.
- vl::Geometry::shallowCopy()/deepCopy() reviewed.
- Fixed double precision pipeline compilation.
- VL_TRANSFORM_USER_DATA compile time configuration variable to enable user data binding to vl::Transform objects.
- Added missing texture related render states enums above texture unit #0.
- Several other minor improvements and bug fixes.
- API CHANGES
- vl::Texture::setupTexture*() renamed vl::Texture::prepareTexture*(); added new methods createTexture(), setMipLevel() and prepareTexture*() methods for empty textures.
- vl::RenderingCallback removed in favor of vl::RenderEventCallback
- vl::Shader::update() and vl::Actor::update() removed in favor of ShaderAnimator and ActorEventCallback.
- vl::MorphingActor is now vl::MorphingCallback
- vl::SlicedVolume is now a subclass of vl::ActorEventCallback and not a subclass of Actor.
Visualization Library 2010.11.1123
- Fixed texture creation functions.
- Improved pre-post condition satisfaction during rendering.
- API CHANGES
- Updated texture format naming to reflect latest OpenGL headers.
- Matrix4/3/2 new methods: transpose(), getTransposed(), getTransposed(M), invert(), getInverse(), getInverse(M), normalize(len), diff(), fill(); scalar_type typedef;
Visualization Library 2010.11.1121
- Fixed compilation under Linux 64 bits.
- Fixed compilation of Qt4, GLUT, SDL and WX gui bindings.
Visualization Library 2010.11.1119
- DrawCall: new universal index and triangle iterator mechanics. Now normals computation, edge extraction, ray intersection, tangent space computation, polygon simplification, triangle stripfy... all support all combinations of DrawArrays, DrawElements, MultiDrawElements, DrawRangeElements, primitive restart and base vertex.
- Geometry: enhanced bounds computation, tighter and faster.
- API CHANGES
- Geometry and DrawCall: removed deprecated triangleCount(), lineCount(), pointCount(), shrinkDrawElements(), sortTriangles(), getTriangle(), methods.
- Removed deprecated statistics related methods in Rendering.
- DrawCall: removed direct index access API, replaced by index iterator api.
- Several other fixes and improvements.
Visualization Library 2010.10.1115
Visualization Library 2010.10.1111
- API CHANGES
- Primitives class renamed DrawCall.
- Geometry::primitives() renamed Geometry::drawCalls().
- GlobalSettings renamed Settings.
- GlobalSettings::VERBOSITY_* renamed vl::VEL_VERBOSITY_*.
- appendActors() renamed extractActors().
- appendVisibleActors() renamed extractVisibleActors().
- compileKdTree() renamed buildKdTree() and rebuildKdTree().
- Draw calls: support to glMultiDrawElementsBaseVertex(), draw call documentation refreshed, fixed default primitive restart index, finalized draw call class inheritance layout.
- Effect override mechanics in Rendering class.
- New App_EffectOverride demo test.
- VirtualFile read/write utility function complete set for type U/S-Int64/32/16/8, Float and Double, both little- and big-endian.
- Log class: enforced verbosity level, documentation refreshed.
- Geometry bounding box can now be computed from generic vertex attribute #0 if vertex array is not present.
- Added silent verbosity level.
- vl::String::findInLargeText() function added.
- Check for 1 pixel viewport before rendering.
- GCC compilation fixes.
Visualization Library 2010.10.1107
- Near/far plane optimization enhanced implementation + App_NearFarOptimization.hpp test added
- Global settings for verbosity level & opengl state check
- Nicer log info
- Work continued (and still in progress...) on vl::DrawCall and subclasses: DrawElements, MultiDrawElements, DrawRangeElements. Support (where possible) for multi instancing, base vertex, primitive restart.
- New automatic GLSL attribute location binding mechanism
- Reviewed & more efficient automatic GLSL 'static' uniform update
- Various GLSL related documentation updates
- More efficient automatic texture and GLSLProgram initialization
- Uniforms variable names collision detection
- Enhanced opengl state sanity checks
- Various documentation fixes & updates
Visualization Library 2010.10.1099
- New rendering core architecture:
- greatly improved support to OpenGL 3.x
- more scalable GLSL programs and uniforms management.
- smarter and quicker render states management.
- quicker texture unit management.
- minimized per-rendering overhead.
- much more polished OpenGL context management.
- quicker OpenGL context reset.
- added several extra sanity check.
- Occusion culling temporarily disabled.
- New Primitive vl::DrawRangeElements.
- Added support to Primitive Restart.
- OpenGL 3.x / 4.x context creation support for Win32 and MFC bindings.
- OpenGL 3.x clipping distance and seam-less cube-maps support.
- vl::Geometry improvements: OpenGL 3.x support and quicker buffer binding.
- Win32 and MFC windows release automatically FBOs on context destruction.
- Enforced well defined policy for VL_gl* function usage.
- Enhanced .OBJ file format support.
- Added getTriangle() function to tessellate into triangles arbitrary primitive types.
- Added bitangent space computing utility function.
- GLSL bumpmapping example.
- makeTorus() function enhanced to compute proper normals and texture coordinates.
- Update to GLEW 1.5.6
- Fixed support to single-buffered OpenGL contexts.
- DiskFile and DiskDirectory support for BSD.
- Fixed wxWidgets header include.
- Several other minor bug fixes and improvements.
Visualization Library 2010.06.1000
- Visualization Library released under the Simplified BSD License!
- Fixed MFC compilation bug under Win64.
- Added compile-time asserts.
- Added optional user data to vl::Object.
- Added ray intersection support with geometry using double precision.
- Added the possibility to use user-allocated buffers in vl::Buffer.
- Other minor fixes and improvements.
Visualization Library 2009.08.812
- VirtualMutex class to protect reference counting of Objects shared across multiple threads.
- Fixed crash in MFC tests.
- Polished OpenGLContext::destroy() semantics.
- Several minor bugs, security issues and warnings fixed.
- Fixed vlDDS compilation for 64 bits environments.
Visualization Library 2009.08.804
- Fixed bug in scene manager bounding box computation.
- Fixed bug in App_CullingBenchmark.hpp.
- Fixed bug in EdgeExtractor under Linux.
Visualization Library 2009.08.802
- Removed bugged support to GL_ATI_separate_stencil.
- Fixed several memory leaks.
- Fixed assert in geometry instancing test.
Visualization Library 2009.08.800
- String class now based on
wchar_t
.
- String class documentation.
- Fixed Max OS X compilation.
- Using stricter warning levels.
- Fixed several warnings.
- Fixed typos and non returning functions.
- Fixed bug in OpenGL 2.0 support.
Visualization Library 2009.07.640
- Extended documentation and tutorials.
- API improvements and cleanup.
- Fixed MFC compilation issues.
- Fixed Mac OS X compilation issues.
Visualization Library 2009.07 RC3
- Extended documentation and tutorials.
- API improvements and cleanup.
Visualization Library 2009.07 RC2
Visualization Library 2009.07 RC1
- OpenGL & VL enables documentation.
- setEnabled/isEnabled policy.
- vl::PolygonDephtSorting bug fixes and tutorial.
- Picking example.
- Image and ReadPixels enhancements.
- Transparency and Polygon Depth Sorting Tutorial.
- Antialiasing and Multisampling Tutorial.
- Billboards Tutorial.
Visualization Library 2009.07 Beta 2
- Bug fixes.
- Documentation updates.
- API stabilization.
Visualization Library 2009.07 Beta 1
Visualization Library Alpha 3.2.440
- Direct volume rendering via vlVolume::SlicedVolume, supporting gradient, lighting and transfer function pre-computation, realtime GLSL-based Blinn-Phong lighting and transfer function computation.
- New App_VolumeRendering.hpp demo demonstrating various volume rendering techniques based on the vlVolume::SlicedVolume class, see the tutorial section for more information.
- Isosurface extraction with the new vlVolume::MarchingCubes class!
- New App_MarchingCubes.hpp demo demonstrating various techniques using marching cubes, including multiple volume rendering, transparency management, volume color via texturing and vertex color, 3D plots and even two animated metaballs demos! See the tutorial section for more information.
- DICOM file format support (read/write).
- New vlVolume::VolumePlot class to generate annotated 3D plots from volume data.
- Dramatic performance improvements up to 10x for STL, PLY and OBJ import.
- TGA, TIFF, JPG and PNG files can now save 1D, 2D, 3D and cubemap images.
- New Image::makeNonUniformColorSpectrum() function, especially useful to colorize volume data.
- Quicker vl::DepthSortCallback: sorts only when the camera or actor matrix changes.
- Enhanced Virutal File System functionalities: locate directories, test disk directory existence, enumerate files and directories, other misc enhancements.
- New vl::Image related functions: vl::loadImagesFromDir(), vl::assemble3DImage().
- Simple KeyValues class to manage a set of key/value pairs.
- Now shaders automatically detext if the source passed is a path to a file or is an actual shader text
Visualization Library Alpha 3.1.300
- New official wxWidgets bindings! See vlWX::vlWXGLCanvas for more information.
- New vl::STLLoader class: loads ascii and binary STL files.
- New vl::PlyLoader class: more powerful loader for ascii and binary (little and big endian)
ply
files.
- Callback mechanism to execute operations on resource load and write, see vl::LoadCallback and vl::WriteCallback.
- New vl::GeometryLoadCallback class to perform transformations and optimizations on the loaded vl::Geometry.
- New vl::GZipCodec class to load/write gz files.
- New template math classes vl::Matrix4, vl::Matrix3, vl::Matrix2, vl::Vector4, vl::Vector3, vl::Vector2.
- New matrix classes vl::imat4/3/2, vl::umat4/3/2.
- New vector classes vl::svec4/3/2, vl::usvec4/3/2, vl::bvec4/3/2, vl::ubvec4/3/2.
- New array classes vl::ArrayFVec4/3/2, vl::ArrayDVec4/3/2, vl::ArrayIVec4/3/2, vl::ArrayUVec4/3/2 etc.
- Simplified vertex array system based on vl::Array template class.
- vl::DoubleVertexRemover: much quicker implementation.
- New vl::TriangleStripGenerator class.
- New vl::Geometry optimization functions: vl::Geometry::mergeTriangleStrips(), vl::Geometry::convertPrimitivesToDrawArrays(), vl::Geometry::sortVertices().
- New App_ModelProfiler applet to measure the performance of different geometrical optimization techniques.
- Improved vl::Terrain GPU algorithm for ATI cards.
- VBO creation outside of the rendering loop.
- Improved DepthSortCallback: sorts all types of DrawElements*.
- Fixed potential font deallocation problem.
- Image::copySubImage() function to copy a rectangular sub-area of an image, supports all the most common image formats and types.
Visualization Library Alpha 3.0.291
- Automatic compilation of PNG, JPG, ZLib and FreeType libraries.
- New template-based ResourceDatabase implementation: simpler and more flexible.
- Fixed bugs and compilation issues for Ubuntu and Fedora 64 bit systems.
- Fixed permission settings in tgz and tar.bz2 files.
- ZippedFile now supports the seek() operation.
Visualization Library Alpha 3.0.290
- Mac OS X platform support plus experimental Cocoa GUI bindings! A huge thanks goes to Brent Fulgham for his help and feedback!
- MFC GUI bindings! Again, thanks to Brent Fulgham for his help and feedback! Includes support to fullscreen windows, multisampling, keyboard and mouse management, file drag&drop, OpenGL resource sharing, child and top windows support etc.
- VectorGraphics and VectorGraphicsScene classes to perform advanced OpenGL hardware-accelerated 2D rendering.
- Terrain scene manager: implements a simple, kdtree/chunk-based, GPU accelerated (if available), highly memory efficient terrain rendering system (no LOD yet). The system lets you use very large height-maps and texture maps that exceed the GPU's maximum texture size. If the host supports OpenGL Shading Language the scene manager keeps on the GPU memory only the heightmap and generates all the geometry on the fly, thus allowing very large/detailed terrains.
- Extensible resource IO system (see below)
- ShaderNode class to conveniently managed complex hierarchies of Shaders.
- Progressive OpenGL extension management: if the same functionality is supported via multiple extensions now VL selects and uses the best available: first checks direct support by the OpenGL implementation, then checks ARB extensions, then checks EXT extensions.
- Broader video card compatibility including support to integrated ATI and Intel chipsets.
- TrackballManipulator new controls and more precise: now you can zoom in/out with the right mouse button, pan the camera up/down left/right with the middle button and rotate with the left button.
- Near/far clipping plane optimizations. The camera can now optionally optimize the near/far clipping planes based on the visible objects enhancing the everall rendering quality, minimizing z-fighting.
- RESOURCE IO
- JPG file format support for both load and save.
- PNG file format support for both load and save.
- Plug-in based ResourceLoaderWriter system. Now you can load and write any resource including 3d files and images using the methods LoaderWriterManager::loadResource()/writeResource(). The appropriate ResourceLoaderWriter will be picked up and used for the specified file type. You can register your own ResourceLoaderWriter to support more file formats or to overried existing ResourceLoaderWriter too!
- Image: new methods convertType() and convertFormat() to convert images from/to all the OpenGL 1.1 type/format combinations! For example you can convert an IT_FLOAT/IF_RGBA to a IT_UNSIGNED_SHORT/IF_LUMINANCE image! In this case the image is also automatically converted from rgb to gray scale! The alpha channel is also retained when possible.
- Image: new methods sampleLinear() and sample() to perform nearest-point or bilinear filtering sampling of an image. This functions support all the OpenGL 1.1 standard image type/format combinations too. This functions can be used to retrieve the color of a pixel, the height of a heightmap or to perform collision detection on a heightmap.
- Image: new method subImage() returns a new image containing the specified rectangular pixel area taken from the source image. Also this function supports all the OpenGL 1.1 image type/format combinations!
- Image::makeColorSpectrum() function: creates an 1D image filled with the specified color spectrum.
- Image: new methods substituteColorRGB_RGB(), substituteColorRGB_RGBA(), and substituteColorGreenKey() to substitute colors and colorize an Image.
- All file loaders and writers now use the VirtualFile interface
- Added write support to DiskFile class.
- Image loader/writers divided into their own modules: vlPNG, vlJPG, vlTIFF, vlTGA, vlBMP, vlDDS, vlDAT.
- 3D file loader/writers divided into their own modules: io3DS, ioOBJ, ioAC3D, ioPLY, ioMD2.
- Autodesk 3DS loader class cleaned and exposed in the vl3DS module to be directly used or enhanced by the user.
- Simplified/unified render states management: RenderStates, ClipPlanes, Light, TextureUnit.
- New more flexible texture render states: TexGen, TexEnv, TextureMatrix.
- Lazy allocation of RenderStateSet, EnableSet, UniformSet: uses less memory and object creation/deletion is much quicker.
- GEOMETRY
- GPUBufferInterfaceAbstract new methods: computeBoundingBox(), computeBoundingSphere(), transform() and normalize(). Now you can perform all this operations in a GPU-buffer-type-and-layout agnostic way!
- Geometry primitives quality updates: uses quads instead of triangles when possible, topological fixes for better normal computation.
- Geometry primitives: draw elements commands minimized and optimized.
- Geometry::computeNormals() now supports all vertex formats and layouts!
- Geometry::computeNormals() now supports all the main primitive types: triangles, triangle fan, polygon, quads, tri strips, quad strips!
- Geometry::shrinkDrawElements() bug fixes.
- DEMOS/TESTS
- New demo App_VectorGraphics showing how to use VectorGraphics and VectorGraphicsScene.
- New demo App_Terrain using the Terrain scene manager.
- New test/demo App_Lights: shows how to implement moving colored lights like spot-lights, directional lights, point lights, lights following the camera.
- App_VolumeRendering enhanced: allows drag&drop of volume data and the energy threshold can be interactively adjusted with the mouse wheel.
- New demo App_GLSLImageProcessing: shows how use GLSL to implement some image processing effects.
- New demo App_Deformer: shows how to implement a 2D application that loads an image and let the user interactively deform it!
- New demo App_Fractals: a GPU accelerated interactive fractal navigator!
- App_ModelViewer demo enhanced: massive code cleanup; camera centers the view to the model; automatic near/far clipping planes adjustment, nicer trackball panning and zooming.
- New App_VertexFormat: shows several ways to layout vertex data and. how to use it in VL. VL support data layout in both Structure-Of-Array. and Array-Of-Structures form, spanning a single or multiple buffers!
- New test App_ImageFunctions: tests image type/format conversion, nearest and bilinear sampling, loading and saving in JPG, PNG, TGA, TIFF formats.
- MorphingActor test simplified and enhanced to show multiple animations.
- App_Texturing test: now is a unified test checking 2D textures, 3D textures, 1D texture arrays, 2D texture arrays, texture rectangle, cubemap environment mapping, sphere mapping.
- MISC
- CMake building: many optional modules to minimize compilation time and library size.
- Support to the GL_ATI_texture_float extension for backwards compatibility.
- OpenGLContext's non-continuous update is much more CPU friendly.
- Uniform setup bug fixes and performance enhancements.
- GLSLProgram now can also have its own "static" Uniforms.
- VL containers use the "at()" semantics to stay closer to the STL look'n'feel.
- Bounding sphere and bounding box management: simplified, enhanced, bug fixes.
- Scene managers bounding sphere, bounding box, and culling: now the rendering is able to optionally cull whole scene managers.
- Current-lod property made a render-time transient variable.
- Better definition and splitting of non-const and const rendering operations.
- get/goc semantics for Shaders and Uniforms: a method starting with "get" will never create the object requested, methods starting with "goc" (= get-or-create) will create the resource if it doesn't exist.
- Qt4, SDL, Win32 keyboard management fixes when pressing keys like CTRL.
- Text: fix when rendering empty lines.
- Text: 2d text now can seamlessly interact with 3D objects and be rendered. in front or behind the other 3D objects.
- Actor z-sorting now works also when the bounding box is null.
- Added support to glStencilOpSeparate().
- Added support to glStencilFuncSeparate().
- Added support to glStencilMaskSeparate().
- Added the new Clear class (Renderable) to clear buffers during the rendering.
- Removed deprecated camara/viewport binding to OpenGLContext.
- New Scissor class: scissor clipping support for Actors, Effects and vector graphics. The Scissor class lets you define a rectangular aread clipped against the Viewport within which the rendering will be performed.
- New RectI and RectF classes to manipulate rectangular regions.
- Framebuffer Objects fixes and improvements.
- New Collection class: managing groups of objects is more robust and closer to the C++ STL spirit.
- New object oriented battery test framework
- GLUT, WIN32, SDL, QT4 examples updated
- Fixed mouse visibility bug under Win32
- KdTree is now a subclass of BoundingBoxTree
- KdTree compilation time 4.3x faster
- Fixed culling for objects with Null bounds
- Terrain scene manager is now based on the KdTree scene manager
- TextStream reads UTF8 encoded strings
- String::trim() functions improved
- String::replace() functions improved
- OpenGL extensions management greatly improved: wider compatibility, optimal use of the available extensions
- Win32 GUI bindings: better support for fullscreen mode, support for top and child windows, many fixes and improvements.
Visualization Library Alpha 2.1
- VBO usage and creation bug fixes.
- GLSLProgram and GLSLShader documentation and pointers to the reference manual.
- version string and build number put into version.hpp.
- merged TextStream and TokenStream classes.
- simplified GLCHECK() macro usage.
- GLSL temporarily removed binding maps.
- render states constness fixes.
- removed deprecated Actor::prepareForRendering() callback.
- updated MorphingActor and MD2 loader.
- ActorRenderingCallback for morphing actor and polygon depth sorting.
- removed deprecated specific Actors for morphing and point splatting.
- generalized depth sorting callback supporting points, lines, triangles and quads.
- improvements to the constness of the objects during the rendering.
- added FontManager class.
- removed deprecated RenderStream systems.
- texture SetupParams more flexible and documented.
- removed deprecated math classes and tests.
Visualization Library Alpha 2
- faster and lighter rendering architecture (deprecated scene-graph system).
- Unicode String class.
- Virtual file system.
- geometry shaders.
- GLSL 1.30 support.
- most of OpenGL 3.0 extensions support.
- Win32 and QT4 bindings.
- new OBJ importer and much better 3DS importer.
- CMake building system.
- Documentation updates.
Visualization Library Alpha 1
- KdTree.
- OpenGL 1.1 - 2.1 support.
- OpenGL Shading Language.
- VBO, PBO, MRT.
- Image class, support to BMP, DDS, TIFF, TGA.
- Multipassing and LOD.
- FreeType based text rendering engine.
- Transform trees and billboards.
- 3DS, PLY, AC3D, MD2 importers.
- GLUT and SDL bindings.
June 1986, Visualization Library 1.0 runs on Commodore 128's 8502 Processor!
- Added support to 80 columns fast mode and sprite editor for accelerated graphics.
- Use SID cpu as parallel co-processor.
- Full support to BASIC 7.0.
- Just kidding :)