Wednesday, November 26, 2014

How to Run Depth First Search in Linux

Dont forget to include these header files while using C in Linux:
//DFS Search:

#include<stdio.h>
#include<curses.h>
#include<stdlib.h>
#include<math.h>
#include <time.h>


Wednesday, November 19, 2014

Tuesday, November 18, 2014

DFS Search

//DFS Search:

#include<stdio.h>
#include<conio.h>
int a[20][20],reach[20],n;
void dfs(int v)
{
 int i;
 reach[v]=1;
 for(i=1;i<=n;i++)

Sunday, November 2, 2014

Texture Mapping vs Environment Mapping vs Bump Mapping

Texture mapping is a method for adding detail, surface texture (a bitmap or raster image), or color to a computer-generated graphic or 3D model. Its application to 3D graphics was pioneered by Edwin Catmull in 1974.