Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - colens

Pages: [1]
Support / Limitation on world coordinates
« on: September 11, 2017, 06:47:53 pm »
I am using JPCT AE in an app that draws a vehicle path as series of polygons. I get longitude/latitude coordinates from gps and transform them into coordinates in XZ plane of JPCT AE world. In my case Y is always 0. It seems that x and z coordinates are limited to about +-32000. When I draw a polygon whose coordinates exceed this limit , although the camera  position and focal point (with lookAt()) are correctly set, polygon is not drawn. On the other hand,  when polygon and camera are inside these bounds everything works as expected.
I tried to find any information about this issue, but  I couldn't. Please help.

Pages: [1]