Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / Instancing rocks :D

Author
Message
Image All
18
Years of Service
User Offline
Joined: 30th Dec 2005
Location: Home
Posted: 8th Mar 2006 19:35 Edited at: 8th Mar 2006 19:35
Idk why I'm posting this, but I guess I find it neat that even with 80 coins on screen (3040 polies, excluding those of the level) can keep a steady framerate of 35 And they're all spinning!



FunkyStickmen: Battle of the Races (1%)
Big Man
19
Years of Service
User Offline
Joined: 4th Feb 2005
Location: BEHIND YOU!!!! (but I live in England)
Posted: 10th Mar 2006 18:39
what the hell is this thread about what are you trying to say.
Do you just want to show off that you have 80coins spinning on a screen and you have a frame rate of 35.

Please tell us.

BM

Our aim is to keep the loo's clean, your aim can help.
Gil Galvanti
19
Years of Service
User Offline
Joined: 22nd Dec 2004
Location: Texas, United States
Posted: 10th Mar 2006 18:42
erm...whats instancing

Pirates of Port Royale:
http://www.popr.gwgaming.net (Temporarily Disabled, We Apologize for the Inconvenience)
Live the life.
Image All
18
Years of Service
User Offline
Joined: 30th Dec 2005
Location: Home
Posted: 10th Mar 2006 18:49 Edited at: 10th Mar 2006 18:50
@BigMan: I just think its cool that there can be > 3040 polies and 82 objects on the screen and not lag up

@Gil Galvanti: It's like having lots of objects based on one real object so you can have alot and somehow it doesn't cause any more lag than just the one original object being there

FunkyStickmen: Battle of the Races (1%)
driftman
19
Years of Service
User Offline
Joined: 7th Aug 2005
Location: Somewhere Outside of Sanity
Posted: 10th Mar 2006 20:46
instancing is like cloning, only difference is, clone makes a duplicate that has nothing to do with the source object, other than looking like it, and instancing shares most of the data as the source object.

I have a lil' white jacket that lets me hug myself forever.
Chris Franklin
19
Years of Service
User Offline
Joined: 2nd Aug 2005
Location: UK
Posted: 10th Mar 2006 21:10
3040 polys but only 35 fps? my game as near 50k and uncapped 200 fps

RUCCUS
19
Years of Service
User Offline
Joined: 11th Dec 2004
Location: Canada
Posted: 11th Mar 2006 02:11 Edited at: 11th Mar 2006 02:12
Quote: "what the hell is this thread about what are you trying to say.
Do you just want to show off that you have 80coins spinning on a screen and you have a frame rate of 35.

Please tell us."


PMS much?

CattleRustler
Retired Moderator
21
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 11th Mar 2006 03:02
Instancing

now youre seeing one of the core concepts of OOP and why people like it so much. Not that the dbp basic languange is at all OOP, its not, but this instancing you see is being made available because the dbp wrapper dlls of DX are pure oop code. Lee is taking your object and creating multiple Instances of it in memory on the fly. Not sure if its his function or something that dx does natively that he wrapped as well.

FREE Automatic file updates for your distributed Games and Apps - see Program Announcements Forum - DBP Demo

Login to post a reply

Server time is: 2024-11-27 04:56:59
Your offset time is: 2024-11-27 04:56:59