
Just checking if anyone has done 2D graphics programming and can share some insights. Is it grid based such that the grid gives eg location using an array? I think it does but how many grids then makes the screen display? L plates... :-)

On Wed, Mar 17, 2010 at 6:06 PM, aki <aki275@googlemail.com> wrote:
Just checking if anyone has done 2D graphics programming and can share some insights. Is it grid based such that the grid gives eg location using an array? I think it does but how many grids then makes the screen display? L plates... :-)
Aki, What are you and what are you not? When are you doing a talk for skunkworks, even if it's just about how to make mandazis? :-) -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ "If you have nothing good to say about someone, just shut up!." -- Lucky Dube

Aki is C3PO -----Original Message----- From: Odhiambo Washington <odhiambo@gmail.com> Reply-to: Skunkworks Mailing List <skunkworks@lists.my.co.ke> To: Skunkworks Mailing List <skunkworks@lists.my.co.ke> Subject: Re: [Skunkworks] Grid based programming? Date: Wed, 17 Mar 2010 18:21:13 +0300 On Wed, Mar 17, 2010 at 6:06 PM, aki <aki275@googlemail.com> wrote: Just checking if anyone has done 2D graphics programming and can share some insights. Is it grid based such that the grid gives eg location using an array? I think it does but how many grids then makes the screen display? L plates... :-) Aki, What are you and what are you not? When are you doing a talk for skunkworks, even if it's just about how to make mandazis? :-) -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ "If you have nothing good to say about someone, just shut up!." -- Lucky Dube _______________________________________________ Skunkworks mailing list Skunkworks@lists.my.co.ke http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks ------------ Skunkworks Server donations spreadsheet http://spreadsheets.google.com/ccc?key=0AopdHkqSqKL-dHlQVTMxU1VBdU1BSWJxdy1f... ------------ Skunkworks Rules http://my.co.ke/phpbb/viewtopic.php?f=24&t=94 ------------ Other services @ http://my.co.ke -- Regards, Joe Linux User: #361092 SIP: joe.njeru@ekiga.net

haha C3PO On Wed, Mar 17, 2010 at 6:48 PM, Joe Murithi Njeru <joe.njeru@gmail.com>wrote:
Aki is C3PO
-----Original Message----- From: Odhiambo Washington <odhiambo@gmail.com> Reply-to: Skunkworks Mailing List <skunkworks@lists.my.co.ke> To: Skunkworks Mailing List <skunkworks@lists.my.co.ke> Subject: Re: [Skunkworks] Grid based programming? Date: Wed, 17 Mar 2010 18:21:13 +0300
On Wed, Mar 17, 2010 at 6:06 PM, aki <aki275@googlemail.com> wrote: Just checking if anyone has done 2D graphics programming and can share some insights. Is it grid based such that the grid gives eg location using an array? I think it does but how many grids then makes the screen display? L plates... :-)
Aki,
What are you and what are you not? When are you doing a talk for skunkworks, even if it's just about how to make mandazis? :-)
-- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ "If you have nothing good to say about someone, just shut up!." -- Lucky Dube _______________________________________________ Skunkworks mailing list Skunkworks@lists.my.co.ke http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks ------------ Skunkworks Server donations spreadsheet
http://spreadsheets.google.com/ccc?key=0AopdHkqSqKL-dHlQVTMxU1VBdU1BSWJxdy1f... ------------ Skunkworks Rules http://my.co.ke/phpbb/viewtopic.php?f=24&t=94 ------------ Other services @ http://my.co.ke
-- Regards,
Joe Linux User: #361092 SIP: joe.njeru@ekiga.net
_______________________________________________ Skunkworks mailing list Skunkworks@lists.my.co.ke http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks ------------ Skunkworks Server donations spreadsheet
http://spreadsheets.google.com/ccc?key=0AopdHkqSqKL-dHlQVTMxU1VBdU1BSWJxdy1f... ------------ Skunkworks Rules http://my.co.ke/phpbb/viewtopic.php?f=24&t=94 ------------ Other services @ http://my.co.ke
-- Solomon Kariri, Software Developer, Cell: +254736 729 450 Skype: solomonkariri

On Wed, Mar 17, 2010 at 6:48 PM, Joe Murithi Njeru <joe.njeru@gmail.com>wrote:
Aki is C3PO
@Joe, you've made it more cryptic!! Aki is simply cryptic. Imagine what would happen if we cloned him to the power of 10:). -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ "If you have nothing good to say about someone, just shut up!." -- Lucky Dube

Ah, the good old days of Pascal Programming... GotoXy(30,4); Write('Please enter your password: '); Readln(password); Then drawing a box around it the gotoxy On 17 March 2010 19:37, Odhiambo Washington <odhiambo@gmail.com> wrote:
On Wed, Mar 17, 2010 at 6:48 PM, Joe Murithi Njeru <joe.njeru@gmail.com>wrote:
Aki is C3PO
@Joe, you've made it more cryptic!! Aki is simply cryptic. Imagine what would happen if we cloned him to the power of 10:).
-- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ "If you have nothing good to say about someone, just shut up!." -- Lucky Dube
_______________________________________________ Skunkworks mailing list Skunkworks@lists.my.co.ke http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks ------------ Skunkworks Server donations spreadsheet
http://spreadsheets.google.com/ccc?key=0AopdHkqSqKL-dHlQVTMxU1VBdU1BSWJxdy1f... ------------ Skunkworks Rules http://my.co.ke/phpbb/viewtopic.php?f=24&t=94 ------------ Other services @ http://my.co.ke

