Stencil Shadow, Self-Shadow, FPS Problem ???

Posted By: TrQuocAn

Stencil Shadow, Self-Shadow, FPS Problem ??? - 07/15/09 12:59

Hi Everyone !
I'm a newbie in 3DGS.

I'm making a space game, I want my Space Ship has self-shadow so I used :
shadow_stencil = 1; //Z-pass stencil shadows.
but the FPS is very very low (8 FPS)


I tried shadow_stencil = 2; //3, // and 4 . But it caused many problem and the FPS was low, too.


I read the 3DGS Manual and find about LOD Manager of MED.
so how to uses it to improve FPS ??


does someone have the tutorial or exsample about it ?

Thanks !
Having a nice day !
Posted By: darkinferno

Re: Stencil Shadow, Self-Shadow, FPS Problem ??? - 07/15/09 13:23

well, you can try the shadow system of shade-c, i think it would look great on this, you could also make a VERY low poly version of your model. that would be the next LOD stage and would cast the shadow
Posted By: Widi

Re: Stencil Shadow, Self-Shadow, FPS Problem ??? - 07/15/09 16:21

So far as i can see at the debug Panel it is not the Shadow, it is the entities. Have a look at the second column at the second position: ent is very high. Try first to load an other (smaller) entity for test...
Posted By: TrQuocAn

Re: Stencil Shadow, Self-Shadow, FPS Problem ??? - 07/16/09 02:21

Originally Posted By: darkinferno
well, you can try the shadow system of shade-c, i think it would look great on this, you could also make a VERY low poly version of your model. that would be the next LOD stage and would cast the shadow


Thanks for your help !
But where is the shade-c in 3DGS folder ?

Originally Posted By: Widi
So far as i can see at the debug Panel it is not the Shadow, it is the entities. Have a look at the second column at the second position: ent is very high. Try first to load an other (smaller) entity for test...


Thanks !
I want my ship has the self-shadow ! (like in picture 1)
So... do you have any solution for this?
Posted By: the_mehmaster

Re: Stencil Shadow, Self-Shadow, FPS Problem ??? - 07/16/09 08:19

How many textures does that model use? at what resolutions?

[EDIT] Ah. I checked your post history, and apparently, that model has 96(!!) skins. That is your problem, i think.

For anyone else:
http://www.opserver.de/ubb7/ubbthreads.php?ubb=showflat&Main=33876&Number=276911
Posted By: the_clown

Re: Stencil Shadow, Self-Shadow, FPS Problem ??? - 07/16/09 08:59

Oh, and shade-c doesn't come with 3dgs. It's a free shader system. You can find it here:

http://www.opserver.de/ubb7/ubbthreads.php?ubb=showflat&Number=278906&page=8

Could be that there is a newer versionEDIT: Oh, wait, is that just the demo....?
Posted By: TrQuocAn

Re: Stencil Shadow, Self-Shadow, FPS Problem ??? - 07/16/09 13:19

Originally Posted By: the_mehmaster
How many textures does that model use? at what resolutions?

[EDIT] Ah. I checked your post history, and apparently, that model has 96(!!) skins. That is your problem, i think.

For anyone else:
http://www.opserver.de/ubb7/ubbthreads.php?ubb=showflat&Main=33876&Number=276911


Thanks ! I try another model with same vertices, same faces and only one skin !
But it was very slow (8FPS), too.
The Resolution is 800x600, My VGA card is FX 5200 128 MB 128 Bit frown (it produced after 2004 ) !

Originally Posted By: the_clown
Oh, and shade-c doesn't come with 3dgs. It's a free shader system. You can find it here:

http://www.opserver.de/ubb7/ubbthreads.php?ubb=showflat&Number=278906&page=8

Could be that there is a newer versionEDIT: Oh, wait, is that just the demo....?


Thanks !
I will try it !
© 2024 lite-C Forums