siri

Members
  • Content count

    34
  • Joined

  • Last visited

Community Reputation

283 Neutral

About siri

  • Rank
    Member
  1. Lots of warnings.

    Posting the question jolted my memory. I forgot that they now include all the DX stuff in the Windows SDK. Removing the paths and references to D3DX fixed it. :)
  2. Lots of warnings.

    I've recently got back in to programming after a long hiatus. I'm starting with a blank screen. The code builds and I get a nice blank screen. But the output is a load of warnings.   I pasted them here: http://pastebin.com/gWbGsm6z   Why is that happening?   It doesn't seem to be related to any of my code. But rather the headers. It's something I'd rather not ignore but I have no idea what's causing it.   Win7/VS2013 if that's relevant. I seem to remember something about Win8/SDK and warnings but I've forgotten.   Thanks.
  3. Pixel Perfect

      Not using any AA. I checked the driver settings and they're all set to application controlled. Apart from 'Gamma Correction' but it says that only affects GL.     Outside of the point light in that screenshot the rest is lit by a full-screen quad directional light.     It's not z-fighting. I'm not sure about the blending. The 'process' is pretty hacky as I'm still learning. Not sure what information you need but I'll try and elaborate.   I'm rendering position and normals in to an MRT. From that I'm rendering the lights to a render target. I then take the lighting render target and project it on to the geometry as a sort of, I dunno, screen space lightmap. I'm pretty sure it's the projective co-ordinates that are wrong. I've never understood the texel offset stuff in D3D9.
  4. Pixel Perfect

    Hi,   Not sure if this counts as a beginner question or not. I apologise if it's in the wrong section.   I'm currently playing around with some deferred rendering. It seems to be working ok. I have directional and point lighting. I'm rendering the lights in to a render target and then using that to calculate the final stuff. But I think my projective co-ords are slightly off. If you look at the image below you'll see that at the geometry edge there's a white line. As though the lighting texture doesn't quite match up.     The code I am using to build the projective co-ordinates is as follows: //suv are the co-ords for tex2Dproj() //invWidth is (0.5f / screen_width) //invHeight is (0.5f / screen_height) v2fout.p = mul(a2vin.p, wvp); v2fout.uv = a2vin.uv; v2fout.suv = v2fout.p; v2fout.suv.xy = float2(v2fout.suv.x * 0.5, -v2fout.suv.y * 0.5); v2fout.suv.xy += (0.5 * v2fout.suv.w); v2fout.suv.x += 0.5f * invWidth * v2fout.suv.w; v2fout.suv.y += 0.5f * invHeight * v2fout.suv.w; Thanks for any help/advice.
  5. Using both D3D9 and D3D11

    This is probably a very stupid question and I apologise if it is. But can't you just use the D3D9 feature levels in DX11 for the D3D9 renderer ?
  6. To “From” or not to “From”

      Personally I think context solves this problem.
  7. To “From” or not to “From”

    First world problems doesn't quite cover it.
  8. Why trailers are necessary.

    How about worst ?   [video]http://www.youtube.com/watch?v=FYbAWZ8yPks[/video]   I loved that game as a teen but the trailer makes it look awful -- it probably would be awful if I played it now.
  9. Microsoft and the Xbox One. Thoughts?

      I agree, which is why I think it's a pointless and costly addition, it's only really useful to developers working on exclusives. Until it becomes a standardised technology that all platforms have I don't see the reason for it. They could compete on price with PS4 if they just dropped it.   I could be way off but that's the way I currently see Kinect. It's a cool bit of kit but nothing more.
  10. Microsoft and the Xbox One. Thoughts?

    but but people still get to give their money to Gamestop etc instead of the industry to play games! Surely that is worth it! *drowns in his own sarcasm* but yeah... my bet; 6 months into the console release people will moan about having to have the disk in the drive to play their games (much like they currently do) - on this day I plan to point and laugh.   Can you not just buy the game online to begin with if that is your preference ?
  11. Microsoft and the Xbox One. Thoughts?

    They've just reversed most of the policies people were complaining about.   http://www.eurogamer.net/articles/2013-06-19-microsoft-will-reverse-position-on-xbox-one-drm-today-report   Edit:   Should have read before I posted. :D
  12. PS4 and its news

    Personally I don't get the kinect hate. There's a bunch of cool stuff on kinect, and the new kinect is better in every regard. I'm excited to see how it's used now that developers have a guarantee of it's existence.     That's only true of exclusive titles though. Anything cross-platform still has the same problem as before, no ?
  13. Directx tutorials?

    I use Raster and this site: http://www.braynzarsoft.net/index.php?p=DX11Lessons
  14. Progress Bars

    Sure. But a lot of the time when stuff freezes, or the window becomes unresponsive, those UI elements keep ticking away.
  15. Progress Bars

      I think "Uh... Shiny" explains a lot of modern UI elements. I can't think of much practical use for this other than "Ooohhhhh".