Gamestudio Links
Zorro Links
Newest Posts
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
Trading Journey
by howardR. 04/28/24 09:55
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (AndrewAMD, Quad, M_D), 1,217 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
about matBone more than 72! #476069
01/24/19 17:44
01/24/19 17:44
Joined: Feb 2003
Posts: 146
RP China
2
20BN Offline OP
Member
20BN  Offline OP
Member
2

Joined: Feb 2003
Posts: 146
RP China
My player model's bones more than 72.
If I use gpu bone shader, and model can't play anim.
How can i fixed it?

Re: about matBone more than 72! [Re: 20BN] #476070
01/25/19 07:26
01/25/19 07:26
Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
Superku Offline
Senior Expert
Superku  Offline
Senior Expert

Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
You are using the default Gamestudio bones shader, right? The one which "calls" DoBones(...) and includes <bones> at the top.
If so, go to the code subfolder of your Gamestudio installation. Open default.fx, search for "include_bones". There you will find the matBones definition:
float4x3 matBones[72];

You can increase it but it might give you an error during shader compile. Then you will have to change the shader version to 3_0, as in
Code:
technique bones
{
	pass { VertexShader = compile vs_3_0 bones_VS(); }
}


That's fine though, pretty much every PC/ graphics card does support shader model 3.


"Falls das Resultat nicht einfach nur dermassen gut aussieht, sollten Sie nochmal von vorn anfangen..." - Manual

Check out my new game: Pogostuck: Rage With Your Friends
Re: about matBone more than 72! [Re: Superku] #476075
01/25/19 15:55
01/25/19 15:55
Joined: Feb 2003
Posts: 146
RP China
2
20BN Offline OP
Member
20BN  Offline OP
Member
2

Joined: Feb 2003
Posts: 146
RP China
@Superku
Thank you. I will try.


Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | chip programmers | 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