-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
morphTo2D/3D/ColumbusView: uncaught RangeError in Cesium updateFrustums #319
Comments
@bagnell I've seen similar problems (not morphing though) where |
I have seen this as well while working in the |
@kring so it was a bug in the terrain code? The bounding sphere either needs to be properly defined or |
Yes, it was a bug in the terrain code at the time. |
Could have been the same bug I saw - about three weeks ago. |
I can duplicate the numFrustums = -1 exception by zooming way, way out. The calculation of numFrustums in Cesium.jar uses Math.log(far/near) and a very large near value and the configured far value results in a negative value for numFrustums. The exception mentioned previously can be avoided by checking for negative numFrustums before calling updateFrustums with an empty frustumCommandsList. This may just be a symptom. Is there configuration for limiting the zoom for the user? I cannot tell that near and far values are used for limits. This only happens in the extreme case where the zoom is so far out that the earth has completely disappeared. Our user will really have no reason to perform a zoom out to the Milky Way. (b11 - 12/03/2012) |
@Tomdavid There are |
That's when I see it, when I zoom way way out. I didn't know about the minimum/maximumZoomDistance, but wouldn't know off Thanks! On Tue, Dec 11, 2012 at 2:44 PM, Dan Bagnell notifications@github.comwrote:
|
@bagnell b11 does not have a CameraController (or the properties). Is that in a more recent release of Cesium or are you saying you have implemented the CameraController in your app? |
@Tomdavid The |
Ohhhh... :-) Sorry for jumping the gun and the confusion. On Tue, Dec 11, 2012 at 4:50 PM, Tomdavid notifications@github.com wrote:
|
@shentonfreude it will be in b12, which is expected in early January since we release monthly. Master is also considered very stable and many folks pull directly from there. |
@Tomdavid @shentonfreude Both crashes have been fixed and are in master. I'm going to close this. |
Using b10, and now a fresh clone at [86c3e4c] I'm seeing my app hang when I "morph" to a view.
This worked in my earlier clone, which was probably about b9. My tick() is simple:
It's failing here:
at this point, numFrustums is NaN so we get a RangeError: Invalid array length
Interestingly, the morph-free to3D(), to2D(), toColumbusView() calls work fine.
The text was updated successfully, but these errors were encountered: