Click here to Skip to main content
15,886,518 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I need to visualize a Delta Robot with OpenGL in Visual Studio 2010 (C#). I already compiled SharpGL and added the .dll-file to the references. To visualize the Delta Robot, I need to draw 2 triangles and 6 lines. I can't seem to find any infomation on how to solve this simple problem, can somebody help me please?
Posted
Comments
#realJSOP 23-Sep-11 8:22am    
If it's a simple problem (by your own definition), why are you asking this question?
Tiemer 23-Sep-11 8:29am    
Because a simple problem is still a problem. I don't quite understand this useless question, though...
Mehdi Gholam 23-Sep-11 8:53am    
Have you looked at the samples with sharpgl?
Tiemer 23-Sep-11 9:08am    
Yes I did, but it didn't get easier...

I know the procedure to draw an object, the problem is that nothings appears on the screen when debugging. I need some help with the initializing.

1 solution

Check out the link below. It isn't specifically aimed for c# but that really shouldn't matter because all is done by calling the gl api. Initialization is one of the most important things because you otherwise won't see anything. That can be quite confusing especially when you're just entering the world of opengl.

http://basic4gl.wikispaces.com/2D+Drawing+in+OpenGL[^]

Good luck!
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900