Archive for the 'opensource' category

Sources for Apollo 3D Test application

Update: Application is prepared for the latest version of the Adobe AIR.

Download the latest version here: Google 3D Map Adobe AIR Application.

I’ve just published the source files for Apollo 3D Test App, and updated the application a bit: added the option of map smoothing. Surprise, this doesn’t decrease the app performance — check it out: Apollo 3d Test v 2.0 with Google Maps and Papervision 3D.

To run it, you need Apollo Runtime, here’s the screenshot (click it to download / install the app):

BTW, after installing the Apollo Extension for Flex Builder I’ve got a feeling that my FB2 started work faster. Surely, this simple app builds in second or two, while I have Photoshop, Outlook, Dreamweaver, Word, Visio, Firefox, Winamp 5 and LastFM scrobbler opened, plus GoogleTalk, Skype and one Apache process running.

Apollo 3D Test: my first Apollo app (Google Maps, Papervision3D, Flex, Apollo Alpha)

Update: Application is prepared for the latest version of the Adobe AIR.

Download the latest version here: Google 3D Map Adobe AIR Application.

Apollo is free from some limitations of regular Flash Player; for example, with Apollo’s HTML componente you able to load something from the web and to operate with it in any way, without necessity to care about all those annoyuing crossdomain policy files.

For example, you can take Google Maps, place it on the 3D plane or sphere, keeping the interactivity of dragging the map (you needed Apollo Runtime for have this example working):

I’m truly intrigued with Adobe Apollo…

Papervision3d wiki just has opened

Papervision3D now has its own wiki, which is very useful especially for those who just start using PV3D.

You can start, for example, from Papervision3D FAQ and PV3D tutorials.

haXe FLV Video Streaming Multithread Server, now with webcam and mic recording

haXe FLV Video Streaming Multithread Server is small and fast multithread FLV video and audio streaming server, written competely in universal haXe language by Nicolas Canasse, the author of MTASC compiler and the author of haXe language.haXe Video server supports webcam and mic recording, improved the FLV and AMF support. There’s simple test application which you can run in just few easy steps.To test the haXe FLV Video Streaming Multithread Server:

  • unpack the distributive
  • run the server.bat
  • open video.swf
  • click “Record Cam” button
  • dance, sing and clap your hands say yeah to the camera
  • click “Stop” button
  • click “Play Rec. Video”
  • see all your actions recorded.

The first beta of haXe Video, the multithread FLV video streaming server was released February 11, 200. The goal was to create lightweight and fast media server for streaming the audio- and video- files with high performance.

Filesize of haXe Video distributive is 7 MB, where 7 MB is the size of sample video FLV file provided within the distributive. No misprint here. To be precise, the total size of all haXe Video server source files is 131 KB. Moreover, as Nicolas wrote, it is less actually: 15.3 KB for AMF+FLV+RTMP protocols and 12.5 KB for the server itself, plus + 6.8 KB for the sample UI and logic.

That’s about lightweight.

Some think that Canasse is kidding; however, he doesn’t.

XPath for haXe by Dainel Cassidy, alpha version

Daniel Cassidy has implemented the XPath support for the haXe universal language.

The aim is to fully implement XPath in compliance with W3C standard. This very alpha version of XPath for haXe still needs some features to be finished, like compilation to JavaScript, implementation such XPath functions as id(), namespace-uri() and lang(), namespaces support and some more small features, related to details of XML implementation in haXe.

Here’s XPath for haXe documentation.

See also: haXe: installation and creation of your first Flash application with haXe compiler