Materials lost during output
Successfully parsed plm-sample_11072013.rvm Successfully parsed plm-sample_11072013.att [W] Unrecognized material id 271 [W] Unrecognized material id 101 [W] Unrecognized material id 327 [W] Unrecognized material id 158 [W] Unrecognized material id 68 [W] Unrecognized material id 322 [W] Unrecognized material id 307 [W] Unrecognized material id 160 [W] Unrecognized material id 127 [I] Matched 42944 of 106249 anchors (257ms). [I] 9982 connected components in 20277 circular connections (11ms). [I] Discarded 27961 caps. [I] Tessellated 48051 items of 48051 into 1357146 vertices and 918268 triangles (tol=0.050000, 26665k, 492ms) [I] Exported json into plm-sample.json (172ms) [I] Exported obj into plm-sample(.obj|.mtl) (9553ms) [I] exportGLTF: rotate-z-to-y=1 center=0 attributes=1 [I] exportGLTF: Successfully wrote plm-sample.glb (64772 KB) [I] exportGLTF: Wrote plm-sample.glb [I] Exported gltf in 1274ms
Many materials lost, only a few left. Why dows this happen?
Material ids are mapped to color and I don't know which color that these ids represent.
The current list of colors are:
https://github.com/cdyk/rvmparser/blob/de6df5c692561b88e86dc53b7274b8498f6f91b1/src/Colorizer.cpp#L14
The material ids are not lost (they are kept in the internal database), but they don't colorize the output.
Is there any way to obtain the values of the original material color?
@AOCGmutong Do you have a small sample file where this happens ?