|
|
|
|
아이튜브 |
|
아이튜브는 여성, 아동, 교육, 휴대폰 관련해 품질이 좋거나 가격이 저렴한 상품을 소개합니다.
아이튜브스 블로그에서 추천하는 제품들은 시간이 지나면 할인혜택이 종료되고 품절되는 경우가 많습니다.
발빠르게 혜택을 얻으시기 바랍니다.
| |
|
|
|
ITUBE 아동, 육아정보
http://itubes.co.kr/rss
| |
| | |
|
2. polygon
|
| Category : Open GL/study |
Date : 2010/03/30 14:33 |
|
GL_POINTS
GL_LINE_STRIP
GL_LINE_LOOP
GL_LINES
GL_TRIANGLES
GL_TRIANGLE_STRIP
Draws a series of triangles (three-sided polygons) using vertices v0, v1, v2, then v2, v1, v3 (note the order), then v2, v3, v4, and so on. The ordering is to ensure that the triangles are all drawn with the same orientation so that the strip can correctly form part of a surface.
GL_TRIANGLE_FAN
Same as GL_TRIANGLE_STRIP, except that the vertices are drawn v0, v1, v2, then v0, v2, v3, then v0, v3, v4, and so on.
-------------------------------------------------------------------------------------------
// Translates 4 units into the screen. gl.glTranslatef(0, 0, -4); // OpenGL docs
If you run the application now the screen is still black. Why? Because OpenGL ES render from where the current position is, that by default is at point: 0, 0, 0 the same position that the view port is located. And OpenGL ES don’t render the things that are too close to the view port. The solution to this is to move the draw position a few steps into the screen before rendering the square:
-----------------------------------------------------------------------------------------
Run the application again and you will see that the square is drawn but quickly moves further and further into the screen. OpenGL ES doesn’t reset the drawing point between the frames that you will have to do yourself: // Replace the current matrix with the identity matrix
gl.glLoadIdentity(); // OpenGL docs
| |
 |
| 제이씨현시스템㈜, GIGABYTE 라데온 HD 7950 Triangle Cool 공식 출시! - 제이씨현,기가바이트 |
02-03 17:40 |
브레인박스벤치마크 |
| 제이씨현시스템㈜, GIGABYTE 라데온 HD 7950 Triangle Cool 공식 출시! |
02-03 17:35 |
케이벤치 |
| 윈드포스의 정점 Triangle Cool! 제이씨현시스템㈜, GIGABYTE 라데온 HD 7950 Triangle Cool 공식 출시 - 기가바이트, AMD, 그래픽카드 |
02-03 12:00 |
브레인박스벤치마크 |
| HD 7950 중에 내가 최고, 아수스 HD7950 DC2 TOP - 라데온, AMD, 그래픽 카드 |
02-01 17:08 |
브레인박스벤치마크 |
| 파이어폭스10, 확장 업데이트 편해졌다 |
02-01 10:21 |
ZDNet Korea |
| LP 그래픽카드, 이엠텍 라데온 HD 6670 - 브레인박스, AMD, 완제품 |
01-10 11:16 |
브레인박스벤치마크 |
| 최고의 그래픽카드 아수스, 라데온 HD 7970 - 2세대 코어 i7, PCI-E 3.0 그리고 배틀필드3, 브레인박스 |
01-09 10:40 |
브레인박스벤치마크 |
| 비전에서 일상으로 · · · 3D 프린터 현황 진단 |
01-02 14:42 |
한국아이디지 |
| |
|
|
 |
http://itubes.co.kr/trackback/680 |
| | |
|
| | |
| |
|
|
|
최근 올라온 글 |
|
|
| |
|
|
|
ITUBE ENTERTAINMENT
|
| |
블로그 최근 덧글 |
|
|
| |
|
|
|
|