Avatar slowdown

Post here your questions about the OpenSpace 1.x or notify bugs and suggestions.

Moderators: Lapo, Bax

sstark
Posts: 77
Joined: 21 Nov 2008, 16:06

Avatar slowdown

Postby sstark » 06 Jul 2009, 22:06

We made an amazing avatar system with very advanced customization.

Problem is that with 15+ users on one map, it chuggs.

I have many ideas for simplifying the avatar, and we have moved into smaller maps sizes... however are there any other suggestions to squeeze out some more performance from openspace and the avatars?

no wrong answers here.
User avatar
Bax
Site Admin
Posts: 4609
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

Postby Bax » 07 Jul 2009, 11:35

Are you using vector graphics for your avatars?
Paolo Bax
The SmartFoxServer Team
sstark
Posts: 77
Joined: 21 Nov 2008, 16:06

Postby sstark » 07 Jul 2009, 15:24

yes, however manually built and simplified graphics... that is one of our ideas. and also just to play with cacheasbitmap
User avatar
Bax
Site Admin
Posts: 4609
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

Postby Bax » 07 Jul 2009, 22:44

cacheAsBitmap on an animated movieclip is a bad idea: you will get the opposite result.
Our suggestion is to adopt a more complex solution: convert each frame of the animation to a bitmap at runtime and cache them manually. The following links should help you to get started on this idea:
http://www.8bitrocket.com/newsdisplay.aspx?newspage=2594
http://blog.vandenoostende.com/2008/animationslicer/
Paolo Bax
The SmartFoxServer Team
sstark
Posts: 77
Joined: 21 Nov 2008, 16:06

Postby sstark » 08 Jul 2009, 20:29

currently I am working with a bitmap rendering of the compiled mc. great results.
sstark
Posts: 77
Joined: 21 Nov 2008, 16:06

Postby sstark » 13 Jul 2009, 15:30

success! :)
User avatar
Bax
Site Admin
Posts: 4609
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

Postby Bax » 14 Jul 2009, 06:25

Can you share a description of your solution?
Paolo Bax
The SmartFoxServer Team
sstark
Posts: 77
Joined: 21 Nov 2008, 16:06

Postby sstark » 14 Jul 2009, 17:02

I'd love to but I'm behind NDA's.

bitmap rendering is the key, and I do not mean cacheAsBitmap.
warhell
Posts: 199
Joined: 18 Aug 2007, 16:49
Location: Silicon Valley, CA
Contact:

Postby warhell » 02 Sep 2010, 20:51

I am also having the same issue, the link you provided...

http://www.8bitrocket.com/newsdisplay.a ... spage=2594

Points to a not found page, do you happen to remember what the title of the article was or happen to have a link that points directly to the article?
SmartFoxServer and OpenSpace developer
www.edgarmiranda.net
User avatar
Bax
Site Admin
Posts: 4609
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

Postby Bax » 03 Sep 2010, 14:32

Unfortunately I don't remember the article title, but it was one of the tutorials on the 8bitrocket.com website.
Paolo Bax
The SmartFoxServer Team

Return to “OpenSpace v1 discussions and help”

Who is online

Users browsing this forum: No registered users and 26 guests