Path: utzoo!utgpu!watmath!iuvax!mailrus!tut.cis.ohio-state.edu!apple3.cis.ohio-state.edu!mark
From: mark@apple3.cis.ohio-state.edu (Mark Jansen)
Newsgroups: comp.sys.next
Subject: help requested with finishing touches on animation program
Message-ID: <57670@tut.cis.ohio-state.edu>
Date: 16 Aug 89 05:37:14 GMT
Organization: Ohio State University Computer and Information Science
Lines: 52

Hello, I have been programming an animation sequencer programmer on the
Next machine using release version 0.9.  I can now draw images into bitmaps 
or onto a window and transfer bitmaps to and from files.  I realize that the
answers to some of the following questions may be somwhere in the technical 
manual set or in some example codes but I could use some help finding the
right places or the right answers.

1) I am using the bitmap method composite:toPoint: and trying to seqeuence
	thru a series of bitmaps onto a window but I am getting blocking 
	of those composites into very fast sequences of images that then
	hesitate.  I would prefer, a smoother animation and am aware of the
	animation timer method found in the example BreakApp.  Will that 
	method smooth it out.  Am I using the wrong flushing mechanism
	to composite the bitmaps to screen?  What would be the proper one?
	By the way, the bitmaps are currently 256 by 256, what is the
	aspect ratio of the Megadisplay.

2) I draw to both window directly and to bitmap, yet when I composite from
	bitmap to window the y axis is reversed running from the upper
	left corner rather then the lower left corner, yet I draw with the
	same code.  Thats curious. Less curious but still to fix is that
	the text letters printed using postscript are also reversed and
	look correct only in the upsidedown bitmap. I assume that in some
	way I should be flipping the axis but where?

3) To draw the bitmap to screen I find when it is inverted it is also 
	clipping off the top part as if it was drawing to window and not 
	to the content view. Should I pad for known boundaries and/or 
	can I compensate for this so I see it all.

4) My application has three windows.  One of which I want to resize upon
	initialization.  I have an init() function I call from either a 
	button press or from my application method new+.  Yet their behavior
	is very different.  When done from new, nothing seems to happen.
	What am I doing wrong here?

5) When I was using Interface Builder I found that I needed more or less
	outlets and action/target routines after my initial creation of 
	the project file. I realize that the dreaded UNPARSE button can
	only be pressed once but it would seem that there should be ways
	to add more outlets and action/targets within IB.  Is there?
	If not, I assume correct programming practice would be to make a
	messa outlets and target methods and save em for a rainy day.

Any help on this will be appreciated, Thanks,

	Mark

-=-
Mark Jansen, Department of Computer and Information Science
The Ohio State University; 2036 Neil Ave., Columbus, OH USA 43210-1277
mark@cis.ohio-state.edu