Hseptic

Members
  • Content count

    50
  • Joined

  • Last visited

Community Reputation

146 Neutral

About Hseptic

  • Rank
    Member
  1. Can anyone else please help shed some light on this for me?
  2. There is no Output under View.
  3. I still don't know where to look. Where is VS' output window?
  4. Ok, I have tried re-enabled billboarding and now I can't see anything. Not even a red square. Something is still wrong. Again, I still don't know how to enable or use debug runtime.
  5. Now I am getting a red square. I still don't know how to enable or use debug runtime though.
  6. I still can't figure out how to enable it. What should I look for once I do though?
  7. Ok I tried what you said, and now all I am getting is a black square situated about the center of the xz plane.
  8. Nevermind. I see what you mean.
  9. No, my trees never render. That's the problem. What do you mean by disabling billboarding? I don't believe I've disabled billboarding.
  10. How will making the offsets larger help? Besides, I tried making the first tree offset (10, 0, 10) and I still couldn't see it.
  11. I'm still confused as to what might be wrong. Here is PreVS: [attachment=10033:pix1.PNG] Hers is PostVS: [attachment=10034:pix2.PNG] My only guess is here... [CODE] struct VertexPNT { VertexPNT() :pos(0.0f, 0.0f, 0.0f), normal(0.0f, 0.0f, 0.0f), tex0(0.0f, 0.0f){} VertexPNT(float x, float y, float z, float nx, float ny, float nz, float u, float v):pos(x,y,z), normal(nx,ny,nz), tex0(u,v){} VertexPNT(const D3DXVECTOR3& v, const D3DXVECTOR3& n, const D3DXVECTOR2& uv) :pos(v),normal(n), tex0(uv){} D3DXVECTOR3 pos; D3DXVECTOR3 normal; D3DXVECTOR2 tex0; static IDirect3DVertexDeclaration9* Decl; }; [/CODE] Basically I'm placing the billboard translation offset into the "normal" member of VertexPNT, and feeding it into the bboffset parameter of AABillBoardVS. Maybe that's the problem.
  12. Also note, [i]all[/i] of the source code fragments that I have posted under my username are from the book "Introduction to 3D Game Programming With DirectX 9.0c A Shader Approach" by Frank D. Luna. I do not claim to have written [i]any[/i] of it. I have merely made minor tweaks that are a part of the book's exercises. Again, I do not claim to have written ANY of the source code that I have previsouly posted under my username. All of the credit goes to the author Frank D. Luna.
  13. Won't somebody help me? Note, I cannot emphasize this enough. I am [i]not[/i] asking you to do my homework. I am simply studying this book on my own free time for fun.
  14. I still don't understand what it is I am supposed to do. It appears you are quoting from the same book I am reading, and therefore I am not seeing anything new about the matter.
  15. How do I do that exactly? Sorry, I'm still new at this.