Closed as not planned
Description
Description
This is a follow up for an old issue (#26553) that was already closed but seems to be still having problems on r162
As the guy in the original issue reports, problem seems to be with PMX files. Every PMX model I loaded had washed out colors, so I tried to test this by using another renderer as a sanity check.
Using a C++ renderer from here: https://github.com/benikabocha/saba
I get this:
As requested last time, I uploaded the PMX model here in order to make any possible debugging easier:
https://drive.google.com/file/d/1NCDDCUkThV_PCZtsXpZ81rMzChUpi9Q1/view?usp=sharing
Reproduction steps
- Load MMD Loader
- Import a pmx model
Code
import * as THREE from "three";
import { GUI } from "three/addons/libs/lil-gui.module.min.js";
import { OutlineEffect } from "three/addons/effects/OutlineEffect.js";
import { MMDLoader } from "three/addons/loaders/MMDLoader.js";
import { MMDAnimationHelper } from "three/addons/animation/MMDAnimationHelper.js";
import { OrbitControls } from "three/addons/controls/OrbitControls.js";
const modelFile = "models/mmd/cat_girl/ヨッシー式ラインクラフト.pmx";
helper = new MMDAnimationHelper();
const loader = new MMDLoader();
loader.load(
modelFile,
function (object) {
mesh = object;
console.log(mesh);
mesh.position.y = -10;
scene.add(mesh);
initGui();
},
onProgress,
null
);
Live example
No live example
Screenshots
Version
r162
Device
Desktop
Browser
Firefox
OS
MacOS
Activity