To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.dev.macOpen lugnet.cad.dev.mac in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / Development / Macintosh / 453
  rotating models in MBC 0.4.1d Cocoa
 
Andrew, I downloaded SnapzPro so I could show you what was happening when I tried to rotate a model using MBC 0.4.1d. (URL) What seems to happen is that during the rotation my computer decides to try to render the whole model instead of continuing (...) (21 years ago, 22-Jul-03, to lugnet.cad.dev.mac)
 
  Re: rotating models in MBC 0.4.1d Cocoa
 
(...) This is a problem I've been wrestling with since I commenced with Objective-C. Normally to engage slow drawing mode what I do is I time the redraw operation by using glFinish(). This command is supposed to prevent the application from (...) (21 years ago, 23-Jul-03, to lugnet.cad.dev.mac)
 
  Re: rotating models in MBC 0.4.1d Cocoa
 
(...) I'm not sure I completely understand the above. What are you timing? If you are just timing how long the glFinish takes, then a change in its behavior might not be indicative of a bug in the new OpenGL drivers. And if you time how long you (...) (21 years ago, 23-Jul-03, to lugnet.cad.dev.mac)
 
  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)
 
  Re: rotating models in MBC 0.4.1d Cocoa
 
(...) 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, (...) (21 years ago, 25-Jul-03, to lugnet.cad.dev.mac)
 
  Re: rotating models in MBC 0.4.1d Cocoa
 
(...) Sounds like the next release it going to be a good one! Out of curiosity, is there a bug in the train motor part? Chris (21 years ago, 26-Jul-03, to lugnet.cad.dev.mac)
 
  Re: rotating models in MBC 0.4.1d Cocoa
 
(...) Chris, Unfortunately the answer isn't necessarily simple. In the parts files included with Brickdraw 3d, I found an error in part 590 (Train Engine). At least one of the Type-2 lines is corrupted. However, I didn't notice the error in the file (...) (21 years ago, 31-Jul-03, to lugnet.cad.dev.mac)

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR