Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Reducing part complexity
Post: Reducing part complexity

hey all, now that I have a working JavaScript .dat to .obj converter for using LEGO parts in a WebGL context, I was wondering whether anyone had already tried implementing a complexity reduction al...
Mike "Pomax" Kamermans LDraw File Processing and Conversion 5 6,737 2013-01-02, 18:50
    Thread: A JavaScript .dat to .obj converter, for use online
Post: A JavaScript .dat to .obj converter, for use onlin...

Hi all, I wrote a JavaScript .dat to .obj converter for use online with things like cubicvr.js and other WebGL rendering libraries - it's free to use, with the source code on https://github.com/Pom...
Mike "Pomax" Kamermans LDraw File Processing and Conversion 0 7,788 2012-12-31, 20:42
    Thread: Writing .dat to .obj converter in JS, but having BFC problems
Post: Re: Writing .dat to .obj converter in JS, but havi...

Yeah, with the negative determinant rule in there things work a treat. I stuck my code on https://github.com/Pomax/WebGLdraw for anyone that's interested, and I'll make a new post for it it's not lost...
Mike "Pomax" Kamermans LDraw File Processing and Conversion 7 9,371 2012-12-31, 20:39
    Thread: Writing .dat to .obj converter in JS, but having BFC problems
Post: Re: Writing .dat to .obj converter in JS, but havi...

ah, negative determinant I can work with! Not too bothered about the compound inverse, since I'm dealing with that already anyway for flipping based on clockwise/counterclockwise winding. Another bool...
Mike "Pomax" Kamermans LDraw File Processing and Conversion 7 9,371 2012-12-30, 22:57
    Thread: Writing .dat to .obj converter in JS, but having BFC problems
Post: Re: Writing .dat to .obj converter in JS, but havi...

quite possibly, and then the question is "how can I tell from the RT matrix whether or not it'll invert the face?" I'm not the greatest at 3d matrices (it's been a long time since I worked with them) ...
Mike "Pomax" Kamermans LDraw File Processing and Conversion 7 9,371 2012-12-30, 20:43
    Thread: Writing .dat to .obj converter in JS, but having BFC problems
Post: Writing .dat to .obj converter in JS, but having B...

I'm writing a .dat to .obj converter in JavaScript so I can do LEGO modelling using WebGL, and the following the documentation for data interpreting is pretty straight forward, except I'm gettting wei...
Mike "Pomax" Kamermans LDraw File Processing and Conversion 7 9,371 2012-12-30, 20:16