Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Screensavers in OSX

Screensavers in OSX
Thread Tools
Mac Enthusiast
Join Date: Jan 2001
Status: Offline
Reply With Quote
Mar 9, 2001, 04:57 PM
 
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
Reply With Quote
Mar 9, 2001, 05:10 PM
 
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
Reply With Quote
Mar 11, 2001, 05:41 AM
 
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
Reply With Quote
Mar 11, 2001, 05:27 PM
 
cool, i think ill wait
     
Mac Enthusiast
Join Date: Feb 2000
Location: Storrs,Connecticut, USA
Status: Offline
Reply With Quote
Mar 11, 2001, 06:47 PM
 
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
Reply With Quote
Mar 13, 2001, 08:18 PM
 
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
Reply With Quote
Mar 15, 2001, 11:16 PM
 
It is a program from the wonderful Omni Group.
http://www.omnigroup.com/community/freeware/omnijulia/

You should download all of their programs.
http://elvisripley.com
     
Dedicated MacNNer
Join Date: Feb 2001
Status: Offline
Reply With Quote
Mar 15, 2001, 11:44 PM
 
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
Reply With Quote
Mar 25, 2001, 08:43 PM
 
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
Reply With Quote
Mar 26, 2001, 05:39 PM
 
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
Reply With Quote
Mar 28, 2001, 05:18 PM
 
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
Reply With Quote
Mar 29, 2001, 12:55 PM
 
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
Reply With Quote
Mar 29, 2001, 09:32 PM
 
Would you be willing to share your efforts?
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 12:33 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2