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 > macOS > New screensaver

New screensaver
Thread Tools
calumr
Forum Regular
Join Date: Sep 2000
Location: UK
Status: Offline
Reply With Quote
Jul 7, 2001, 12:37 PM
 
In order to draw some attention to my other project, I ported a Windows screensaver to MacOSX.

It uses OpenGL, and shouldn't be too demanding. (Sorry there aren't any screenshots).
www.geocities.com/calum_robinson

Let me know what you think.
     
<Someone outside>
Guest
Status:
Reply With Quote
Jul 7, 2001, 12:50 PM
 
Did you know that there was no need to compress a .dmg since it's already compressed ?
     
Norm1985
Mac Elite
Join Date: Jun 2000
Location: Northbrook, IL, USA
Status: Offline
Reply With Quote
Jul 7, 2001, 01:00 PM
 
I'll take a look at it a little later since I have to relogin as root to install it and tell ya what i think.


[email protected]
AIM: Norm1985
ICQ: 34049393
     
dfbennett
Mac Enthusiast
Join Date: Mar 2001
Location: New England
Status: Offline
Reply With Quote
Jul 7, 2001, 01:30 PM
 
Originally posted by calumr:
<STRONG>In order to draw some attention to my other project, I ported a Windows screensaver to MacOSX.

It uses OpenGL, and shouldn't be too demanding. (Sorry there aren't any screenshots).
www.geocities.com/calum_robinson

Let me know what you think.</STRONG>
Works well. Although it's not my kind of screen saver. Works very well though. Good work!

[ 07-07-2001: Message edited by: dfbennett ]
Regards,
Dave
     
Mac Boy
Junior Member
Join Date: Dec 2000
Location: Boston, MA USA
Status: Offline
Reply With Quote
Jul 7, 2001, 01:56 PM
 
Looks cool. Nice job.

I noticed two bugs though that I had to deal with on
a screensaver that I wrote. First, the screen goes to white for a moment before going black. Not a big deal, but a really easy fix. Just put in the following code right after your NSOpenGLView is created:

<BLOCKQUOTE><font size="1"face="Geneva, Verdana, Arial">code:</font><HR><pre><font size=1 face=courier>glClearColor (<font color = blue>0.0</font>, <font color = blue>0.0</font>, <font color = blue>0.0</font>, <font color = blue>0.0</font>);
glClear(GL_COLOR_BUFFER_BIT);
glFlush();</font>[/code]

Mike Trent from Apple clued me into this one when I had the same bug in my saver.

Secondly, your screensaver always inits the NSOpenGLView in Millions of colors. If you are in Millions mode, you wouldn't notice this, but if you are in thousands of colors, the preview in the System Preferences is all botched up. This is also an easy fix. Just initialize into whatever mode the computer is already in. I use this for my NSOpenGLView attributes:

<BLOCKQUOTE><font size="1"face="Geneva, Verdana, Arial">code:</font><HR><pre><font size=1 face=courier>NSOpenGLPixelFormatAttribute attribs[] = {
NSOpenGLPFADepthSize, <font color = blue>1</font>,
NSOpenGLPFAAccelerated, <font color = blue>0</font>
};</font>[/code]

That should solve the problem, because it no longer asks for a specific number of bits for the color.

- Ross
     
Norm1985
Mac Elite
Join Date: Jun 2000
Location: Northbrook, IL, USA
Status: Offline
Reply With Quote
Jul 7, 2001, 01:58 PM
 
Dude, I must say that's a pretty cool screen saver. I just wish it was in more colors than just white and black.


[email protected]
AIM: Norm1985
ICQ: 34049393
     
Mac-arthur
Forum Regular
Join Date: Apr 2001
Location: Newport Beach, CA, USA
Status: Offline
Reply With Quote
Jul 7, 2001, 02:53 PM
 
Originally posted by calumr:
<STRONG>In order to draw some attention to my other project, I ported a Windows screensaver to MacOSX.

It uses OpenGL, and shouldn't be too demanding. (Sorry there aren't any screenshots).
www.geocities.com/calum_robinson

Let me know what you think.</STRONG>
I like it!...Changed my settings to use it!

Arthur

"the people who are crazy enough to think they can change the world, are the ones who do."
     
calumr  (op)
Forum Regular
Join Date: Sep 2000
Location: UK
Status: Offline
Reply With Quote
Jul 7, 2001, 03:02 PM
 
