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 > Porting from OpenGL Source Code?

Porting from OpenGL Source Code?
Thread Tools
Dedicated MacNNer
Join Date: Mar 2001
Location: [localhost:~]
Status: Offline
Reply With Quote
Jul 9, 2001, 11:02 PM
 
Here's some OpenGL source code I came across while doing some searching: http://laz.dhs.org/~pgm/old/screensavers/ http://www.ixpres.com/eniac/glUFO/glufo.html

I dled the epicware screensaver source and I poked around with both in project builder for a while. But although I'd like to learn more I'm no real programmer. If anyone else wanted to work on either I'd love to see them running in OS X.
moof. home of the quintuple edit.
     
Fresh-Faced Recruit
Join Date: Jul 2001
Status: Offline
Reply With Quote
Jul 11, 2001, 01:43 PM
 
I will see what I can do.

Will port the text circled one after having fixed a bug in some java code.

The ufo one looks interesting too.
bouarf.
     
Fresh-Faced Recruit
Join Date: Jul 2001
Status: Offline
Reply With Quote
Jul 11, 2001, 05:56 PM
 
Argh... First post ws not validated.

A first draft of the Circle Text screensaver can be found here:

First Draft

For the Configuration panel and a clean code source, you will have to wait till tomorrow.
bouarf.
     
Cowdog  (op)
Dedicated MacNNer
Join Date: Mar 2001
Location: [localhost:~]
Status: Offline
Reply With Quote
Jul 11, 2001, 10:25 PM
 
wow.. I can't believe how cool you are. that was great.

In the configuration will you be able to set the message, font and color? Is it possible to have the circles move?

Not making requests, you don't have to spend any more time on it if you don't want. Just some suggestions.

You just made my day, thats awesome that you did something with it...
moof. home of the quintuple edit.
     
Fresh-Faced Recruit
Join Date: Jul 2001
Status: Offline
Reply With Quote
Jul 12, 2001, 02:56 AM
 
I don't know yet what settings can be changed since I wiped out the whole interface code during the port. I believe the user can change the text, the max number of circles on the screen is 20 but that can be changed.

I will look at the .rc file this evening.
bouarf.
     
Fresh-Faced Recruit
Join Date: Jul 2001
Status: Offline
Reply With Quote
Jul 13, 2001, 05:24 PM
 
Ok, sorry for the late.

The port is now complete. It's not really a port since the Mac OS X version is far more complete on the configuration side.

You can change the text, the radius, the rotation speed, the scale, you can manage up to 20 text cirlces, you can change the location of the text.

It's localized both in English and in French.

The screensaver is here: CircleText

The source code is here:Code Source
bouarf.
     
Cowdog  (op)
Dedicated MacNNer
Join Date: Mar 2001
Location: [localhost:~]
Status: Offline
Reply With Quote
Jul 14, 2001, 12:27 AM
 
Hey good work.. looks great, only noticed two things..

I was able to rip the config sheet off the window ala the resize handle, not sure if thats a sheets bug or what

http://dpict.net/temp/circletest_sheetrip.jpg

and 2, looks like the circles run counterclockwise.. could that be a setting somewhere, do you think it would be better if that ran clockwise? suppose doesn't matter

Anyways I'm glad you worked on it, it should be fun looking at the pre and then the finished code, thanks.

Are you going to submit it to versiontracker? I think you should
moof. home of the quintuple edit.
     
Fresh-Faced Recruit
Join Date: Jul 2001
Status: Offline
Reply With Quote
Jul 14, 2001, 02:43 PM
 
Originally posted by Cowdog:
<STRONG>Hey good work.. looks great, only noticed two things..

...

Are you going to submit it to versiontracker? I think you should</STRONG>

Bug 1: it's a bug in Mac OS X. The Window manager has a lot of bugs like thisone. This also explains why when you resize a Open/Save Panel verticaly, it gets reiszed horizontaly too.

Bug 2: Well the original one is counterclockwise.


You can put it clockwise if you want, you just need to change the sign of the values in the glRotate code.

It has been submited to SoftTrack.
bouarf.
     
   
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 11:12 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