Posts Tagged ‘Computer Graphics’


Meshcripter (fancy portmanteau between the words Mesh and Scripter – Mesh Scripter) is an OpenGL and Qt tool for mesh management and real-time interaction, written in C++. It is equipped with a text console through which one performs almost all mesh operations, rendering customizations, and functions definition.

The powerful Qt-Script module provides a Javascript-like language, endowed with several objects that allow a console-based interplay. These objects (called scripters) set up a separate level of indirection (namely, a new layer), particularly convenient for modifiability and expandability issues. New scripters are simple to add and old scripters are change-prone.

The first release of Meshcripter was called Homology Tools because it was designed to grasp some of Homology and Algebraic Topology concepts, such as chain, incidence matrix, and boundary operator. Specifically, it was written to employ the Metrized Chains Method in a real context. The main idea is to embed all the properties (geometry, topology and physics – talking about simulations) of a complex (namely, a Cell Complex) in a single mathematical framework, making possible simultaneous changing of these properties (e.g. a mesh refinement influences automatically the physics of the scene). Homology Tools made use of this method to compute physics impact on the mesh (e.g. solution of a field problem) and to visualize it, by a color map (e.g. a heat field on a doughnut). One was able to import and export all the structures (e.g. matrices and vectors) used by this method, refine and manipulate the mesh, just explore the mesh or render few parts of it, etc.

These ideas have not entirely disappeared in Meshcripter. Some of the Metrized Chains Method routines and a few other things were removed. The new goal of Meshcripter is to focus on mesh interaction, manipulation and visualization. Anyhow, one can manually define functions for Metrized Chains Methods behavior, because the rendering mode by color maps is left enabled!

Hence, Meshcripter provides several topological and mathematical features. Users are able to explore the mesh and perform operations on it, supported by a solid rendering and a powerful language. Persistence is supported by CGAL.

This new adventure begins in Jan 2011. I’ve just created a new branch of hTools, now it is Meshcripter. The first step is “cleaning” unwanted features (they are very few), then I’ll need to improve the base code (a sort of refactoring). Next, I hope I’ll be ready for new operations implementation.

I’m going to employ this category to report interesting things, showing videos when it is possible. Stay tuned!