Author Topic: another graphics feature -- need input  (Read 6145 times)

0 Members and 1 Guest are viewing this topic.

Offline phreak

  • Gun Phreak
  • 211
  • -1
another graphics feature -- need input
i recently stumbled across a feature used in newer games: texture compression, and its implementation using OGL (dunno how to do it in DX, but i know its possible)

using compressed textures, modders can use 32-bit textures that have been compressed leading to:

lower memory usage
faster rendering
faster texture upload
faster disk i/o


i'm planning on using the DirectX Texture Compression (DXTC) file format (.dds).  A DXTC compressor can be found as PS and 3DSMAX plugins, and a DirectX SDK utility called DxTex.

DXTC images also support mipmapping within the file.

DXTC is supported using TNT cards and up for nvidia. and Radeon 7500 and up for ATI

Compressed Textures would also be a help to modders in terms of download size

http://developer.nvidia.com/view.asp?IO=texture_compression_OpenGL
Offically approved by Ebola Virus Man :wtf:
phreakscp - gtalk
phreak317#7583 - discord

 

Offline Sesquipedalian

  • Atankharz'ythi
  • 211
Re: another graphics feature -- need input
Quote
Originally posted by PhReAk
DXTC is supported using TNT cards and up for nvidia.
Ergo, Yes!
Sesqu... Sesqui... what?
Sesquipedalian, the best word in the English language.

The Scroll of Atankharzim | FS2 syntax highlighting

 

Offline LtNarol

  • Biased Banshee
  • 211
    • http://www.3dap.com/hlp/hosted/the158th
another graphics feature -- need input
Not quite sure if I follow correctly, but what does the compression do to quality compared to uncompressed 8 bit maps?

 

Offline phreak

  • Gun Phreak
  • 211
  • -1
another graphics feature -- need input
you dont need palletting and its near lossless so theres not much to worry about
Offically approved by Ebola Virus Man :wtf:
phreakscp - gtalk
phreak317#7583 - discord

 

Offline Krom

  • 25
another graphics feature -- need input
If I'm not mistaken 3dfx cards (like the voodoo3) also support S3TC/DXTC.

 

Offline Setekh

  • Jar of Clay
  • 215
    • Hard Light Productions
Re: another graphics feature -- need input
Quote
Originally posted by PhReAk
modders can use 32-bit textures


Yes please. :) It sounds excellent, the way you describe it - any known weaknesses?
- Eddie Kent Woo, Setekh, Steak (of Steaks), AWACS. Seriously, just pick one.
HARD LIGHT PRODUCTIONS, now V3.0. Bringing Modders Together since January 2001.
THE HARD LIGHT ARRAY. Always makes you say wow.

 

Offline Deepblue

  • Corporate Shill
  • 210
another graphics feature -- need input
Does that mean weapons too?
*Drools.....* *Thinks about the massive memory his current weapon effects take* *Decides not to think about it*

  

Offline KARMA

  • Darth Hutt
  • 211
    • http://members.fortunecity.com/aranbanjo
another graphics feature -- need input
i agree, btw what will happen to older gpus that don't support compression?

 

Offline phreak

  • Gun Phreak
  • 211
  • -1
another graphics feature -- need input
Quote
Originally posted by KARMA
i agree, btw what will happen to older gpus that don't support compression?


modders can do this:

campaign_maps_dxtc.vp
campaign_maps_std.vp

if the user has a TNT+ or Radeon it should run in OGL.
DX should support this natively



STATS
-------
256x256 bitmap (24 bit) -- 192kb
256x256 pcx(256 color) -- 80kb
256x256 DXT1 (25 bit - 8r 8g 8b 1a) -- 32kb
256x256 DXT3 (28 bit - 8r 8g 8b 4a) -- 64kb
256x256 DXT5 (32 bit - 8r 8g 8b 8a) -- 64kb

DXT2 and DXT4 aren't supported by OGL hardware
« Last Edit: January 11, 2003, 12:51:53 pm by 31 »
Offically approved by Ebola Virus Man :wtf:
phreakscp - gtalk
phreak317#7583 - discord

 

Offline Fetty

  • 27
another graphics feature -- need input
i just did some digging
according to that site nether tnt nor tnt2 cards support dxtc
gf256 starts with that

