• Content count

  • Joined

  • Last visited

Community Reputation

271 Neutral

About synulation

  • Rank
  1. I spent some time on a tmp raytracer a while back: Fun project for bending the mind a bit.
  2. mesh culling (octrees)

    FWIW I also use a system similar to what is presented in that Battlefield paper. On my Xeon W3550, my SSE optimized code clocks in at 16k sphere-frustum checks in at about 0.12ms (1 thread), which is plenty fast enough for me. It didn't take too much effort to rework the data structures so the spheres were accessed linearly in memory and really the code ended up considerably simpler (IMO).
  3. Revival of Forward Rending?

    You may be interested in this paper: [url=""][/url] It spends some time comparing a tile-based deferred shading implementation with a tile-based forward shading implementation.
  4. And just to emphasize - even if as you said you aren't so concerned with SIMD optimization right now, such data oriented design is still important because of cache performance. e.g. if your particle struct packs position and color info together but for a certain effect you are never updating the color - well, you are just wasting time loading and polluting your cache with that color information.
  5. FWIW - Mikkelsen posted a follow up ([url=""][/url]) to that unparametrized bump mapping paper, making use of a precomputed derivative map to increase visual quality.
  6. Rendering and interacting with an UI

    Going off memory, I believe Awesomium at least should have C# wrappers. As for commercial games, there was a [url=""]talk[/url] at GDC about using HTML for UI, talking about wrapping Gecko (Firefox). EA has also open sourced [url=""]their implementation[/url] of WebKit for PS3/X360/PC. But in all I'd say most games are probably not following this approach and are using some other UI system (custom in-house or some other middleware).
  7. Rendering and interacting with an UI

    Since you mention HTML - you could actually use HTML/Javascript/CSS in your game if you wanted to. I have [url=""]been playing around[/url] with the concept recently and am pretty happy with the results so far - although admittedly I haven't tried making a full game using it yet. For my stuff I have been using [url=""]Chromium Embedded Framework[/url], but there is also the [url=""]Awesomium[/url] and [url=""]Berkelium[/url] projects available to use. They all end up wrapping chromium in one way or another.
  8. Particle System

    I definitely wouldn't recommend creating a list of particles. If you want your particle system to scream you need to pay attention to your data access patterns and make sure you are maximizing your use of the CPU caches - you have a lot of computational power and it will be wasted if you are spending all your time waiting on memory. Read up on AoS (Array of Structures) and SoA (Structure of Arrays) to get a better idea of what I am talking about, but I'd say the gist is to use predictable memory access patterns (not a list) and to store data together that will be used together so you aren't wasting space in your cache lines.
  9. At a quick glance the first two things that pop out to me are: you aren't actually attenuating your diffuse (look at your calculation for the attenuation factor it works out to 1), and you are adding the diffuse lighting you calculate to the base texture color (modulated by the ambient) - generally I think you would want it to look more like (baseColor * (diffuse + ambient) + specular).
  10. [quote name='marwalamey' timestamp='1295357455' post='4760695'] [quote name='SuperRad' timestamp='1285671733' post='4712294'] To add to this there is a GLSL version available that I believe is similar (if not the same, not sure)if people are itching to play around with some code. The comments are in French though. [url=""][/url] [/quote] Did you try this one? I want to convert this from GLSL to HLSL... Is this is an easy job?? Any comments will be appreciated [/quote] I based my initial hlsl implementation off of that and found it relatively easy to work through. You can take a look at my experiments (including the hlsl code) with mlaa here: [url=""]http://divergentcode...g/antialiasing/[/url] I'm more than happy to answer any questions about it as well.