Question about Advanced Graphics Programming Using OpenGL

1 Answer

I want a paint brush application using opengl

Posted by on

1 Answer

  • Level 2:

    An expert who has achieved level 2 by getting 100 points


    An expert that got 5 achievements.


    An expert whose answer got voted for 20 times.


    An expert who has answered 20 questions.

  • Expert
  • 86 Answers is one of the best open source paint programs. You can download at the link below:

Posted on Nov 23, 2009

1 Suggested Answer

  • 2 Answers

SOURCE: I have freestanding Series 8 dishwasher. Lately during the filling cycle water hammer is occurring. How can this be resolved

a 6ya expert can help you resolve that issue over the phone in a minute or two.
best thing about this new service is that you are never placed on hold and get to talk to real repairmen in the US.
the service is completely free and covers almost anything you can think of (from cars to computers, handyman, and even drones).
click here to download the app (for users in the US for now) and get all the help you need.

Posted on Jan 02, 2017

Add Your Answer

Uploading: 0%


Complete. Click "Add" to insert your video. Add



Related Questions:

2 Answers

How to paint kitchen

Clean the surface well you want to paint. Buy proper color paint from any shop. Buy a good quality brush.
Thin the paint using some turpentine.
Dip the brush in paint, and paint wherever you want.
You can even paint yourself to disguise an other.
Never paint to some parts of your body. I think; you can understand, what I meant by this sentence !!!

Sep 14, 2016 | Furniture

1 Answer

How can i corredt this error ??

report to mojang and play the pe version for a while. or you can delete your minecraft file and download it again

May 23, 2014 | Minecraft Mobile Admin

4 Answers

Paint scratches off easily on drywall

You can find good colours for painting your wall and good durable paints and follow it with the help of interior designers. They provide plenty of samples and designs for your requirement and guide you. They use many fabric paintings, hand painted wall papers, laminated multi coloured wall papers with different textures. For further ideas and assistance you can contact them at Homepage Interior Design

Feb 18, 2014 | Dutch Boy Int Drywall Pva Primer By Dutch

1 Answer

3d drives not my vga card pleeas soul this problem in the xp

Click start control panel administrive tools computer management device manager scroll to display adapters + to expand you might see a yellow question mark ? or exclamation mark ! or a red x right click select reinstall drivers Optimise your ATi graphics card's performance. ... and save profiles for Direct3D and OpenGL applications ... CATALYST 3.8 adds new features and advanced, customizable options to ATI's industry-leading unified software suite. Gameplay, multimedia, 3D applications are extended with new technologies and customizable environments. These features all benefit from intuitive settings, beginning with a user-friendly 3D control panel. The 3D Control Panel makes adjusting 3D settings easier than ever, allowing users to create and save profiles for Direct3D and OpenGL applications. Custom sections of the control panel can now be used to individually configure 3D settings such as anti-aliasing, anisotropic filtering and SMARTSHADER™ effects. These additions enable gamers to activate exciting pixel shader effects in any... hope this helps

Jun 01, 2011 | Computers & Internet

1 Answer

I have a deep scratch in one of my doors on my Buick. I bought the touch up paint but I'm not exactly sure how to apply it. I have used touch up paint many other times with many cars and it always seemed...

if you are using a mere touch up kit ..i would recommend for about 15-30 cents buying a model paint brush the bristles are much smaller than what comes in the bottle and no you wont need to sand it at all after application it will look very dull but put it on and allow it to simply apply to the scratch only ....unless you know someone in the paint dept...and ask for a bit of clear to mix into the paint it will look dull upon finish

if you are good at airbrush i would suggest merely filling the scratch in just as i described earlier ...unless you are going to actually paint the entire area then your talking blending into either the adjacent areas or merely blending into the area around the scratch ...what ever way you look at it touch up paint will always look dull upon finish

Dec 11, 2009 | Buick Park Avenue Cars & Trucks

2 Answers

My Hobart Mixer is chipping and needs paint, what kind of paint?

you can get spraycans of paint from hobartcorp. by the way no paint is food grade

Oct 02, 2009 | Hobart Food Mixers

2 Answers

Does this dental air compressor have a oil pressure safety switch?if so, where is it located? can I find a wiring diagram

