tags:

views:

518

answers:

5

I am trying to put together a desktop app for a client. They want the logo in the top corner (on a tool bar) to be a spinning 3D banana. I had planned to write this in C#. Any ideas how I could pull this off?

+12  A: 

Create it as an animated gif or apng, possibly in something like POV-Ray or Blender.

It's a very dumb move to actually render 3d graphics for the logo of an application that doesn't otherwise require it ;)

Tell me about it. Sometimes these things aren't up to the dev!
Anthony D
But that's the answer. Don't render it at run-time. Just toss the rendered animation in.
Yeah I like that idea, maybe sub out the gif creation.
Anthony D
It's a good idea...programmers are rarely graphic artists.
Your client should provide you with the GIF or PNG - it's their logo, they should *want* to have control over how it looks.
Michael Burr
+6  A: 

If I had to waste my time doing this, I would use the 3d support in WPF and then translate the point information from a model from a modelling program where you can actually model the banana.

I would just create the model in some sort of 3d program and then animate it and export it as an animated gif or AVI file and then display that. No need to waste processor cycles trying to compute something like this.

casperOne
+7  A: 

The simplest solution would probably be an animated gif. The PictureBox has direct support for that.

Jesper Palm
+2  A: 

I agree with cmartin that you should create some kind of animation and display it instead of going to the trouble of creating a 3D renderer. That would just be overkill. However, I'd recommend you use something other than GIF if you require it to look very good, since GIFs are limited in the number of colors they can display, IIRC.

rmeador
+2  A: 

Good chance you can find a free banana model for something like Blender and (with author's permission of course) animate it in a spinning motion and export it to gif.

CodeMonkey1