ricaun / dotbim.three.js

Convert dotbim file to three.js object
https://htmlpreview.github.io/?https://github.com/ricaun/dotbim.three.js/blob/master/index.html
MIT License
7 stars 4 forks source link

Update material transparency handling #3

Closed GitHubDragonFly closed 1 year ago

GitHubDragonFly commented 1 year ago
ricaun commented 1 year ago

Strange... That part of the code is really messy.

How did you create the min.js?

GitHubDragonFly commented 1 year ago

In VS Code I use a deprecated extension, see the attached picture.

It is deprecated only because it is not being maintained any longer but it works fine.

In VS Code, you would have to open a JS file and then you would see Minify option in the bottom left corner.

Minify

ricaun commented 1 year ago

Nice!

I updated how the color is applied in the geometry.

https://github.com/ricaun/dotbim.three.js/blob/develop/js/dotbim.three.js