1 registered members (AndrewAMD),
1,519
guests, and 8
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Re: Shiny wet pavement?
[Re: ventilator]
#26575
05/14/04 06:26
05/14/04 06:26
|
Joined: Oct 2003
Posts: 1,258 Virginia, USA
qwerty823
Senior Developer
|
Senior Developer
Joined: Oct 2003
Posts: 1,258
Virginia, USA
|
This shouldnt be an A6 specific problem. Im wondering if the bmap_to_uv/bmap_to_normals are converting the internal texture to a format not supported by nVidia cards. I have a dll that will return the texture format when passed a bmap. When I get a chance, Ill see which format is used, and what other formats are available, and if possible, if i can convert to the others. If it works, I might need a test subject with an nVidia card to try it out.
Never argue with an idiot. They drag you down to their level then beat you with experience
|
|
|
uv-offset texture formats
[Re: ventilator]
#26577
05/15/04 00:17
05/15/04 00:17
|
Joined: May 2002
Posts: 7,441
ventilator
Senior Expert
|
Senior Expert
Joined: May 2002
Posts: 7,441
|
i checked the texture formats a gf4 supports with the directx caps viewer.
maybe the following list of supported uv-offset formats is interesting? what does d3dusage_dmap mean? are there less nos with ati cards?
nvidia geforce4 ti 4200 -> d3d device types -> hal -> adapter formats -> d3dfmt_x8r8g8b8 (fullscreen) -> texture formats
Code:
texture formats 0 (plain) d3dusage_rendertarget d3dusage_autogenmipmap d3dusage_dmap
...
D3DFMT_V8U8 yes no no no
D3DFMT_L6V5U5 yes no no no
D3DFMT_X8L8V8U8 yes no no no
D3DFMT_Q8W8V8U8 yes no no no
...
|
|
|
Re: uv-offset texture formats
[Re: ventilator]
#26578
05/15/04 04:56
05/15/04 04:56
|
Joined: Oct 2003
Posts: 1,258 Virginia, USA
qwerty823
Senior Developer
|
Senior Developer
Joined: Oct 2003
Posts: 1,258
Virginia, USA
|
Just a few things to note:
Loading a bmp, the format becomes D3DFMT_R5G6B5 ( 23 ) Loading a tga, the format becomes D3DFMT_X8R8G8B8 ( 22 )
Calling bmap_to_uv(), makes it D3DFMT_V8U8 ( 60 ) Calling bamp_to_normals(), makes it D3DFMT_A8R8G8B8 ( 21 )
// Outupt from my bmap info dll, using a tga Name: n_bmap Bytespp: 3 Width: 256 Height: 256 Tex #1: W=256,H=256,FW=256,FH=256 F:22,T:1,U:0,P:1,S:262144,MST:0,W:256,H:256
Name: uv_bmap Bytespp: 3 Width: 256 Height: 256 Tex #1: W=256,H=256,FW=256,FH=256 F:60,T:1,U:0,P:1,S:131072,MST:0,W:256,H:256
Name: n_bmap Bytespp: 3 Width: 256 Height: 256 Tex #1: W=256,H=256,FW=256,FH=256 F:21,T:1,U:0,P:1,S:262144,MST:0,W:256,H:256
// Outupt from my bmap info dll, using a bmp Name: n_bmap Bytespp: 2 Width: 256 Height: 256 Tex #1: W=256,H=256,FW=256,FH=256 F:23,T:1,U:0,P:1,S:131072,MST:0,W:256,H:256
Name: uv_bmap Bytespp: 2 Width: 256 Height: 256 Tex #1: W=256,H=256,FW=256,FH=256 F:60,T:1,U:0,P:1,S:131072,MST:0,W:256,H:256
Name: n_bmap Bytespp: 2 Width: 256 Height: 256 Tex #1: W=256,H=256,FW=256,FH=256 F:21,T:1,U:0,P:1,S:262144,MST:0,W:256,H:256
Never argue with an idiot. They drag you down to their level then beat you with experience
|
|
|
|