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

JPCT + Vuforia in stereo rendering mode

<< < (3/3)

thejauffre:
Sure.
In the archive there are two screenshots (their names are self-explanatory).
I got the "correct" one by scaling the modelview matrix along the x direction, but this is like cheating (in fact, if I rotate the marker, the object will be stretched)

EgonOlsen:
If you've played around with the fov settings...have you just changed fov or yfov as well?

thejauffre:
I changed both. X and Y FOV are set to PI/8.5 and PI/17 respectively. However, I'm noticing that changing them does not affect the rendering - which is strange. Maybe I messed up with something, gonna check it.


Edit: Ok, changing the values of the FOVs the rendering is not stretched anymore (i put fov=1, fovY = 0.55). Still, I need to decrease fovx to a smaller value (basing on some calculations, I need it to be around 20 degrees); setting it to values lower than the unit causes the deformation, no matter the value of fovY.

Edit2: "accidentally", i found the setFOVLimits method. Well, now I can set the FOVs as I like :D

EgonOlsen:
Yeah, sorry about that method. I should have mentioned it and I really can't remember why I put that in...

Navigation

[0] Message Index

[*] Previous page

Go to full version