Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Stylez99

help render to texture 1024x1024

This topic is 5475 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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

Share this post


Link to post
Share on other sites
Advertisement
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.

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
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!

Share this post


Link to post
Share on other sites
quote:
Original post by Krohm
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.




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

Share this post


Link to post
Share on other sites
Hi Filami,
i cant use a resolution about 1280*1024. My resolution is 640x480 and when i render a scene to a textur with 512x512size its looks not god ... my idea was when i render the textur with the size 1024x1024 that the scene looks good.

bye
Stylez

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!