XNA Creators Club Online
community forums

Search Forums

Page 1 of 1 (7 items)
  • HDR lighting + bloom effect

    Hi! I want to implement hdr lighting to my engine, but i just can't find a good tutorial for managed directx to show me how to do it.Bassicly, i understood what i have to do:1. render the color data to a texture (color can exceed 1.0f)for the bloom:2. resize the texture (make it smaller)3. set the areas that are below a luminance lvl to black ...
    Posted to Game Algorithms (Forum) by Cyberlord Dan on 4/26/2009
  • Re: mesh.intersect() problem

    nvm i fixed it.instead of using farP as the direction parameter for mesh.intersect(), i should've computed the difference between nearp and farp vectors and then normalize it and use it as the direction vector
    Posted to Direct3D (Forum) by Cyberlord Dan on 4/19/2009
  • mesh.intersect() problem

    i'm writing a program that involves picking objects in 3d space, but i can't get it to work as it should.i'm using the following code to compute the ray: //the camera and projection were initialized earlier....... Vector3 near = new Vector3(GetMouseCoordonates().X, GetMouseCoordonates().Y, 0);Vector3 far = new ...
    Posted to Direct3D (Forum) by Cyberlord Dan on 4/19/2009
  • Re: Any way to increase fps?

    Those were some great tips. I've adapted my code to follow them as much as I could.....but still...it hasn't increased the fps (it went to 6.2 though). i'm thinking of breaking the for(....) cycle at first square that's not in the view frustum space (that's a problem cuz if the first square's not in the view frustum space ...
    Posted to Direct3D (Forum) by Cyberlord Dan on 4/19/2009
  • Any way to increase fps?

    K. so here's my problem: i am workin on a map editor for a strategy game (starcraft genre). i've implemented the terrain generation code and the render code, and it renders at 30 fps when i have an 10x10 grid and at 6 fps when i have an 100x100 grid. let me explain a little...i have a vertexbuffer of 4 vertices (a square) and an ...
    Posted to Direct3D (Forum) by Cyberlord Dan on 4/19/2009
  • Re: How old are you, and when did you begin programming?

    Can't really remember when i started programming....probably at around 10 yrs....i started in foxpro for msdos, then libertybasic, then c# (i learnd all this coding stuff myself because at that age i didn't knew too much english (or at least not the technical programming terms)).now i'm almost 16 and i'm working on a game similar ...
    Posted to General (Forum) by Cyberlord Dan on 4/16/2009
  • Multiple-texture render problem

    Hi! I've been trying to render 2 textures on a squad (actually to take the alpha value of the first texture and to apply it to the second one). (this is what i want to do: http://www.gamedev.net/reference/articles/article2238.asp).I have a small problem here... i have the same problem described ...
    Posted to Direct3D (Forum) by Cyberlord Dan on 4/16/2009
Page 1 of 1 (7 items)