You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Today I updated gltf-pipeline, and noticed that the way we add the changes to Cesium are:
run npm build-cesium in gltf-pipeline (Not sure everything this build step does, but it does take some Node.js code involving Buffer and adapts it for the browser according to @lilleyse )
copy the output files into Source/ThirdParty/GltfPipeline
commit the changes
Could this workflow be changed to use npm instead? e.g. release gltf-pipeline and then npm install in cesium?
The text was updated successfully, but these errors were encountered:
Not sure everything this build step does, but it does take some Node.js code involving Buffer and adapts it for the browser according to @lilleyse
It's actually simpler than that. It only packages certain files that are needed in CesiumJS and skips files that use Buffer and other Node concepts. So there's no browserify or rollup going on. That's a separate discussion: CesiumGS/gltf-pipeline#332.
@ebogo1 this is related to #9473
Today I updated
gltf-pipeline
, and noticed that the way we add the changes to Cesium are:npm build-cesium
ingltf-pipeline
(Not sure everything this build step does, but it does take some Node.js code involvingBuffer
and adapts it for the browser according to @lilleyse )Source/ThirdParty/GltfPipeline
Could this workflow be changed to use
npm
instead? e.g. releasegltf-pipeline
and thennpm install
incesium
?The text was updated successfully, but these errors were encountered: