Subject:
|
Re: rotating models in MBC 0.4.1d Cocoa
|
Newsgroups:
|
lugnet.cad.dev.mac
|
Date:
|
Fri, 25 Jul 2003 21:50:22 GMT
|
Viewed:
|
1698 times
|
| |
| |
> My intention is to move this timing routine into the render instance and see if
> that averts the problem. An exercise for tonight - I'll let you know how I go.
As an update to this comment, I have now placed the glFinish() command and the
timing loop into the render instance, and now I get correct behavior.
It's clear that Cocoa creates a new thread for each instance, therefore as
guessed before, using on instance to time the operation of another is not going
to work without synchronising the two instances.
PS Chris, I have also fixed the incorrect drawing of Electric Train Motor, I
know whats causing the crash when a "New File" is selected, but fixing the bug
is proving more diffucult. Will post an update when this is solved.
Andrew...
|
|
Message has 1 Reply:
Message is in Reply To:
| | Re: rotating models in MBC 0.4.1d Cocoa
|
| Travis, To date I have used this apporach in both C and Objective-C: The mouse drag subroutine on the first loop through saves the current system time in a global variable. An event is then sent to initiate redrawing of the model. The the model is (...) (21 years ago, 23-Jul-03, to lugnet.cad.dev.mac)
|
7 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
This Message and its Replies on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|