Mmm, I didnāt notice this was the F5 Forumā¦ It doesnāt make too much difference, only the fill is only doable with MX.
For a very good introduction to this, you can check Brandon Williamsā site (I donāt have the address, sorry, just use google). Lots of math, lots of fun, a beautiful fla (in Flash 5): a great site (heās a real genius).
hey sure, thx pom, iād be happy if youād build me a 3-D thing. How the heck do you start making the math formulas, though? it seems so confusingā¦ :-\
Lost>> Nope. I havenāt been there much lately, and I must have missed it. Can you repost? Please?
Nat> Youāre using Flash 5, right? It would be better if you had MX thoughā¦ Anyway, the 3D engine basics:
You have a basic structure that is a point. It has 3 properties: x position, y position and z position. Be careful, these are different from _x and _y (precisely because thereās a z component).
The most practical way to represent this is an array (you could even consider building a new class Point, subclass of Array, and give it particular methods and all, now that I think of it --> Flash MX, of course).
Now that we have the pointās position, we have to rotate it. To do so, you have to get into linear algebra and some aspirin. Because you are going to use rotation matrixes, yeah baby, yeah!! I donāt have time to explain that (besides, Brandon Williams did it quite extensively on his site), but basically you can get the new point after rotation by multiplying the current point by particular values, depending around which direction you want to rotate.
And thatās it! Before I go on, was that part clear?
All Clear here. I actually did something like this on a Graphing Calculator, so I know exactly what you mean there. We used forumlas and matrices to rotate a cube.
Well, Nat, no offence here, but Iām afraid it will be hard for you to understand. [SIZE=1]I sound like Obi Wan, donāt you think? Youāre still young, Anakin, and still have much to learn about the forceā¦[/SIZE] Iāll try and make you a fla.
And Lost, if youāve done that already, you can check Ultrashock (but I think it is also in Fresh Flash) for a killer tutorial by Brandon Williams about cameras in Flash. 3D classes and all, a real nightmare.
Ok, that tutorial explained mostly how to multiply matrices, but I already knew that. So now it is time for me to get crackin on some equations and bump up on my arrays knowledge. Shouldnāt be TOO difficult.
well yea, iām quite new to flashā¦ but i taught myself all my other programs/programming languages, but i seem to be having the most trouble w. flashā¦ maybe taking a course in it isnāt such a bad idea.
Oh wow, I feel stupid, I didnāt even notice that little link in the corner that says source files. I downloaded them now. I will check them out later.
Ah-ha! I can almost follow what you guys are talking about! In my c++ class we did arrays and stuff, passing numbers, interchanging themā¦ but I still have so much to learn!!!
by the way pom how did you get so **** smart about all this nonsense?!?!?
I swear Iāve never seen you post a question (Iāve been here for a while, just on a different name)
And you answer every question! all of them with ease and understanding!
So I am therefore led to believe that you are in fact a robot, a robotic computer that contains every bit of information about every language and program in the world, your sole purpose in your robotic life being to answer questionsā¦
lol i agree, iām having soo much trouble learning this stuffā¦ i mean you have to be a math whiz to do the algebra, and he just like makes it up for funā¦
I have seen that on Ultrashock. I am looking more for 3d squares for right now.
POM: No one really knows EVERYTHING about a language, except the people who create it, but compared to us, you know enough for us to say you know everything.