Jump to content

  • Log In with Google      Sign In   
  • Create Account


Member Since 23 Jun 2010
Offline Last Active Feb 04 2015 09:32 PM

Topics I've Started

How to debug the complex data structure and algrithms such like quadtree, BSP, octree?

19 September 2013 - 11:45 PM

Hi, recently i worte my own implements of quadtree, but i encountered some bug in my algrithm. I found it difficult to debug the bug because the algrithm and data structure is complex than others.

I wanna known how to debuging in this situation if you were me?

Thanks advance!

what's the mean in func [OMSetBlendState] SampleMask

14 September 2013 - 10:53 PM

I had read the msdn http://msdn.microsoft.com/en-us/library/windows/desktop/ff476462(v=vs.85).aspx

I still do not understand the mean of SampleMask.

Does the MultiSampleMask determin which texture sampler to use?

Or releative to MSAA?


thanks in advance!

if i use a texture, dx10 will automatically illuminate it?

11 April 2011 - 02:22 AM

here are some code came from SDK, i didn't found any lighting calc here, but i can see the object.I remeber that in dx9 if i don't set the light state or enable it with shader, i just saw a black screen.
any one could explain it?Thanks!

float4 PS( PS_INPUT input) : SV_Target


return txDiffuse.Sample( samLinear, input.Tex )* vMeshColor;


i'm confusing with with dx11 shader

11 April 2011 - 01:26 AM

does all width of a register is 4 floats lang? how can a martix aligned with one register?

i thought a register is 128bit, matrix is 128bit x 4.
cbuffer cbChangeOnResize : register( b1 )


matrix Projection;


cbuffer cbNeverChanges : register( b0 )


matrix View;


Dose the DXUT worth to study deeply?

08 April 2011 - 08:17 AM

i think implement sth by write API one by one may imprssed me well, should i take some time to learn it?