On Jul 18, 7:15 pm, wanwan <ericwa...@yahoo.com> wrote: On Jul 17, 1:42 pm, Eric <Eric.Med...@gmail.com> wrote: I know how to do a frame stack to animate a texture, but I would like to do something more fancy like a truevideotexture. Is there special format or special directx calls to put avideoon some polygons? Or, do I just take an avi get a frame put it on the ...
On Jul 11, 6:21 am, wanwan <ericwa...@yahoo.com> wrote: I made a 24-RGB bitmap progrmmatically by making a 1-dimensional unsigned char array with 800*600*3 elements .I need to use D3DXLoadSurfaceFromMemory to load the bitmap to the background of the screen. My approach is not correct and I'm getting D3DERR_INVALIDCALL. Can someone please help? Here's my approach: ...
On Jun 12, 1:25 pm, wanwan <ericwa...@yahoo.com> wrote: what is the best place to do the rendering in mfc? I put it in the message ON_WM_PAINT in the view class, but the window doesn't refresh the display till I click or move the application window. I'm considering adding a thread processing function to do it. Is there any other suggestion before I do so? Depends on what...
On May 29, 1:13 pm, wanwan <ericwa...@yahoo.com> wrote: I'm still learning Direct3D through different resources, but all of them talks about drawing only one shape on the application screen. So how do I make use of Direct3D to draw multiple shapes on different parts of the application area , with all having independent view, texture, lighting ...? Do I create multiple devices ...
mm, look at this: http://directx.sytes.net I started it yesterday, so it's not completed yet. First of all... if you want to draw two triangles, something like a rectangle, you must create two vertexbuffers, and ..... I attach the code. "wanwan" <ericwan78@yahoo.com> escribi
What are they (i.e. starting points)? Could you please share them with this group? thx "wanwan" <ericwan78@yahoo.com> wrote in message news:1177854563.997554.40310@o5g2000hsb.googlegroups.com... On Apr 29, 8:24 am, wanwan <ericwa...@yahoo.com> wrote: I can see nothing comes easy, especially with learning DirectX. I'm ...
On Apr 29, 8:24 am, wanwan <ericwa...@yahoo.com> wrote: I can see nothing comes easy, especially with learning DirectX. I'm writing an application on MFC on Visual Studio 2005 where I need to draw some 3d shape on the view and play animation on these shapes. I browsed through a whole bunch of website, and I tried reading the DirectX SDK documentation. Things look complicated. ...