mayingzhen / nvidia-texture-tools

Automatically exported from code.google.com/p/nvidia-texture-tools
Other
0 stars 0 forks source link

16k Texture crashes the nvcompress.exe on xp 32bit #54

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. try to convert a 16k texture to -bc1
2. crash
3.

What is the expected output? What do you see instead?

not a crash :(

What version of the product are you using? On what operating system?

windows xp 32bit, nvidia 9800 card, 3 gigs of ram on the motherboard gig of
ram on the video card

Please provide any additional information below.

 create a texture in photo shop 16384x16384, save it as a targa and try the
convert tool.

Original issue reported on code.google.com by stie...@gmail.com on 9 Jul 2008 at 2:04

Attachments:

GoogleCodeExporter commented 8 years ago
This is a dupe of issue 32. Out of memory errors should be handled more 
gracefully. 

A RGBA32 texture consumes 1 GB of mem. If you request mipmap generation that 
requires
16*16*4*sizeof(float) = 4 GB more. This is more than the addressing space 
available
on a 32 bit OS, and that causes an out of memory error.

Original comment by cast...@gmail.com on 9 Jul 2008 at 5:00