在计算机图形学中使用c的opengl中的projrct代码 [英] code for projrct in opengl with c in computer graphics

查看:72
本文介绍了在计算机图形学中使用c的opengl中的projrct代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您在坐标系中给了四个点,如何检查它们是否是每个点之间的线?如果它们是每个点之间的线,则必须用上一个颜色填充该框我想用c在opengl中解决此问题的代码.您可以采用两种颜色绘制点之间的线.

you have given four points in the cordinate system.how will you check that their is the line between each and every point?and if thier is a line between each and every point you have to fill that box with the color of last line drawn?i want the code for this problem in opengl with c.you can take the two color to draw the lines between the points.

推荐答案

您可以找到示例线图和颜色填充的位置: OpenGL代码资源
You can find examples of line drawing and color fills here : OpenGL Code Resources


这篇关于在计算机图形学中使用c的opengl中的projrct代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