Some love for the sample browser to speed up development

What it says on the tin: a place to discuss proposed new features.
Post Reply
PhilipLB
Google Summer of Code Student
Google Summer of Code Student
Posts: 550
Joined: Thu Jun 04, 2009 5:07 pm
Location: Berlin
x 108

Some love for the sample browser to speed up development

Post by PhilipLB »

Hi,

currently, when you develop a new sample, there are two things slowing you down:
  • It would be great, if you could preselect a sample via command line parameter so you don't have to find your new sample.
  • The sample browser loads all resources at the beginning. With a lot of media, you have to wait quite some time. It would be great, if the SdkSample-class got a new pure virtual method "getResources()" which is called on sample start where it return it's desired resources so they can be loaded on sample start.
Someone with a bit of sparetime? :)
Google Summer of Code 2012 Student
Topic: "Volume Rendering with LOD aimed at terrain"
Project links: Project thread, WIKI page, Code fork for the project
Mentor: Mattan Furst


Volume GFX, accepting donations.
User avatar
masterfalcon
OGRE Retired Team Member
OGRE Retired Team Member
Posts: 4270
Joined: Sun Feb 25, 2007 4:56 am
Location: Bloomington, MN
x 126
Contact:

Re: Some love for the sample browser to speed up development

Post by masterfalcon »

It doesn't load up every resource. But quite a lot of them. This could be narrowed down with some more specialized resource group usage.

Check out the "StartupSample" parameter to samples.cfg.
Post Reply