Is there any way that change the node of loaded model's transparency and other properties.

I found the node's runtimeNode property in which I can modify some of the properties of the node.

But if I want to set a node alpha, for example, 0.5, what should I do.

I found the mesh bounding to the node. And in mesh materials uniformmap values diffuse value context alphabits and clearcolor alpha.

I don't know what these two stand for. And the alpha in clearColor can't be changed while the alphabis property can, but takes no effect. I tried viewer.render(). Still nothing happened.

So what's the right way to do that, and what's the CORRECT to modify nodes of models in runtime?

These are the values I mentioned.

Hello,

This is something we plan on adding, but it’s not currently part of Cesium. We have a GitHub issue written up here: https://github.com/AnalyticalGraphicsInc/cesium/issues/2387

Best,

Hannah

So does this mean we can’t modify the material of rendered meshes in the latest version. The method highlighting nodes mentioned in issue #2387 is useful but may cost much more if the model is very large.

在 2016年7月14日星期四 UTC+8下午10:09:02,Hannah Pinkos写道:

That’s correct. You can try using ModelMaterial.setValue, but this will change the material for every node that is using that material. We have to make some significant changes to the way we load glTF models in order to support changing the material for just a single node.

-Hannah

I read all these issuses.
https://github.com/KhronosGroup/glTF/issues/401

https://github.com/AnalyticalGraphicsInc/cesium/issues/1754

https://github.com/AnalyticalGraphicsInc/gltf-pipeline/pull/42

Dose it mean that this is solved by putting my gltf files into gltf-pipline and get the new gltf files?

在 2016年7月14日星期四 UTC+8下午11:37:58,Hannah Pinkos写道:

And what dose ‘global node transform’ mean in the gltf overview?(https://i.imgur.com/F7ykzFi.png)

在 2016年7月14日星期四 UTC+8下午11:37:58,Hannah Pinkos写道: