• Welcome to the new COTI server. We've moved the Citizens to a new server. Please let us know in the COTI Website issue forum if you find any problems.
  • We, the systems administration staff, apologize for this unexpected outage of the boards. We have resolved the root cause of the problem and there should be no further disruptions.

Looking for 3-D space visualization program

ffilz

SOC-12
I am working of a Travelleresque campaign. I will be using real stars to some extent and a 3-D star map.

A couple years ago, I wrote a program that used Hipparcos data and other data along with invented stars to select the relevant stars for my campaign. To build polities, it would start with one star, and then pick or invent nearby stars. Since my base jump is 30 parsecs, I divided space into 30x30x30 parsec cubes and assigned those to polities. A cube would typically have 1, possibly 2, remotely 3 or more relevant stars belonging to the polity. Additional stars would be invented to connect stars that wound up more than 30 parsecs away from the last star generated. Sol is considered to be in cube 0,0,0 (the cube coordinates for a star is {floor(X/30), floor(Y/30), floor(Z/30)}). The program will also generate connections between polities, inventing stars if necessary (but preferring real stars even if they are unlikely candidates for habitation - which actually is best).

So taking that idea of 30x30x30 cubes of space, I'd like a simple way to given a data base of cubes and some characteristics for the cube, create a simple 3-D visualization. My thought is to plot all the cubes that contain O/B stars along with some other cubes, and then decide where to place polities, and maybe even shape some of the polities and their connections.

One thought for a model I had was just to spit out some coordinates of cubes, and try and use LEGO blocks to build a real model, but it would be nice to have a computer based tool.

The ideal tool will make it easy to see what cubes of space are occupied by certain objects and how those cubes relate to other nearby cubes.

My preference for tools would be first an open source tool that can run on Linux, second a free tool that can run on Linux, third a free tool on Windows XP.

Thanks for any ideas

Frank
 
I saw space engine, but it's windows which is not ideal.

I'm also not sure something like atlas of the universe will work well for me if it shows things as points (that will make the space visualization difficult).

To some extent, what i want is a 3-D model of a bunch of stacked blocks that I can easily generate from my data and then browse, rotating, zooming, and moving about in.

Frank
 
I suspect the best place to start looking is over at Winchell Chung's site, Project Rho, specifically the 3D starmap section:

http://www.projectrho.com/public_html/starmaps/

I'm personally a fan of NBOS Software's Astrosynthesis (v3), but it's both a Windows program and not free, so not in line with your criteria. But it would certainly do the job.
 
Next month we'll be releasing Datascape, our 3D immersive visual analytics app (Windows only I'm afraid). This will let you import a set of CSV files and then visualise the data in a 3D space. As a test we've just brought in all the stars within 55 parsecs from the Hipparcos database (about 10,000), and augmented it with exoplanet data, with star colours mapped to spectra, size to size etc. You could then bring in additional data to mark empires and control etc. There will be a free version for non-commercial use.

I've just put up a blog post with some images from real space at http://www.daden.co.uk/its-full-of-stars-revisited/

David
 
Next month we'll be releasing Datascape, our 3D immersive visual analytics app (Windows only I'm afraid). This will let you import a set of CSV files and then visualise the data in a 3D space. As a test we've just brought in all the stars within 55 parsecs from the Hipparcos database (about 10,000), and augmented it with exoplanet data, with star colours mapped to spectra, size to size etc. You could then bring in additional data to mark empires and control etc. There will be a free version for non-commercial use.

I've just put up a blog post with some images from real space at http://www.daden.co.uk/its-full-of-stars-revisited/

David

Long as it runs in WINE, you can run WINEBottler on it to make a stand alone Mac version and Linux Version.
 
Hmm... I'm not sure whether I like AstroSynthesis. There are very few built-in glyphs, and the random generation system has a number of faults and annoyances.
 
Tangential to the OP's request, how about a way to display 3d objects, preferably in a browser? I have worked in Wings3d to build some things, but the only way I know of to share them (say, with my fellow gamers) is to take a screenshot, then save it as a jpg/png. I want to build subsector maps in Wings3d (or any other program) and actually be able to let them open the object in their browser and rotate it, zoom, etc.
 
WebGL supports this - it is OpenGL ES (the embedded version ala iOS and most modern phones) for the browser.

Sketchup (Collada) has been supported for years in browsers. So have many other formats (for almost as long as there has been a WWW) - with plugins.

WebGL has been in development for several years, but the standard took a bit to become official. The latest version of almost every mainstream browser, with the notable exception of IE*, support WebGL without plugins. A plugin is available for IE.

[*Note, WebGL is seen as a potential 'threat' to MS DirectX in the gaming sector.

MS is a player in the OpenGL standards committee and OpenGL and DirectX create a certain amount of market tension. OpenGL games are easily multi-platform - which is a certain amount of threat to some of MS's market segments. MS has been using the excuse that WebGL presents an integrity and security risk - which is quite true, but absurd given the reality that unlike Javascript, Flash, Silverlight, etc. it offers no direct file system support.

Expect, at some point, MS will release WebDX - which, in all likelihood, will fail to gain significant market support and never make any money directly for MS - so will eventually be ditched and WebGL adopted.]
 
BytePro, how do I (without Sketchup) get a 3d object from Wings3d into WebGL format? What extension should I be looking for in the Save As?
 
Fritz,

WebGL is for supporting 3D in a browser - the display, rotating, zooming you asked about. It is not a file format.

Using WebGL one can read any format - with the right code.

A viewer written using WebGL is what you are after. ;)

Try - http://sketchfab.com/
 
And, I think this might be one of my problems, BytePro - when I get to the sketchfab site, it tells me:
That's too bad :(

While your browser seems to support WebGL, it is disabled or unavailable.
If possible, please ensure that you are running the latest drivers for your video card.
I will have to research.
 
You may not have OpenGL drivers installed, or WebGL may simply be disabled in your browser settings (http://caniuse.com/webgl has a link near the top for details on enabling WebGL in certain browsers).

I primarily use Firefox & Safari - but Chrome has a software emulation fallback.

Hope that helps...
 
BTW: If your models aren't very large/complex - software 3D emulation rendering can be acceptable...

The best bet here is an HTML5 Canvas implementation ala http://code.google.com/p/jsc3d/ (three.js also has Canvas only support, IIRC).

jsc3d will support wavefront .obj format ... IIRC you can change the URL in one of the sample .html files and save it and the .js file to your HD and simply open locally. Easily put on a website.

IIRC, all the major browsers support HTML5 Canvas in their latest versions, even IE. WebGL depends on HTML5 Canvas, btw. The difference being WebGL makes use of the 3D features of a video card - Canvas is only 2D mimicking 3D (read a lot slower for 'shading' and high poly count).
 
Back
Top