Jump to content

  • Log In with Google      Sign In   
  • Create Account

CJThomas

Member Since 12 Jun 2013
Offline Last Active Yesterday, 06:48 AM

#5168580 How load a 3d model with sharpdx

Posted by CJThomas on 23 July 2014 - 12:58 AM

That error is becuase ShaderBytecode.CompileFromFile  can't find "MiniTr.fx".

you might need to move it into the working directory.




#5113597 Viable 3D text rendering solution for DirectX11

Posted by CJThomas on 01 December 2013 - 05:56 PM

http://rastertek.com/tutdx11.html has a tutorial on Billboarding in DX11

They also have one on Text Rendering




#5076753 Should game objects render themselves, or should an object manager render them?

Posted by CJThomas on 10 July 2013 - 06:27 PM

I have a render manager that will draw all my objects.  That way I can sort them by shader, texture etc so that there are less state switches on the graphics card.

 

Any object that is drawn has a render component that holds all the required information.  The render systems goes over all objects that have a render component and creates a RenderItem for each one that contains a Mesh, Texture and Effect pointer, along with a Tranformation Matrix.  The render manager then sorts and draws all objects.

 

I am only doing basic sorting at the moment but later when I have more objects I will implement culling which will save time by not drawing objects that can't be seen




PARTNERS