Nov 25, 2010 at 12:23 PM
Edited Nov 25, 2010 at 12:24 PM
Hi Einar, here at SVS i'm trying to simplify the way our 3dobjects gets scaled.
Currently i calculate the maximal dimension from my 3dobjects and then
i divide all the vertices coordinates with this maximal dimension.
This results in standard sized 3dobject all with the size of 1, even though bridges, buildings and flightwings are not the same real world sizes !
But this evenly sized 3dobject is way to small when rendered to the screen.
Therefore i scale the 3dobjects with _geometry.Scale prop when loading the 3dobjects.
but calculating the Scale prop is a little messy because i use "anti aliasing" doing double game size with renderTransform = 0.5
a great trick i think :-)
but now the scale doesn't adjust correct anymore, resulting in half sized 3dobject
Would there be anyway to resize game without having to use scaling, considering my situation
where i always render standard sized 3dobjects ?