E-COM-NET
首页
在线工具
Layui镜像站
SUI文档
联系我们
推荐频道
Java
PHP
C++
C
C#
Python
Ruby
go语言
Scala
Servlet
Vue
MySQL
NoSQL
Redis
CSS
Oracle
SQL Server
DB2
HBase
Http
HTML5
Spring
Ajax
Jquery
JavaScript
Json
XML
NodeJs
mybatis
Hibernate
算法
设计模式
shell
数据结构
大数据
JS
消息中间件
正则表达式
Tomcat
SQL
Nginx
Shiro
Maven
Linux
glClearColor
OpenGL超级宝典笔记——雾
glClearColor
(fLowLight[0], fLowLight[1], fLowLight[2], fL
Mario_Q
·
2013-10-22 22:00
OpenGL
OpenGL绘制直线和圆(中点法)
#include#includestaticinti=1;voidInitial(void){
glClearColor
(1.0f,1.0f,1.0f,1.0f);//设置窗口背景颜色为白色glMatrixMode
陳紋欽
·
2013-10-11 22:21
OpenGL
opengl 实现右键菜单
glClear(GL_COLOR_BUFFER_BIT); glRectf(-1.0,-1.0,1.0,1.0); glutSwapBuffers(); } voidmyinit(void){
glClearColor
a771948524
·
2013-09-02 22:00
opengl 雾效
pragmacomment(lib,"glew32.lib")#pragmacomment(lib,"glut32.lib")floatlight_pos[]={0.5,0,3};voidinit(){
glClearColor
davidsu33
·
2013-08-29 15:00
OpenGL
雾效
opengl绘制线
#include"stdafx.h"#include"GL\glut.h"voidRenderScene(){//清楚颜色缓冲区,填充的颜色由
glClearColor
(0,0,0,1);指定为黑色glClear
chenyu19880302
·
2013-08-15 14:00
图形
OpenGL
lines
c语言在qt环境下调用opengl es 2.0 api创建机器人手臂
#include #include #include #include #include staticintshoulder=0,elbow=0; voidinit() {
glClearColor
(
themagickeyjianan
·
2013-08-14 23:00
opengl点的绘制
#include"stdafx.h"#includevoidRenderScene(){//清除颜色缓冲区,填充的颜色由
glClearColor
(0,0,0,1);指定为黑色glClear(GL_COLOR_BUFFER_BIT
chenyu19880302
·
2013-08-14 16:22
opengl
opengl点的绘制
#include"stdafx.h"#includevoidRenderScene(){ //清除颜色缓冲区,填充的颜色由
glClearColor
(0,0,0,1);指定为黑色 glClear(GL_COLOR_BUFFER_BIT
chenyu19880302
·
2013-08-14 16:00
OpenGL
图像处理
pyOpenGL实例讲解
fromOpenGL.GLimport* fromOpenGL.GLUimport* fromOpenGL.GLUTimport* #fromnumpyimport* importsys definit(): #初始化背景
glClearColor
hgy2011
·
2013-07-24 21:00
opengl 指定清除屏幕用的颜色
在RGB模式下,使用
glClearColor
来指定“空”的颜色,它需要四个参数,其参数的意义跟glColor4f相似。在索引颜色模式
xbl1986
·
2013-07-17 14:00
第十一章 图像之清屏
接下来实例就是清除深度缓冲的实例:@Override publicvoidrender(){ Gdx.graphics.getGL20().
glClearColor
(1,0,0,1)
song19891121
·
2013-06-29 08:00
java
游戏
android
框架
libgdx
绘制犹他壶
GL_COLOR_BUFFER_BIT); glutWireTeapot(0.6f); //glutSolidSphere(1,100,100); glFlush(); } voidinit(void) {
glClearColor
wuxinliulei
·
2013-06-17 13:00
OpenGL
绘制球体
GL_COLOR_BUFFER_BIT); glutWireSphere(1,100,100); //glutSolidSphere(1,100,100); glFlush(); } voidinit(void) {
glClearColor
wuxinliulei
·
2013-06-17 13:00
OpenGL
绘制钟表(2)
#include #include #include #include voidinit() {
glClearColor
(0.5,0.5,0.5,0.0); gluOrtho2D(-100,100,
wuxinliulei
·
2013-06-16 22:00
OpenGL
opengl绘制钟表
voidDraw(){ inti; floatR,TR,h_Angle,m_Angle,s_Angle,count,h_Length,m_Length,s_Length; R=0.5;TR=R-0.05;
glClearColor
wuxinliulei
·
2013-06-16 22:00
OpenGL
关于glTranslatef函数
#include voiddisplay() {
glClearColor
(0.0,0.0,0.0,0.0); glOrtho(-10,10,-10,10,-10,10); glClear(GL_COLOR_BUFFER_BIT
wuxinliulei
·
2013-06-16 01:00
OpenGL
【Android开发学习37】android opengl es 2.0里surfaceview背景透明
在onSurfaceCreated里,调用GLES20.
glClearColor
(0f,0f,0f,0f);alpha为0,即透明。
ypist
·
2013-04-15 19:00
android
OpenGL
SurfaceView
背景透明
Opengl---glFlush函数
#include"stdafx.h" #include #include voidinit(void) {
glClearColor
(0.0,0.0,0.0,0.0); glShadeModel
IvanLJF
·
2013-04-07 09:00
在VS2010下编译无法打开包括文件:“GL/glaux.h”: No such file or directory的解决 .
void){auxInitDisplayMode(AUX_SINGLE|AUX_RGBA);auxInitPosition(0,0,500,500);auxInitWindow("simple");
glClearColor
IvanLJF
·
2013-04-02 17:00
OpenGL笔记:二. 绘制几何图形
绘图工具 (1)Clear 颜色:
glClearColor
( R, G, B, A); //设置窗口背景颜色 缓冲区: glClearDepth
xiyanlgu
·
2013-03-11 11:00
OpenGL
cocos2d-x中修改窗口背景色
既然是opengl渲染的,那么初始化的颜色一定是用gl函数处理的,如下
glClearColor
(0.0f,0.0f,0.0f,1.0f);搜索之,找到一个voidCCDirector::setGLDefaultValues
fylz1125
·
2013-02-01 02:00
背景
cocos2d-x
cocos2d-x
游戏开发
窗口背景色
【计算机图形学】六、Mandelbrot集
include"stdlib.h" #include"math.h" floatxmin=-2.00,xmax=0.50; floatymin=-1.25,ymax=1.25; voidinit() {
glClearColor
lifehack
·
2013-01-19 15:00
【计算机图形学】五、Julia集
1.算法2.源代码#include"stdafx.h" #include"GL/glut.h" #include"stdlib.h" #include"math.h" voidinit() {
glClearColor
lifehack
·
2013-01-19 15:00
【计算机图形学】四、B样条曲线的生成
1.算法2.源代码#include"stdafx.h" #include"GL/glut.h" #include"stdlib.h" voidinit() {
glClearColor
(1.0,1.0,1.0,0.0
lifehack
·
2013-01-18 15:00
【计算机图形学】三、bezier曲线的生成
1.算法2.源代码#include"stdafx.h" #include"GL/glut.h" #include"stdlib.h" #include"math.h" voidinit() {
glClearColor
lifehack
·
2013-01-18 15:00
【计算机图形学】二、椭圆的生成
1.算法2.源代码#include"stdafx.h" #include"GL/glut.h" #include"stdlib.h" voidinit() {
glClearColor
(1.0,1.0,1.0,0.0
lifehack
·
2013-01-18 15:00
【计算机图形学】一、直线的生成
.算法:2.源代码:#include"stdafx.h" #include"GL/glut.h" #include"stdlib.h" #include"math.h" voidinit() {
glClearColor
lifehack
·
2013-01-18 15:00
关于帧缓存与OpenGL的帧缓存操作
glClearColor
,glClear,glClearDepth
一个支持OpenGL渲染的窗口(即帧缓存)可能包含以下的组合:·至多4个颜色缓存·一个深度缓存·一个模板缓存·一个积累缓存·一个多重采样缓存1.
glClearColor
:设置颜色缓存的清除值C语言描
jiangdf
·
2012-12-30 13:00
[OpenGL]使用简单的视角变化实现太阳和地球的转动
#include staticintyear=0,day=0; voidinit(void){
glClearColor
(0.0,0.0,0.0,0.0); glShadeModel(GL_FLAT)
wxg694175346
·
2012-12-05 21:00
python使用opengl绘制竹叶的十字型
fromOpenGL.GLimport* fromOpenGL.GLUimport* fromOpenGL.GLUTimport* importmath importsys definit():
glClearColor
limiteeWALTWO
·
2012-12-04 00:00
python
python
OpenGL
OpenGL
OpenGL
OpenGL
python使用opengl绘制圆,y=x**2,y=math.sqrt(x)
fromOpenGL.GLimport* fromOpenGL.GLUimport* fromOpenGL.GLUTimport* importmath importsys definit():
glClearColor
limiteeWALTWO
·
2012-12-04 00:00
ArchieOpenGL教程第六课:对OpenGL进行设置
voidCOpenglbaseView::myInit() { //置黑背景
glClearColor
(0.0f,0.0f,0.0f,0.0f);//黑色背景 glEnable(GL_DEPTH_TEST
whucv
·
2012-11-09 15:00
opengl es学习-画四边形
publicclassOpenGlRenderimplementsGLSurfaceView.Renderer{ publicvoidonSurfaceCreated(GL10gl,EGLConfigconfig){ gl.
glClearColor
w8320273
·
2012-10-18 14:00
Class
buffer
float
开源项目之Android-GL(OpenGL 编程)
该项目就22个目标文件,如图:效果如图:实例1,效果如图:代码如下:protectedvoidinit(GL10gl){//Setupbackgroundcolorgl.
glClearColor
(0.0f
半棵树
·
2012-10-10 21:02
android
移动平台
开源项目之Android-GL(OpenGL 编程)
该项目就22个目标文件,如图:效果如图:实例1,效果如图:代码如下:protectedvoidinit(GL10gl) { //Setupbackgroundcolor gl.
glClearColor
(
banketree
·
2012-10-10 21:00
Ophone平台2D游戏引擎实现物理引擎二(4)
13-5:onDrawFrame函数 public void onDrawFrame(GL10 gl) { if (editMode) { // 编辑模式则渲染为红色背景 gl.
glClearColor
gangyanliang
·
2012-08-22 14:00
帧缓存操作
glClearColor
,glClear,glClearDepth
帧缓存操作
glClearColor
,glClear,glClearDepth1.
glClearColor
:设置颜色缓存的清除值C语言描述voidglClearColor(GLfloatred,GLfloatgreen
gangyanliang
·
2012-08-22 10:00
c
buffer
语言
opengl 行星系统
#include staticintyear=0,day=0; voidinit() {
glClearColor
(0.0f,0.0f,0.0f,0.0f); glShadeModel(GL_FLAT
weinyZhou
·
2012-07-19 22:00
timer
buffer
360
include
keyboard
opengl 行星系统
#includestaticintyear=0,day=0;voidinit(){
glClearColor
(0.0f,0.0f,0.0f,0.0f);glShadeModel(GL_FLAT);}voiddisplay
iteye_17686
·
2012-07-19 22:00
OpenGL png图片 纹理贴图,去除png图片黑边
1.初始化 protectedvoidinit(GL10gl){ //Setupbackgroundcolor gl.
glClearColor
(1,1,1,1); gl.glEnable(GL10.GL_BLEND
lwuit
·
2012-06-29 09:00
filter
float
Blend
Matrix
testing
textures
OpenGL入门(一)
基本函数库用来描述图元、属性、几何变换、观察变换和进行许多其它的操作;002、OpenGLUtilityToolkit:GLUT,OpenGL实用函数工具包,提供了与任意屏幕窗口系统进行交互的函数库;003、
glClearColor
xiruanliuwei
·
2012-05-26 22:00
c
buffer
工具
第一个测试程序
(void){auxInitDisplayMode(AUX_SINGLE|AUX_RGBA);auxInitPosition(0,0,500,500);auxInitWindow("simple");
glClearColor
zhanglongit
·
2012-04-25 13:00
OpenGL ES常用API
OPenGLES常用API:
glClearColor
(0.f,0.f,0.f,1.f); // 设置模式窗口的背景颜色,颜色采用的是RGBA值 glViewport(0,0,iScreenWidth,
Listening_music
·
2012-04-10 10:00
api
存储
buffer
byte
图形
Matrix
OpenGL核心概念扫盲--学不懂OpenGL的进
http://anony3721.blog.163.com/blog/static/5119742011429341943/一.帧缓存操作
glClearColor
,glClear,glClearDepth1
qq282133
·
2012-03-23 09:00
c
生活
less
buffer
语言
callback
OpenGL ES 关键API小结(转)
OPenGLES常用API:
glClearColor
(0.f,0.f,0.f,1.f);//设置模式窗口的背景颜色,颜色采用的是RGBA值glViewport(0,0,iScreenWidth,iScreenHeight
a1405
·
2012-01-31 15:08
android
api
影响
OpenGL
es
投影
OpenGL ES 关键API小结
OPenGLES常用API:
glClearColor
(0.f,0.f,0.f,1.f);//设置模式窗口的背景颜色,颜色采用的是RGBA值glViewport(0,0,iScreenWidth,iScreenHeight
a1405
·
2012-01-31 15:08
API
android
影响
OpenGL基础知识(二)
glClear(GL_COLOR_BUFFER_BIT);//清除颜色glFlush(); //刷新}//设置渲染voidSetupRC(void) {
glClearColor
xiaochun91103
·
2011-12-28 23:00
glClearColor
glClearColorNAME函数名
glClearColor
--specifyclearvaluesforthecolorbuffers为颜色缓冲区指定确定的值CSPECIFICATIONC风格voidglClearColor
wlsgzl
·
2011-12-24 03:00
c
Parameters
在VS2010下编译无法打开包括文件:“GL/glaux.h”: No such file or directory的解决
void){auxInitDisplayMode(AUX_SINGLE|AUX_RGBA);auxInitPosition(0,0,500,500);auxInitWindow("simple");
glClearColor
menglongbor
·
2011-12-21 11:00
windows
Microsoft
File
buffer
include
2010
计算机图形学 复合变换矩阵
代码为:#include #include void init(void) {
glClearColor
(1.0, 1.0, 1.0, 0.0); glShadeModel (GL_FLAT)
qipanliming
·
2011-11-19 17:00
buffer
图形
上一页
1
2
3
4
5
6
下一页
按字母分类:
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
其他