Author Topic: I'm trying to setup an ild file for my build in sdcard interface  (Read 36858 times)

0 Members and 1 Guest are viewing this topic.

Offline emanuel

  • Jr. Member
  • **
  • Posts: 71
  • Milliwatts: 0
    • View Profile

sdcard, TTL Interface
http://de.aliexpress.com/item/EMMA-500MW-RGB-Red-Green-Blue-Laser-Light-Stage-Effect-DJ-Party-Professional-Club-Disco/32297673993.html


test 1:
import a dxf file, import TTL colormap.
-> file just produce a red flash and let the laser units fw reboot.
-> Error when importing in iShow  "Out of List boundary"


test 2:
import a dxf file, set default 255 colormap.
-> file just produce a red flash and let the laser units fw reboot.
-> Error when importing in iShow  "Out of List boundary"


test 3:
extract and save only one frame from LB logo.
-> works
-> importing in iShow works


The files I can use are:
ild files shiped with the Laser on its sdcard, or made with a software called iShow (also from sdcard).
If I extract only one frame from the LaserBoy logo to ild, it also works, but only one frame otherwise it reboots.


When I try to import the multiframe ild in the ishow sw, it alerts "Out of List boundary" the files shiped are also multiframe, but they work.


Any Idea how to setup a correct ild file for this?


thank's Emanuel

Offline James

  • Administrator
  • Hero Member
  • *****
  • Posts: 2130
  • Milliwatts: 47
  • Gender: Male
    • View Profile
    • LaserBoy !!!
Re: I'm trying to setup an ild file for my build in sdcard interface
« Reply #1 on: July 01, 2015, 12:13:50 pm »
There might be a limit to the number of points you can have in each frame.

James.
LaserBoy is Sofa King Cool!
But it will never be Alpha King Done!

Offline emanuel

  • Jr. Member
  • **
  • Posts: 71
  • Milliwatts: 0
    • View Profile
Re: I'm trying to setup an ild file for my build in sdcard interface
« Reply #2 on: July 04, 2015, 08:12:52 am »
I've played around with all the settings you tould me.


Now I'm only able to produce ild files that can be imported to the ishow programm, but I still can not play them direct from sdcard. I have to convert them in the ishow picture by picture. All the colors are changed Green->Yellow, Red->White, Blue->Cyan, ... using default palette. I've also testet the TTL color palette and others but they produces unusable ild files.


Best way would be a correction amp kit letter from you :-D
« Last Edit: July 04, 2015, 08:15:20 am by emanuel »

Offline James

  • Administrator
  • Hero Member
  • *****
  • Posts: 2130
  • Milliwatts: 47
  • Gender: Male
    • View Profile
    • LaserBoy !!!
Re: I'm trying to setup an ild file for my build in sdcard interface
« Reply #3 on: July 04, 2015, 01:53:41 pm »
OK.

I can send one to you soon.

I'll try to get it in the mail on Monday.

I still have to look up the shipping.

Did you see all this?

http://laserboy.org/forum/index.php?topic=551.0

Are you running LB on a Pi2?

Does your projector have an ILDA port?

If not, do you know where to put all the control signals?


James.
« Last Edit: July 04, 2015, 01:55:35 pm by James »
LaserBoy is Sofa King Cool!
But it will never be Alpha King Done!

Offline emanuel

  • Jr. Member
  • **
  • Posts: 71
  • Milliwatts: 0
    • View Profile
Re: I'm trying to setup an ild file for my build in sdcard interface
« Reply #4 on: July 05, 2015, 08:15:54 am »
Yes I read the post about drawing and setting up. Interesting, but I haven't be tested all.


I tested LB on RPI 2, works fine.  ;)


But first I want to setup LB + DAC on PC (tunning, testing, ...), then I'll carry on with embedded device (RPI). I read there are swaped audio channels.

My Laser unit has got ilda interface 25 pin in/out plugs (analog RGB).



« Last Edit: July 05, 2015, 08:17:46 am by emanuel »

Offline emanuel

  • Jr. Member
  • **
  • Posts: 71
  • Milliwatts: 0
    • View Profile
Re: I'm trying to setup an ild file for my build in sdcard interface
« Reply #5 on: July 05, 2015, 11:27:58 am »
I've made a RGB TTL test ild using the ishow programm. Opening in LB shows the shifted color. LB alerts 26 bytes of unrecognised data ..., it can be opend by [ESC], but see colors. I do not know how to handle this  :-[


screenshot ...

« Last Edit: July 05, 2015, 11:32:18 am by emanuel »

Offline James

  • Administrator
  • Hero Member
  • *****
  • Posts: 2130
  • Milliwatts: 47
  • Gender: Male
    • View Profile
    • LaserBoy !!!
Re: I'm trying to setup an ild file for my build in sdcard interface
« Reply #6 on: July 05, 2015, 02:26:57 pm »
That's odd.

Have you looked at any of this in a HEX editor?

It looks like LB is ignoring whatever the other app is adding to the file as a palette and just using the first several colors of the Default palette of 63 colors.

There might be a malformed ILDA section 2 in front of the frame data in that file.

If that was the case, LB would ignore it and move on to the next properly formatted section.

So you get a frame, but the colors are wrong.

I don't understand why LB is showing a truncated palette though. It should show the whole default palette of 63 colors.

Did you do any kind of color reduction in LB before you grabbed these screen shots?

The aaLvMtjU is an automatically generated unique name for a new palette (not named in the file).

Also, I have a completely built correction amp board. If you want that and you don't want to have to build the kit, I can sell it to you for $80, plus shipping. Otherwise the kit with all the parts (except the sound device) is $40 plus shipping.

