Jump to content
  • Advertisement


  • Content Count

  • Joined

  • Last visited

Community Reputation

188 Neutral

About Eitsch

  • Rank
  1. Hello! I am trying to run CsGL on windows vista with aero theme activated. somehow CsGL controls do not update properly. With windows classic themes it works just fine. With aero activated rendering can be triggered by window resize events - with xp theme refresh is called automatically (possibly onPaint is called more frequently) did you experience similar problems? what is the clean way to fix this? EDIT: with "Disable desktop composition" in the applications compatibility settings enabled it works too. [Edited by - Eitsch on March 17, 2009 11:38:49 AM]
  2. i am using c# with slimdx whereby the build target is ANY CPU. an explicit x86 compile works but is there a possibility to run any cpu builds with perfhud? thanks
  3. sad...if this is the only solution... simple internal conversions would be nice anyway;
  4. my source color array's layout is: rgba (each single bytes). using DXGI_FORMAT_R8G8B8A8_UNORM as internal format gives expected results (interchanged red and blue component). DXGI_FORMAT_B8G8R8A8_UNORM does not work (Input layout creation fails). according to current directx docs these formats don't work like the names promise. DXGI_FORMAT_R8G8B8A8_UNORM A four-component, 32-bit unsigned-integer format. ok.. DXGI_FORMAT_B8G8R8A8_UNORM A four-component, 16-bit unsigned-normalized integer format that supports 8-bit alpha. ...which seems inconsistent!.. so my question: what format should i use. i need bgra 32 bit.
  5. use glGetError to determine which operation fails with error code. make sure filtering is set up correctly
  6. Eitsch

    multiple glViewports

    just use glClear after setting up each viewport (and its clear color)
  7. this exception occurs in all cases. if file exists, or it doesn't - evertime SEHException. EDIT: after rebuilding the slimdx dll using latest svn source it seems to work. this dll does not contain the.FromFile overload method with 2 arguments. now i use: D3D10.Effect effect = D3D10.Effect.FromFile(Device, file, "fx_4_0", D3D10.ShaderFlags.Debug, D3D10.EffectFlags.None, (D3D10.EffectPool)null); [Edited by - Eitsch on January 12, 2008 11:58:16 AM]
  8. my c# app crashes at: D3D10.Effect effect = D3D10.Effect.FromFile(m_device, "MiniTri10.fx", "fx_4_0"); the slimdx example MiniTri10 works but in my app i get SEHException. i use exactly the same effect source (as in the example) and the device seems to be ok. (clearing framebuffer works) any ideas? thanks
  9. Eitsch

    Vertex Shader Question

    vertex texture fetches are available on modern hardware (sm3 hw). however it is a slow operation.
  10. Eitsch

    How qualified am I?

    god...what's goin on with this example?? second destructor fails - but why?
  11. get modelview with glGetFloat*v. multiply this matrix (sub3x3) with your vertex and add the translation vector (last row)
  12. Eitsch

    glut opengl vs opengl

    Quote:Original post by shotgunnutter Quote:Original post by alx123 I have this book that tell me that for more complicating games I need to know window programming and I only know console. I make a game with opengl and glut is so much easier. Can I make a really big game like Halo (is only a example) only using glut?? yes you can but it would take about 10 years! lol why should it take so long? yes .... there are better libs which offer more control, flexibility and features but come on...why should it take longer?
  13. sorry. no directx on mac os. to run dx on mac dx runtime libraries for mac os would be needed but microsoft only supports the own plattforms.
  14. you have to do the texture upload when your ogl context is active. this means you have to switch context (activate) in your "decode" thread. you could also create two ogl contexts and share resources between them.
  15. pointList.color = D3DCOLOR_XRGB(i, 0, 204-i); if i (so pixelcount) is higher than 204 you produce negative color values. furthermore i think a drawPixels call would be more appropriate.
  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!