Papervision3D Camera3D unprojectMatrix function

October 24th, 2008

During my studies in 3D Mathematics, I have mostly found that projection is achieved with a view frustum described as a matrix which involves variables near/far plane. This isn’t how projection in papervision is done by default, so, this set me on to a new path for unprojecting coordinates. This new path uses the perspective matrix.
Read the rest of this entry »

A brief study on Cosine Generators

October 18th, 2008

Recently I have been studying rotations. I was particularly interested in the primitive mathematics involved in the conversion between Polar and Cartesian coordinate systems. Usually you are told to use the trig functions to do this. What was actually happening always seemed hidden in the implementation of the trig functions, so I took the time to implement a cosine generator based on a report a man by the name of Dr. William D. Bishop had come up with.
Read the rest of this entry »

Coordinate Utility class for Papervision 3D

October 9th, 2008

This class factors out a lot of work that needs to be done to position 3D objects at variable rotations, world coordinates, and screen distances. Use the link below to get the utility class. Using this class requires papervision. If you don’t already have papervision, then you probably don’t need this class… Also, the sample isn’t pretty (graphically), and the source has some weird key controls. They are completely unintuitive but get the job done for testing :)
Read the rest of this entry »

FileReference – Can I get an IO Error?

August 14th, 2008

It’s funny, actually, recently I was trying to remember which class was doing what I’m about to explain, and about the same time it happened.

If I had to choose, FileReference would be the strange fruit of the actionscript 3.0 classes. Only if I had to choose, though… I mean, I’m in a life or death situation, and my only way out is to choose which class is the strangest. In that case I would choose FileReference. Some might choose the Sound class, but me, yea, definitely FileReference… Read the rest of this entry »

CNN Fails Flash 10 Detection

August 5th, 2008

A friend posted an article about how the flash detection on CNN is failing for Flash Player 10 on certain browsers. This immediately sparked my interest as I have taken it upon myself to make sure he understands that Flash Player isn’t just another pile of proprietary software. Read the rest of this entry »

Actionscript Permutation Generator

July 16th, 2008

For those of you who just need a permutation generator:
Actionscript 3.0 Permutation Utility class
Actionscript 2.0 Permutation Utility class

Onward…

Some time ago on a tech interview website discussion, we were challenged with the following problem: Read the rest of this entry »

Another Ease Function

April 21st, 2008

I had been thinking about making an ease function that eases a transition in a way similar to the way group94 sometimes uses for their transitions. After some time of sleeping on it, I took some time to write it out. Read the rest of this entry »

Plane Scaling and Positioning with Papervision

April 14th, 2008

Recently, I used papervision for a project. I needed to create a carousel like 3D system. Even though I think it would be helpful and interesting to some to write about the carousel, I’m going to focus on the equations this task led me to instead. I think they’ll prove to be very useful to anyone that needs to match design compositions with pixel perfect precision. To really get the most out of this article, you’ll need some papervision experience. Having made a carousel will help too :) At the moment, I’m unable to share any working example of the carousel, but at some point I should be able to post an example. Read the rest of this entry »