a sine function is not more dynamic than a lookup table.
A simple subtraction * 100,000 (or more) = added CPU cycles and overhead.
the basic DC or DSA uses a left-top-origin surface.
when you have a SetOrigin command, it will be within a Framework, and the overhead will be in the framework.
what do you think the framework will do when you have a SetOrigin command?
it will add a subtraction for every plot within the command.
better keep it in your own code where you have control over the amount of "overhead".
it's just...
why worry about the overhead of having one or two subtractions per element,
but not worry about using a big fat framework that may eat performance like a Mafiaboss eats noodles?
this is simply the wrong way round!
when you don't need to worry about the big fat framework, just don't care about the tiny billion subtractions either.
it will be the smaller problem. promise.
>> PS, Sorry if that last post sounds shirty on re-reading. It's late, I'm tired and probably not at my diplomatic best!
no problem. I take it easy.
PS:
after having thought it over a bit...
it
can be the fastest way to use OGRE, when you use it the right way.
not because it avoids a billion subtractions (it won't),
but because it accesses the modern graphics hardware the best way.
nowadays, the whole 3D stuff is Hardcoded into the Grafix Cards.
using 2D stuff is just an emulation build upon 3D internals, so it isn't any longer fast as it could be.
using a 2D surface already wastes a lot of power into a transforming framework.
best choice would perhaps be coding everything in openGL directly.
oh... and have a nice day.