Originally posted by Norm1985:
<STRONG>I just wish it was in more colors than just white and black.</STRONG>
Uh? Its in colour.

Thanks to MacBoy for the tips. I'm glad you all like it.
     
Developer
Addicted to MacNN
Join Date: Apr 2001
Location: europe
Status: Offline
Reply With Quote
Jul 7, 2001, 03:17 PM
 
Uh? Its in colour.
No, it isn't.
It looks cool first, then after everything is white, it stays white.


Developer
Nasrudin sat on a river bank when someone shouted to him from the opposite side: "Hey! how do I get across?" "You are across!" Nasrudin shouted back.
     
blah
Fresh-Faced Recruit
Join Date: May 2001
Location: New Orleans, LA, USA
Status: Offline
Reply With Quote
Jul 7, 2001, 05:31 PM
 
Originally posted by Developer:
<STRONG>
No, it isn't.
It looks cool first, then after everything is white, it stays white.
</STRONG>
Yep. same here... wonder what the issue is... using Nvidia Geforce 2 here, on a G4 450
     
Scrod
Mac Elite
Join Date: Jan 2001
Location: Sad King Billy's Monument on Hyperion
Status: Offline
Reply With Quote
Jul 7, 2001, 06:19 PM
 
It does that on my Pismo PowerBook as well.[/LIST]null
I abused my signature until she cried.
     
mememe
Junior Member
Join Date: Mar 2001
Location: Florida
Status: Offline
Reply With Quote
Jul 7, 2001, 06:21 PM
 
hmm colors stay for a while then it turns white & stays
g4/400/radeon agp
----
(Tumbler is dead)
     
calumr  (op)
Forum Regular
Join Date: Sep 2000
Location: UK
Status: Offline
Reply With Quote
Jul 7, 2001, 07:45 PM
 
What should be happening is a black rectangle being drawn over every frame, which stops the whole screen going white.
<BLOCKQUOTE><font size="1"face="Geneva, Verdana, Arial">code:</font><HR><pre><font size=1 face=courier>
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
glColor4d(<font color = blue>0.0</font>,<font color = blue>0.0</font>,<font color = blue>0.0</font>,(<font color = blue>1.0</font>/<font color = blue>10.0</font>));
glRectd(<font color = blue>-1</font>,-<font color = blue>1</font>,sys_glWidth+<font color = blue>1</font>,sys_glHeight+<font color = blue>1</font>);</font>[/code]
But that doesn't seem to be happening in your cases. Weird - it works perfectly on my G3/PCI Radeon. I should try this problem in the developer forum.
     
<BSD Guy>
Guest
Status:
Reply With Quote
Jul 7, 2001, 10:07 PM
 
cool screensaver. It's one of the few that works properly with my dual monitor setup.
     
Scott_H
Professional Poster
Join Date: Jan 2000
Status: Offline
Reply With Quote
Jul 7, 2001, 10:13 PM
 
I don't understand why it's soooooo slow on my system? Am I missing some software?
     
kjb
Dedicated MacNNer
Join Date: Apr 2001
Status: Offline
Reply With Quote
Jul 7, 2001, 10:25 PM
 
Originally posted by Scott_H:
<STRONG>I don't understand why it's soooooo slow on my system? Am I missing some software?</STRONG>

Mine too. I'm guessing it has something to do with the XCLAIM VR video card
I have in my G3. I uses the same Rage Pro chipset as your iMac Scott, so I think that is the culpret. I dl'd the Tomb Raider demo and it fails to run because "Open GL isn't properly installed or supported" by my system. C'mon Apple, how bout some Rage Pro drivers?

And so Scott doesn't have to say it again
"where are the Rage Pro Drivers?!?!"
     
<chown hound>
Guest
Status:
Reply With Quote
Jul 8, 2001, 03:42 AM
 
one teensy suggestion don't know if this is the screensaver app's responsibility or the module's but it would be great if your screensaver (and the rest frankly) could simply blank out one screen when running on dual monitors. When running on both screens most savers slow way way down. It would also be nice to choose which screen the saver runs on. Again don't know who should control this....
     
Cowdog
Dedicated MacNNer
Join Date: Apr 2001
Location: [localhost:~]
Status: Offline
Reply With Quote
Jul 8, 2001, 12:18 PM
 
Originally posted by Developer:
<STRONG>
It looks cool first, then after everything is white, it stays white.</STRONG>
I get the same, I'm on a b&w g3 with stock rage 128 card.

