Skip to content

Learn & Lead

Man is still the most extraordinary computer of all

Menu
  • Home
  • Algorithms
    • Sorting Algorithms
    • String Algorithms
    • Kadane’s Algorithm
  • Computer Graphics
    • Lab 1 – Print Green Window
    • Lab 2 – Sierpinski Triangle
    • Lab 3 – Two Dots
    • Lab 4 – Square in Square
    • Lab 5 – Qaudrilateral
    • LAB 6- e^(-x)*cos(2*x*π ) Graph
    • Lab 7 – sin(x)/x Graph
    • Lab 8 – Dot on Click
    • Lab 9 – (i) Chess Board
    • Lab 9 – (ii) Colored Chess Board
    • Lab 10 – Freehand Drawing
    • Lab 11 – Mouse Click Polyline
    • Lab – 12. Color Freehand Drawing
  • Data Structures
    • Linked List
    • Queues
    • Stacks
    • Trees
  • Networking
    • Linux Assembly Language Premier
      • Part – 1 System Organization
      • Part – 2 Virtual Memory Organization
    • Socket Programming
      • Socket Programming – Part 1
      • Socket Programming – Part 2
    • TCP Client program in C language
    • TCP Server program in C language
    • UDP Client program in C language
    • UDP Server program in C language
  • About Me

Category: Computer Graphics

Posted onNovember 23, 2013September 23, 2015Computer Graphics

Computer Graphics – Lab 24 Rotating Square

by RobinLeave a comment on Computer Graphics – Lab 24 Rotating Square

[wpdm_package id=’1187′] Sample Output – To compile the above program in ubuntu terminal – # g++ -lGL -lGLU -lglut Rotating_Square.cpp # ./a.out

Read More
Posted onNovember 14, 2013September 23, 2015Computer Graphics

Computer Graphics – Lab 23 Create a Clock

by RobinLeave a comment on Computer Graphics – Lab 23 Create a Clock

[wpdm_package id=’1185′] Sample Input – Create a clock using timer function, clock should show hour, minute and second hands. Sample Output – To compile the…

Read More
Posted onNovember 2, 2013September 23, 2015Computer Graphics

Computer Graphics – Lab 22 Translate/Rotate/Scale using Matrix Push & Pop

by RobinLeave a comment on Computer Graphics – Lab 22 Translate/Rotate/Scale using Matrix Push & Pop

[wpdm_package id=’1260′] Sample Input – Translate, Rotate and Scale a Rectangle using Matrix Push and Pop. Sample Output – To compile the above program in…

Read More
Posted onNovember 2, 2013September 23, 2015Computer Graphics

Computer Graphics – Lab 21 Translate/Rotate/Scale using opengl Functions

by RobinLeave a comment on Computer Graphics – Lab 21 Translate/Rotate/Scale using opengl Functions

[wpdm_package id=’1266′] Sample Input – Translate, Rotate and Scale a Rectangle using Opengl functions. Sample Output – Translate Function [sourcecode lang=”cpp”] glTranslatef(-200,-50,0); [/sourcecode] Rotate Function…

Read More
Posted onNovember 1, 2013September 23, 2015Computer Graphics

Computer Graphics – Lab 20 Write Character using Bitmap

by RobinLeave a comment on Computer Graphics – Lab 20 Write Character using Bitmap

[wpdm_package id=’1258′] Sample Input – Write Characters using glutBitmapCharacter(font, character) . Sample Output – [sourcecode lang=”cpp”] string s="TechToFun"; for(size_t i=0;i<s.size();i++){ glutBitmapCharacter(GLUT_BITMAP_TIMES_ROMAN_24, s[i]); } [/sourcecode] To…

Read More
Posted onOctober 30, 2013September 23, 2015Computer Graphics

Computer Graphics – Lab 19 Line with Stipple Patterns

by RobinLeave a comment on Computer Graphics – Lab 19 Line with Stipple Patterns

[wpdm_package id=’1256′] Sample Input – Write a program to draw line with stipple patterns. Sample Output – [sourcecode lang=”cpp”] glEnable(GL_LINE_STIPPLE); glLineStipple(1,0x00ff); glBegin(GL_LINES); glVertex2f(100,100); glVertex2f(600,600); glEnd();…

Read More
Posted onAugust 28, 2013September 23, 2015Computer Graphics

Computer Graphics – Lab 18 Circle Using Polygon

by RobinLeave a comment on Computer Graphics – Lab 18 Circle Using Polygon

[wpdm_package id=’1254′] Sample Input –Write a program to draw circle approximating it with polygons of increase sides. ‘+’ and ‘-‘ should be used to increase…

Read More
Posted onAugust 24, 2013September 23, 2015Computer Graphics

Computer Graphics – 17 Midpoint Circle Drawing Algorithm

by RobinLeave a comment on Computer Graphics – 17 Midpoint Circle Drawing Algorithm

[wpdm_package id=’1248′] Sample Input –Draw a circle using Midpoint Circle Drawing Algorithm. The center of circle should be accepted using mouse clicks. Use 1 to…

Read More
Posted onAugust 22, 2013September 23, 2015Computer Graphics

Computer Graphics – 16. Circle Drawing – Naive Polar Form

by RobinLeave a comment on Computer Graphics – 16. Circle Drawing – Naive Polar Form

[wpdm_package id=’1246′] Sample Input –Draw a circle using the naive polar form of circle. The center of circle should be accepted using mouse clicks. Use…

Read More
Posted onAugust 22, 2013September 23, 2015Computer Graphics

Computer Graphics – 15. Circle Drawing – Naive Cartesian Form

by RobinLeave a comment on Computer Graphics – 15. Circle Drawing – Naive Cartesian Form

[wpdm_package id=’1244′] Sample Input –Draw a circle using the naive cartesian form of circle. The center of circle should be accepted using mouse clicks. Use…

Read More

Posts navigation

Page 1 Page 2 Page 3 Next Page

Categories

  • Abroad Studies
  • Algorithms
  • Android
  • Bitwise Programming
  • Computer Graphics
  • Conference Paper
  • Data Structures
  • How to do?
  • Interview
  • Linux
  • Netcentric Programming
  • Networking
  • Open Source
  • Operating Systems
  • Parallel system Architecture
  • Technology
  • Uncategorized
  • Web Development

Archives

  • April 2020
  • May 2019
  • December 2016
  • November 2016
  • September 2016
  • August 2016
  • April 2015
  • September 2014
  • August 2014
  • April 2014
  • November 2013
  • October 2013
  • September 2013
  • August 2013
  • July 2013
  • June 2013
  • May 2013
  • April 2013
  • March 2013
  • February 2013

Recent Comments

  • priya on SAP Labs India hires me!!
  • robin on SAP Labs India hires me!!
  • robin on Simple Login Authentication Application with Session using JSP / JSTL
  • robin on SAP Labs India hires me!!
  • robin on SAP Labs Coding Interview Question 1
Amphibious Theme by TemplatePocket ⋅ Powered by WordPress