Dimitre
Dimitre
it seems to work OK on display if bits are swapped like this ```c++ uint16_t rgbto565(uint8_t r, uint8_t g, uint8_t b) { return ((b >> 3) >3) > 2; }...
Now I understand better, if I draw to the LCD, RGB565 is correct but if I draw to a canvas GFXCanvas16, then COLOR_RED draws blue.
I'll keep using ```settings.highResolutionCapable = false``` for some pixel sharp fonts interface. They can get a little bit blurry on retina. but much better for smooth fonts
Last missing detail, fixing ofDrawBitmapString, by changing ```c++ rViewport = getCurrentViewport(); ``` to ```c++ rViewport = matrixStack.getFullSurfaceViewport(); ```
one more commit to complete ofDrawBitmapString https://github.com/dimitre/openFrameworks/commit/cae4e9e23a787b187a6d2072749ddb19f8d5841c
Great @danomatika testing is welcome this fork has a different project generator and libs, works for macos and linux only https://github.com/dimitre/ofworks/
Retina support is 99% ready. if anybody can jump and help with 3d camera matrix multiplication adjustment it would be great! cc @openframeworks/2d-3d
Yes it is working in ofworks fork instructions to bootstrap installation on this link https://github.com/dimitre/ofworks/ or if you prefer just clone this branch https://github.com/dimitre/openframeworks/tree/ofworks Other changes in this fork are...
I think we need -fPIC to fix this one. should we start using cmake for this? can you help us @danoli3 ?
ok solved by inverting multiplication order ```c++ v = (*(ofNode*)this).getLocalTransformMatrix() * tmp; ```