Best Approach? spinning cube
Best Approach? spinning cube
- Subject: Best Approach? spinning cube
- From: Andrew Bush <email@hidden>
- Date: Sat, 4 Jun 2005 19:37:06 +1200
Hi all,
Im looking for suggestions on the best way to achieve a particular
effect, Id like to put a spinning cube sitting over the top of all
other windows in the display, ideally it would be just the cube itself
and nothing else, no window visible and no opengl blackness around the
edges.
Obviously making the window itself transparent is no problem these
days, but Im at a bit of a loss as to how to hide the parts of the
openglview that are not being used at any given moment to actually draw
the cube.
The only solutions I can think of are:
(1) not use opengl at all but instead draw all parts of the cube
myself...I *could* do this I guess but it seems like a
shame...particularly as down the road Id like to be able to use various
other effects inside the cube and I dont really want to have to
re-invent the wheel for each one.
(2) ...hmm...actually that wont work, so Im stuck with (1)
are there any other approaches that might work? all I need is a
stand-alone slowly spinning cube...is it possible to have something
like a non-rectangular openglview that reshapes itself as needed?
Thanks in advance for any suggestions.
Yours cheerfully,
Andrew Bush
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden