|
1 registered members (Quad),
6,361
guests, and 4
spiders. |
|
Key:
Admin,
Global Mod,
Mod
|
|
|
VS/PS in and output semantics
#140696
07/12/07 13:00
07/12/07 13:00
|
Joined: Mar 2006
Posts: 2,758 Antwerp,Belgium
frazzle
OP
Expert
|
OP
Expert
Joined: Mar 2006
Posts: 2,758
Antwerp,Belgium
|
Another user and I have tested with some HLSL examples including VS/PS in and output semantics. It seems 3dgs doesn't support the following semantics: : VFACE : VPOS : WORLDVIEWPROJECTION : DIFFUSE Those last two are a part of DXSAS which is part of D3DX effect files framework. Don't know if that is one of the reasons but I just wanted to check why it isn't supported. Thanks in progress  Frazzle
Antec® Case Intel® X58 Chipset Intel® i7 975 Quad Core 8 GB RAM DDR3 SSD OCZ®-VERTEX2 3.5 x4 ; HD 600 GB NVIDIA® GeForce GTX 295 Memory 1795GB
|
|
|
Re: VS/PS in and output semantics
[Re: frazzle]
#140697
07/14/07 19:30
07/14/07 19:30
|
Joined: Mar 2006
Posts: 2,503 SC, United States
xXxGuitar511
Expert
|
Expert
Joined: Mar 2006
Posts: 2,503
SC, United States
|
matWorldViewProj definatly works  Not sure about diffuse, but it looks like someone used it as a label. vFace & vPos I've seen in the reference, but never in a shader. So I'm not sure of it's use and I don't think GS supports it...
xXxGuitar511 - Programmer
|
|
|
Re: VS/PS in and output semantics
[Re: frazzle]
#140699
07/14/07 23:40
07/14/07 23:40
|
Joined: Mar 2006
Posts: 2,503 SC, United States
xXxGuitar511
Expert
|
Expert
Joined: Mar 2006
Posts: 2,503
SC, United States
|
I meant they might have used it as:
float4x4 matWorldViewProj : WORLDVIEWPROJ; texture entSkin1 : DIFFUSE;
So you could further use DIFFUSE & WORLDVIEWPROJ if the inputs (entSkin1, ..) changed...
xXxGuitar511 - Programmer
|
|
|
Re: VS/PS in and output semantics
[Re: xXxGuitar511]
#140700
07/15/07 11:38
07/15/07 11:38
|
Joined: Mar 2006
Posts: 2,758 Antwerp,Belgium
frazzle
OP
Expert
|
OP
Expert
Joined: Mar 2006
Posts: 2,758
Antwerp,Belgium
|
Oke, I understand you point now but it's the problem of using ': WORLDVIEWPROJ' with any other matrix which is used as uniform input data. For diffuse, I haven't checked it with a texture yet but with an example of this sort the problem occurs: Code:
float4 testcolor : DIFFUSE;
But I'm waiting for a clear answer from jcl or Doug who might explain it ^^ Cheers Frazzle
Antec® Case Intel® X58 Chipset Intel® i7 975 Quad Core 8 GB RAM DDR3 SSD OCZ®-VERTEX2 3.5 x4 ; HD 600 GB NVIDIA® GeForce GTX 295 Memory 1795GB
|
|
|
Re: VS/PS in and output semantics
[Re: frazzle]
#140701
07/18/07 12:17
07/18/07 12:17
|
Joined: Mar 2006
Posts: 2,758 Antwerp,Belgium
frazzle
OP
Expert
|
OP
Expert
Joined: Mar 2006
Posts: 2,758
Antwerp,Belgium
|
Any ideas  ?? Cheers Frazzle
Antec® Case Intel® X58 Chipset Intel® i7 975 Quad Core 8 GB RAM DDR3 SSD OCZ®-VERTEX2 3.5 x4 ; HD 600 GB NVIDIA® GeForce GTX 295 Memory 1795GB
|
|
|
Re: VS/PS in and output semantics
[Re: xXxGuitar511]
#140703
07/18/07 14:05
07/18/07 14:05
|
Joined: Mar 2006
Posts: 2,758 Antwerp,Belgium
frazzle
OP
Expert
|
OP
Expert
Joined: Mar 2006
Posts: 2,758
Antwerp,Belgium
|
I actually know what semantics do but thanks for clearing up  But the question was if the following semantics are supported by 3dgs ?? : VFACE : VPOS : WORLDVIEWPROJECTION : DIFFUSE WORLDVIEWPROJECTION works with matWorldViewProj but I wonder if it does work with other uniform input data ?? The same counts for the rest of those semantics. Thanks in progress  Frazzle
Antec® Case Intel® X58 Chipset Intel® i7 975 Quad Core 8 GB RAM DDR3 SSD OCZ®-VERTEX2 3.5 x4 ; HD 600 GB NVIDIA® GeForce GTX 295 Memory 1795GB
|
|
|
|