Perlin Noise questions 2004-01-23 - By brubaw@(protected)
Back On Fri, 23 Jan 2004, Thomas Williams wrote: > 1) You chose to use flash for your math computation because Flash has > bitwise operations. I assume you did this for the speed increase that > bitwise operations allow (accessing binary is faster). Director cannot > do this, without the aid of an Xtra, is that correct?
Nope, Director has built-in functions for most of the bitwise operations: bitAnd(), bitNot(), bitOr(), bitXor().
Bit shifts can be done by multiplying or dividing by powers of 2.
> Is this technique recommended for speedier loop intensive mehtods, > especially imaging lingo setpixel() processing? In this case, is flash > actually faster than Director?
I haven't done speed comparisons, but I'd be mildly surprised if Flash were faster.
-- Bill
__ ____ ____ ____ ____ ____ ____ ____ ____ ____ Dir3d-l mailing list Dir3d-l@(protected) http://nuttybar.drama.uga.edu/mailman/listinfo/dir3d-l
|
|