• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Best Approach? spinning cube
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >Best Approach? spinning cube (From: Andrew Bush <email@hidden>)

  • Prev by Date: Re: CoreData: Using willSave to update timestamps causes hang?
  • Next by Date: Re: Script Phase - Check if we running on 10.4?
  • Previous by thread: Best Approach? spinning cube
  • Next by thread: Intel? Huh?
  • Index(es):
    • Date
    • Thread