tcobbs/ldview

Material properties seem to be applied to non-colour-16 parts in a type-1 line

Closed this issue · 1 comments

Title's probably not too clear, sorry. I've tested with LDView 4.4.1 on Win64.

The issue can be seen if you load the following code:

0 FILE main.ldr
1 60 0 0 0 1 0 0 0 1 0 0 0 1 subModel-1.ldr
0 FILE subModel-1.ldr
1 0 0 0 0 1 0 0 0 1 0 0 0 1 22969a.dat

LDView should be configured with specular highlighting enabled.

The submodel contains a single part in black. The main model contains a reference to the submodel with a metallic colour selected. Obviously this should have no effect, since there are no colour-16 parts in the submodel. But while the colour of the submodel is unaffected, the material properties of the metallic colour are apparently applied to the render, and it displays with metallic specular highlighting...

sample1

Thanks for the report. I tracked down the source of the problem and committed a fix: c134e40

This fix will be in the next release.