I'm trying to understand the interpolated version of GKNoiseMap's valueAtPosition, but it's giving me an exceedingly hard time.When I set up a Noise Map to sampla with a size (1,1) starting at (0,0) using 256 samples, I can get the value of the sample with valueAtPosition.Now, however, I want to sample the values in-between (imaginge I'm walking between the sample points and the value represents the height of the floor). The documentation is quite explicit: I am to sample the position which is to be between the origin and size (not samplesize) - in my case the position must be between (0..1), (0..1). But no matter what I do, all values return -1.So, I though, mabe the docs are wrong, and I need to use positional values (floats) in the range of 0..sampleSize. But no, all I receive is -1 as values, with a few exceptions.So clearly I'm doing something wrong. What is the correct way to use interpolatedValueAtPosition?Thanks for anyhelp.
Post
Replies
Boosts
Views
Activity
Hi, I just moved my dev system from my old to my brand new Mac (yay!) by the sheer expedience of connecting and booting from the external drive that this system is on. I now tried to validate a Mac app for submission to the MAS, onyl to be told that (I removed the bundle in the message below for brevity)"iTunes Store operation failed.Unable to process application at this time due to the following error: Invalid Provisioning Profile Signature. Thre provisioning profile included in the bundle <removed> cannot be used to submit apps to the Mac App Store until it has a valid signature from Apple. For more information, visit the Mac OS Developer Portal.. (yup, two periods at the end)"Now, I'm aware that since the last time I successfully validated an app on the old mac (feb 6th) and now, we've also crossed the Feb 14 magic certificate line, so this may contribute to the issue.Can anyone tell me what I need to do to get my new Mac to validate my apps successfully? I can't make heads nor tails from the error message and don't understand why this suddenly doesn't work any more.Thanks for any help,-ch