Post

Replies

Boosts

Views

Activity

Reply to Creating an offline georeferenced 3D world map
I have a couple of apps that do something like this; you may even have seen them. If your experience with 3D graphics is limited then using a game engine (i.e. Unity) is likely to be a good choice. If you have specific questions about that (i.e. "I can't find a way how to use them with offline data") then asking on their mailing lists / forums is the thing to do. (My apps don't do that; I'm a do-it-all-myself-from-scratch sort of person, for better or worse.) One thing to worry about is numerical precision. What is your minimum feature size? Generally GPUs use single-precision floats. When you're modelling the whole world that can get a bit tight. Think about that before you go too far. Something else to think about is map projections. If you don't care about the polar regions, this isn't too difficult. If it's important that you get Antarctica right then some extra work is needed. If in doubt, I suggest using spherical geocentric 3D coordinates. DEM data compresses quite well with JXL; gdal may not support that yet though. You could store the whole globe on an iPad, at some medium resolution. More realistically, store the whole globe at low resolution and a few areas that you are interested in at a higher resolution. Good luck!
Topic: Programming Languages SubTopic: Swift Tags:
Aug ’23
Reply to TestFlight testers status is blank
Yesterday, half of my testers showed status of "-" and had lost the count of sessions. Now, that External Testers group has completely disappeared. In fact there is no longer an "External Testers" section in the left column of the screen. However I do have "All Testers" under "General Information" where I can see everyone, with the correct status and number of sessions etc. Possibly related: initially I didn't have "External Testers". A random stack-overflow post told me that "External Testers" only appears once you have created an Internal Testers group. So I created an empty internal testers group, then created an external testers group, then removed the internal group. I reported this as bug FB12769342, but Apple say it is the intended behaviour (*). That was all about three weeks ago. It was OK until today; now I can't see "External Testers" again. Maybe I shouldn't have deleted the empty internal testers group. Do others whose status is showing "-" find that the correct info is shown in "All Testers"? (*) I'm a one-person business. The idea of having "internal beta testers" using TestFlight before moving on to an external beta test may seem sensible if you're a business the size of Apple, but I'm sure it's not how most of us work!
Aug ’23
Reply to Error in C++ Compilation
If you search the forum for nullptr_t you'll find some previous similar reports. They seemed to be due to peculiarities in the user's environment. Did you, perhaps, have some previous error and then set some environment variables to "fix" it ? Look for Eskimo's posts on how to debug. And BTW, "post the exact command" means copy and paste exactly what you did from the terminal into a post here, not writing "I just used CMakefile".
Topic: App & System Services SubTopic: Drivers Tags:
Aug ’23
Reply to Core Audio: sine wave gets distorted over time
r32 t = 2.f * PI32 * (r32) soundState->runningSampleCount / framesPerCycle; r32 sineValue = sinf(t); …. soundState->runningSampleCount++; What is r32? Does runningSampleCount ever return to 0, or does it just keep increasing forever? I suspect that you are relying on sin(largenumber) == sin(largenumber mod 2pi), which is only approximately true. If runningSampleCount and framesPerCylce are both integers, try this: t = 2pi * (double)(runningSampleCount % framesPerCycle) / framesPerCycle
Topic: Media Technologies SubTopic: Audio Tags:
Aug ’23
Reply to Inquiry about the Deprecation Date of verifyReceipt and Pre-announcement
Nothing has been announced; we don't know. You could look at previous deprecations to see if there is a pattern. Looking only at online services, i.e. not on-device SDK APIs, Apple have generally announced the removal dates straight away and they have been quit short periods (examples: IAP hosted content, XML App Store API). So it's actually unusual for them to announce a deprecation without a removal date. Are you calling verifyReceipt directly from your app, or from your server?
Topic: App & System Services SubTopic: StoreKit Tags:
Aug ’23