Direct3D8: (ERROR) :GetTransform does not work in pure-device

Direct3D8: (ERROR) :GetTransform does not work in pure-device

Post by Bernie Fowle » Tue, 25 Jun 2002 04:46:37



My D3DApp has the following problem:-

Direct3D8: (ERROR) :GetTransform does not work in pure-device

What does this mean ?

 
 
 

Direct3D8: (ERROR) :GetTransform does not work in pure-device

Post by Rich [Microsoft Direct3D MV » Tue, 25 Jun 2002 05:37:29


[Please do not mail me a copy of your followup]



Quote:>Direct3D8: (ERROR) :GetTransform does not work in pure-device

Don't create a device with D3DCREATE_PUREDEVICE if you're going to use
GetTransform.
--
Ask me about my upcoming book on Direct3D from Addison-Wesley!
  Direct3D Book <http://www.xmission.com/~legalize/book/>
    izfree: Open source tools for Windows Installer
            <http://izfree.sourceforge.net>

 
 
 

Direct3D8: (ERROR) :GetTransform does not work in pure-device

Post by Frecklefoo » Wed, 26 Jun 2002 01:03:29


Quote:> My D3DApp has the following problem:-

> Direct3D8: (ERROR) :GetTransform does not work in pure-device

> What does this mean ?

It means you created a Pure Device (probably done for you if you use the
sample framework).  When this is done, D3D can't retreive the transform
(what you are essentially asking D3D to do when you call GetTransform() ).
You have two options, either:

a) Don't create a pure device.  You probably don't need to unless your app
needs the absolute fastest FPS.  With most apps, you won't see a difference
in FPS at all.

b) Store the transform instead of asking D3D for it.  Since you are setting
it initially, you already have.  Just hang on to it and use it where you are
calling GetTransform().

Good luck.

 
 
 

1. pure device? some info please

I am using the wizard generated framework in vc++.

When running on my desktop machine in the output window I
get

Direct3D8: (INFO) :======================= Hal HWVP Pure
device selected

Direct3D8: (ERROR) :GetViewport does not work in pure-
device

I call getViewport. It of course, fails because the frame
work has selected pure device.

This works fine on my laptop. My desktop graphics card is
an ati radeon all in wonder so, if the docs are right, it
isn't a minimal support device.

So why would the framework select pure device?

2. Capturing Direct-X screen (AVI movie thats plaing or DVD that sorta thing)

3. dx app starting with pure device

4. CGM Compatability Test Suite Anyone??

5. cool device driver -- makes openGL work with D3D device drivers

6. *new artist's web site!*

7. Direct3D8: (ERROR) :Stream 0 stride should match the stride, implied by the current vertex shader

8. beta 332: 64bit unclean?

9. compile error direct3d8

10. Help: phothoshop does not work anymore; program error

11. Direct3D8.CreateDevice doesn't work for me

12. Not a pure PSP question.

13. Direct3D8: (ERROR) :D3D Device should be in software mode for ProcessVertices. ProcessVertices failed.