Gamestudio Links
Zorro Links
Newest Posts
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (AndrewAMD, Ayumi), 1,405 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 2 1 2
Do blocks set to "none" impact framerate? #109196
01/25/07 20:41
01/25/07 20:41
Joined: Oct 2005
Posts: 131
C
CBSection31 Offline OP
Member
CBSection31  Offline OP
Member
C

Joined: Oct 2005
Posts: 131
I'm using blocks set to "none" to simulate shadows for complex static entities, but I am wondering if these blocks impact the game's frame rate even though they are invisible. Is this the case, or does it only slow down the compiling process? Thanks!

Re: Do blocks set to "none" impact framerate? [Re: CBSection31] #109197
01/26/07 01:22
01/26/07 01:22
Joined: Aug 2003
Posts: 7,439
Red Dwarf
Michael_Schwarz Offline
Senior Expert
Michael_Schwarz  Offline
Senior Expert

Joined: Aug 2003
Posts: 7,439
Red Dwarf
blocks with their surfaces set to none do IMPROVE yor framerate. Infact, a good level designer sets all non-visible surfaces of the blocks(those wich the player will never, or should never, see ingame) to none, so it improves the framerate, even if it are just small surfaces(like the downside of a wall) but it all sums up


"Sometimes JCL reminds me of Notch, but more competent" ~ Kiyaku
Re: Do blocks set to "none" impact framerate? [Re: Michael_Schwarz] #109198
01/26/07 02:34
01/26/07 02:34
Joined: Feb 2005
Posts: 324
laethyn Offline
Senior Member
laethyn  Offline
Senior Member

Joined: Feb 2005
Posts: 324
Best way: Select all of your blocks, set them ALL to none, then go back and texture JUST the visible portions. It's usually a case where you have fewer sides of a block visible than not, so this can save time.


Read the manual, it's a good place to start learning ~ ulillillia
Re: Do blocks set to "none" impact framerate? [Re: laethyn] #109199
01/26/07 05:58
01/26/07 05:58
Joined: Oct 2005
Posts: 131
C
CBSection31 Offline OP
Member
CBSection31  Offline OP
Member
C

Joined: Oct 2005
Posts: 131
Thank you for your quick responses! I actually already did this with the walls, floor, etc. in my level because of speed.

My question is, does the framerate slow down at all just by the block's existance in the first place, even if ALL its surfaces are "none"?

In other words, say I have a square room with a giant crate in the center. The crate itself is an entity. I want the crate to cast a shadow using blocks, and so I create an invisible block around the crate to cast a shadow around the room. The block that is on the crate is invisible, but it DOES cast shadows. Does this make the framerate any slower than if I had never made that center block over the entity?

Thanks again!

Re: Do blocks set to "none" impact framerate? [Re: CBSection31] #109200
01/26/07 06:38
01/26/07 06:38
Joined: Feb 2005
Posts: 324
laethyn Offline
Senior Member
laethyn  Offline
Senior Member

Joined: Feb 2005
Posts: 324
Not really, yet at the same time, yes.

What I mean by that is that no, the block itself shouldn't give you a hit on framerate, BUT, by having that block there, you're dealing with shadows, which is going to affect your framerate.


Read the manual, it's a good place to start learning ~ ulillillia
Re: Do blocks set to "none" impact framerate? [Re: laethyn] #109201
01/26/07 08:20
01/26/07 08:20
Joined: Aug 2003
Posts: 7,439
Red Dwarf
Michael_Schwarz Offline
Senior Expert
Michael_Schwarz  Offline
Senior Expert

Joined: Aug 2003
Posts: 7,439
Red Dwarf
The shadows are saved in the shadowmap, and thus do not affect the framerate.


"Sometimes JCL reminds me of Notch, but more competent" ~ Kiyaku
Re: Do blocks set to "none" impact framerate? [Re: Michael_Schwarz] #109202
01/26/07 14:47
01/26/07 14:47
Joined: Feb 2005
Posts: 324
laethyn Offline
Senior Member
laethyn  Offline
Senior Member

Joined: Feb 2005
Posts: 324
Dynamic shadows won't affect framerate?


Read the manual, it's a good place to start learning ~ ulillillia
Re: Do blocks set to "none" impact framerate? [Re: laethyn] #109203
01/26/07 15:07
01/26/07 15:07
Joined: Aug 2003
Posts: 7,439
Red Dwarf
Michael_Schwarz Offline
Senior Expert
Michael_Schwarz  Offline
Senior Expert

Joined: Aug 2003
Posts: 7,439
Red Dwarf
static shadows


"Sometimes JCL reminds me of Notch, but more competent" ~ Kiyaku
Re: Do blocks set to "none" impact framerate? [Re: Michael_Schwarz] #109204
01/26/07 15:16
01/26/07 15:16
Joined: Oct 2005
Posts: 131
C
CBSection31 Offline OP
Member
CBSection31  Offline OP
Member
C

Joined: Oct 2005
Posts: 131
The shadows are static. The entity itself isn't casting any dynamic shadows. Thanks, guys!

Re: Do blocks set to "none" impact framerate? [Re: laethyn] #109205
01/26/07 15:22
01/26/07 15:22
Joined: Jun 2004
Posts: 2,234
Wisconsin USA
FoxHound Offline
Expert
FoxHound  Offline
Expert

Joined: Jun 2004
Posts: 2,234
Wisconsin USA
The blocks would affect speed in another way as they would be considered in collision detection.

Last edited by FoxHound; 01/26/07 15:31.

---------------------
There is no signature here.


QUIT LOOKING FOR ONE!
Page 1 of 2 1 2

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