Advertisement Jump to content
  • Advertisement

gymisi

Member
  • Content Count

    16
  • Joined

  • Last visited

Community Reputation

137 Neutral

About gymisi

  • Rank
    Member
  1. gymisi

    finding the d3d9.lib

    You have to download Directx SDK, and you can find the headers in the yourdxsdkpath/include directory!
  2. Maybe, you have to set D3DPRESENTPARAMS,FullScreen_RefreshRateInHz( for example D3DPresentParams.FullScreen_RefreshRateInHz = 75;)to use fullscreen mode!
  3. Thanks, i'm going to read some dx10 presentation.
  4. gymisi

    fps

    Maybe, you use V-Sync, so you get same framerate...
  5. gymisi

    about my tree

    They use SpeedTree technology.
  6. gymisi

    transparency

    device->SetRenderState(D3DRS_ALPHABLENDENABLE, TRUE); device->SetRenderState(D3DRS_SRCBLEND, D3DBLEND_SRCALPHA); device->SetRenderState(D3DRS_DESTBLEND, D3DBLEND_INVSRCALPHA);
  7. gymisi

    transparency and alpha blending in HLSL

    I'm not sure, but I think, you need this(i hope [smile] ): technique RenderScene { pass p0 { AlphaBlendEnable=true; SrcBlend=srcalpha; DestBlend=invsrcColor; VertexShader = compile vs_1_1 vertexs(); PixelShader = compile ps_1_1 pixels(); } }
  8. gymisi

    Cubemapping

    First Second tutorial
  9. gymisi

    First C++ Program

    Or #include <iostream> int main() { std::cout << "Game Over!" << std::endl; std::cin.get(); return 0; }
  10. gymisi

    Mesh single subset

    Maybe, LPDIRECT3DINDEXBUFFER9 ib; LPDIRECT3DVERTEXBUFFER9 vb; mesh->GetIndexBuffer(&ib); mesh->GetVertexBuffer(&vb); and see this topic: Click [Edited by - gymisi on December 20, 2005 2:13:05 AM]
  11. gymisi

    More DX Tutorials

    maybe Codesampler.com
  12. gymisi

    replacement for mesh.DrawSubset()

    In C++: num_of_faces=mesh->GetNumFaces(); num_of_vertices=mesh->GetNumVertices(); mesh->GetIndexBuffer(&ib); mesh->GetVertexBuffer(&vb); fvf=mesh->GetFVF(); fvfsize=D3DXGetFVFVertexSize(fvf); //render g_device->SetFVF(fvf); g_device->SetIndices(ib); g_device->SetStreamSource(0,vb,0,fvfsize); g_device->DrawIndexedPrimitive(D3DPT_TRIANGLELIST,0,0,num_of_vertices,0,num_of_faces); msdn: In C#
  13. Do you think by gl_texture_lod_bias?
  • 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!