sourcediver.org

about software and freediving

Subrender 0.3

I have released version 0.3 of subrender, which comes with some improvements in the UI as well as with new features. Please report issues here.

Click me.

Changelog

  • Path smoothing
  • Vertical plotting
  • Small bug fixes

Sample rendering

Download

Windows Installer 32-bit Version 0.3

1
2
MD5: 2d8cbc179974efbd60ae9be3065eb078
SHA-1: c62109b81998ecced23b7b6f242d3c7f459b25fe

Source on github

Read more about subrender

Subrender 0.2 Has Been Released

I tagged version 0.2 of subrender some days ago. I consider it now stable - however if you find bugs, please report them here.

Subrender 0.2 is also the first version that comes with a Windows installer.
If anyone wants to contribute a Mac OS X installer, specs for various {Linux, BSD} distributions, translations, features, feel free to fork subrender!

Click me.

Download

Windows Installer 32-bit Version 0.2

1
2
MD5: 99c7a7f46fae9089868ca02a372fb71a
SHA-1: 68741c51c02fe0e287e6d406898ee012c366f8ef

Source on github

Read more about subrender

Building Ethersex for Alpengluehn

This tutorial will walk you through the process of building Ethersex for the Alpengluehn target.

Getting Ethersex

Download the Ethersex sourcecode by cloning the git repository

git clone https://github.com/ethersex/ethersex.git

That’s it!

Configure Ethersex

Change to the Ethersex directory

cd ethersex

and start menuconfig

make menuconfig

Click me.

Select the Alpengluehn Default Configuration

Click me.

Now enter the submenu Network

If you want, you can change the Hostname to something else.

Click me.

Now enter the submenu Ethernet (ENC28J60) support and change or randomize the MAC address. Here you can also change the IP address and the Netmask.

Click me.

Press Exit two times to get back to the main menu.

Enter the submenu ApplicationsStarburst: Multichannel pwm

Click me.

Change the channels to the number of LEDs you have connected to the Alpengluehn Controller.

Click me.

Press Exit three times and select Yes.

Click me.

You have now configured Ethersex for the Alpengluehn Controller.

Building the image

Enter make to start the build process. If everything went fine, you should see something like

1
2
3
4
5
6
7
8
9
10
=======The ethersex project========
Compiled for: atmega644p at 20000000Hz
Imagesize: 23076/65536 bytes (35.21%)
 [==========--------------------]

Program (.text + .data) : 23076 bytes
Data (.data + .bss)     :  1691 bytes

EEPROM usage: 55/2048 bytes (2.69%)
===================================

Setting the fuses

Connect your programmer to the 6-Pin ISP port to change the factory fuses.

This can be done with avrdude.

avrdude -v -p m644p -c stk500v2 -P /dev/ttyACM0 -U lfuse:w:0xf7:m -U hfuse:w:0xd8:m -U efuse:w:0xff:m

Adjust -c stk500v2 and -P /dev/ttyACM0 for your programmer.

Flashing the image

You need to flash the file ethersex.hex

avrdude -p m644p -c stk500v2 -P /dev/ttyACM0 -U flash:w:ethersex.hex

Lights out, Spot on

When you point your browser to the IP you have set in make menuconfig, you should see the Ethersex html interface.
You can now start controlling the Alpengluehn Controller using the web interface or using Artnet, ECMD etc.

Alpengluehn LED Controller

Click me.

The Alpengluehn Controller can drive up to 16 independent PWM-controlled High Power LED Channels.

Freediving the Bells - Dahab

The Bells is a beautiful spot near the “Blue Hole” in Dahab, Egypt. The entry of the small arch is at 20m and the exit at 25-28m. It’s almost like low-level flying when you’re going down there. To reach the spot, just walk by all the restaurants @ Blue Hole, pass the memorial stones and then you’ll see the entry just below. Before diving, make sure no scuba diver is blocking the hole (they tend to stay in there forever :) )

My dive was pretty quick since I really like the “almost flying” sensation.

Here is a video I made during my stay in November 2011.

The Best Plexiglas for My Next Project

My next project is an IKEA Expedit with LED (background) lighting (more details will follow shortly). Since I will use high power LEDs rather than superflux / led stripes I need a material that spreads the light equally without changing the color or affecting the brightness too much.

I therefore ordered samples which seemed suitable for the project to me from http://www.plexiglas-shop.com (they sell pieces ~ 10x7.5 cm for 3€ total -> no shipping costs).

In this post I will discuss the following products:

Shadow Building ‘Dynamic’ Projects With Qt Creator

Today I started integrating my beat detection library into QLC. Since QLC is entirely written in Qt, I’m using the great Qt Creator IDE. Qt Creator has a cool feature named “Shadow Build” which boils down to qmake being called from inside another directory to keep your source tree clean and seperated from the actual build process.

A typical Makefile created by qmake using “Shadow Build” looks like this
1
2
3
4
5
6
7
8
/home/foobar/Projects/ProjectA-build-desktop/Makefile
SOURCES       = ../ProjectA/main.cpp \
                          ../ProjectA/foo.cpp
OBJECTS        =  main.o \
                           foo.o
[...]
main.o: ../ProjectA/main.cpp ../ProjectA/bar.h
foo.o:  ../ProjectA/foo.cpp  ../ProjectA/foo.h                                                                                

So all sources/headers point to the source directory whereas the object files will be created in the build directory.

Some projects have a build system where apart from {q,c}make routines other scripts (perl, shell, python etc.) are being called. These scripts have very different purposes - one could be to create a header file dynamically at compile time with information on the build system, like git/svn revision, uname -a, date etc.