LCDInfo.com
http://forum.lcdinfo.com/

USB13700 with 130x130 S1D15G10
http://forum.lcdinfo.com/viewtopic.php?f=19&t=2490
Page 1 of 2

Author:  Michael [ Sat Aug 09, 2008 16:25 ]
Post subject:  USB13700 with 130x130 S1D15G10

Nokia knockoff connected directly to the expansion port of the USB13700 and fully powered from the USB port (excluding BL). Pics show the display in 12bit colour mode.

Image

Image

Image

Author:  Michael [ Sun Aug 10, 2008 15:04 ]
Post subject: 

Short video on the display in 12bit mode. Source video shot at 10 fps.

Here.
(can be viewed with Media Player Classic)

Author:  Henri [ Wed Aug 13, 2008 13:49 ]
Post subject: 

Thanks for showing us your work!

Glad to see some of the new USB13700 features put into work.

Author:  doctormord [ Sat Aug 16, 2008 14:22 ]
Post subject: 

Nice work! :)

Did i missed something about the features?

Cheers

doc

Author:  Henri [ Sat Aug 16, 2008 14:54 ]
Post subject: 

The new feature here is the expansion port SPI support that was included in the 0.9 firmware / API version:
http://www.lcdinfo.com/usb13700/documen ... 00_8h.html

Author:  Michael [ Fri Aug 22, 2008 8:42 ]
Post subject: 

Two more Divx videos. This time using myLCD via OpenGL with 12bit colour.
Boing: 1.5mb
GLFW Particles: 1.88mb

Also have OpenGL 'Gears' and running at 41fps too.

Author:  Henri [ Fri Aug 22, 2008 9:18 ]
Post subject: 

Nice!

Now you got me curious, how are you directing OpenGL to myLCD? Is it rendered on hardware and then redirected to myLCD? Or is it fully software OpenGL implementation?

Author:  Michael [ Fri Aug 22, 2008 17:32 ]
Post subject: 

The former by using the OpenGL function glReadPixels() like this:
Code:
static int padTo4 (const int width)
{
   if (width&3)
      return ((width>>2)<<2) + 4;
   else
      return width;
}

int getGLFrame (TFRAME *frame, int glwidth, int glheight)
{
   int pad = padTo4(glwidth);
   if (pad)
      pad -= glwidth;

    unsigned char *data = calloc(1, glwidth * glheight*4);
    if (data != NULL){
      glReadPixels(0, 0, glwidth, glheight, GL_RGB, GL_UNSIGNED_BYTE, data);
      int r,g,b,x,y;
      for (y = frame->height-1; y>= 0; y--){
         for (x = 0; x < frame->width; x++){
            r = (*data++&0xF0)<<4;
            g = (*data++&0xF0);
            b = (*data++&0xF0)>>4;
            lSetPixel_NB(frame, x, y, r|g|b);
         }
         data += pad;
      }   
      free(data);
      return 1;
   }
   return 0;
}


Could probably come up with an OpenGL wrapper to ease the process. Quake3 should look nice :)

Author:  Michael [ Fri Aug 29, 2008 19:09 ]
Post subject: 

Few videos of Quake 1, 2 and 3 running on the LCD in 12bit colour.

Quake 1
Quake 2
Quake 3
Quake 3 intro
Quake 3 logo animation

All vids taken with a mobile phone so please excuse the rubbish quality.
KMPlayer can be used to view.

Author:  Henri [ Sat Aug 30, 2008 14:50 ]
Post subject: 

Still looking very nice.

So, have you already played through all three games using the little screen? ;)

Author:  Michael [ Sat Aug 30, 2008 19:29 ]
Post subject: 

Tried playing but even with the game(s) running in the LCD's native resolution targeting is quite difficult, as at times there can be single pixel targets. Generally the LCD is just too small to continually stare at for any length of time. Will be interesting to see how this looks on something larger.

I can upload the modified source for all three if you or anybody else is interested.

On another note: Great little board!

Author:  Henri [ Mon Sep 01, 2008 20:22 ]
Post subject: 

Michael wrote:
Will be interesting to see how this looks on something larger.

Yes, maybe we can see that sometime...

Quote:
I can upload the modified source for all three if you or anybody else is interested.

Of course, I'm sure it would be interesting to see.

Quote:
On another note: Great little board!

Glad to hear it has proven useful!

Author:  Michael [ Fri Sep 05, 2008 6:05 ]
Post subject: 

Henri wrote:
Michael wrote:
Will be interesting to see how this looks on something larger.

Yes, maybe we can see that sometime...

Quote:
I can upload the modified source for all three if you or anybody else is interested.

Of course, I'm sure it would be interesting to see.

I'll put something together.

Using a similar method AVI's can now be streamed and viewed, but I'll save you the horror of another video of the display.

Author:  Michael [ Tue Nov 11, 2008 7:45 ]
Post subject: 

Complete source for Quake 1, 2 and 3. Included also are Code::Blocks project files as used with MinGW/GCC.
http://mylcd.sourceforge.net/files/quake1-2-3_src.rar

Author:  Zee [ Thu Apr 30, 2009 20:14 ]
Post subject: 

Michael wrote:
Also have OpenGL 'Gears' and running at 41fps too.


How are you getting 41fps out of it? I can reach about 10fps doing fullscreen writes using RAMWR followed by all the data in one SPI packet.

Page 1 of 2 All times are UTC + 2 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/