d******i 发帖数: 7160 | 1 感觉好像啊.
很shock.
这样一动视角先前的轨迹线岂不都变了?
还是偶理解有误?
请指教.
谢谢! | O*******d 发帖数: 20343 | 2 I think your finding is right. | O*******d 发帖数: 20343 | 3 The following graph shows the pipeline of image rendering in OpenGL.
Stencil buffer is used at Per-fragment operations which is the last step in
the pipeline. When data reached Per-fragment operation, coordinate has been
resolve to screen pixels.
http://www.cs.kent.edu/~farrell/graphics/opengl/openglprog1.2/opengl/render.html | d******i 发帖数: 7160 | 4 谢谢指点!
那么如何保留先前在ModelCoordinate曾画过的东西呢(原因是每次重画开销太大)?
有另一层想改变视角好像非Clear不可,于是以前画的东西也保不住了.
偶试着用Stencil去保护,结果如题,人家保护的层是ScreenPixel意义上的,以前画的东
西没有随着我改变视角而跟着移动.
咋办呢?
in
been
【在 O*******d 的大作中提到】 : The following graph shows the pipeline of image rendering in OpenGL. : Stencil buffer is used at Per-fragment operations which is the last step in : the pipeline. When data reached Per-fragment operation, coordinate has been : resolve to screen pixels. : http://www.cs.kent.edu/~farrell/graphics/opengl/openglprog1.2/opengl/render.html
| O*******d 发帖数: 20343 | 5 I believe that you have to clear and redraw everything when you changed
angle of view.
【在 d******i 的大作中提到】 : 谢谢指点! : 那么如何保留先前在ModelCoordinate曾画过的东西呢(原因是每次重画开销太大)? : 有另一层想改变视角好像非Clear不可,于是以前画的东西也保不住了. : 偶试着用Stencil去保护,结果如题,人家保护的层是ScreenPixel意义上的,以前画的东 : 西没有随着我改变视角而跟着移动. : 咋办呢? : : in : been
|
|