Note that there are some explanatory texts on larger screens.

plurals
  1. PO3D library recommendations for interactive spatial data visualisation?
    primarykey
    data
    text
    <p>Our software produces a lot of data that is georeferenced and recorded over time. We are considering ways to improve the visualisation, and showing the (processed) data in a 3D view, given it's georeferenced, seems a good idea.</p> <p><strong>I am looking for SO's recommendations for what 3D libraries are best to use as a base when building these kind of visualisations</strong> in a Delphi- / C++Builder-based Windows application. I'll add a bounty when I can.</p> <h2>The data</h2> <ul> <li>Is recorded over time (hours to days) and is GPS-tagged. So, we have a lot of data following a path over time.</li> <li>Is spatial: it represents real 3D elements of the earth, such as the land, or 3D elements of objects around the earth.</li> <li>Is high volume: we could have a point cloud, say, of hundreds of thousands to millions of points. Processed data may display as surfaces created from these point clouds.</li> </ul> <p>From that, you can see that an interactive, spatially-based 3D visualisation seems a good approach. I'm envisaging something where you can easily and quickly navigate around in space, and data will load or be generated on the fly depending on what you're looking at. I would prefer we don't try to write our own 3D library from scratch - for something like this, there have to be good existing libraries we can work from.</p> <p>So, I'm hoping for a library which supports:</p> <ul> <li><strong>good navigation</strong> (is the library based on Euler rotations only, for example? Can you 'pick' objects to rotate around or move with easily?);</li> <li><strong>modern GPUs</strong> (shader-only rendering is ok; being able to hook into the pipeline to write shaders that map values to colours and change dynamically would be great - think data values given a colour through a colour lookup table);</li> <li><strong>dynamic data / objects</strong> (data can be added as it's recorded; and if the data volume is too high, we should be able to page things in and out or recreate them, and only show a sensible subset so that whatever the user's viewport is looking at is there onscreen, but other data can be loaded/regenerated, preferably asynchronously, or at least quickly as the user navigates. Obviously data creation is dependent on us, but a library that has hooks for this kind of thing would be great.)</li> <li>and technologically, <strong>works with Delphi / C++Builder and the VCL</strong>.</li> </ul> <h2>Libraries</h2> <p>There are two main libraries I've considered so far - I'm looking for knowledgeable opinions about these, or for other libraries I haven't considered.</p> <p><strong>1. <em>FireMonkey</em></strong></p> <p>This is Embarcadero's new UI library, which is only available in XE2 and above. Our app is based on the VCL and we'd want to host this in a VCL window; that seems to be officially unsupported but <a href="https://stackoverflow.com/questions/7315050/delphi-xe2-possible-to-instantiate-a-firemonkey-form-in-vcl-application">unofficially works fine</a>, or is available <a href="http://blogs.embarcadero.com/michaelswindell/2011/08/19/34773" rel="nofollow noreferrer">through third-parties</a>.</p> <p>The mix of UI framework and 3D framework with shaders etc sounds great. But I don't know how complex the library is, what support it has for data that's not a simple object like a cube or sphere, and <a href="http://delphitools.info/2011/10/06/a-look-at-the-3d-side-of-firemonkey/" rel="nofollow noreferrer">how well-designed it is</a>. That last link has major criticisms of the 3D side of the library - severe enough I am not sure it's worthwhile <em>in its current state at the time of writing</em> for a non-trivial 3D app.</p> <p>Is it worth trying to write a new visualisation window in our VCL app using FireMonkey?</p> <p><strong>2. <em>GLScene</em></strong></p> <p><a href="http://glscene.sourceforge.net/wikka/HomePage" rel="nofollow noreferrer">GLScene</a> is a well-known 3D OpenGL framework for Delphi. I have never used it myself so have no experience about how it works or is designed. However, I believe it integrates well into VCL windows and supports shaders and modern GPUs. I do not know how its scene graph or navigation work or how well dynamic data can be implemented.</p> <p><a href="http://glscene.sourceforge.net/wikka/GlsceneFeatures" rel="nofollow noreferrer">Its feature list specifically mentions some things I'm interested in</a>, such as easy rotation/movement, procedural objects (implying dynamic data is easy to implement), and helper functions for picking. It seems shaders are Cg only (not GLSL or another non-vendor-specific language.) It also supports "polymorphic image support for texturing (allows many formats as well as procedural textures), easily extendable" - that may just mean many image formats, or it may indicate something where the texture can be dynamically changed, such as for dynamic colour mapping.</p> <h2>Where to from here?</h2> <p>These are the only two major 3D libraries I know of for Delphi or C++Builder. Have I missed any? Are there pros and cons I'm not aware of? Do you have any experience using either of these for this kind of purpose, and what pitfalls should we be wary of or features should we know about and use?</p> <p>We currently use <a href="http://www.embarcadero.com/products/rad-studio" rel="nofollow noreferrer">Embarcadero RAD Studio 2010</a> and most of our software is written in C++. We have small amounts of Delphi and may consider upgrading IDEs, but we are most likely to wait until the 64-bit C++ compiler is released. For that reason, a library that works in RS2010 might be best.</p> <p>Thanks for your input :) I'm after high-quality answers, so I'll add a bounty when I can!</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload