SunBurn Dev Journal: Workflow Enhancements

Hello SunBurn community!

Over the past few weeks we’ve been working on some exciting new workflow enhancements for SunBurn and the SunBurn Editor.  The goal is to further tighten up the user experience and eliminate any quirks between the editor and the xna content pipeline.

We’ve also been working on adding a number of user requested features, fixes, and more – but I’ll save those for another blog. :)


Background Importing

Probably the most helpful new SunBurn Editor feature is the ability to import assets in the background.  It allows you to continue editing your scenes and working, while large models (or large numbers of models) are processed and imported.

As before you can select multiple models to import at once -though this is limited to models in the same directory (due to selecting model files via an Open File dialog box) - however you can now import additional models while others are being processed.  The editor will simply queue up all the requested models and process them in order.


Effects Shared Across All Models

Material effects are now shared between models that reference the same material file, making it easier to view and editor materials in the editor, and improving performance, load times, and memory usage.

The default behavior for the xna content pipeline when loading models is to create new effect instances for each material used by the model.  While xna does share effects between meshes contained in the model, it does not share effects between the models themselves.  This means if two models both reference the same material file, each will have a unique instance of the effect (even though the property values are the same).

SunBurn now resolves this by allowing the content pipeline to share effects between models.  When two models reference the same material they will also share a single effect between them.  This means both will correctly batch together, less memory is used, and fewer effect are created, reducing load times.

If however your game exploits the old behavior and you’d like to keep it, the new shared effect feature can be disabled in the ResourceManager. :)


More Visual Studio Integration

We’ve created new Visual Studio class templates to help accelerate development by providing empty (but fully functional) classes that plug directly into SunBurn.

  • Component class template (using your choice of automatic or manual serialization) – add behaviors to objects, entities, and lights
  • Manager class template – plug in new systems (UI, AI, 3rd party physics, …)

The new templates compliment SunBurn’s existing library of items templates, kits, examples, and more.

The SunBurn editor now avoids saving to asset file unless the contents have changed.  This helps avoid unnecessary asset rebuilding in Visual Studio (which checks the file timestamp not the hash) and makes switching back and forth between the editor and Visual Studio much smoother.


Lower Windows Release Requirements

SunBurn no longer requires the full .Net 4.0 or XNA runtimes, which means you can now release Windows games by packaging only the XNA Redistributable (6.7M) in the installer! :)

This also means the game’s Visual Studio project can continue to target .Net 4.0 Client profile (the default), which will eliminate any confusion over locating the SunBurn assemblies as they are now always visible regardless of the project settings.


New Importer Memory Model

In the past importing exceptionally large models (>500,000 polys) could fail if the game was using a lot of memory.  This is because importing the models requires large amounts of contiguous memory, which may not be available depending on how much memory is consumed by the game itself (and how fragmented it is).

However we’ve now given the importer its own virtual memory space to work within, which isolates it from the game and allows importing far larger models regardless of how much memory is used by the game.


More to Come!

We’re planning to release these, as well as a ton of other smaller enhancements and features in the upcoming SunBurn 2.0.13 update.

If you have any questions or comments let us know!

 -John Kabus

 

Other SunBurn 2.0 Blogs:

  1. Announcing the SunBurn 2.0 Game Engine - free upgrade, new editions, and updated features
  2. SunBurn 2.0 Collisions, Scenegraph, and Components - new collision system, components, and more
  3. SunBurn 2.0 upgrade for our Torque customers - upgrade path for all of our previous TLK technology customers
  4. SunBurn 2.0 goes Mobile on Windows Phone 7! - full Windows Phone 7 support, light mapping, and more
  5. Holiday, Components, and more! - read about the new components and more
  6. SunBurn 2.0: components, perfabs, and more! - more details about SunBurn's new component system
  7. Festive SunBurn 2.0 Starter Kits, yum, yum! - first release of the new SunBurn Starter kit
  8. SunBurn 2.0.10 update available - streamlined user experience and integrated starter kits
  9. SunBurn Dev Journal: Scenegraph Optimizations - faster scenegraph and City Demo with 10,000 buildings
  10. SunBurn 2.0.12 Update Now Available! - edit components and custom scene object types in editor
  11. SunBurn Update: Windows Redistributable - ship Windows games using only the XNA Redistributable

 

 

 


