English 中文(简体)
FBO深度/生存力和开放式GL光谱
原标题:multisampled FBO depth/stencil and OpenGL specs

开放式G 4.2光谱(第3.3.1节)明确指出:

Because each sample includes color, depth, and stencil information, the color (including texture operation), depth, and stencil functions perform equivalently to the single-sample mode. An additional buffer, called the multisample buffer, is added to the framebuffer. Pixel sample values, including color, depth, and stencil values, are stored in this buffer. Samples contain separate color values for each fragment color. When the framebuffer includes a multisample buffer, it does not include depth or stencil buffers , even if the multisample buffer does not store depth or stencil values. Color buffers do coexist with the multisample buffer, however.

然而,如果我需要深度/耐力测试,我就必须建立深度——维生多功能的 render。

这是否违背了幽灵,还是我没有东西?

最佳回答

see。 第4.4节规定:

A framebuffer object is said to be framebuffer complete if all of its attached images, and all framebuffer parameters required to utilize the framebuffer for rendering and reading, are consistently defined and meet the requirements defined below. The rules of framebuffer completeness are dependent on the properties of the attached images, and on certain implementation-dependent restrictions.

在提到的许多规则中,有:

RENDERBUFFER_SAMPLES对所有附加的制革机的价值相同;TEX_数值 SMPLES对于所有附属电信设备都是一样的;如果所附图像是各种装饰和文字的混合体,则RENDERBUFFER的价值。 SAMPLES与TEXpoli_-SAMPLES值相当。

因此,如果你的深度/生存力缓冲不成倍,而你的肤色缓冲却多,那么你的联邦机构就不完整。 不能把 object子变成一个不完整的物体。

因此,你们不仅需要确保这些样本具有多面性,而且必须使用same的样本。

问题回答

暂无回答




相关问题
OpenGL 3D Selection

I am trying to create a 3D robot that should perform certain actions when certain body parts are clicked. I have successfully (sort of) implemented picking in that if you click on any x-plane part, it ...

CVDisplayLink instead of NSTimer

I have started to implement cvDisplayLink to drive the render loop instead of nstimer, as detailed in this technical note https://developer.apple.com/library/archive/qa/qa1385/_index.html Is it ...

Can the iPhone simulator handle PVR textures?

I have a really weird problem with PVR textures on the iPhone simulator- the framerate falls through the floor on the iPhone simulator, but on the iPhone itself it works just fine. Has anyone had any ...

Calculate fps (frames per second) for iphone app

I am using an opengl es iphone application. What is the most accurate way to calculate the frames per second of my application for performance tuning?

Java - Zoom / 3D Data Visualization Libraries

What are the best libraries/frameworks for doing 3D and/or Zoom interfaces in Java? I d like to be able to do some prototyping of creating new types of interfaces for navigating within data and ...

FLTK in Cygwin using Eclipse (Linking errors)

I have this assignment due that requires the usage of FLTK. The code is given to us and it should compile straight off of the bat, but I am having linking errors and do not know which other libraries ...

热门标签