Skip to content

Conversation

@Mugen87
Copy link
Collaborator

@Mugen87 Mugen87 commented Nov 30, 2020

Related issue: Fixed #19817

Description

  • Ensures material groups are correctly parsed. Right now, the loader only picks the first material definition.
  • shininess and transparency are now correctly parsed as percentage values.
  • transparency is now correctly translated to opacity.

@tentone I would appreciate a review here 😊 .

@tentone
Copy link
Contributor

tentone commented Nov 30, 2020

Everything seems to be right, the file seems to load correctly with all materials now.

The percentage read method should also solve the problem with the different encoding of percentage values.

Looks great! Nice work.

@mrdoob mrdoob added this to the r124 milestone Nov 30, 2020
@mrdoob mrdoob merged commit d40dbbd into mrdoob:dev Nov 30, 2020
@mrdoob
Copy link
Owner

mrdoob commented Nov 30, 2020

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

A material bug with TDSLoader

3 participants