Tuesday, July 19, 2011

A famous dialog in a famous movie: The Matrix.

A famous dialog in a famous movie: The Matrix.

I like this dialog because it is somewhat related to the actual type of human beings and the way they live. It is though some soar but it is true. Go on with this.

Agent Smith: I would like to share a revolution that I have had during my time here , it came to me when I tried to classify your species, then I realized that you are not actually mammals. Every mammal on this planet instinct to be develop a natural equilibrium with the surrounding environment but you humans do not. You move to an area and you multiply and multiply until every natural resource is consumed , and the only way to survive is to spread to another area. There is another organism in this planet that follows the same pattern do you know what it is? A virus. The human beings are a disease, cancer of this planet you are a plague and we are the cure.

Monday, July 18, 2011

OpenGL vs DirectX

if you are reading this post, you have interest in animation or game development.

models what you see on the screen are developed using some modelling softwares like CAD,MAYA,BLENDER etc

the background engine or the source which runs these models are c or c++ or other programming languages

OpenGl and Directx are some APIs used for using those developed models and creating game logic etc.

If you are in any confusion to select which api see the table they will make you to conclude.
Feature: OpenGL: DirectX:
vertex blending N/A Yes
Multiple Operating systems Yes No
Extension Mechanism Yes Yes
Development Multiple member Board Microsoft
Through Specification Yes No
Two-Sided lighting Yes No
Volume Textures Yes No
Hardware independent Z-buffers Yes No
Accumulation buffers Yes No
Full Screen Antialiasing Yes Yes
Motion Blur Yes Yes
Depth of field Yes Yes
Stereo Rendering Yes No
Point-size/line-width attributes Yes No
Picking Yes No
Parametric curves and surfaces Yes No
Cache geometry Display Lists Vertex Buffers
System emulation Hardware not present Let app determine
Interface Procedure calls COM
Updates Yearly Yearly
Source code Sample SDK implementation

Countries and their Capitals

Hi How many of you know present countries and capitals?

Update Your database

Total 197 countries here

COUNTRYCAPITAL
AfghanistanKabul
AlbaniaTirane
AlgeriaAlgiers
AndorraAndorra la Vella
AngolaLuanda
Antigua and BarbudaSaint John's
ArgentinaBuenos Aires
ArmeniaYerevan
AustraliaCanberra
AustriaVienna
AzerbaijanBaku
The BahamasNassau
BahrainManama
BangladeshDhaka
BarbadosBridgetown
BelarusMinsk
BelgiumBrussels
BelizeBelmopan
BeninPorto-Novo
BhutanThimphu
BoliviaLa Paz (administrative); Sucre (judicial)
Bosnia and HerzegovinaSarajevo
BotswanaGaborone
BrazilBrasilia
BruneiBandar Seri Begawan
BulgariaSofia
Burkina FasoOuagadougou
BurundiBujumbura
CambodiaPhnom Penh
CameroonYaounde
CanadaOttawa
Cape VerdePraia
Central African RepublicBangui
ChadN'Djamena
ChileSantiago
ChinaBeijing
ColombiaBogota
ComorosMoroni
Congo, Republic of theBrazzaville
Congo, Democratic Republic of theKinshasa
Costa RicaSan Jose
Cote d'IvoireYamoussoukro (official); Abidjan (de facto)
CroatiaZagreb
CubaHavana
CyprusNicosia
Czech RepublicPrague
DenmarkCopenhagen
DjiboutiDjibouti
DominicaRoseau
Dominican RepublicSanto Domingo
East Timor (Timor-Leste)Dili
EcuadorQuito
EgyptCairo
El SalvadorSan Salvador
Equatorial GuineaMalabo
EritreaAsmara
EstoniaTallinn
EthiopiaAddis Ababa
FijiSuva
FinlandHelsinki
FranceParis
GabonLibreville
The GambiaBanjul
GeorgiaTbilisi
GermanyBerlin
GhanaAccra
GreeceAthens
GrenadaSaint George's
GuatemalaGuatemala City
GuineaConakry
Guinea-BissauBissau
GuyanaGeorgetown
HaitiPort-au-Prince
HondurasTegucigalpa
HungaryBudapest
IcelandReykjavik
IndiaNew Delhi
IndonesiaJakarta
IranTehran
IraqBaghdad
IrelandDublin
IsraelJerusalem*
ItalyRome
JamaicaKingston
JapanTokyo
JordanAmman
KazakhstanAstana
KenyaNairobi
KiribatiTarawa Atoll
Korea, NorthPyongyang
Korea, SouthSeoul
KosovoPristina
KuwaitKuwait City
KyrgyzstanBishkek
LaosVientiane
LatviaRiga
LebanonBeirut
LesothoMaseru
LiberiaMonrovia
LibyaTripoli
LiechtensteinVaduz
LithuaniaVilnius
LuxembourgLuxembourg
MacedoniaSkopje
MadagascarAntananarivo
MalawiLilongwe
MalaysiaKuala Lumpur
MaldivesMale
MaliBamako
MaltaValletta
Marshall IslandsMajuro
MauritaniaNouakchott
MauritiusPort Louis
MexicoMexico City
Micronesia, Federated States ofPalikir
MoldovaChisinau
MonacoMonaco
MongoliaUlaanbaatar
MontenegroPodgorica
MoroccoRabat
MozambiqueMaputo
Myanmar (Burma)Rangoon (Yangon); Naypyidaw or Nay Pyi Taw (administrative)
NamibiaWindhoek
Nauruno official capital; government offices in Yaren District
NepalKathmandu
NetherlandsAmsterdam; The Hague (seat of government)
New ZealandWellington
NicaraguaManagua
NigerNiamey
NigeriaAbuja
NorwayOslo
OmanMuscat
PakistanIslamabad
PalauMelekeok
PanamaPanama City
Papua New GuineaPort Moresby
ParaguayAsuncion
PeruLima
PhilippinesManila
PolandWarsaw
PortugalLisbon
QatarDoha
RomaniaBucharest
RussiaMoscow
RwandaKigali
Saint Kitts and NevisBasseterre
Saint LuciaCastries
Saint Vincent and the GrenadinesKingstown
SamoaApia
San MarinoSan Marino
Sao Tome and PrincipeSao Tome
Saudi ArabiaRiyadh
SenegalDakar
SerbiaBelgrade
SeychellesVictoria
Sierra LeoneFreetown
SingaporeSingapore
SlovakiaBratislava
SloveniaLjubljana
Solomon IslandsHoniara
SomaliaMogadishu
South AfricaPretoria (administrative); Cape Town (legislative); Bloemfontein (judiciary)
South SudanJuba
SpainMadrid
Sri LankaColombo; Sri Jayewardenepura Kotte (legislative)
SudanKhartoum
SurinameParamaribo
SwazilandMbabane
SwedenStockholm
SwitzerlandBern
SyriaDamascus
TaiwanTaipei
TajikistanDushanbe
TanzaniaDar es Salaam; Dodoma (legislative)
ThailandBangkok
TogoLome
TongaNuku'alofa
Trinidad and TobagoPort-of-Spain
TunisiaTunis
TurkeyAnkara
TurkmenistanAshgabat
TuvaluVaiaku village, Funafuti province
UgandaKampala
UkraineKyiv
United Arab EmiratesAbu Dhabi
United KingdomLondon
United States of AmericaWashington D.C.
UruguayMontevideo
UzbekistanTashkent
VanuatuPort-Vila
Vatican City (Holy See)Vatican City
VenezuelaCaracas
VietnamHanoi
YemenSanaa
ZambiaLusaka
ZimbabweHarare