Welcome![Sign In][Sign Up]
Location:
Search - draw a sphere in opengl

Search list

[OpenGL programopengl_ball

Description: 使用贴片法在opengl中绘制一球体,并赋予光照效果-Using the patch method in opengl draw a sphere, and lighting effects to give
Platform: | Size: 3163136 | Author: 陈小妤 | Hits:

[OpenGL programsphere

Description: An openGl proram shows how you can draw a sphere
Platform: | Size: 3072 | Author: abdelrahman | Hits:

[OpenGL program1111

Description: 利用Glut库,编写一个OpenGL程序,实现以下功能: l 仿照课本2.4.3的例子,绘制若干OpenGL基本体素(三角形、三角形带、四边形、四边形带)构成的球体, l 可以控制改变球的数量和球的体积,来改变基本体素的数量以及顶点的数量。 l 可以通过改变glPolygonMode,切换是否填充所绘制的基本体素。 l 利用函数glutGet(GLUT_ELAPSED_TIME)(returns the time in milliseconds since glutInit or the first invocation of the function)统计绘制时间-By Glut library, write a OpenGL program, the following functions: l follow textbook examples of 2.4.3, a number of OpenGL to draw the basic body hormone (triangle, triangle strips, quadrilateral, quadrilateral zone) constitutes the sphere, l can control the change in the number of balls and the volume of the ball to change the basic number of voxels and the number of vertices. l can change glPolygonMode, is populated by switching the basic voxel rendering. l using the function glutGet (GLUT_ELAPSED_TIME) (returns the time in milliseconds since glutInit or the first invocation of the function) Statistics drawing time
Platform: | Size: 1024 | Author: 易寒 | Hits:

[OpenGL programBubble

Description: 在三维场景中绘制两个球体,一个纹理贴图,一个启用颜色混合实现透明效果。使用鼠标可以托动任意球体,当球体叠加时,托动的是离屏幕最近的球体-Draw three-dimensional scene in two spheres, a texture, color mixing to achieve a transparent effect is enabled. Use the mouse to drag the arbitrary sphere, when the ball stack, the prop is moving away from the screen nearest sphere
Platform: | Size: 2315264 | Author: 潘伟 | Hits:

[OpenGL programOpenGL-three-teapot-three-light

Description: 1. 绘制带有光照效果的场景; 2. 场景包含 3 个茶壶,通过键盘 123 可以分别选中三个茶壶,然后用鼠标对每个茶壶 进行分别的旋转; 3. 使用点光源,点光源为白色,以白色的球体表示; 4. 使用 3 个不同的点光源 i. 光源 1 的坐标设置在世界坐标系中,并围绕着三个茶壶的中心进行圆周运动; ii. 光源 2 的坐标 设置在观察坐标系,不发生变化; iii. 光源 3 的坐标设置在茶壶 1 的物体坐标系中,当茶壶 1 被选中进行旋转时,光 源 3 要跟随茶壶 1 做相同的旋转;-he 1 draw with light effects 2 scene contains 3 teapot, through the keyboard 123 can be respectively selected three teapot, then using the mouse to rotate each teapot separately 3 using a point light source, light source is white, with white sphere representation 4 using 3 different point light source I light source 1 coordinate setting in the world coordinate system, and around three teapot center circular motion II light source 2 coordinate setting during the observation coordinate system, not to change III light source 3 coordinate setting in the teapot 1 object coordinate system, when the teapot 1 was selected rotates, light source 3 to follow the teapot 1 do the same rotation
Platform: | Size: 69632 | Author: 雷勇 | Hits:

[CSharpball

Description: 在C#窗体应用上画出一个球体,是opengl+C#入门者的基础参考- Draw a sphere in a C# form application, is the basic reference for opengl+C# beginners
Platform: | Size: 82944 | Author: pengqiaoli | Hits:

CodeBus www.codebus.net