DX10 tutor7 Texture question
  Home FAQ Contact Sign in
 
Advanced search
MATCHING GROUPS



more...
POPULAR GROUPS

more...

found 6 articles for 0.002 sec
Re: DX10 tutor7 Texture question     

Group: microsoft.public.win32.programmer.directx.graphics · Group Profile · Search for DX10 tutor7 Texture question in microsoft.public.win32.programmer.directx.graphics
Author: Anton Roth
Date: Sep 19, 2008 01:53

...->DrawIndexed( 36, 0, 0 ); } and also i have question, if i follow your .fx file code and call the ... above. will it draw twice? both of non-textured and textured. I wonder. if you used my fx file and...it effectDiffuseVariable if it is a pointer to a 2D texture?), i'd call it just once outside the switch. Your DrawLight technique doesnt bother about the texture. Unneeded code.
Show full article (1.87Kb) · Show article thread
Re: DX10 tutor7 Texture question     

Group: microsoft.public.win32.programmer.directx.graphics · Group Profile · Search for DX10 tutor7 Texture question in microsoft.public.win32.programmer.directx.graphics
Author: gd
Date: Sep 19, 2008 01:30

...&techDesc ); for( UINT p = 0; p < techDesc.Passes; ++p ) { g_pTechnique->GetPassByIndex( p )->Apply(0); g_pd3dDevice->DrawIndexed( 36, 0, 0 ); } and also i have question, if i follow your .fx file code and call the code above. will it draw twice? both of non-textured and textured. I wonder.
Show full article (2.41Kb) · Show article thread
Re: DX10 tutor7 Texture question     

Group: microsoft.public.win32.programmer.directx.graphics · Group Profile · Search for DX10 tutor7 Texture question in microsoft.public.win32.programmer.directx.graphics
Author: gd
Date: Sep 18, 2008 08:35

... new in developing dx10. in tutorial7 are about using texture to draw on the cube. ... cubes that the first cube using texture, the second is not. but the...in the Pixel Shader applies the texture to it. If you want to...render a second cube without any texturing you need to write another pass...a pixel shader which isnt using texture for rendering. please see the ....
Show full article (1.35Kb) · Show article thread
Re: DX10 tutor7 Texture question     

Group: microsoft.public.win32.programmer.directx.graphics · Group Profile · Search for DX10 tutor7 Texture question in microsoft.public.win32.programmer.directx.graphics
Author: Anton Roth
Date: Sep 17, 2008 14:54

...@microsoft.com... i'm new in developing dx10. in tutorial7 are about using texture to draw on the cube. i tried ... i create 2 cubes that the first cube using texture, the second is not. but the texture shown on..., and then in the Pixel Shader applies the texture to it. If you want to render a second cube without any texturing you need to write another pass in the ...
Show full article (1.06Kb) · Show article thread
DX10 tutor7 Texture question     

Group: microsoft.public.win32.programmer.directx.graphics · Group Profile · Search for DX10 tutor7 Texture question in microsoft.public.win32.programmer.directx.graphics
Author: gd
Date: Sep 17, 2008 06:30

i'm new in developing dx10. in tutorial7 are about using texture to draw on the cube. i tried to make my own code like the tutorial does. i create 2 cubes that the first cube using texture, the second is not. but the texture shown on the second one. whats the problem perhaps? sorry my bad in english but thanks in advance :) .
Show full article (0.33Kb)
Re: DX10 tutor7 Texture question     

Group: microsoft.public.win32.programmer.directx.graphics · Group Profile · Search for DX10 tutor7 Texture question in microsoft.public.win32.programmer.directx.graphics
Author: Anton Roth
Date: Sep 18, 2008 15:59

> please see the .fx file code http://www.pastebin.us/m3c236b8b. or there are something wrong in code placement. i.e. IASetVertexBuffer or something.. The .fx file is as it should be. You could change the code from technique10 RenderWithLight { pass P0 { SetVertexShader ( CompileShader ( vs_4_0, VS() ) ); SetGeometryShader...
Show full article (1.71Kb) · Show article thread