This site is no longer active and is available for archival purposes only. Registration and login is disabled.

putpixel fast...


putpixel fast...

Postby relo » Feb 14, 2008 @ 12:52pm

relo
pm Member
 
Posts: 22
Joined: Nov 2, 2006 @ 8:38am


Postby edge » Feb 14, 2008 @ 6:56pm

EDGELIB: Cross-platform mobile development at your fingertips
http://www.edgelib.com
User avatar
edge
pm Member
 
Posts: 1180
Joined: Aug 22, 2005 @ 3:42pm
Location: The Netherlands


Postby relo » Feb 15, 2008 @ 8:19am

Thanks. So works. But it is not absolutely correct always plot pixels - blue color, and should be red.
Video_Buffer[х * xpitch + y * ypitch]=E_RGBX(255,0,0);

PixelFormat - 6 ??

How to me to deduce pixels of red color (for an example)?
relo
pm Member
 
Posts: 22
Joined: Nov 2, 2006 @ 8:38am


Postby edge » Feb 15, 2008 @ 11:56am

EDGELIB: Cross-platform mobile development at your fingertips
http://www.edgelib.com
User avatar
edge
pm Member
 
Posts: 1180
Joined: Aug 22, 2005 @ 3:42pm
Location: The Netherlands


Postby relo » Feb 15, 2008 @ 1:00pm

Strange works. Now draws always yellow points.
(I test on "Windows Desktop" - Video_Buffer[x * xpitch + y * ypitch]=(red << 16) | (green << 8) | blue; ) .....
relo
pm Member
 
Posts: 22
Joined: Nov 2, 2006 @ 8:38am


Postby edge » Feb 15, 2008 @ 2:59pm

EDGELIB: Cross-platform mobile development at your fingertips
http://www.edgelib.com
User avatar
edge
pm Member
 
Posts: 1180
Joined: Aug 22, 2005 @ 3:42pm
Location: The Netherlands


Postby relo » Feb 15, 2008 @ 4:04pm

relo
pm Member
 
Posts: 22
Joined: Nov 2, 2006 @ 8:38am


Postby edge » Feb 16, 2008 @ 2:02pm

EDGELIB: Cross-platform mobile development at your fingertips
http://www.edgelib.com
User avatar
edge
pm Member
 
Posts: 1180
Joined: Aug 22, 2005 @ 3:42pm
Location: The Netherlands


Return to EDGELIB


Sort


Forum Description

Powerful and affordable C++ middleware solution covering true multi-platform 2D, 3D and network features for Apple iPhone, Windows Mobile, Symbian S60, UIQ, Linux and Windows desktop.

Moderator:

edge

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

cron