LDraw to Web

Re: LDraw to Web
#5
Thanks for the good lesson. In the specific way I'm planning on using my converter, the files will only be one level deep, so I don't have to worry about recursion this time around (but always good to know). So I guess I'm going to have to do a little more research on the whole matrix thing. I thought my calculations were correct, due to it only being one level deep. I see your point with having to apply it at the higher levels (from the bottom up), but if we're only talking 1 level deep, my

u' = (a * u) + (b * v) + (c * w) + x;
v' = (d * u) + (e * v) + (f * w) +y;
w' = (g *u) + (h * v) + (i * w) + z;

formula is still correct, right? But then again, I might be a little thick :-)

Just wanted to add a picture of what's happening:
http://www.altoonalights.com/block.gif It's a custom part, but you can see that it would seem that one of the sides is intact, while the rest is "smeared" out of whack.
« Next Oldest | Next Newest »

 Messages In This Thread LDraw to Web - by Nick McBride - 2011-09-09, 19:32 Re: LDraw to Web - by Roland Melkert - 2011-09-09, 21:32 Re: LDraw to Web - by Nick McBride - 2011-09-11, 15:22 Re: LDraw to Web - by Roland Melkert - 2011-09-11, 17:21 Re: LDraw to Web - by Nick McBride - 2011-09-11, 20:11 Re: LDraw to Web - by Nick McBride - 2011-09-13, 15:58 Re: LDraw to Web - by Jim DeVona - 2011-09-17, 14:37 why not use JavaScript ? - by Steffen - 2011-09-27, 17:44 that solution will also work for pad computers - by Steffen - 2011-09-27, 17:50 Re: that solution will also work for pad computers - by Roland Melkert - 2011-09-27, 19:27 Re: that solution will also work for pad computers - by Jamie B. - 2011-11-04, 19:20 Re: that solution will also work for pad computers - by Roland Melkert - 2011-11-04, 19:43 WebGL in action in a similar application - by Steffen - 2011-11-04, 21:08 Re: that solution will also work for pad computers - by Jamie B. - 2011-11-09, 2:42 Re: that solution will also work for pad computers - by Orion Pobursky - 2011-11-05, 0:01 question to forum admins: merge 3 threads? - by Steffen - 2011-11-27, 12:54

Forum Jump:

Users browsing this thread: 1 Guest(s)