Jump to content
  • Advertisement


  • Content Count

  • Joined

  • Last visited

Community Reputation

140 Neutral

About katsh

  • Rank

Personal Information

  1. ok, the only fact is a "Z test". nothing else. you know shadow mapping do 2 pass. first pass ....render to the texture. this is full render, so output was Z tested. second pass.... no Z test because still in pixel shader(or something) . so there might be "difference" between first-pass nad 2nd-pass. i.e. theres obstacle polygon between light and current pixel...etc then you just shadow it, thats all. They Key is "Z TEST in first pass"
  2. howdy. you ppl already know "break dancin' bob! (if you dont know yet,then you better open SDK sample,for example --> (SDK path)\Samples\C++\Direct3D10\Tutorials\Direct3D10WorkshopGDC2007\excercise05 and see source code,you can see "bob" dancing.) hey sorry this is off topic i know... i love him(obviously hes him) since i saw him once. BUT he little messed up on my IDE like below. well, what i want to know is ,what font you ppl use for source editor? I mean what font can show him correctly. thx. btw his foot is show as yen mark. its ok. i mean space width is wrong for this font.
  3. here is a sample. RenderFixedPos() in Main.cpp is the what you might want. important thing is that you need inverse matrix of view matrix. then apply it to the 3d object that you want stay in somewhere in screen fix position. BTW comment is all japanese because Im japanese. peace.
  4. assuming you r saying frustum culling theres no chance to cull vertices in the vertex shader. because vertex shader is in way early phaze than frustum culling phaze.
  5. katsh

    A decent DirectX 11 books?

    Dx11 book? my book then:P if you can read japanese. not yet exist thou.
  6. yes GPU raytracing has become reasonable now by ComputeShader. i just happen to making GPU raytrace sample program for now. here is the result so far. every right images are lightwave render. to compare with my GPU render.
  7. katsh

    long run problem

    anything can be memory leaks. not only graphic resource. and freeing graphic thing is no good for the performance. you should check all [new,delete] pair or [malloc,free] pair ..anything you did about heap memory. and yes of course graphic resouce can be cause of leaks. if its caused by SlimDX,you have nothing to do like you said. neway its all my guessing.
  8. katsh

    long run problem

    My first impression of this is that there is a little memory leak somewhere in the code. i hope its not in SlimDX...
  9. katsh

    Tesselation Problem

    for me,it looks Sub-D problem,not tessellation itself.
  10. the answer is not only 1. i guess you expect "yes" thou. you can use the map value to your diffuse only.in this case you dont need specular calculations. Or you can use the map value to your specular calculation. in this case off course you add the specular calculation code in your shader code.(this is normal usage) in conclusion, the answer is 90% "no". even if your just use the texture only as a diffuse term,your still add the small code like this, finalcolor= diffuse term + specular term. (spec term from texel) so, its impossible to achieve a specular lighting without adding the code. the map is just a 1 of the "parameter" for calculations, not "everything".
  11. cant sure without actual code. assuming the texture is fine, and still screen is black,then possible reasons are .... 1.polygon culling mode. set D3D10_RASTERIZER_DESC::CullMode to CULL_NONE. 2.the quad has no UV. or you dont pass the texture to the shader.(i mean you dont map the texture on the quad) 3.RenderTaget is not work. one or the other. or both. does clear color work on the normal rendertarget(i mean backbuffer one).
  12. my guessing is that you forget to get actual backbuffer address. in initialize phaze like this pSwapChain->GetBuffer( 0, __uuidof( ID3D11Texture2D ),(LPVOID*)&pBackBuffer);
  13. katsh

    HLSL compiler output

    most of the same as above,easily way i use is following. if(FAILED(D3DX11CompileFromFile( L"ComputeRay.hlsl", 0, 0, "CS","cs_5_0",0, 0, 0, &pBlob, &pErrors, 0 ))) { char* ms=(char*)pErrors->GetBufferPointer(); MessageBoxA(0,ms,NULL,MB_OK); } i believe there is more sophisticated way like you said output window or something.
  14. katsh

    Fullscreen Problem

    your have to re-load textures ,mesh, to a gpu , when they gone from its video memory cause of alt-tab,alt-enter which over write its video memory.
  15. katsh

    Load .x File in Direct3D10

    i wish i could say to you "just buy my book then the answer is all there". but i cant since the book is japanese. but i can give you 1 of my sample project that load a static mesh from X file. im not sure its work for your PC (maybe it work). comment is all japanese so its useless for you there are more sample in the book, like load Hierarchy(animation) mesh,Skinned mesh,bump skined mesh from X file,FBX,COLLADA,OBJ.
  • Advertisement

Important Information

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

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!