Air compressors are designed to operate many different tools. The value of a commercial air compressor is many times greater than the purchase price because of the amount of work a single air compressor can perform. Dental air compressors are some of the most reliable because of the high-quality air they supply and precision tools they operate. As a result, dental air compressors can be adapted for a number of different tasks, including artistic air brush painting
1.Disconnect the air compressor from the dental tool air supply. Pressure and air supply rate-of-flow settings are different for air brush painting than for air delivery for dental tools.
2.Reset the air pressure on the tank to a range between 15 and 20 pounds per square inch (psi). The exact operating pressure for airbrush painting will vary, depending on the application and the type of paint used.
3.Reconnect an air-supply hose and a siphon style airbrush to the compressor.
4.Fill the airbrush's paint vile with lacquer-based paints. Test the air brush and paint performance on a piece of cardboard, or scrap piece of cloth
material before beginning the painting project. Every time the air compressor is connected to airbrush, or a new paint color is loaded into the brush, a short test spray should be performed. After each test adjust the air volume, and the paint flow in the gun to achieve the desired results8_16_2012_1_32_17_am.jpg

Aug 04, 2009 | Air Tools & Compressors

1 Answer

I want a program in openGL for the paint editor

i want a mini project on opengl the topic is graphics ediotor jst like ms paint

May 20, 2009 | Advanced Graphics Programming Using OpenGL...

Not finding what you are looking for?

Open Questions:

0 Answers

