Talk About Network

Google





Graphics > OpenGL 3D API > Re: Identifying...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 6 of 13 Topic 4872 of 5061
Post > Topic >>

Re: Identifying just the one triangle that the user clicked on?

by Wolfgang Draxinger <wdraxinger@[EMAIL PROTECTED] > Aug 19, 2008 at 02:12 PM

Gernot Frisch wrote:

> and if your card does not sup****t PBuffers? Radeon Mobility
> 7500 comes to mind.

Well, there's still the multipass implementation. Render a pass
for each subset of the bits. If you need depth testing, render
the first pass with the depth testing settings you need, then
for the subsequent p***** keep the content of the depth buffer,
disable depth write and use GL_EQUAL for the depth test. This
will also early Z cull occluded fragments.

The nice thing is, you can put all this (using PBuffer or not,
eventually render muliple p***** for the higher bits and so on)
into one single function. There are only two variables: Is a
PBuffer avaliabe. And the number of bits that the colour buffer
can hold.

Would also make a nice template function. In C++, D or a language
with similair capable templates. Or using C macros.

Wolfgang Draxinger
-- 
E-Mail address works, Jabber: hexarith@[EMAIL PROTECTED]
 ICQ: 134682867
 




 13 Posts in Topic:
Identifying just the one triangle that the user clicked on?
Flark <flarkino@[EMAIL  2008-08-18 06:38:43 
Re: Identifying just the one triangle that the user clicked on?
Wolfgang Draxinger <wd  2008-08-18 16:56:44 
Re: Identifying just the one triangle that the user clicked on?
"Gernot Frisch"  2008-08-19 10:03:58 
Re: Identifying just the one triangle that the user clicked on?
Wolfgang Draxinger <wd  2008-08-19 12:15:08 
Re: Identifying just the one triangle that the user clicked on?
"Gernot Frisch"  2008-08-19 14:09:41 
Re: Identifying just the one triangle that the user clicked on?
Wolfgang Draxinger <wd  2008-08-19 14:12:19 
Re: Identifying just the one triangle that the user clicked on?
"jbwest" <jb  2008-08-19 08:08:17 
Re: Identifying just the one triangle that the user clicked on?
"jbwest" <jb  2008-08-18 20:02:19 
Re: Identifying just the one triangle that the user clicked on?
fungus <openglMYSOCKS@  2008-08-19 08:42:36 
Re: Identifying just the one triangle that the user clicked on?
fungus <openglMYSOCKS@  2008-08-19 14:05:03 
Re: Identifying just the one triangle that the user clicked on?
"jbwest" <jb  2008-08-19 17:07:58 
Re: Identifying just the one triangle that the user clicked on?
Flark <flarkino@[EMAIL  2008-08-20 05:57:19 
Re: Identifying just the one triangle that the user clicked on?
"jbwest" <jb  2008-08-20 08:05:30 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
localhost-V2008-12-19 Fri Jan 9 13:59:50 PST 2009.