Jump to content

  • Log In with Google      Sign In   
  • Create Account

unicoder

Member Since 19 Nov 2000
Offline Last Active Jul 13 2014 10:04 PM

Topics I've Started

Anyone here been to Full Sail Online University/Classes?

09 November 2012 - 04:52 PM

I have been a member of this site since 2000. I don't post much, mostly read articles and look for help on whatever I am working on. But I have been seeing a lot of chatter about this Full Sail university. It is very expensive for my taste but might help with rounding out and helping shape my years of a hobbyist programmer.

Anyone get their money's worth out of this place?

Getting error C2309

29 March 2010 - 03:15 AM

So I created a simple DirectX Window, cleared it to a black background, and i wanted to load a jpg as some kind of splash screen. The code compiles alright except for one error: error C2039: 'CreateOffScreenPlainSurface' : is not a member of 'IDirect3DDevice9' the function looks to be correct:
HRESULT result;
	result = d3ddev->CreateOffScreenPlainSurface(
		600,
		800,
		D3DFMT_X8R8G8B8,
		D3DPOOL_DEFAULT,
		&surface,
		NULL);
anyone know what im missing? or do you need more code to see? I just made a simple wrapper and put that snippet in my direct3d init code, and im drawing it in my main loop using:
void StartRender()
{
    d3ddev->BeginScene();
	d3ddev->GetBackBuffer(0,0, D3DBACKBUFFER_TYPE_MONO, &backbuffer);
	d3ddev->StretchRect(surface, NULL, backbuffer, NULL, D3DTEXF_NONE);
    return;
}

My Compiler is newer than my book (VC++)

26 March 2010 - 03:32 PM

Ok so I am working through this second edition of Beginning Game Programing. He is using 2003 Visual C++ and I am using the more recent express version. But none of the source code will compile. If I convert the source projects from the cd to 2008 they will run, but when I type them from a new project they will not. I've found my way around a few (Adding 'A' to the end of some functions) but it isn't getting me through most of these errors. Do I need to turn unicode off on my project or something? Is there a way to tell the compiler to treat my code differently? or did I just buy a paperweight? I thought C++ was backward compatible? thanks [Edited by - unicoder on March 26, 2010 9:48:16 PM]

rotating models in direct x

22 February 2009 - 04:44 AM

Greetings, I try not to post much, but I have a quick & stupid question. I have been using this matrix translation to rotate a model in a mini engine I'm working on, but I want to be able to rotate specific models (right now the method I am using rotates all models that are loaded.) I am new to DirectX programming (I came from an API that handled most of the technical DX stuff but its performance was very "limiting".) So my question is, how can I just rotate the model in question instead of all models?
// world transform
static float index = 0.0f; index+=0.03f;
D3DXMATRIX matrixTranslate;
D3DXMATRIX matrixRotateY; 

D3DXMatrixTranslation(&matrixTranslate, x, y, z); 
D3DXMatrixRotationY(&matrixRotateY, index);    

d3ddev->SetTransform(D3DTS_WORLD, &(matrixRotateY * matrixTranslate));
If you need more code from me, I can provide it.

deleted an important file

08 February 2005 - 01:05 PM

alright so im typing a report on another computer and i save it and email it to myself and go to my other computer and openthe email and continue the report and finish. I saved it before i closed, but that accidentally saved it to the temporary file that Word had made, i didnt save as to my documents. so when i closed word it deleted the document as a temporary file. is there any way to retrieve it????

PARTNERS