help render to texture 1024x1024
Hi,
i use the source code from nehes opengl tutorials 36. the textures looks good with 512x512 but when i use 1024x1024 the texure is not complete...it have a big black border around it...
Hope anybody can help me.
Bye
Stylez
PS: Sorry for my bad english
quote:Original post by Dredge-Master
some do, but alot (probably most) don''t
My NV25 is able to load 4096x4096 RGB and I also think my NV15 is.
Maybe I should recall that one of the failures of the voodoo3 was the support for textures no larger that 512x512 (or maybe it was 256x256?) and this was caused too little.
Almost all video cards do support textures up to 4096x4096, but it''s recommended not to go over 2048x2048.
If your card can''t handle it, you will know by calling glTexImage2D with GL_PROXY_TEXTURE_2D : take a look at the Red Book I think the examples are pretty clear about that.
If your card can''t handle it, you will know by calling glTexImage2D with GL_PROXY_TEXTURE_2D : take a look at the Red Book I think the examples are pretty clear about that.
My TnT2 support 2048*2048 textur size. Almost graphic card todays support 4096*4096 texture size.
So, the problem isn''t the texture size....but I thinck it is the frame buffer size. If you are using a resolution of 1024*768 then when you render to texture of size 1024*1024, the X is complecte without any black hole, but in the bottom of your texture it will appear a black border. If you are using a resolution of 800*600 or 640*480 then it will appear black holes in x and y at the same time. If you are using a resolution of 1280*1024 you shouldn''t an problem at all!
So, the problem isn''t the texture size....but I thinck it is the frame buffer size. If you are using a resolution of 1024*768 then when you render to texture of size 1024*1024, the X is complecte without any black hole, but in the bottom of your texture it will appear a black border. If you are using a resolution of 800*600 or 640*480 then it will appear black holes in x and y at the same time. If you are using a resolution of 1280*1024 you shouldn''t an problem at all!
quote:Original post by Krohmquote:Original post by Dredge-Master
some do, but alot (probably most) don''t
My NV25 is able to load 4096x4096 RGB and I also think my NV15 is.
Maybe I should recall that one of the failures of the voodoo3 was the support for textures no larger that 512x512 (or maybe it was 256x256?) and this was caused too little.
two cards in mine, one supports 2048x2048 and the other supports 1024x1024.
Doesn''t mean that everyone''s card will support it though. Anyone using pre TNT2 and GeForce2 cards (I think it was this time that ibm-pc cards got to 1024x1024) won''t have much behind them.
... Get an ultrasparc with a 512mb video card you may be stuck in sunos and solaris, but with that for a video card (and accelerator) who cares
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement