Re: DXTn textures in D3DX9

2009-05-25 Thread Stefan Dösinger
Am Sonntag, 24. Mai 2009 21:11:27 schrieb Mike Kaplinskiy: > I believe mesa looks for libtxc_dxtn @ > http://homepage.hispeed.ch/~rscheidegger/dri_experimental/s3tc_index.html > and then enables full s3tc support. The library itself is tiny and in > (ugly) C, so that is already good news. But as st

Re: DXTn textures in D3DX9

2009-05-24 Thread Mike Kaplinskiy
I believe mesa looks for libtxc_dxtn @ http://homepage.hispeed.ch/~rscheidegger/dri_experimental/s3tc_index.html and then enables full s3tc support. The library itself is tiny and in (ugly) C, so that is already good news. But as stated on the website, you cannot use the code due to legality. Maybe

Re: DXTn textures in D3DX9

2009-05-23 Thread Henri Verbeet
2009/5/22 Tony Wasserka : > Hi everyone, > I'm working on implementing D3DXLoadSurfaceFromFileInMemory right now, > but I've got a problem. The function > most convert a loaded surface's data to a user specified surface format > (I did not yet find a way to do it elsehow, > UpdateTexture and Stretc

Re: DXTn textures in D3DX9

2009-05-23 Thread Tony Wasserka
Ben Klein schrieb: > 2009/5/23 Stefan Dösinger : > >> Am Freitag, 22. Mai 2009 19:15:22 schrieb Roderick Colenbrander: >> >>> So what they are saying is that Nvidia has a license on the s3tc >>> patent for use in those tools but if we would rip their code out we >>> wouldn't be covered unle

Re: DXTn textures in D3DX9

2009-05-22 Thread Ben Klein
2009/5/23 Stefan Dösinger : > Am Freitag, 22. Mai 2009 19:15:22 schrieb Roderick Colenbrander: >> So what they are saying is that Nvidia has a license on the s3tc >> patent for use in those tools but if we would rip their code out we >> wouldn't be covered unless (but that is gray area) we put all

Re: DXTn textures in D3DX9

2009-05-22 Thread Stefan Dösinger
Am Freitag, 22. Mai 2009 19:15:22 schrieb Roderick Colenbrander: > So what they are saying is that Nvidia has a license on the s3tc > patent for use in those tools but if we would rip their code out we > wouldn't be covered unless (but that is gray area) we put all their > image code in wine (which

Re: DXTn textures in D3DX9

2009-05-22 Thread Roderick Colenbrander
On Fri, May 22, 2009 at 6:11 PM, Stefan Dösinger wrote: > You may find this helpful: > http://code.google.com/p/nvidia-texture-tools/ > > Wrt the legalese check the last question here: > http://code.google.com/p/nvidia-texture-tools/wiki/FAQ > > Using a proven library for s3tc handling is a good i

Re: DXTn textures in D3DX9

2009-05-22 Thread Stefan Dösinger
You may find this helpful: http://code.google.com/p/nvidia-texture-tools/ Wrt the legalese check the last question here: http://code.google.com/p/nvidia-texture-tools/wiki/FAQ Using a proven library for s3tc handling is a good idea even without the legal troubles. s3tc decompression isn't rocket

Re: DXTn textures in D3DX9

2009-05-22 Thread Roderick Colenbrander
On Fri, May 22, 2009 at 2:08 PM, Ben Klein wrote: > 2009/5/22 Tony Wasserka : >> Hi everyone, >> I'm working on implementing D3DXLoadSurfaceFromFileInMemory right now, >> but I've got a problem. The function >> most convert a loaded surface's data to a user specified surface format >> (I did not y

Re: DXTn textures in D3DX9

2009-05-22 Thread Ben Klein
2009/5/22 Tony Wasserka : > Hi everyone, > I'm working on implementing D3DXLoadSurfaceFromFileInMemory right now, > but I've got a problem. The function > most convert a loaded surface's data to a user specified surface format > (I did not yet find a way to do it elsehow, > UpdateTexture and Stretc

DXTn textures in D3DX9

2009-05-22 Thread Tony Wasserka
Hi everyone, I'm working on implementing D3DXLoadSurfaceFromFileInMemory right now, but I've got a problem. The function most convert a loaded surface's data to a user specified surface format (I did not yet find a way to do it elsehow, UpdateTexture and StretchRect are to limited for that task, su