www.jpct.net
jPCT-AE - a 3d engine for Android => Support => Topic started by: kiffa on November 06, 2013, 06:34:35 am
-
I found there is only a Object3D.scale(); Are there some methods like scaleX()\scaleY()\scaleZ()... etc?
-
No. You can do it by tweaking the rotation matrix directly, but that will also have an influence on an objects normals whichight lead to strange lighting.
-
what about scaling the object with an IVertexController? will it also suffer from ligting artifacts? unless of course normals are re-calculated.
-
what about scaling the object with an IVertexController? will it also suffer from ligting artifacts? unless of course normals are re-calculated.
That should work more or less, because the normals don't scale in that case.