 |
 |
Screensavers in OSX
|
 |
|
 |
|
Mac Enthusiast
Join Date: Jan 2001
Status:
Offline
|
|
hello everybode,
im looking to program some simple screensavers in OSX, using openGL code, or just regular objective-C stuff. Can somebody tell me where i can start?
thanks
|
|
|
| |
|
|
|
 |
|
 |
|
Senior User
Join Date: Jan 2000
Status:
Offline
|
|
This probably isn't the ideal way to begin learning how to code screensavers under OS X, but it's a place to start. Go to epicware's OS X screensaver page and download the source code to some of the savers available.
There's also a note at the bottom of the page from the webmaster. You should take a look at it, as he hints how to get the private Apple headers necessary to make a screensaver work.
50.
|
|
|
| |
|
|
|
 |
|
 |
|
Dedicated MacNNer
Join Date: Jan 2001
Location: Virginia, US
Status:
Offline
|
|
You may want to hold off until OS X final comes out -- the ScreenSaver headers will likely be publicized, and it wouldn't surprise me if the APIs have been cleaned up a little bit since Public Beta.
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Enthusiast
Join Date: Jan 2001
Status:
Offline
|
|
|
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Enthusiast
Join Date: Feb 2000
Location: Storrs,Connecticut, USA
Status:
Offline
|
|
You can get the private headers, without doing a class dump yourself, if you download the source to OmniJulia. The headers are included. Take a look at OmniJulia too; it's pretty cool how they made it work.
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Enthusiast
Join Date: Jan 2001
Status:
Offline
|
|
Do you mind telling me where i can find the source for OmniJulia?
thanks 
|
|
|
| |
|
|
|
 |
|
 |
|
Forum Regular
Join Date: Dec 1999
Location: Tulsa, OK, USA
Status:
Offline
|
|
|
|
|
http://elvisripley.com
|
| |
|
|
|
 |
|
 |
|
Dedicated MacNNer
Join Date: Feb 2001
Status:
Offline
|
|
lindberg is correct, in 4k78 the ScreenSaver framework is public and documented. It's changed slightly, but anything you do for the Public Beta should convert easily.
|
|
|
| |
|
|
|
 |
|
 |
|
Junior Member
Join Date: Oct 2000
Status:
Offline
|
|
I have just updated my port of the xmatrix screensaver from PB to Final, and as 3.1416 suggested all changes were minor. For my code, it consisted of changing the header file from the reverse engineered one from PB to the Screensaver header and updating the method initWithFrame in my code. The new version of ScreenSaverView adds a new parameter to the method called isPreview, by which you can determine in your overriding method whether or not you are running in preview mode or full screen
|
|
|
| |
|
|
|
 |
|
 |
|
Forum Regular
Join Date: Oct 2000
Location: Portland, OR USA
Status:
Offline
|
|
I would be interested in your port of xmatrix. I am also interested in porting other screensavers from the xscreensaver package to OS X, but I don't know where to start. I've looked at the code for the EpicWare screensavers (a lot are from xscreensaver). It was easier for me to make changes to the existing ports than to make my own.
|
|
|
| |
|
|
|
 |
|
 |
|
Forum Regular
Join Date: Dec 2000
Location: Rehoboth Beach,DE USA
Status:
Offline
|
|
I would like to know if anyone knows where I can get documentation on the current ScreenSaverView.I checked the App kit and foundation release notes in the Cocoa topics.html file but could find nothing.Any info anyone has would be greatly appreciated.
Rick
|
|
|
| |
|
|
|
 |
|
 |
|
Junior Member
Join Date: Oct 2000
Status:
Offline
|
|
Originally posted by LordJavac:
I would be interested in your port of xmatrix. I am also interested in porting other screensavers from the xscreensaver package to OS X, but I don't know where to start. I've looked at the code for the EpicWare screensavers (a lot are from xscreensaver). It was easier for me to make changes to the existing ports than to make my own.
The irritating part for a first-timer (This was my first screensaver) was separating the xscreensaver stuff from the actual xmtrix code. The task was not so much hard as it was tedious. Once that was done, I looked at the epicware SS source to figure out where to put everything. I'm still not entirely sure I made the best choices, but things seem to work fine, if a little bit slower than I would like.
|
|
|
| |
|
|
|
 |
|
 |
|
Forum Regular
Join Date: Oct 2000
Location: Portland, OR USA
Status:
Offline
|
|
Would you be willing to share your efforts?
|
|
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
Forum Rules
|
 |
 |
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |
|