Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
1 registered members (TipmyPip), 18,606 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Keywords #142312
07/20/07 01:24
07/20/07 01:24
Joined: Jun 2005
Posts: 656
G
Grafton Offline OP
User
Grafton  Offline OP
User
G

Joined: Jun 2005
Posts: 656
Anyone know of a complete list of semantics that can be used in GameStudios
shaders?

I am converting some shaders and, I ran across a "WorldInverseTranspose" matrix.
I know about the "matWorldInv" matrix in GS, but how can I use it to create a
transposed matrix for a GS shader?

Any takers?


Not two, not one.
Re: Keywords [Re: Grafton] #142313
07/20/07 02:10
07/20/07 02:10
Joined: Jun 2007
Posts: 236
acknex.exe
ACKNEX007 Offline
Member
ACKNEX007  Offline
Member

Joined: Jun 2007
Posts: 236
acknex.exe
i think you can view it in the 3DGS Manual.

Thanks.

Re: Keywords [Re: ACKNEX007] #142314
07/20/07 03:01
07/20/07 03:01
Joined: Jun 2005
Posts: 656
G
Grafton Offline OP
User
Grafton  Offline OP
User
G

Joined: Jun 2005
Posts: 656
Thanks for the suggestion, but I have looked there many times and have not
found a complete list...

Anyway, here are the predefined engine matrices that I am aware of;

float4x4 matWorld;
float4x4 matWorldInv;
float4x4 matWorldView;
float4x4 matWorldViewProj;
float4x4 matView;
float4x4 matViewInv;
float4x4 matProj;
float3x3 matTangent;

Anyone have any ideas on how to transpose the matWorldInv matrix to create a
WorldInverseTranspose matrix, so I can finish my conversion?


Not two, not one.
Re: Keywords [Re: Grafton] #142315
07/20/07 04:01
07/20/07 04:01
Joined: Jun 2007
Posts: 236
acknex.exe
ACKNEX007 Offline
Member
ACKNEX007  Offline
Member

Joined: Jun 2007
Posts: 236
acknex.exe
oh..ok.
Thanks for the reply..

i will post here if i get something. :-)

Re: Keywords [Re: Grafton] #142316
07/20/07 20:56
07/20/07 20:56
Joined: Mar 2006
Posts: 2,758
Antwerp,Belgium
frazzle Offline
Expert
frazzle  Offline
Expert

Joined: Mar 2006
Posts: 2,758
Antwerp,Belgium
Use the intrinsic function 'transpose(m)' to calculate the transpose of matWorldInv like so :
Code:
 
transpose(matWorldInv);



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: Keywords [Re: frazzle] #142317
07/20/07 22:40
07/20/07 22:40
Joined: Jun 2005
Posts: 656
G
Grafton Offline OP
User
Grafton  Offline OP
User
G

Joined: Jun 2005
Posts: 656
Thank you Frazzle! It works fine.


Not two, not one.
Re: Keywords [Re: Grafton] #142318
07/21/07 08:05
07/21/07 08:05
Joined: Mar 2006
Posts: 2,758
Antwerp,Belgium
frazzle Offline
Expert
frazzle  Offline
Expert

Joined: Mar 2006
Posts: 2,758
Antwerp,Belgium
Quote:

Thank you Frazzle! It works fine.




Np, good luck on converting the shader

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

Moderated by  Blink, Hummel, Superku 

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1