Re: Best Approach? spinning cube
Re: Best Approach? spinning cube
- Subject: Re: Best Approach? spinning cube
- From: John Pannell <email@hidden>
- Date: Sat, 4 Jun 2005 07:59:00 -0600
Hi Andrew-
Aside from the window level, there is some example code that does
everything you want at:
http://www.boredastronaut.com/software/files/GLCubes.zip
Hope this helps!
John
On Jun 4, 2005, at 1:37 AM, Andrew Bush wrote:
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:
40positivespinmedia.com
This email sent to email@hidden
_______________________________________________
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