Gamestudio Links
Zorro Links
Newest Posts
Blobsculptor tools and objects download here
by NeoDumont. 03/28/24 03:01
Issue with Multi-Core WFO Training
by aliswee. 03/24/24 20:20
Why Zorro supports up to 72 cores?
by Edgar_Herrera. 03/23/24 21:41
Zorro Trader GPT
by TipmyPip. 03/06/24 09:27
VSCode instead of SED
by 3run. 03/01/24 19:06
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (Imhotep, opm), 785 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
sakolin, rajesh7827, juergen_wue, NITRO_FOREVER, jack0roses
19043 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
[SOLVED]crowd.c ( GPU bone anm ) + shadeC material ? #472399
04/25/18 19:59
04/25/18 19:59
Joined: Jul 2008
Posts: 2,107
Germany
rayp Offline OP

X
rayp  Offline OP

X

Joined: Jul 2008
Posts: 2,107
Germany
Hi Friends.

After a long time of building Proton packs i cant resist to work with my old love...ACKNEX.


I faced the old prob...framerate. Found out that in every of my Projects ent_animate is causing the framerate issues, no matter which models.

I wanted to use GPU for ent_animate.
I opened crowd.c in the sample Folder and thought "damn its a shader".

Of course i have latest shadec EVO included.


And this is the Problem...can somebody combine me the shadeC material with the GPU boneanm material from crowd.c ?


I really reached my limits of knowledge here cause iam a shader noob, and i will die as a shader noob.

Thanks in advance for all help!
Greets


edit:
Reason for this:
I added one(!) model three times. If ent_animate playes three times the same anm and Frames, framerate is around +90.
When saying this, for example:
my.animation_frame = random (100);
or using two different anim sets, framerate drops down to 30.
I already faced this prob with other models...but normally i needed some more models to see this ent_animate framerate kill process.

Converted to vertex Animation. Then i got 70fps. But hey...this cant be true i Need bones man ( i dont wanna miss dozens of feats like ant_animatefrom and vertex animations eating your Nexus faster than you can say FUCK ).

Last edited by rayp; 04/25/18 22:43. Reason: solved

Acknex umgibt uns...zwischen Dir, mir, dem Stein dort...
"Hey Griswold ... where u gonna put a tree that big ?"
1998 i married my loved wife ... Sheeva from Mortal Kombat, not Evil-Lyn as might have been expected
rayp.flags |= UNTOUCHABLE;
Re: crowd.c ( GPU bone anm ) + shadeC material ? [Re: rayp] #472401
04/25/18 21:15
04/25/18 21:15
Joined: Jun 2007
Posts: 1,337
Hiporope and its pain
txesmi Offline
Serious User
txesmi  Offline
Serious User

Joined: Jun 2007
Posts: 1,337
Hiporope and its pain
welcome again!

look at this

Re: crowd.c ( GPU bone anm ) + shadeC material ? [Re: txesmi] #472402
04/25/18 21:30
04/25/18 21:30
Joined: Jul 2008
Posts: 2,107
Germany
rayp Offline OP

X
rayp  Offline OP

X

Joined: Jul 2008
Posts: 2,107
Germany
Sry...i see this seams what iam looking for. But i dont get the point. Can somebody help my brain take the given Information please laugh

Is it only adding the line #degine BONES in the right file?
edit2:
wow...even Setting max_bones to 1 brought around 10-15 Frames already...

edit3:
Wow. It seams to be a huge difference. Placed the model 7 times now with more or less stable 45 fps. Not bad indeed.

Thanks for that info...Standing in my own thread grin
Thanks, txesmi! wink

Mutant dogs entering ShadeC test scene grin


Why is this working? Is in shadeC some GPU anm included ?

Last edited by rayp; 04/25/18 22:10.

Acknex umgibt uns...zwischen Dir, mir, dem Stein dort...
"Hey Griswold ... where u gonna put a tree that big ?"
1998 i married my loved wife ... Sheeva from Mortal Kombat, not Evil-Lyn as might have been expected
rayp.flags |= UNTOUCHABLE;
Re: crowd.c ( GPU bone anm ) + shadeC material ? [Re: rayp] #472403
04/25/18 22:23
04/25/18 22:23
Joined: Jul 2008
Posts: 2,107
Germany
rayp Offline OP

X
rayp  Offline OP

X

Joined: Jul 2008
Posts: 2,107
Germany
Mhhhm...

After testing around it still Looks like if the animations are too different ( hard to explain ) the framerate still drops.

But this might be caused by sun and dynamic light shadows at once in the testscene. With only one "shadow-source" it goes up to +-50 fps.

edit: Ok its better with this mod but still hard to Keep fps up i realized.

So is it really only adding those lines to have shadeC models GPU animated? Iam confused now.

edit:
Heres how it works laugh
I cant believe...Setting #define BONES in the material of the enemys boostet the framerate to 160 fps !!! AMAZING

This is mighty cool.


Acknex umgibt uns...zwischen Dir, mir, dem Stein dort...
"Hey Griswold ... where u gonna put a tree that big ?"
1998 i married my loved wife ... Sheeva from Mortal Kombat, not Evil-Lyn as might have been expected
rayp.flags |= UNTOUCHABLE;

Moderated by  Blink, Hummel, Superku 

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