Categories
General

Font embedding WTF in Flash

I’m sorry if this is old news, but I was absolutely horrified to realise today that if you have to embed fonts in every single dynamic TextField on the stage, even if they are all using the same font! I don’t know about you but I really hate when things don’t work as they should […]

Categories
General

Super fast triangle/rectangle intersection test

I’m always on the lookout for ways to speed up our project work and also some of the inner workings of Papervision3D, and I must admit, sometimes it reaches fairly obsessive levels, bordering on unhealthy. In fact sometimes the minor optimisations are so insignificant, it can just be an exercise in problem solving. Which let’s […]

Categories
General

Lunar Lander 3D in 5K

Remember Lunar Lander? One of the very first arcade games ever? Well, actually, if I’m honest I don’t really remember it when it came out in 1979 (I was only 7 at the time), but I do think it’s a very, very cool game. For starters, the display didn’t use scan lines like a normal […]

Categories
General

How to change @author in your ASDocs

For OSX at least… Step 1 Navigate to /Applications/Flex Builder 3/ Step2 Right click on the app, Flex Builder and select explore package contents. A new finder window should pop up with a folder called “Contents” Step 3 Open the file Contents/MacOS/FlexBuilder.ini with a text editor of your choice. Step 4 Add the following line […]

Categories
General

How to set up ASDoc in Flex Builder

I’ve basically spent about a day working out how to use ASDoc, and all I can say is, what a nightmare! If I wanted this kind of unintuitive, problem-ridden, poorly-documented ridiculousness I’d be a Linux user! (no offense meant, but you Linux guys seem to thrive on this sort of thing!) Excluding external libraries Our […]

Categories
General

Papervision3D wormhole in your webcam!

I must admit, I never really saw the point of augmented reality. It just seemed like a gimmick. But now I’ve been playing with it a little I’m hooked! And now I know it’s just a gimmick. But it’s such a pleasing gimmick I can’t seem to resist it! You may have seen my presentation […]

Categories
General

Smooth circles in Papervision

Here’s a handy little class that will make a smooth 3D circle out of curved lines in Papervision3D. Add an nice little sine wave movement curve and you have this! Click on the image to see it in action. Here’s the source :

Categories
General

Papervision3D snow

I don’t know about you guys, but at the moment I’m getting several calls a day asking for Flash Christmas cards. And what do you need in a Flash Christmas card? Christmas snow! Remember last year I completed the 3D-Flash-snow-in-15-minutes challenge at FlashBrighton’s Big Day Out? Well this year I thought I’d do the same […]

Categories
General

Memory leaks in Papervision3D patched up!

We all know how stable and optimised Papervision3D is. But a small number of developers who need to constantly create and discard 3D objects will have encountered a particularly tricky little memory leak. There have been several workarounds and custom destroy functions, which have helped to patch up the leak, but I can now announce […]

Categories
General

Papervision’s dirty little secret (rectangle) now cleaned up!

Any of you using Andy’s ViewportLayers (see his post here) to selectively render separate layers will now find a fairly significant improvement in performance. And it’s because we’ve managed to shrink Flash’s dirty rectangle! The dirty rectangle is the area of the screen that is being redrawn by the Flash Player every frame, and you […]