I have code that will create bezier curves from a set of points. I am trying to come up with a low cost way of displaying them in-game. I have tried using a line renderer but it is slow when you smooth out the line too much. This needs to work on an iPhone.
I did a search and came across vectrosity, but I would prefer something in-house. Does anyone have any tips or suggestions to help put me on the right path? By the way I am working with the iOS basic licence. Thanks
Do you need to be able to update the control points (and therefore the visual representation) continually? Or would it be acceptable to build the representation once at start-up?
Yeah. The idea is very similar to the paths drawn in the game Flight Control for the iOS where the user will draw a path, my code will smooth it out and then the visual representation will need to change.
I spent quite a bit of time making sure Vectrosity is as lean and mean as possible, plus you get the source code, so it’s not a black box and you can save a few KB by deleting functions you’re not using.
–Eric
It is something I am seriously considering since I know Vectrosity can do more than just that, but I wanted the community’s take on it before I throw money at it.