d******i 发帖数: 7160 | |
d******i 发帖数: 7160 | |
O*******d 发帖数: 20343 | 3 Yes, very easy to 移动 分层显示. no partial 擦除. You have to clear the
frame buffer and redraw if you want to partial 擦除. Use translation matrix
or viewport to 移动. Use depth buffer to 分层显示. |
O*******d 发帖数: 20343 | 4 OpenGL applications usually use two or three frame buffers. One of them is
the front buffer, the content of which is displayed on the screen. Other
buffers are back buffers for drawing. You draw your graph in back buffer
and switch the buffer to the front when you are done for flicker free
display. |
d******i 发帖数: 7160 | 5 能给个例子如何做到“Use depth buffer to 分层显示”吗?
谢谢!
matrix
【在 O*******d 的大作中提到】 : Yes, very easy to 移动 分层显示. no partial 擦除. You have to clear the : frame buffer and redraw if you want to partial 擦除. Use translation matrix : or viewport to 移动. Use depth buffer to 分层显示.
|
d******i 发帖数: 7160 | |
O*******d 发帖数: 20343 | 7 You can set up a very shallow display volume. Objects can only be displayed
if they are falling into that volume.
【在 d******i 的大作中提到】 : 能给个例子如何做到“Use depth buffer to 分层显示”吗? : 谢谢! : : matrix
|