BRL-CAD / OGV-meteor

Port of BRL-CAD's OGV to meteor
BSD 3-Clause "New" or "Revised" License
16 stars 26 forks source link

Updating to Three.js (r103) & Meteor.js (1.8.1) #88

Closed quentinpaden closed 5 years ago

quentinpaden commented 5 years ago

Upgrading OGV to Three.js R103 (latest) and Meteor 1.8.1 (latest)

Screen Shot 2019-04-08 at 2 34 04 AM

(1,996,349 Vertices)

(698,843 Trianges)

Testing the updated Three.js and Meteor.js was a success! The Online Geometry Viewer can really load in very high poly models.

TROUBLESHOOTING

Updating Meteor to 1.8.1 (latest) worked but upgrading just to 1.6.1 was giving me a lot of trouble on my Mac Air.

I suspect it may of been because I needed to restart the Mongo server after updating to 1.6.1 through command line, restarting the network, IDE, or even my Mac.

I opted into actually updating Meteor to the 1.8.1 (latest) and it started working again. I can definitely submit another PR with only 1.6.1 with Three.js R103 and not 1.8.1 with Three.js R103 if that's the version that needs to be targeted.

With these updates models load nicely. I will definitely try to upload different geometry to further test the OGV and report other issues seen.

(https://github.com/mrdoob/three.js/releases) (https://github.com/meteor/meteor/releases)

At some point I think OGV should utilize the updated Three.js Loaders for 3D files such as FBX, GLB, and COLLADA to further expand advanced preview capabilities.