Who knows. It is possible that LB is screwed up. It's certainly not perfect!

James.
« Last Edit: July 05, 2015, 02:36:09 pm by James »
LaserBoy is Sofa King Cool!
But it will never be Alpha King Done!

Offline emanuel

  • Jr. Member
  • **
  • Posts: 71
  • Milliwatts: 0
    • View Profile
Re: I'm trying to setup an ild file for my build in sdcard interface
« Reply #7 on: July 05, 2015, 02:46:26 pm »

So I've patched src (Default_ palette) of LB for a special sdcard TTL export/import version. I swaped the first 8 colors like in the std ilda palette. And that work for me to build ild files with correct color shown in LB, I can import them to ishow in order to convert to running sdcard files. I thing it depends only on setting to get totaly rid of ishow.
 >:D


see first test video

Offline emanuel

  • Jr. Member
  • **
  • Posts: 71
  • Milliwatts: 0
    • View Profile
Re: I'm trying to setup an ild file for my build in sdcard interface
« Reply #8 on: July 05, 2015, 02:59:54 pm »

Have you looked at any of this in a HEX editor?
>> not yet


It looks like LB is ignoring whatever the other app is adding to the file as a palette and just using the first several colors of the Default palette of 63 colors.
>> better add an option to setup




Did you do any kind of color reduction in LB before you grabbed these screen shots?
>> I've pressed  "i" I think


The aaLvMtjU is an automatically generated unique name for a new palette (not named in the file).
>> yes a key press to much


Also, I have a completely built correction amp board. If you want that and you don't want to have to build the kit, I can sell it to you for $80, plus shipping. Otherwise the kit with all the parts (except the sound device) is $40 plus shipping.


>> is the 80$ one with soundcard and fully adjusted?

Offline James

  • Administrator
  • Hero Member
  • *****
  • Posts: 2130
  • Milliwatts: 47
  • Gender: Male
    • View Profile
    • LaserBoy !!!
Re: I'm trying to setup an ild file for my build in sdcard interface
« Reply #9 on: July 05, 2015, 04:16:06 pm »
No the $80 is for the fully assembled board and an ILDA ribbon and port.

But it is ready to connect to the sound card and adjust.

It might be a bit of work, but you could make a new palette in LB in the same order as the palette you see in the other app and then do a match to the new palette based on palette indexes.

If you have a look at the way LB imports and exports palettes as plain text tables, you should be able to make a new palette pretty fast.

But that won't do you any good for importing frames made in LB to this other app or the SD card.

James.
« Last Edit: July 05, 2015, 04:20:11 pm by James »
LaserBoy is Sofa King Cool!
But it will never be Alpha King Done!

Offline emanuel

  • Jr. Member
  • **
  • Posts: 71
  • Milliwatts: 0
    • View Profile
Re: I'm trying to setup an ild file for my build in sdcard interface
« Reply #10 on: July 06, 2015, 02:36:03 pm »
I'll take that for $ 80.

Offline James

  • Administrator
  • Hero Member
  • *****
  • Posts: 2130
  • Milliwatts: 47
  • Gender: Male
    • View Profile
    • LaserBoy !!!
Re: I'm trying to setup an ild file for my build in sdcard interface
« Reply #11 on: July 06, 2015, 07:10:20 pm »
Cool! :)
LaserBoy is Sofa King Cool!
But it will never be Alpha King Done!

Offline emanuel

  • Jr. Member
  • **
  • Posts: 71
  • Milliwatts: 0
    • View Profile
Re: I'm trying to setup an ild file for my build in sdcard interface
« Reply #12 on: July 07, 2015, 11:18:59 am »
I have the IDL file "ILDA Test Pattern" viewed with the hex editor, the file works from the SD card.
It is a version ILDA 0, with all 3D coordinates X, Y, Z.
The file has at the end of all vertices data a "ILDA" ... header (26 byte).
Do you remember the message of Laserboy?


Laserboy stripts all Z coordinates if they are zero.


I've added the header at the end of a 3D-1-frame Laserboy file (hex editor). So the projector can play this file , but it lacks lines before or/and after blanking, at any speed.


I converted the file in iShow the lines are back.
After that the vertices are all more inaccurate than with Laserboy directly.


If I generate the Zeppelin as ILD rotate frames (menu: 1 - 4) , I get at the end of the file an ILDA ... header, like in the "ILDA Test Pattern file. The 3D rotate-Zeppelin I can run directly on the projectorfrom SD, but it lacks the lines before and after the blanking.


What should I do to get the missing lines?





Testpattern from here:
http://www.laserfx.com/Backstage.LaserFX.com/Systems/Scanning1.html
« Last Edit: July 08, 2015, 05:30:01 am by emanuel »

Offline James

  • Administrator
  • Hero Member
  • *****
  • Posts: 2130
  • Milliwatts: 47
  • Gender: Male
    • View Profile
    • LaserBoy !!!
Re: I'm trying to setup an ild file for my build in sdcard interface
« Reply #13 on: July 08, 2015, 12:35:03 pm »
I think the current version of LB has a frame set effect called chil.

If you have a look at the code LaserBoy_frame_set_effects.cpp you can see what it does.

You might try applying that to your frame set and then use the file chil.ild.

Let me know what happens.

Since you are able to compile the code, maybe you can make some adjustments to this effect for better performance.

James.
« Last Edit: July 08, 2015, 02:16:53 pm by James »
LaserBoy is Sofa King Cool!
But it will never be Alpha King Done!

Offline emanuel

  • Jr. Member
  • **
  • Posts: 71
  • Milliwatts: 0
    • View Profile

 

SMF spam blocked by CleanTalk
SimplePortal 2.3.7 © 2008-2024, SimplePortal