As part of my preparations for AU, I’ve been extending this Three.js integration sample to make it more responsive to model changes: I went ahead and implemented event handlers in .NET – much as we saw in the last post – to send interaction information through to JavaScript so that it can update the HTML palette view.
The code is in pretty good shape, but I still need to decide whether to post it separately or with the other JavaScript samples I’m working on (I’ll also be showing Paper.js and Isomer integrations during my AU talk, as well as a special demo bringing ShapeShifter models into AutoCAD).
In the meantime, here’s a screencast of the Three.js updated integration in action.
My apologies for the sound quality: I’ve managed to lose my external mic and my new MacBook’s internal one pics up a lot of noise from the fan, once it gets going.
Also, if the command-list provided by Screencast is getting in the way, if you go to full-screen mode it should be easier to see what’s going on.