Regression with standard materials
See original GitHub issueDear all, I am encoutering a problem with the latest preview version of Babylon, I am creating standard materials using the following code (As GLTF1Loader) :
var result = new BABYLON.StandardMaterial(material.name || "mat" + material.index,loader._babylonScene);
result.sideOrientation = BABYLON.Material.CounterClockWiseSideOrientation;
if (properties.technique === "CONSTANT") {
result.disableLighting = true;
}
result.backFaceCulling = properties.doubleSided === undefined ? false : !properties.doubleSided;
result.alpha = properties.values.transparency === undefined ? 1.0 : (1.0 - properties.values.transparency);
result.specularPower = properties.values.shininess === undefined ? 0.0 : properties.values.shininess;
result.ambientColor = BABYLON.Color3.FromArray(properties.values.ambient || [0, 0, 0]);
result.diffuseColor = BABYLON.Color3.FromArray(properties.values.diffuse || [0, 0, 0]);
result.emissiveColor = BABYLON.Color3.FromArray(properties.values.emission || [0, 0, 0]);
result.specularColor = BABYLON.Color3.FromArray(properties.values.specular || [0, 0, 0]);
return result;
The materials look wrong (There is transparency, flickering…). That issue have been solved in a previous release but It appeared again. Any idea? Thanks,
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Multiple regression model for identification of material ...
IOP Conference Series: Materials Science and Engineering ... of a substance and a reagent, and then compared with a standard color chart to...
Read more >Using Regression Analysis for Automated Material ...
The proposed method is based on the comprehensive use of normalization and probability approaches and the linear regression procedure formulated in a matrix ......
Read more >Simple Linear Regression
- xi values that are quite spread out = estimator with a low standard error. - xi all close to one another =...
Read more >Linear Regression
The dependent variable Y has a linear relationship to the independent variable X. · For each value of X, the probability distribution of...
Read more >Regression Analysis – Riskprep
The standard error can be used to calculate confidence intervals around an estimate provided by our regression model, because using this we can ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
So it is fixed:)
It is…😃 it is the preview of the upcoming release while the dist folder contains the current immutable release