In the name of Allah, Most Gracious, Most Merciful

Tuesday, August 10, 2010

Software Freedom Day (SFD) 2010



We are pleased to announce you Software Freedom day 2010@ Alexandria Unversity . Software Freedom Day (SFD) is a worldwide celebration of Free and Open Source Software (FOSS). The goal in this celebration is to educate the worldwide public about the benefits of using high quality FOSS in education, in government, at home, and in business -- in short, everywhere!

The event will start from 24th August to 26thAugust 2010 in Bibliotheca Alexandria. Costs is Free and there will be a givways.

Seats are limited so register ASAP, you can find Registration Form: here
For More Info, check those two sites :
SFD Site
OSUM Site

You can find SFD Facebook event group : here
If you have any question about the event, please contact us :
Ahmed Emara : ahmedemara0@gmail.com
Ahmed Salama : ahmedsalama183@gmail.com


Thanks,

Sunday, August 8, 2010

Loading textures into JOGL.

My task that I set for myself today was to use textures and pictures in JOGL instead of solid colors .It was not quite easy as it sounds :D .. but e7llah I done it successfully :) ..

And here's the result of my work.

Thanks :),

Thursday, August 5, 2010

JOGL - Java OpenGL -

Finally back to JOGL - OpenGL but for Java not C/C++ - And E7llah I successfully installed its libraries and made a good progress with it :) ..

Here is the Pyramid I coded and colored :) ..

More to come isAllah :) ..

Wednesday, August 4, 2010

Color Cycling - AKA Palette Shifting -

Color Cycling is a technique used in computer graphics in which colors are changed in order to give the impression of animation. This technique was mainly used in early computer games .

Actually it's a terrific Idea and you wouldn't believe how cool it's till you actually see one !
[Hint : Click on Show Option >> to actually see what is happening in the color palette].

The animation itself is simply nothing other than group of colors cycling their own colors between them !! .. so as you can see the animation looks very awesome ! and it doesn't need lots of memory to play it "The other solution was to save every frame as an independent image and keep cycling between those images which would kill small memory chips used at those days :S :S ".

Sunday, August 1, 2010

Java Tips.

1] Java Enhanced For Loop ::

http://www.java-tips.org/java-se-tips/java.lang/the-enhanced-for-loop.html


[Sample Code]

String[] array = {"Ahmed","Mohamed","Salama"};
for(String i:array){
System.out.println(i);
}


output :: Ahmed Mohamed Salama

2] Using Generics ::

Use it if you needed to restrict your collection to a specific type.

[Sample Code]
Stack s = new Stack();
s.push(10);
int temp = s.pop();

: would restrict the Stack to Integer only .. now you don't need to cast the result of s.pop() every time you pop an element .. on the other hand, the compiler should through an error if y
s than Integers ..

More tips to follow isAllah :) ...
ou tried to push other data type