C/C++ Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsProgrammingC/C++ Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old April 15th, 2005, 05:52 AM
luthias luthias is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Apr 2005
Posts: 1 luthias User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 25 m 11 sec
Reputation Power: 0
glut + threads

I'm trying to create a small splash screen with glut that displays while the application is loading textures/objects/etc and then destroy the splash window and create a new main window that contains all the 3d objects.

Obviously, I need to create a new thread to do the loading otherwise the splash window does nothing.

I'm trying to keep this as cross platform as possible, hence the use of glut. I've tried playing with the pthreads-win32 (which would let me use normal posix threads on *nix) but I was having a nightmare with static functions etc.

If anyone has any suggestions for an alternative, or perhaps experience with posix threads under w32, i'd be most grateful for any advice. All I want to do with the thread is run one function which loads everything.

Thank you for any help you can give!

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingC/C++ Help > glut + threads


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway