sliceofpie I've been doing a little more work on my 3D pie-chart renderer. I've added beveling and tweaked colors to a point where I can render charts that -- in my opinion -- are a better quality than those produced from Apple's Numbers. Next step is to add labels over the main image. Povray does support rendering of True Type Fonts, but it is a 2D overlay that I'm looking for (not 3D text), so I plan to use PyCairo to render the labels. Once I've perfected the chart renderer I can build a polished web interface, and a web service for the render queue. All in Python, of course!

I know that 3D pie charts aren't as clear as their 2D counterparts, but I still think there is a place (and hopefully a market) for pretty charts like this. Even if it isn't a money-spinner, its still an interesting project, with some fun problems to solve!

This blog post was posted to It's All Geek to Me on Saturday August 2nd, 2008 at 8:17PM
 

7 Responses to "More Pie?"

  • Carl T.
    August 2nd, 2008, 10:42 p.m.

    Duncan,
    Is this the one made with POV-Ray, or am I mixing you up with another blogger's post?
    Either way, looks good. I love the effects POV-Ray gives, and it's pretty easy to use.
    Carl T.

  • Carl T.
    August 2nd, 2008, 10:42 p.m.

    Sorry - Will M., not Duncan M. - my apologies.

  • Richard Jones
    August 3rd, 2008, 2:37 a.m.

    If you just want anti-aliased TTF rendering then use pyglet. No cairo dependency then.

  • August 3rd, 2008, 8:31 a.m.

    Carl, yeah its done with POVRay. I create pov files with Mako templates.

    Richard, Can Pyglet be used without a window? ie Just to load a PNG, draw some text on it and save?

  • Florian Jung
    August 3rd, 2008, 11:33 a.m.

    You may want to use "merge" instead of "union" in your povray source to loose the inside edges especially visible in the green piece of your pie.

  • August 3rd, 2008, 5:37 p.m.

    Thanks for the tip, Florian. I had been wondering how to get rid of the inside edges. Update image looks much better...

  • Richard Jones
    August 4th, 2008, 2:05 a.m.

    Hey Will. pyglet will want to be *able* to create a window - it does need to create a GL context, but can do so without displaying a window.

Leave a Comment

You can use bbcode in the comment: e.g. [b]This is bold[/b], [url]http://www.willmcgugan.com[/url], [code python]import this[/code]
Preview Posting...
Previewing comment, please wait a moment...
Will McGugan

My name is Will McGugan. I am an unabashed geek, an author, a hacker and a Python expert – amongst other things!

You are reading my tech blog. See the homepage for my other blogs.

Search for Posts
Possibly related posts
Tags
 
Popular Tags
 
Archives
2010
 
Recent Comments
http://www.iclshoes.com/alexander-mcqueen-c-13.html [iclshoes.com] http://www.iclshoes.com/jimmy-choo-shoes-c-2.html [iclshoes.com] http://www.iclshoes.com/ [iclshoes.com] http://www.zentai-mart.com/Play-Costumes-c-5.html [zentai-mart.com] http://www.zentai-mart.com/Latex-Catsuits-Clothes-c-3.html [zentai-mart.com] http://www.zentai-mart.com/PVC-Catsuits-Clothes-c-6.html [zentai-mart.com] http://www.zentai-mart.com/ [zentai-mart.com] http://www.hereshoes.com/miu-miu-shoes-c-31.html [hereshoes.com] http://www.hereshoes.com/giuseppe-zanotti-c-43.html [hereshoes.com] http://www.hereshoes.com/lanvin-shoes-c-50.html [hereshoes.com] ...
- Christian Louboutin on Turning website favicons in to 3D
What are the charmings of?a href="http://www.iclshoes.com [iclshoes.com]cl shoes/a?They are quality,comfort and style.The a href=http://www.iclshoes.com/jimmy-choo-shoes-c-2.html [iclshoes.com]Jimmy Choo shoes/a are made from ...
- Christian Louboutin on Turning website favicons in to 3D
Thanks a lot for that: I had first tried sudo aptitude purge adobe-flashplugin then sudo aptitude install flashplugin-nonfree but that ...
Andre, the name is derived from the class name (camel case converted to lower case with underscores). But, you can ...
is this using some kind of name mangling to map sorethumb:rounded_corners_edged to the RoundedCornersEdged class? that seems a little unnecessary ...
 
© 2008 Will McGugan.

A technoblog blog, design by Will McGugan