Welcome to MSDN Blogs Sign in | Join | Help

Bar Chart Explorations with POV-Ray

A few samples of how one could apply the ray-traced rendering goodness of the Persistence of Vision Raytracer (POV-Ray) to the task of displaying data. My goal was to create a "rich" feel to the charts using light and shadow, rather than explore alternatives to bar charts.

Below are several samples. All were hand-crafted .POV files except for the one with the 5 bars. This was generated by a Python script.

All POV files and the Python script are attached.

    

    

    

 

[Update 2007-05-14] Approximate Render times

with radiosity (as shown in samples above) 

  • 1280x1024 = 32s
  • 1024x768 = 23s
  • 800x600 = 16s
  • 320x200 = 4s

without radiosity (samples not shown)

  • 1280x1024 = 5s
  • 1024x768 = 3s
  • 800x600 = 2s
  • 320x200 = 1s

 

Thoughts about future explorations

"Data cube" concept: Use the faces of a cube to render more information.

"Data crystal" concept: Like the data cube except an external lightsource shines through the cube to produce an image on the table surface that represents a "view" or "slice" of the cube data. For example, one could use this to filter out kinds of data, or to scope the cube to a time span, or to identify only the "critical" items from the data set.

Published Sunday, May 13, 2007 7:18 AM by saveenr

Attachment(s): povray-explorations-2007-05-13.zip

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

# re: Bar Chart Explorations with POV-Ray

What are the rendering-Times for there simple samples? Is there a chance to impelment these charts in a 'real' application to create nice-looking charts for presentation needs?

Monday, May 14, 2007 7:02 AM by TC

# re: Bar Chart Explorations with POV-Ray

I've added the rendering times to the post. Radiosity adds a a nice look to the charts but takes a lot of time. Rendering without radiosity is much faster but the charts don't look as great but still look very nice. Please keep in mind I'm not a POV-Ray expert. Someone with greater knowledge would probably be able to get a better look than what I have achieved. So without radiosity, I think one could generate these fast enough for a lot of uses although I doubt it would ever be fast enough that the render time would be perceived as instantaneous.

Tuesday, May 15, 2007 2:02 AM by saveenr

# re: Bar Chart Explorations with POV-Ray

quite good.

i may yet one day try my hand at creating density/heatmap type charts with povray blobs.  hope closely laying blobs, and even repeated blobs, will have an additive effect.

good work

Monday, October 01, 2007 10:55 AM by aquarium

# re: Bar Chart Explorations with POV-Ray

outstanding! these are beautiful and a big step up

from the usual ...

Thursday, February 14, 2008 5:12 PM by alicia hart

Leave a Comment

(required) 
required 
(required) 
 
Page view tracker