Greynode Back Online

by enum on February 16, 2011

It has been a few months since I last posted here. This was mostly due to a server change. The site could have been back up quicker, but I wanted to make refinements to the site before re-launching (you’ll notice the new design if you’ve been here before).

I have done quite a bit since the last post, so there will be more posts to come!

HTTPService Over SSL Flex 4

by enum on August 9, 2010

Using SSL for HTTPService communication and loading images is very easy in Flex 4. There are differences between using HTTPService over SSL and loading images over SSL, however neither is complicated.

Communication using HTTPService over SSL

  1. Host the flex 4 application on an SSL enabled host
  2. Ensure the application is loaded over SSL (i.e. the URL has https:// prefix)
  3. Make HTTPService.url a relative path to where the SWF is stored

Using SSL for mx:Image

Set the Image.source attribute to the full URL, including the https:// prefix, like so:

<mx:Image source="https://server.com/image.jpg"/>

Cartoon Shader using GLSL

by enum on May 14, 2010

Here is an example of a shader written in the OpenGL Shading Language (GLSL). It is very simple shader, only assigning 4 different color values, yet the result is pretty cool. I’ll post the link to the source code once I add it to my git repository.

For introductory material on GLSL, check out Lighthouse 3D (where I got this cartoon example). Also check out the orange book for more in-depth discussion and examples on shaders.

Ask comp.lang.c to Do Your Homework

by enum on May 11, 2010

A funny post on comp.lang.c.

Why No Games on Linux?

by enum on May 11, 2010

Thought I would share an interesting article on why there are no games on linux. Want more games on linux? Solve these problems!