*sniff my g400max doesnt support it ether :(
edit vodoo 3 also doesnt

 

Offline vyper

  • 210
  • The Sexy Scotsman
another graphics feature -- need input
Quote
Originally posted by Fetty
i just did some digging
according to that site nether tnt nor tnt2 cards support dxtc
gf256 starts with that

*sniff my g400max doesnt support it ether :(
edit vodoo 3 also doesnt


Hold the boat... I have  a G400 and Elite Force had Texture cmopression, and it worked fine. :D
"But you live, you learn.  Unless you die.  Then you're ****ed." - aldo14

 

Offline LtNarol

  • Biased Banshee
  • 211
    • http://www.3dap.com/hlp/hosted/the158th
another graphics feature -- need input
I vote no...or atleast make it optional.  Some people are still using tnt2s :nervous:.  That and I really don't want to figure out a system of organization around those 2 vp names, since I'll be releasing 7 chapters using 7 separate mods :shaking:

 

Offline Sesquipedalian

  • Atankharz'ythi
  • 211
another graphics feature -- need input
Quote
Originally posted by LtNarol
I vote no...or atleast make it optional.  Some people are still using tnt2s :nervous:.  That and I really don't want to figure out a system of organization around those 2 vp names, since I'll be releasing 7 chapters using 7 separate mods :shaking:
It works on a TNT and up.  A TNT2 is part of the "up".  Hence the 2.
Sesqu... Sesqui... what?
Sesquipedalian, the best word in the English language.

The Scroll of Atankharzim | FS2 syntax highlighting

 

Offline phreak

  • Gun Phreak
  • 211
  • -1
another graphics feature -- need input
oops.. i cant read :mad:

dyslexia strikes again

GF 256 +
Radeon 7500+

only for OGL

DX should support this natively, since its DirectX Texture Compression

forgot to make this clear:

if FS2 loads a texture named "texture01" and finds "texture01.dds" and "texture01.pcx", it will load the compressed one first
« Last Edit: January 11, 2003, 09:16:04 pm by 31 »
Offically approved by Ebola Virus Man :wtf:
phreakscp - gtalk
phreak317#7583 - discord

 

Offline Anaz

  • 210
another graphics feature -- need input
?again strikes dyslexia
Arrr. I'm a pirate.

AotD, DatDB, TVWP, LM. Ph34r.

You WILL go to warpstorm...

 

Offline IceFire

  • GTVI Section 3
  • 212
    • http://www.3dap.com/hlp/hosted/ce
another graphics feature -- need input
Would this be a step on the way to getting some nice bump mapping too?
- IceFire
BlackWater Ops, Cold Element
"Burn the land, boil the sea, you can't take the sky from me..."

 

Offline Setekh

  • Jar of Clay
  • 215
    • Hard Light Productions
another graphics feature -- need input
Quote
Originally posted by IceFire
Would this be a step on the way to getting some nice bump mapping too?


http://developer.nvidia.com/search.asp?keywords=bump+mapping

I wish I understood this stuff. :o
- Eddie Kent Woo, Setekh, Steak (of Steaks), AWACS. Seriously, just pick one.
HARD LIGHT PRODUCTIONS, now V3.0. Bringing Modders Together since January 2001.
THE HARD LIGHT ARRAY. Always makes you say wow.

 

Offline RandomTiger

  • Senior Member
  • 211
another graphics feature -- need input
Im not convinced this would give much of a speed increase given the way the engine works but if you think you can get it done it wont hurt to try.

EDIT: Actually what you should do is measure how much time the current system takes, and see how much % it takes up and if this is worth doing.

Which is what my timing system is for http://www.hard-light.net/forums/index.php/topic,12701.0.html
« Last Edit: January 13, 2003, 07:19:51 am by 848 »

 

Offline Inquisitor

another graphics feature -- need input
Mkae a copy of your code directory and try it out :)
No signature.

 

Offline aldo_14

  • Gunnery Control
  • 213
another graphics feature -- need input
Quote
Originally posted by Setekh


http://developer.nvidia.com/search.asp?keywords=bump+mapping

I wish I understood this stuff. :o


This may be better - it's onew of the things I'm doing next semester.  I'm looking forward to it - looks like the eventual aim is to code a (java based, natch) 3d (wrl I think) viewer ala 3d exploration.  Should be fun.

https://www.cis.strath.ac.uk/teaching/ug/classes/52.359/lect14.pdf