Ok. Somethin weird is goin on that i don't understand.
So i'm hopin' you guys can point out what dumb ass thing i'm doin...
my weird c++ goes...
it should be pretty easy to see how it maps to EtherDream.dll.
I flipped the usual order to EDWriteFrame with pps and reps.
so example below is 1000 pps and 1 rep.
Oh and f is just an increasing unsigned long with frame#.
void Framer::FRAME (ulong f) // DA GUTS !!
{ ubyte c;
ulong i, w, x;
Dac [0].rMin = (uword)_c->r.Get (); Dac [0].gMin = (uword)_c->g.Get ();
Dac [0].bMin = (uword)_c->b.Get ();
i = f % 64;
c = (ubyte)i; w = 65536 - (255-i)*255; x = (65536 - w) / 2;
DBG("FRAME `d r=`d g=`d b=`d", f, Dac [0].rMin, Dac [0].gMin, Dac [0].bMin);
ED.Dot (0, 0,0,0, x, x);
ED.Dot (0, 1,1,1, x+w-1, x);
ED.Dot (0, 1,1,1, x+w-1, x+w-1);
ED.Dot (0, 1,1,1, x, x+w-1);
ED.Dot (0, 1,1,1, x, x);
DBG("putBgn");
ED.Put (0, 1, 1000); // plenty slow pps
DBG("putEnd");
}
What I really don't GET is why my green is SO FAINT on the laser.
minimum value to get a red is 1568. same for blue. green min is 1536.
Any red or blue AT ALL completely drown out green at it's max (32767).
And green even at 32767 at max is noooot very bright running this code.
I'd think this code would have huge lags at the dots.
I juuuuust dooooon't geeeet itt.
I'm sure my code is broke somewhere.
But it sure SEEMS like the green laser in this thing is not working properly.
argh.