Win3D 1.0 alpha
_______________


	This is a demo that do 3D in a window. The 3Dfx chipset offer a wide ranges of function
that give you access to the Frame Buffer of the 3D card.
	You can do the rendering in the card, and move it to your 2D buffer in a window.
	I have a Monster3D and the program use the glide 2.1, VisualC++ 4.0, MFC 4.0.
        This is the core of my program:
	
		grDrawTriangle( &vtx1, &vtx2, &vtx3 ); // draw something
  		memDC.CreateCompatibleDC(pDC); // create a DC in memory
		pOld=memDC.SelectObject(&m_Bitmap);
		grLfbGetReadPtr(GR_BUFFER_FRONTBUFFER); // Connect to the LFB
		guFbReadRegion( 0, 0, 640, 480, m_pBuffer,640*2 ); // read it in a Dib 16-bit
		pDC->BitBlt(0,0,640,480,&memDC,0,0,SRCCOPY); // drawing it to the screen
		memDC.SelectObject(pOld);

	It is only an example of the feature of the 3Dfx chipset.
        
	
	Francesco Ferrara
	E-Mail:		frank@aerre.it
	Homepage:       http://www.aerre.it/~frank/
	Stunned site:	http://www.aerre.it/~frank/stunned/
	
	Copyright(C) 1997, Ferrara Francesco
	______________________________________________________________________________________
	