how do I get the tile dimensions into my code? I found
this post which has a method for determining the width of a tile, but it uses variables like "Page Size" and "Tile Size", and I don't know how to get those values (unless I hardcode them, which I'd like to avoid if possible)
I see in OgrePagingLandscapeOptions.h that there is a TileSize variable stored, but it doesn't seem like getOption has a clause to return it. Is this something I would have to add myself & recompile, or am I daftly out of the loop?
Also
this page in the wiki doesn't seem to indicate the same things...is it out of date, or am I?
Furthermore when I do this to get ScaleX:
int scalex;
sceneMgr->getOption("ScaleX", &scalex);
LogManager::getSingleton().logMessage("ScaleX is " + StringConverter::toString(scalex));
it logs this:
ScaleX is 1099717075
yet in my cfg file I have ScaleX defined as 9000? What's the discrepancy?
Ah I was trying to get ScaleX with an int, I switched to a Real and found out that ScaleX * PageSize = the ScaleX I specified in the cfg file, which I think means ScaleX is the x distance between vertices in a page.
I guess I don't actually have any questions, then...!