@Wash try we must, succeed or not is secondary. This game programming thing has got my mind buzzing beyond words.... :-))) On Wed, Mar 17, 2010 at 6:21 PM, Odhiambo Washington <odhiambo@gmail.com>wrote:
Aki,
What are you and what are you not? When are you doing a talk for skunkworks, even if it's just about how to make mandazis? :-)

You are almost there Aki but not quite, rather than Grids, you should look at it as points. when programming 2D you have crossed the threshold into maths/physics... so important things to note as far as 2D programming goes is you need to know printing to screen starts on the top left corner. Left = x axis (which counts from left to right) Top = y axis (counts from top to bottom) To draw a shape on screen you need to keep track of its top-most part and its left-most part and have two lines horizontal and upright respectively. where the two lines cross is the x, y location of the shape. then you need to keep track of the width and height of the object also in points (pixels) (not centimeters or inches etc) width = the distance from x to the right of the shape height = the distance from y to the bottom of the shape This happens for all polygons. also you need to remember that the baic shape is the triangle and not a quadrange. from a triangle ou can combine them smartly to get any shape you want. 3D is not much different other than there is an additional Z axis which is the depth Steve Obbayi SKYPE: sobbayi http://sobbayi.com http://blog.sobbayi.com ----- Original Message ----- From: "aki" <aki275@googlemail.com> To: "Skunkworks forum" <skunkworks@lists.my.co.ke> Sent: Wednesday, March 17, 2010 11:06:49 AM GMT -05:00 US/Canada Eastern Subject: [Skunkworks] Grid based programming? Just checking if anyone has done 2D graphics programming and can share some insights. Is it grid based such that the grid gives eg location using an array? I think it does but how many grids then makes the screen display? L plates... :-) _______________________________________________ Skunkworks mailing list Skunkworks@lists.my.co.ke http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks ------------ Skunkworks Server donations spreadsheet http://spreadsheets.google.com/ccc?key=0AopdHkqSqKL-dHlQVTMxU1VBdU1BSWJxdy1f... ------------ Skunkworks Rules http://my.co.ke/phpbb/viewtopic.php?f=24&t=94 ------------ Other services @ http://my.co.ke

@Steve, cheers buddy. thnks for the tips. :-)) @Wash, lol!! :-)) Now if I could only type fast enoguh and get my objects correct, Kenyan Sniper would be a reality sooner than 12 months. :-))

Interesting initiative. After you get the basics using simple polygon manipulation you might want to look into something like OGRE – Open Source 3D Graphics Engine<http://www.ogre3d.org/> to really push the envelope On Wed, Mar 17, 2010 at 9:47 PM, aki <aki275@googlemail.com> wrote:
@Steve, cheers buddy. thnks for the tips. :-))
@Wash, lol!! :-))
Now if I could only type fast enoguh and get my objects correct, Kenyan Sniper would be a reality sooner than 12 months. :-))
_______________________________________________ Skunkworks mailing list Skunkworks@lists.my.co.ke http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks ------------ Skunkworks Server donations spreadsheet
http://spreadsheets.google.com/ccc?key=0AopdHkqSqKL-dHlQVTMxU1VBdU1BSWJxdy1f... ------------ Skunkworks Rules http://my.co.ke/phpbb/viewtopic.php?f=24&t=94 ------------ Other services @ http://my.co.ke

@Rad, I think this is where the buck stops for me i.e 2d-3d programming and hopefully onto game programming with a final embedded OS onto display systems with metadata ( 3 years on a hobbyist basis ). Something I'd like to share with this list is that the junction of where to move next is a very tricky place to be in. This junction can be a make or break point. I talked to a number of friends were basic programmers and all were of the same outlook. *What next?* Its something I've debated over and over until I gave it a rest for a few weeks. What I can also share with this list and especially those aspiring to become full time programmers ( not wazee like us ) is to give game programming a go. Whatever you learnt will be applied 100% from objects, classes, methods, properties and ofcourse the use of new ways to do programming. Forget web or desktop apps during your learning stage, you will never know the language well. The web is heading the right way and will be the future between internal and external systems so know your XML well. Mobile apps are still a very grey area with more emphasis on rural systems, payments systems which may limit your abilities to write more effective programs or even face limitations due to handset variations. And then there are telcos, who will want to have things their own way. Building an app then depending on telco gateways is tricky. Mobile apps also depend on server end services, so will you also code an entire server script just to make your app? Innovation is misused here because to be innovatitve is to go a route that does not exist and you do not want to be limited on your innovative route, you want the freedom to create and evolve something to the highest levels possible. It would be interesting to know how others dealt with the Junction problem ( What next ? ). What made people go eg the joomla route or any other route? Me thots, add more later during the week. :-)

A good starting point will be Fractal geometry. maybe you can start by learning the basics of Sierpinski Gasket. On Wed, Mar 17, 2010 at 6:06 PM, aki <aki275@googlemail.com> wrote:
Just checking if anyone has done 2D graphics programming and can share some insights. Is it grid based such that the grid gives eg location using an array? I think it does but how many grids then makes the screen display? L plates... :-)
_______________________________________________ Skunkworks mailing list Skunkworks@lists.my.co.ke http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks ------------ Skunkworks Server donations spreadsheet
http://spreadsheets.google.com/ccc?key=0AopdHkqSqKL-dHlQVTMxU1VBdU1BSWJxdy1f... ------------ Skunkworks Rules http://my.co.ke/phpbb/viewtopic.php?f=24&t=94 ------------ Other services @ http://my.co.ke
participants (8)
-
aki
-
Joe Murithi Njeru
-
Odhiambo Washington
-
Ouya Obunga
-
Rad!
-
Silas Savali
-
solomon kariri
-
Steve Obbayi