jPCT-AE - a 3d engine for Android > Support

integrating JPCT-ae with QCAR(vuforia)

<< < (2/3) > >>

EgonOlsen:
Try to take these translation and apply it to the object via translate(...).

MrYogi:
sorry i can't get you,which translation?
and exactly what matrix is needed to draw model ?Rotaional,model or view matrix? and what is the role of FOV ?

EgonOlsen:
The elements that you removed from the matrix are the translation. In jPCT, you give the rotation and the translation. These two combined are basically are the model matrix. The same applies to the camera, where the form the view matrix. Both combined are the model view matrix.
Fov is the field of view. It's not related to the model view matrix but defines how wide/narrow your view is.

MrYogi:
so what operation should be done on  translation values of default matrix ?

EgonOlsen:
Remove them from the matrix and feed them into translate() (maybe after some required transformation between spaces).

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version