Posted 03-20-2011 7:33 PM by JohnK "bobthecbuilder"

Comments

Alex "Turbosmooth Operator" wrote re: SunBurn Dev Journal: Workflow Enhancements
on 03-20-2011 8:55 PM

Awesome stuff guys!

Israel wrote re: SunBurn Dev Journal: Workflow Enhancements
on 03-21-2011 12:21 AM

Hi

Really awesome, will this new update include the collision system Bepu?

Tom wrote re: SunBurn Dev Journal: Workflow Enhancements
on 03-21-2011 4:38 AM

Sweet :)

It would be great if you guys had some kind of public roadmap. I'd really like to see some new improved graphics features as well (global illumination, corona/light-flares, more built-in post processing etc.)

Darkside wrote re: SunBurn Dev Journal: Workflow Enhancements
on 03-21-2011 7:24 AM

I'd second the request for a roadmap.

Doesn't have to be too specific, but would be good to see what your planning up to the full V2 release (plus expected RTM date), especially with the dual launch of Windows/XBOX and WP7

As usual with the usual "Expected to change" caveat

Dean Wadsworth wrote re: SunBurn Dev Journal: Workflow Enhancements
on 03-21-2011 8:29 PM

Material effects are now shared between models!! :D thats awesome!

And really looking forward to the new template classses.. Great WORK! :D

JohnK "bobthecbuilder" wrote re: SunBurn Dev Journal: Workflow Enhancements
on 03-22-2011 12:35 PM

Hi guys, thanks!

We have a high level public road map on the SunBurn Game Engine product page (on the Features tab):

www.synapsegaming.com/.../engine

It doesn't dive into all of the details, but we have to save some surprises for later. ;)

No BEPU in this release, however from what I can tell the integration just needs some minor clean up and released.  We're trying to determine how best to make it available.

JohnK Blog wrote SunBurn Game Engine: Transparencies, Player Controller, and More!
on 08-17-2011 1:15 AM

Hello SunBurn community! If you follow my blogs you know we’re adding a number of unannounced features

JohnK Blog wrote SunBurn Launches Powerful new Community Plugin System
on 10-16-2011 3:16 PM

Hello SunBurn community! Last night we rolled out a development preview of the SunBurn Game Engine’s

JohnK Blog wrote New SunBurn Community Resources Portal!
on 11-01-2011 5:45 PM

Hello SunBurn community! Two weeks ago we rolled out a powerful new resource system for the SunBurn Game

JohnK Blog wrote SunBurn Game Engine: A Whole New Level of Flexibility!
on 11-16-2011 5:06 PM

Hello SunBurn community! Today we’re announcing the last couple of features in the upcoming SunBurn

JohnK Blog wrote Orbitron: Revolution blasts onto Xbox LIVE Marketplace!
on 12-05-2011 9:52 PM

Hello SunBurn community! Talk about an exciting weekend! The awesome team at Firebase Industries just

JohnK Blog wrote SunBurn 2.0.17 Released – Advanced Lighting, Transparencies, and tons of Enhancements!
on 12-09-2011 4:45 PM

Hello SunBurn community! It’s here! Today we released the SunBurn Game Engine 2.0.17 update –

JohnK Blog wrote New SunBurn Documentation and Silverlight WP7 Example!
on 12-12-2011 9:09 PM

Hello SunBurn community! We’ve just updated the SunBurn Getting Started documentation to ensure

JohnK Blog wrote Starting 2012 with style: SunBurn Game Engine 2.0.18 Preview!
on 01-27-2012 2:01 PM

Hello SunBurn community! We're kicking the year off with a huge new update to the SunBurn Game Engine

JohnK Blog wrote SunBurn Game Engine 2.0.18: Built-in Character Controller!
on 02-04-2012 4:50 PM

Hello SunBurn community! Last night we delivered a feature-complete preview of SunBurn Game Engine 2

JohnK Blog wrote SunBurn 2.0.18 Released - Physics, Char Controller, More!
on 02-14-2012 3:46 PM

Hello SunBurn community! This morning we launched the much anticipated SunBurn Game Engine 2.0.18! The

JohnK Blog wrote New sgMotion Plugin and the SunBurn 2.0.18 Refresh!
on 02-23-2012 4:49 PM

Hello SunBurn community! We just rolled out two exciting new updates for the SunBurn Game Engine ! The



Please login to post comments.