Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - DeepSymmetry

Pages: [1]
1
LaserBoy !!! / Re: Building in OS X 10.10 with homebrew
« on: September 10, 2015, 03:23:30 pm »
Ah, thanks for that clarification, I thought I might have not done something quite right in my build process.


I have created a nice SVG version of the Deep Symmetry logo with Adobe Illustrator, converted that to an ILD file with a nifty online version of a Python script I found, and now I am going to try to figure out how to get the colors assigned properly in LaserBoy, and then tonight I will write it to an SD card and try it out on the SkyWriter Chroma. W00t! I also can’t wait to see how some of the frames that come with LaserBoy look: they have a ton of potential, and it will be awesome to be able to call them up via DMX from Afterglow.


Oh, I should post a link to that in case anyone is interested in experimenting with algorithmic DMX light shows:
https://github.com/brunchboy/afterglow#afterglow

2
LaserBoy !!! / Building in OS X 10.10 with homebrew
« on: September 09, 2015, 07:42:52 pm »
I am interested in exploring the ILD file format to get some shows on an SD card so I can control our laser via DMX from my own open-source light show software, rather than having to hook it up to our dedicated old Windows laptop which runs Pangolin QuickShow over a bulky ILDA cable. LaserBoy looked just the ticket, but I am using a more modern package manager called Homebrew, and the instructions for 10.8 assumed the use of the older MacPorts.

Luckily, the procedure for installing with Homebrew is quite similar to under MacPorts, so I will relate it here in the hopes that it might help someone in a similar situation.

1. Install Homebrew, as described on their home page. This will include installing Xcode and the command-line utilities if they are not already installed:
http://brew.sh

2. Open a Terminal window and install SDL with this command:
brew install sdl

3. Install boost:
brew install boost

4. Because Homebrew puts its include files and libraries in a different place than MacPorts does, copy src/Makefile.osx to src/Makefile.brew and edit that using your favorite text editor to replace all instances of /opt/local/ with /usr/local/

(or, if your would rather, you can download the copy I have attached here).

5. Go to the LaserBoy src directory and build it using this command:
make -f Makefile.brew

You can then run LaserBoy from the parent LaserBoy directory:
./Laserboy 1400 800

The numbers are the width and height in pixels of the window you want the program to use; adjust them to a value that makes sense for your screen. If you have a Retina or 4K display, you will probably find the menus in the program tiny and hard to read. You can fix that by pressing <Tab> to enter the settings menu, then l (lower case L) to set the menu font size factor, then 2 and <Return> to make the text twice as big. Replace the 2 with whatever scale factor you would like to use.

I found that everything seems to work fine for me up until the point at which I am exiting the program, at which point it crashes with a segmentation fault. However, it does that after writing the OUT.ILD output file, so it is only a mild cosmetic problem, and one which I have no idea how to fix. Suggestions are welcome!

I very much look forward to exploring this program more, and the cool libraries of free art that people have shared.

Pages: [1]
SMF spam blocked by CleanTalk
SimplePortal 2.3.7 © 2008-2024, SimplePortal