Just a follow up note here since I’m still working on my CZM cones.
The Complex Conic sample app in the Sandbox has never displayed for me. It always causes the WebGL Canvas to lock up, whether I’m using Chrome or Firefox. I got around that by using CustomSensorVolumes when I was toying around with the JS API, they work fine. But now that I’m transitioning to CZM, I’m back to using ComplexConics (this appears to be what the ConeCesiumWriter uses.)
I finally got a stack trace for the lock up, it takes several minutes before the browser finally gives up trying to do whatever it’s doing and spits out this:
[GL] Shader program
link log: (3312,19): warning X3206: implicit truncation of vector type
(3313,21): warning
X3206: implicit truncation of vector type
(3314,23): warning
X3206: implicit truncation of vector type
(1198,25): warning
X3550: array reference cannot be used as an l-value; not natively addressable,
forcing loop to unroll
(1190,25): warning
X3550: array reference cannot be used as an l-value; not natively addressable,
forcing loop to unroll
(1340,21): warning
X3550: array reference cannot be used as an l-value; not natively addressable,
forcing loop to unroll
(3027,6): warning
X3565: loop simulation finished early, use /O1 or above for potentially better
codegen
(3046,6): warning
X3565: loop simulation finished early, use /O1 or above for potentially better
codegen
(2855,6): error
X3507: ‘_ellipsoidSensorIntersection’: Not all control paths return a value
:8080/Source/Renderer/ShaderProgram.js:1760
Uncaught
# :8080/Source/Renderer/ShaderProgram.js:1761
createAndLinkProgram
:8080/Source/Renderer/ShaderProgram.js:1761
ShaderProgram
:8080/Source/Renderer/ShaderProgram.js:1863
Context.createShaderProgram
:8080/Source/Renderer/Context.js:1119
ShaderCache.getShaderProgram
:8080/Source/Renderer/ShaderCache.js:38
ComplexConicSensorVolume.update
:8080/Source/Scene/ComplexConicSensorVolume.js:378
CompositePrimitive.update
:8080/Source/Scene/CompositePrimitive.js:400
Scene._update
:8080/Source/Scene/Scene.js:170
Scene.render
:8080/Source/Scene/Scene.js:181
declare.render
:8080/Apps/DojoWidgets/CesiumWidget.js:317
hitch
:8080/ThirdParty/dojo-release-1.7.2-src/dojo/_base/lang.js:15
I also get the subsequent message ‘drawArguments.shaderProgram is required’ as the tick() function continues to execute.
I’m up to date on my graphics drivers and Google Chrome on the machine that I got the error on. I’m not up to date on either on the other machine I’m working on, but experience the same behavior. I’m currently running Windows XP, though I experienced the same thing on Windows 7 (albeit with outdated graphics drivers.) Do ComplexConics cause this problem for anyone else? I’m going to try and use the WebGLInspector tomorrow but I can’t download it from where I’m at right now. Right now I’m comparing ComplexConicSensorVolume and CustomConicSensorVolume to see if I can spot a problem…
Eric