Re: problem in texturing with direct3d mobile



thanks for replying.

Well, this is what I've written for setting texture stage state:

g_pd3dmDevice->SetTexture( 0, g_pCarLRT );
g_pd3dmDevice->SetTextureStageState( 0, D3DMTSS_COLOROP,
D3DMTOP_MODULATE );
g_pd3dmDevice->SetTextureStageState( 0, D3DMTSS_COLORARG1,
D3DMTA_TEXTURE );
g_pd3dmDevice->SetTextureStageState( 0, D3DMTSS_COLORARG2,
D3DMTA_DIFFUSE );
g_pd3dmDevice->SetTextureStageState( 0, D3DMTSS_ALPHAOP,
D3DMTOP_DISABLE );

Unfortunately I dont understand any of this. I just took it from the
sample code provided with the WinMobile PocketPC SDK.

If you could elicit your view a little further, it would be of great
help.
Thanks,
Karthik.

.



Relevant Pages

  • Re: directsound help
    ... >> At this point I can only suggest creating a brand new project file and ... > I just did a comparison the sample code had win32,_debug,_windows in its ... shoddy way because i still dont know what was wrong with it. ... still wouldnt work until I did the copy paste thing. ...
    (microsoft.public.win32.programmer.directx.audio)
  • Re: inheritance question
    ... With the sample code below i get the error that i dont have enough ... arguments for the constructor i dont understand why i am getting that ... ie the "path" which was followed to reach the exception. ...
    (comp.lang.ruby)
  • Re: pthread_create SIGSEGV (again!!!)
    ... i dont know if it ... but there was some memory management ... to the sample code i have provied, the issue was in the dummy ... Prev by Date: ...
    (comp.programming.threads)
  • Re: Browser extension button disabled after first use?
    ... Could you please help me with sample code of how you fill in the ... existing OLECMD structure?It is Ok, if it is in VC++ also.Because i ... dont have a clear idea of how this QueryStatus works and how to solve ... Please help me in this regard. ...
    (microsoft.public.inetsdk.programming.webbrowser_ctl)
  • Re: Insert data into table from text file using sqlceresultset
    ... any sample code available? ... for my case i dont need any record ... checkings, i just need to load all the available columns in text files ...
    (microsoft.public.dotnet.framework.compactframework)

Loading