Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Graphics > OpenGL 3D API > Re: Picture wit...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 4 Topic 4882 of 5017
Post > Topic >>

Re: Picture within a picture effect

by fungus <openglMYSOCKS@[EMAIL PROTECTED] > Aug 22, 2008 at 09:02 PM

On Aug 22, 8:30=A0pm, Flark <flark...@[EMAIL PROTECTED]
> wrote:
> Hi,
>
> Suppose I want to show a model twice, but I want
> the 2nd view of it to be in a smaller window tucked into
> the corner of the main OpenGL window
>
> Is there a standard way to achieve this?

It's tricky - OpenGL can zoom images but I don't think
you can shrink them. Hardware to shrink images would
be quite complicated.

You could render it to a texture and draw quads for each
size but the small image would only have GL_NEAREST
filtering and would probably look horrible (though full screen
antialiasing would help with this).

There's an extension to generate mipmaps for a texture
in hardware but it won't work for non-power-of-two textures
and I'm not sure that many cards sup****t it anyway.

http://www.opengl.org/registry/specs/SGIS/generate_mipmap.txt

PS: What happened to www.delphi3d.net ? I used to use
it all the time to check which cards sup****ted OpenGL
extensions but it's been broken for months.

Are there any other web sites with lists of cards/extensions?

--
<\___/>
/ O O \
\_____/  FTB.

http://www.topaz3d.com/
 - New 3D editor!
 




 4 Posts in Topic:
Picture within a picture effect
Flark <flarkino@[EMAIL  2008-08-22 11:30:03 
Re: Picture within a picture effect
fungus <openglMYSOCKS@  2008-08-22 21:02:20 
Re: Picture within a picture effect
Wolfgang Draxinger <wd  2008-08-23 13:08:16 
Re: Picture within a picture effect
fungus <openglMYSOCKS@  2008-08-23 13:55:57 

Post A Reply:
  Go here to Signup

AddThis Feed Button


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

Contact
tan12V112 Fri Nov 21 5:39:34 CST 2008.