Here's what it looks like for me (using saverlab):

Flurry 2 seconds:


Flurry after 10 seconds:


edit: fix ubb

[ 07-08-2001: Message edited by: Cowdog ]
moof. home of the quintuple edit.
     
calumr  (op)
Forum Regular
Join Date: Sep 2000
Location: UK
Status: Offline
Reply With Quote
Jul 8, 2001, 06:20 PM
 
I fixed the problem. It was to do with some systems not clamping colours right. Its on my site now:
www.geocities.com/calum_robinson/Flurry.dmg.gz

Thanks for the feedback and helping me fix it.
     
BTP
Mac Elite
Join Date: Feb 2001
Location: 34.06 N 118.47 W
Status: Offline
Reply With Quote
Jul 8, 2001, 07:00 PM
 
I'd love to see it, but all I get is a white screen on my Rev. A iBook.
A lie can go halfway around the world before the truth even gets its boots on. - Mark Twain
     
iSoulBrotha
Fresh-Faced Recruit
Join Date: Feb 2001
Status: Offline
Reply With Quote
Jul 8, 2001, 08:35 PM
 
Very Cool and Phaat! Works just fine on my system - G3/450/UWSCSI/18gig 10K
People who know, KNOW.
People who think they know, DON;T!
So thing before you answer.
     
iSoulBrotha
Fresh-Faced Recruit
Join Date: Feb 2001
Status: Offline
Reply With Quote
Jul 8, 2001, 08:36 PM
 
Very Cool and Phaat! Works just fine on my system - G3/450/UWSCSI/18gig 10K
People who know, KNOW.
People who think they know, DON;T!
So thing before you answer.
     
iSoulBrotha
Fresh-Faced Recruit
Join Date: Feb 2001
Status: Offline
Reply With Quote
Jul 8, 2001, 08:44 PM
 
Very Cool and Phaat! Works just fine on my system - G3/450/UWSCSI/18gig 10K
People who know, KNOW.
People who think they know, DON;T!
So thing before you answer.
     
Cowdog
Dedicated MacNNer
Join Date: Apr 2001
Location: [localhost:~]
Status: Offline
Reply With Quote
Jul 8, 2001, 08:55 PM
 
Originally posted by calumr:
<STRONG>I fixed the problem. It was to do with some systems not clamping colours right. Its on my site now:
www.geocities.com/calum_robinson/Flurry.dmg.gz

Thanks for the feedback and helping me fix it.</STRONG>
Cool it works now.. although your link doesn't seem too, I dled from your first homepage link.

Reminds me of one of the savers I saw on this guy's page and makes wish there were more like it.. very cool thanks (and please make more)

edit: hmm my link didn't work either

[ 07-08-2001: Message edited by: Cowdog ]
moof. home of the quintuple edit.
     
kelix
Dedicated MacNNer
Join Date: Sep 2000
Location: Gold Coast, Australia
Status: Offline
Reply With Quote
Jul 9, 2001, 04:24 AM
 
WOW great saver!!! very nice work mate
G4 500 DVD-RAM
     
Spheric Harlot
Clinically Insane
Join Date: Nov 1999
Location: 888500128, C3, 2nd soft.
Status: Offline
Reply With Quote
Jul 9, 2001, 08:41 AM
 
iMac DV 400, 192 MB RAM...

First version would look good but then stay white, as described above.

New version, when activated, gives a white screen, and then a black screen.
Nothing visible happens after that.

-chris.
     
Nyuni
Dedicated MacNNer
Join Date: Nov 2000
Location: Baltimore, MD
Status: Offline
Reply With Quote
Jul 10, 2001, 10:26 AM
 
Originally posted by Cowdog
Reminds me of one of the savers I saw on this guy's page and makes wish there were more like it.. very cool thanks (and please make more)
Damn!!!

If I knew how to code at all I'd try to get together with this guy to port those things over to OS X.. they're amazing!! (Checked 'em out on my Win2k beast here at work..)

Considering they're OpenGL, shouldn't be too much of a task to bring 'em over, right? Correct me if I'm wrong, I'm no code jockey by any means.


[ 07-10-2001: Message edited by: Nyuni ]

[ 07-10-2001: Message edited by: Nyuni ]
The Quintessential Featherhead.
     
   
 
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
Top
Privacy Policy
All times are GMT -4. The time now is 10:34 PM.
All contents of these forums © 1995-2017 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.8 © 2000-2017, Jelsoft Enterprises Ltd.,