-
I want to add the scene that is rendered from a DrawableGameComponent. the thing is that when i use the code that is used by the Game.cs file (the one that is created by defalt in a new project) the scene is not rendered. the code from the game.cs file i am talking about is: // Load the scene and add...
-
Sorry for all the forum spamming. I am following the HDR example project but I started from scratch. I am trying to load the Scene object using the ContentManager but I am getting the following error: Type 'Scene' not registered with the serialization type dictionary. The content project is referencing...
-
Hi, My guess is that setting a SceneObject Visibility property to None means this SceneObject won't be returned by the ObjectManager.Find method if setting the ObjectVisibility to EnabledDynamicAndStatic. However, it still seems to be returned. Am I wrong in guessing this way? And if so, what should...
-
I *know* SunBurn should never allocate while running, but right now I'm really confused as to where the allocations might be coming. There is an area that makes the framerate drop dramatically, it coincides with allocations. I've profiled using CLR Profiler my game several times. It seems the...
-
Hi all, I'm moving on in my project and I am now hitting a huge performance issue with the way I implemented particles (using DPSF) in my SunBurn based project. It seems that ParticleSystems in DPSF do not check their visibility against the View Frustrum and therefore update and render themselves...
-
Hi, Whenever I start my game, it seems to run quite fine. Upon opening the editor, it crashes. I've crunched through a number of solutions and bugs with answers from this forum, mainly in unloading and reloading content, managers and render targets. But this one line has me stumped. g_GameManager...
-
Hi all, I am in the process of adding Level of details to my game and I was wondering how you would fit this into the newly SceneObject and ObjectManager classes and design pattern? With SceneObject asking for one unique Model or ModelMesh to be instantiated, I'm likely to inherit from it and add...
-
G'day, I figured out earlier how to get a shader running through sunburn. But the enviroment map shader behaves diferently in suburn, and I do not understand why. Here is the shader rendered outside sunburn: http://imgur.com/R9oYS&FOxzFl&brvod&JFq65 Here is the shader Rendered inside...
-
Hi, I am trying to create a starfield using individual vertexes positionned randomly and uniformly on the surface of a sphere. I already used this technique with XNA but it seems that since 1.3, I cannot see how to do it anymore. http://www.synapsegaming.com/wikis/sunburn_1_0_docs/custom-geometry.aspx...
-
Hi, I'm currently evaluating more seriously SunBurn for a professional prototype I am working on and I am actually working on a quick & not so dirty game engine using SunBurn for the rendering stuff. I would like to avoid making bad design decisions and would appreciate your help on a small question...