Gamestudio Links
Zorro Links
Newest Posts
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
0 registered members (), 1,483 guests, and 8 spiders.
Key: Admin, Global Mod, Mod
Newest Members
AemStones, LucasJoshua, Baklazhan, Hanky27, firatv
19055 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 6 of 6 1 2 3 4 5 6
Re: Engine is slow? Or am I nuts? [Re: Slin] #380311
08/15/11 15:25
08/15/11 15:25
Joined: Dec 2002
Posts: 3,363
Vindobona (Ostarichi)
Harry Potter Offline
Expert
Harry Potter  Offline
Expert

Joined: Dec 2002
Posts: 3,363
Vindobona (Ostarichi)
Originally Posted By: Slin
Harry Potter: How do you handle sorting?
That's my biggest problem. wink

There are two ways to handle them:
1.) The polygons within a model are sorted by their internal number (time of creation). So the first created polygon will be rendered first. For my flower model (see screenshot) I first modelled the lower part of the flower. So this lower part will always be rendered in the background. And the white flower was created last, so it is always rendered in the foreground. So I have no sorting problem.

2.) The model itself is sorted by it's X,Y,Z-Position. You can change the centre of the model to affect the rendering/sorting.

It is much work to prevent wrong sorting. wink

Re: Engine is slow? Or am I nuts? [Re: 3run] #380312
08/15/11 15:26
08/15/11 15:26
Joined: May 2005
Posts: 2,713
Lübeck
Slin Offline
Expert
Slin  Offline
Expert

Joined: May 2005
Posts: 2,713
Lübeck
Originally Posted By: 3run
Did, what was the point? Same fps, but still as I said earlier, fps problem isn't constant.

So the performance problem is still there afterwards and your grass looks ugly with it? If so, your problem is not alpha blending, but something else.

Re: Engine is slow? Or am I nuts? [Re: Slin] #380313
08/15/11 15:31
08/15/11 15:31
Joined: Jul 2008
Posts: 894
T
TechMuc Offline
User
TechMuc  Offline
User
T

Joined: Jul 2008
Posts: 894
Can you send me the project to timo (dot) stark (at) dev-software (dot) com?
I can give it a check this evening.

Greetings,
Timo

Re: Engine is slow? Or am I nuts? [Re: 3run] #380314
08/15/11 15:31
08/15/11 15:31
Joined: Dec 2002
Posts: 3,363
Vindobona (Ostarichi)
Harry Potter Offline
Expert
Harry Potter  Offline
Expert

Joined: Dec 2002
Posts: 3,363
Vindobona (Ostarichi)
Originally Posted By: 3run
And still, even Slin and others say that problem is with alpha thing, I don't believe that my PC can't draw 80 bushes!
I have seen that you use bones animation for your grass models?! Can this be the problem (bad coding of animation)?

Re: Engine is slow? Or am I nuts? [Re: Harry Potter] #380316
08/15/11 15:35
08/15/11 15:35
Joined: Sep 2003
Posts: 5,900
Bielefeld, Germany
Pappenheimer Offline
Senior Expert
Pappenheimer  Offline
Senior Expert

Joined: Sep 2003
Posts: 5,900
Bielefeld, Germany
3run, what frame rate do you get when you run your project in window mode?

Re: Engine is slow? Or am I nuts? [Re: Harry Potter] #380318
08/15/11 15:40
08/15/11 15:40
Joined: May 2009
Posts: 5,370
Caucasus
3run Offline OP
Senior Expert
3run  Offline OP
Senior Expert

Joined: May 2009
Posts: 5,370
Caucasus
Yes, there are bones, but I don't use them (model isn't animated BTW).
I've converted example from AUM, where grass where reacting for player and moving randomly by faked wind.

Slin@ grass is highlighted (as well as trees), and yes, still from time to time I get low framerate.

Pappenheimer@ it's same jerking from 59-60, when I get in grass sometimes I get this 20-40 fps.

TechMuc@ thank you for offering your help, we'll see may be tomorrow I'll send it to you.


Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung
Page 6 of 6 1 2 3 4 5 6

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