my code in opengl does not work can any one help me #include <string.h> #include <GL/glut.h> #include "math.h" float rotate =0.0; float start = 0.0; float z_dep = 0.0; int poi_size = 0; int poi_arr[100][2]; float rad_arr[50]; int m_x = 0; int m_y = 0; int rubber_band_on = 0; int down_flag = 0; #define MENU1 10 #define MENU2 11 #define MENU3 12 #define MENU4 13 #define MENU5 14 GLfloat r,g,b; GLint t=0 ; void sel(int item) { switch(item) { case MENU1: {r=1 , g=0 , b=0;} break; case MENU2: {r=0 , g=0 , b=1;} break; case MENU3: {r=0 , g=1 , b=0;} break; case MENU4: {t=1;} break; case MENU5: {t=2;} break; } glutPostRedisplay(); } void menu(void) { int MainMenu, SubMenu1,SubMenu2; SubMenu1=glutCreateMenu(sel); glutAddMenuEntry("red", MENU1); glutAddMenuEntry("bule", MENU2); glutAddMenuEntry("green", MENU3); SubMenu2=glutCreateMenu(sel); glutAddMenuEntry("line", MENU4); glutAddMenuEntry("circle", MENU5); MainMenu=glutCreateMenu(sel); glutAddSubMenu("Color", SubMenu1); glutAddSubMenu("Shap", SubMenu2); glutAttachMenu(GLUT_RIGHT_BUTTON); }void drawCircle(float radius, float x1, float y1) { float angle = 0; float x2,y2,cx,cy,fx,fy; int cache = 0; glBegin(GL_LINES); for (angle = 0; angle < 360; angle+=1.0) { float rad_angle = angle * 3.14 / 180; x2 = x1+radius * sin((double)rad_angle); y2 = y1+radius * cos((double)rad_angle); if (cache) { glVertex2f(cx,cy); glVertex2f(x2,y2); } else { fx = x2; fy = y2; } cache = 1; cx = x2; cy = y2; } glVertex2f(x2,y2); glVertex2f(fx,fy); glEnd(); } void tick(void) { glutPostRedisplay(); } void display1(void) { glClear(GL_COLOR_BUFFER_BIT); // Draw the lines created by user glBegin(GL_LINES); for(int i=0; i<poi_size; i++) { glVertex2f(poi_arr[i][0],poi_arr[i][1]); } if (rubber_band_on && (poi_size%2==1)) { glVertex2f(m_x,m_y); } glEnd(); glutSwapBuffers(); } void handleKeypress(unsigned char key, int x, int y) { switch (key) { case 27: //Escape key exit(0); } } void reshape(int w, int h) { glViewport(0, 0, w, h); glMatrixMode(GL_PROJECTION); glLoadIdentity(); gluOrtho2D(0, w, h, 0); glMatrixMode(GL_MODELVIEW); } void mouse_move1(int x, int y) { m_x = x; m_y = y; display1(); } void mouse1(int button, int state, int x, int y) { m_x = x; m_y = y; switch (button) { case GLUT_RIGHT_BUTTON: if (state == GLUT_DOWN) { // glutIdleFunc(spinDisplay); } if (state == GLUT_UP) { if (poi_size>0) { poi_size-=2; } rubber_band_on = 0; glutIdleFunc(NULL); } break; case GLUT_LEFT_BUTTON: rubber_band_on = 1; if (state == GLUT_DOWN) { down_flag = 1; } if (state == GLUT_UP) { if(down_flag) { poi_arr[poi_size][0]=x; poi_arr[poi_size][1]=y; poi_size++; down_flag = 0; } glutIdleFunc(NULL); } break; default: break; } display1(); } float calculate_radius(int x1,int y1) { int x_diff = m_x - x1; int y_diff = m_y - y1; if(x_diff<0) { x_diff *= -1; } if(y_diff<0) { y_diff *= -1; } float mag = x_diff*x_diff + y_diff*y_diff; float rad = sqrt(mag); return rad; } void display2(void) { glClear(GL_COLOR_BUFFER_BIT); for(int i=0; i<poi_size; i+=2) { int rad_index = (int)(i/2); float rad = rad_arr[rad_index]; if (rad>1) { drawCircle(rad,poi_arr[i][0],poi_arr[i][1]); } } glutSwapBuffers(); } void mouse_move2(int x, int y) { m_x = x; m_y = y; if (rubber_band_on) { float rd = calculate_radius(poi_arr[poi_size-1][0],poi_arr[poi_size-1][1]); rad_arr[poi_size/2] = rd; } display2(); } void mouse2(int button, int state, int x, int y) { m_x = x; m_y = y; switch (button) { case GLUT_RIGHT_BUTTON: if (state == GLUT_DOWN) { // glutIdleFunc(spinDisplay); } if (state == GLUT_UP) { glutIdleFunc(NULL); } break; case GLUT_LEFT_BUTTON: if (state == GLUT_DOWN) { down_flag = 1; } if (state == GLUT_UP) { if(down_flag) { poi_arr[poi_size][0]=x; poi_arr[poi_size][1]=y; poi_size++; down_flag = 0; rubber_band_on = !rubber_band_on; } glutIdleFunc(NULL); } break; default: break; } if (rubber_band_on && poi_size>0) { float rd = calculate_radius(poi_arr[poi_size-1][0],poi_arr[poi_size-1][1]); rad_arr[poi_size/2] = rd; } display2(); } int main(int argc, char **argv) { glutInitDisplayMode(GLUT_DOUBLE | GLUT_RGB); glutInitWindowSize(1000, 800); glutCreateWindow("OPENGL LINE DRAWING"); glClearColor(0.0, 0.0, 0.0, 1.0); menu(); if (t=1) { glutDisplayFunc(display1); glutReshapeFunc(reshape); glutIdleFunc(tick); glutKeyboardFunc(handleKeypress); glutMouseFunc(mouse1); glutMotionFunc(mouse_move1); glutPassiveMotionFunc(mouse_move1); glutMainLoop(); } if (t=2) { glutDisplayFunc(display2); glutReshapeFunc(reshape); glutIdleFunc(tick); glutKeyboardFunc(handleKeypress); glutMouseFunc(mouse2); glutMotionFunc(mouse_move2); glutPassiveMotionFunc(mouse_move2); glutMainLoop(); } return 0; /* ANSI C requires main to return int. */ }

Jun 22, 2013 | Advanced Graphics Programming Using OpenGL...

See all Advanced Graphics Programming Using OpenGL Questions

Advanced Graphics Programming Using OpenGL  Logo

Related Topics:

806 people viewed this question

Ask a Question

Usually answered in minutes!

Top Advanced Graphics Computers & Internet Experts

Doctor PC
Doctor PC

Level 3 Expert

7733 Answers


Level 3 Expert

102366 Answers

David Payne
David Payne

Level 3 Expert

14161 Answers

Are you an Advanced Graphics Computer and Internet Expert? Answer questions, earn points and help others

Answer questions

Manuals & User Guides