won3d
won3d
Instead of `if (this.first) {}` can't you set it up when the positions get initialized? I'd save the Verlet stuff for later if it gives you any trouble. Semi-implicit Euler...
It looks like the "a" in that equation isn't acceleration but axis-length (aka radius)?
Oh I see, yeah that makes sense! I don't think I ever thought to do it this way, even though in retrospect this is clearly the right way to do...
Sorry, @alteredq, I set up my github and everything with the intent of getting things merged, but for some reason work expects me to...do work. In any case, I think...
If you are willing to do some jiggery-pokery to pack multiple values into a single floating-point render target, then you can do deferred rendering without a huge hit. If you...
tl;dr: there's a potential workaround by fudging decodeOffsets. @mrdoob Thanks for cc-ing me! @user972611 Yeah, so there's a bug in the float quantization, where things can be off by half...
@repsac Is there any chance I could get a sample? That obj2utf8 performance sounds pretty atrocious. Anyway, IIRC without the OBJ having normals, the encoder will assume you didn't want...
@repsac It happens I will have time tomorrow to take a look at this.
@repsac Well, thanks for the sample, it was very helpful. I'm actually working on something that hopefully will replace the old compression stuff, and this test case already shook out...
I would recommend the classic and venerable JSMin, which I think does exactly what you want. http://www.crockford.com/javascript/jsmin.html