当前位置:网站首页>Cesium (4): the reason why gltf model is very dark after loading
Cesium (4): the reason why gltf model is very dark after loading
2022-07-07 16:29:00 【Touch】
1. edition
cesium 1.82.1
2. Effect of closing time on model brightness
viewer.scene.light = new Cesium.DirectionalLight({
direction: new Cesium.Cartesian3(0.354925, -0.890918, -0.283358)
})3. see gltf Model file
1、gltf The model file is opened with text , Open and view materials node , Take one of them as an example .
{
"doubleSided" : true,
"name" : "Material #2145370080",
"pbrMetallicRoughness" : {
"baseColorTexture" : {
"index" : 9
},
"metallicFactor" : 0,
"roughnessFactor" : 0.858578622341156
}
},among :
pbrMetallicRoughness: Specified based on metallic-roughness Material properties of the model ( Material properties that are not explicitly assigned will use the default values of the properties );
baseColorFactor: Including red , green , Blue and alpha composition , Constitute the basic color of the material ( The setting here is bright orange ).
metallicFactor: Used to specify the similarity between the reflection of the material and the metal .
roughnessFactor: Used to specify material roughness .
2、 Check materials Whether the material of the node has metallicFactor attribute ,metallicFactor The value of the 0-1 Between , The bigger the value is. , The darker the model .
边栏推荐
- SPI master RX time out interrupt
- torch. Numel action
- Apache Doris just "graduated": why should we pay attention to this kind of SQL data warehouse?
- How does laravel run composer dump autoload without emptying the classmap mapping relationship?
- Continuous creation depends on it!
- Xcode Revoke certificate
- 应用程序和matlab的通信方式
- 分步式監控平臺zabbix
- Statistical learning method -- perceptron
- Tidb cannot start after modifying the configuration file
猜你喜欢
![[Android -- data storage] use SQLite to store data](/img/f6/a4930276b3da25aad3ab1ae6f1cf49.png)
[Android -- data storage] use SQLite to store data

Multiplication in pytorch: mul (), multiply (), matmul (), mm (), MV (), dot ()

SysOM 案例解析:消失的内存都去哪了 !| 龙蜥技术

分步式監控平臺zabbix

spark调优(三):持久化减少二次查询

Statistical learning method -- perceptron

The unity vector rotates at a point

【Vulnhub靶场】THALES:1

Plate - forme de surveillance par étapes zabbix

记录Servlet学习时的一次乱码
随机推荐
PHP中exit,exit(0),exit(1),exit(‘0’),exit(‘1’),die,return的区别
Iptables only allows the specified IP address to access the specified port
The inevitable trend of the intelligent development of ankerui power grid is that microcomputer protection devices are used in power systems
The team of East China Normal University proposed the systematic molecular implementation of convolutional neural network with DNA regulation circuit
three. JS create cool snow effect
The unity vector rotates at a point
Usage of config in laravel
1亿单身男女“在线相亲”,撑起130亿IPO
iptables只允许指定ip地址访问指定端口
js中复选框checkbox如何判定为被选中
Balanced binary tree (AVL)
hellogolang
Bidding announcement: Fujian Rural Credit Union database audit system procurement project (re bidding)
通知Notification使用全解析
记一次项目的迁移过程
Continuous creation depends on it!
PHP has its own filtering and escape functions
全网“追杀”钟薛高
95.(cesium篇)cesium动态单体化-3D建筑物(楼栋)
谈谈 SAP iRPA Studio 创建的本地项目的云端部署问题