Performance Optimization wiki article

If you feel like you're up to the challenge of building your own Ages in Blender or 3ds Max, this is the place for you!

Performance Optimization wiki article

Postby Aloys » Tue Apr 13, 2010 5:44 am

Regularly people ask about various ways to enhance performance in an Age. There are number of way to do that; from the obvious to the very specific. There are a bunch of techniques and things to keep in mind, some are Plasma/Alscript specific, some are not; but it is a lot of very diversified infos for a single subject and it is worth it to try and centralise that in a single article.

The difficult part is it to have an article covering a wide range of things while not being too massive. This article should only give an overview of things and provide links to other more specific articles when possible (eg:vis regions,). I know that there are many such articles that are currently missing or imcomplete, it might be a good occasion to further them.

I am not knowledgable enough about the more specific coding aspects but I can lay a base work with all that I know for more specialised people (or myself as I learn more) to fill in the (many) blanks. Even disregarding some specific topics, there is a lot of other content to expand upon and perfect; this is just a first draft.

The article is here. Feel free to complete it where possible.
User avatar
Aloys
 
Posts: 1968
Joined: Sun Oct 21, 2007 7:57 pm
Location: France (GMT +1)

Re: Performance Optimization wiki article

Postby ddb174 » Tue May 04, 2010 1:17 pm

Good idea! It's important information that all Writers will probably want to know.
ddb174
 
Posts: 928
Joined: Thu Apr 10, 2008 7:28 pm

Re: Performance Optimization wiki article

Postby Paradox » Tue May 04, 2010 1:34 pm

I was just adding a bit more information about Occluders, and looking for some examples on Google, and I stumbled upon [ulr]http://www.nodraw.net/2009/12/optimization-in-source-a-practical-demonstration/[/url].
Although the article is geared towards the Source engine, the design principles apply reasonably well to Plasma, especially the part about occluders.

One of the big optimisations that we could make is to generate an actual BSP Tree when exporting, but so far our attempts with libHSPlasma have just made geometry randomly vanish. This is one of the first things I'd like to see if we ever get the source for Cyan's plugin.
Paradox
 
Posts: 1295
Joined: Fri Sep 28, 2007 6:48 pm
Location: Canada

Re: Performance Optimization wiki article

Postby ddb174 » Wed May 05, 2010 10:55 am

Drizzle correctly generates a BSP tree and understands the format of them, I believe. (I used it for realMyst->Uru conversion.) Even though most of the realMyst code isn't in the trunk yet, I think this is. So go ahead and use that if it helps.
ddb174
 
Posts: 928
Joined: Thu Apr 10, 2008 7:28 pm

Re: Performance Optimization wiki article

Postby Paradox » Wed May 05, 2010 10:56 am

Ah, thanks, I'll take a look. Real code certainly beats deciphering floating point assembly for a bounding box radix sort ;)

EDIT: I'm not finding anything in Drizzle that generates a tree from scratch, just code to handle removing objects. :\
Paradox
 
Posts: 1295
Joined: Fri Sep 28, 2007 6:48 pm
Location: Canada


Return to Building

Who is online

Users browsing this forum: No registered users and 1 guest