At 5/23/05 08:41 AM, Inglor wrote:At 5/22/05 11:35 PM, DeepBlue wrote:p.s.
tom, you don't have to know vector maths at all, you can just represent your lines with 3 equations (xy,xz,yz) and your planes as ax+by+cz+d=0 instead of doing vectors ((x,y,z)+t(a,b,c) nad (x,y,z)+t(a,b,c)+s(d,e,f))
I only switched to vectors lately, overall I still have to eventually convert everything to virtual points, vecrors just have a scalar length value too, so they're easier to use when initiallized properly,
the biggest problam is perspective, triangles were the first step in my way, cubes and boxes are rather easy to make, I can also do circles and elipses (which took me alot of time) the elipse texturizing is horrible (still needs alot of work), right now I'm starting to parse non-premitive shape, very annoying math :P
oh well, I've got a long way, I sure do hope the new flash player will help speed my 3d up
perspective is painful, so thats where i started from when building it up. I started with just equations for lines and planes then switched to vectors but I'm beggining to think the only way to do it really properly is with matrices, and all its possibilities for transformations...damn that linear algebra class i took!