• 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
Help needed (opengl and cocoa)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Help needed (opengl and cocoa)


  • Subject: Help needed (opengl and cocoa)
  • From: kubernan <email@hidden>
  • Date: Sat, 2 Feb 2002 15:22:38 +0100

Hello,

With my OpenGL 1.2 book and a code sample taken from the Net i tried to
write a coca app.
What i decided is to download the NSGL Teapot from the dev. sample code
Apple site and replace the
code inside drawRect() by the code i took on the Net.
And of course, it doesn't work. I have a black view. I really don't
understand why. The sample code is from here :
(http://www.sulaco.co.za/opengl2.htm) ; this is a winamp visualization
plugin (named 3D Vu meters).
Written in Pascal is easy to port in a cocoa app...well not so easy for
me cause it doesn't work.
This plugin displays 3D bars moving in real time depending on the audio
wave.
Cause i have no audio source in my app, i decided to replace it with
arbitrary values. The fact is the display is always in black. drawRect()
is called but i don't know if 3D bars are really displayed.

Can anyboby could help me ?
Thx a lot.
Kub.


  • Prev by Date: Re: Re(4): optimizing compilers
  • Next by Date: Re: optimizing compilers
  • Previous by thread: my first scriptable app
  • Next by thread: What's the easiest way to save users preferences
  • Index(es):
    • Date
    • Thread