PPU card necessary?

iversons

09-11-2006 06:06:32

Actually, did i need to have a PPU card in order to execute the tutorial in PhysX?

I can only execute the sample but not tutorial ... how come? thanks!

DaCracker

09-11-2006 06:55:13

No, you are able to run an NxOgre application without
a PhysX card. Well.. you CAN make a PhysX card
a dependencie if you wish, but that's not the case
of the tutorials anyway.
Maybe you should let us know which kind of error you get
when you try to run the tutorials?

betajaen

09-11-2006 09:20:30

If you mean the NxTutorials in NxOgre. No you don't need a PPU card.

If you mean the Samples or Tutorials that come with PhysX. I am not sure, apparently you may need one from recent reports. But to make it work on software all you comment or change a line.

iversons

09-11-2006 14:53:53

No, you are able to run an NxOgre application without
a PhysX card. Well.. you CAN make a PhysX card
a dependencie if you wish, but that's not the case
of the tutorials anyway.
Maybe you should let us know which kind of error you get
when you try to run the tutorials?


I got this error which is get from ogre.log


Error #: 7
Function: OverlayManager::getOverlayElementImpl
Description: OverlayElement with name nx.gui.stats.fps not found..
File: \OgreDev\Dagon\OgreMain\src\OgreOverlayManager.cpp
Line: 589

betajaen

09-11-2006 15:16:36

Tutorial Number?
Library versions?

Come on, I need more than this ;)

iversons

10-11-2006 02:32:57

Actually, i cannot execute any tutorials.

version:
Ogre 1.2.3,
PhysX SDK 2.6.2,
NxOgre 4 RC2,
.NET 2003


I just copy some of the log from ogre.log.


10:28:22: Texture: New_Ogre_Border_Break.png: Loading 1 faces(PF_A8B8G8R8,32x32x1) with hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,32x32x1.
10:28:22: Font BlueHighwayusing texture size 512x512
10:28:22: Info: Freetype returned null for character 127 in font BlueHighway
10:28:22: Info: Freetype returned null for character 128 in font BlueHighway
10:28:22: Info: Freetype returned null for character 129 in font BlueHighway
10:28:22: Info: Freetype returned null for character 130 in font BlueHighway
10:28:22: Info: Freetype returned null for character 131 in font BlueHighway
10:28:22: Info: Freetype returned null for character 132 in font BlueHighway
10:28:22: Info: Freetype returned null for character 133 in font BlueHighway
10:28:22: Info: Freetype returned null for character 134 in font BlueHighway
10:28:22: Info: Freetype returned null for character 135 in font BlueHighway
10:28:22: Info: Freetype returned null for character 136 in font BlueHighway
10:28:22: Info: Freetype returned null for character 137 in font BlueHighway
10:28:22: Info: Freetype returned null for character 138 in font BlueHighway
10:28:22: Info: Freetype returned null for character 139 in font BlueHighway
10:28:22: Info: Freetype returned null for character 140 in font BlueHighway
10:28:22: Info: Freetype returned null for character 141 in font BlueHighway
10:28:22: Info: Freetype returned null for character 142 in font BlueHighway
10:28:22: Info: Freetype returned null for character 143 in font BlueHighway
10:28:22: Info: Freetype returned null for character 144 in font BlueHighway
10:28:22: Info: Freetype returned null for character 145 in font BlueHighway
10:28:22: Info: Freetype returned null for character 146 in font BlueHighway
10:28:22: Info: Freetype returned null for character 147 in font BlueHighway
10:28:22: Info: Freetype returned null for character 148 in font BlueHighway
10:28:22: Info: Freetype returned null for character 149 in font BlueHighway
10:28:22: Info: Freetype returned null for character 150 in font BlueHighway
10:28:22: Info: Freetype returned null for character 151 in font BlueHighway
10:28:22: Info: Freetype returned null for character 152 in font BlueHighway
10:28:22: Info: Freetype returned null for character 153 in font BlueHighway
10:28:22: Info: Freetype returned null for character 154 in font BlueHighway
10:28:22: Info: Freetype returned null for character 155 in font BlueHighway
10:28:22: Info: Freetype returned null for character 156 in font BlueHighway
10:28:22: Info: Freetype returned null for character 157 in font BlueHighway
10:28:22: Info: Freetype returned null for character 158 in font BlueHighway
10:28:22: Info: Freetype returned null for character 159 in font BlueHighway
10:28:22: Info: Freetype returned null for character 160 in font BlueHighway
10:28:22: Texture: BlueHighwayTexture: Loading 1 faces(PF_BYTE_LA,512x512x1) with 0 generated mipmaps from Image. Internal format is PF_BYTE_LA,512x512x1.
10:28:22: Texture: ogretext.png: Loading 1 faces(PF_A8B8G8R8,256x128x1) with hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,256x128x1.
10:28:22: Parsing script OgreLoadingPanel.overlay
10:28:22: Finished parsing scripts for resource group Bootstrap
10:28:22: Parsing scripts for resource group General
10:28:22: Parsing script Examples.program
10:28:22: Parsing script StdQuad_vp.program
10:28:22: Parsing script deferred.glsl.program
10:28:22: Parsing script deferred.hlsl.program
10:28:23: Parsing script deferred_post_debug.glsl.program
10:28:23: Parsing script deferred_post_debug.hlsl.program
10:28:23: Parsing script deferred_post_minilight.glsl.program
10:28:23: Parsing script deferred_post_minilight.hlsl.program
10:28:23: An exception has been thrown!

-----------------------------------
Details:
-----------------------------------
Error #: 7
Function: GpuProgramParameters::getParamIndex
Description: Cannot find a parameter named lightSpecularColor.
File: d:\ogredev\dagon\ogremain\src\ogregpuprogram.cpp
Line: 776
Stack unwinding: <<beginning of stack>>
10:28:23: Error at line 29 of deferred_post_minilight.hlsl.program: Invalid param_named_auto attribute - An exception has been thrown!

-----------------------------------
Details:
-----------------------------------
Error #: 7
Function: GpuProgramParameters::getParamIndex
Description: Cannot find a parameter named lightSpecularColor.
File: d:\ogredev\dagon\ogremain\src\ogregpuprogram.cpp
Line: 776
Stack unwinding: <<beginning of stack>>
10:28:23: Parsing script deferred_post_multipass.glsl.program
10:28:23: Parsing script deferred_post_multipass.hlsl.program
10:28:23: Parsing script deferred_post_onepass.glsl.program
10:28:23: Parsing script deferred_post_onepass.hlsl.program
10:28:23: Parsing script BlackAndWhite.material
10:28:23: Parsing script Bloom.material
10:28:23: Parsing script DOF.material
10:28:23: Parsing script Embossed.material
10:28:23: Parsing script Example-DynTex.material
10:28:23: Parsing script Example-Water.material
10:28:23: Parsing script Example.material
10:28:23: Parsing script Examples-Advanced.material
10:28:23: Parsing script facial.material
10:28:23: Parsing script Glass.material
10:28:23: Parsing script hdr.material
10:28:23: Parsing script HeatVision.material
10:28:24: Parsing script Hurt.material
10:28:24: Parsing script Invert.material
10:28:24: Parsing script Laplace.material
10:28:24: Parsing script MotionBlur.material
10:28:24: Parsing script Ocean.material
10:28:24: Parsing script OffsetMapping.material
10:28:24: Parsing script Ogre.material
10:28:24: Parsing script OldMovie.material
10:28:24: Parsing script OldTV.material
10:28:24: Parsing script Posterize.material
10:28:24: Parsing script RZR-002.material
10:28:24: Parsing script SharpenEdges.material
10:28:24: Parsing script smoke.material
10:28:24: Parsing script Tiling.material
10:28:24: Parsing script deferred.material
10:28:24: Parsing script deferreddemo.material
10:28:24: Parsing script deferred_post_debug.material
10:28:24: Parsing script deferred_post_minilight.material
10:28:24: Parsing script deferred_post_multipass.material
10:28:24: Parsing script deferred_post_onepass.material
10:28:24: Parsing script fresnelenviron.material
10:28:24: Parsing script Examples.compositor
10:28:24: Parsing script sample.fontdef
10:28:24: Parsing script Example-Water.particle
10:28:24: Parsing script Example.particle
10:28:24: Parsing script smoke.particle
10:28:24: Parsing script Compositor.overlay
10:28:24: Parsing script DP3.overlay
10:28:25: Parsing script Example-CubeMapping.overlay
10:28:25: Parsing script Example-DynTex.overlay
10:28:25: Parsing script Example-Water.overlay
10:28:25: Parsing script Shadows.overlay
10:28:25: Finished parsing scripts for resource group General
10:28:25: Parsing scripts for resource group Internal
10:28:25: Finished parsing scripts for resource group Internal
10:28:25: Win32Input8: DirectInput Activation Starts
10:28:25: Win32Input8: Establishing keyboard input.
10:28:25: Win32Input8: Keyboard input established.
10:28:25: Win32Input8: Initializing mouse input in immediate mode.
10:28:25: Win32Input8: Mouse input in immediate mode initialized.
10:28:25: Win32Input8: DirectInput OK.
10:28:25: An exception has been thrown!

-----------------------------------
Details:
-----------------------------------
Error #: 7
Function: OverlayManager::getOverlayElementImpl
Description: OverlayElement with name nx.gui.stats.fps not found..
File: d:\ogredev\dagon\ogremain\src\ogreoverlaymanager.cpp
Line: 589
Stack unwinding: <<beginning of stack>>
10:28:25: Unregistering ResourceManager for type BspLevel
10:28:25: *-*-* OGRE Shutdown
10:28:25: Unregistering ResourceManager for type Compositor
10:28:25: Unregistering ResourceManager for type Font
10:28:25: Unregistering ResourceManager for type Skeleton
10:28:25: Unregistering ResourceManager for type Mesh
10:28:25: Unregistering ResourceManager for type HighLevelGpuProgram
10:28:25: Unloading library .\Plugin_CgProgramManager
10:28:25: Unloading library .\Plugin_OctreeSceneManager
10:28:25: Unloading library .\Plugin_BSPSceneManager
10:28:25: Unloading library .\Plugin_ParticleFX
10:28:25: *** Stopping Win32GL Subsystem ***
10:28:25: Unloading library .\RenderSystem_GL
10:28:25: Render Target 'Tutorial 1 - Cube on a Plane' Average FPS: 0 Best FPS: 0 Worst FPS: 999
10:28:25: D3D9 : Shutting down cleanly.
10:28:25: Unregistering ResourceManager for type Texture
10:28:25: Unregistering ResourceManager for type GpuProgram
10:28:25: D3D9 : Direct3D9 Rendering Subsystem destroyed.
10:28:25: Unloading library .\RenderSystem_Direct3D9
10:28:25: Unregistering ResourceManager for type Material
10:28:25: Unloading library OgrePlatform_d.dll





(the code in NxOgre is really clean! So attractive comparing with others) :o

betajaen

10-11-2006 07:51:22

It is clean!

But that is a hella-of-lot of non-NxOgre resources in there.

How did you install it? Tell me you are not copying the tutorial .exe's to the Ogre Samples folder?

iversons

10-11-2006 08:16:45

It is clean!

But that is a hella-of-lot of non-NxOgre resources in there.

How did you install it? Tell me you are not copying the tutorial .exe's to the Ogre Samples folder?



I complie the tutorial 101 from NxOgre 4 RC2, and link it to the Media provided in the tutorial.
:wink:

betajaen

10-11-2006 08:28:22

No linking or no doing, except copying the tutorials directory into the NxOgre directory is required.

NxOgre has it's own media resources itself. Just compile NxOgre, compile the tutorials and run the executables in the tutorial directory.

Toby

13-11-2006 09:40:09

If you mean the Samples or Tutorials that come with PhysX. I am not sure, apparently you may need one from recent reports. But to make it work on software all you comment or change a line.

What line must be comment to compile PhsyX tutorial and execute it on software?

ps: I do not speak about NxTutorial, but PhysXSDK tutorial.

betajaen

13-11-2006 11:47:49

Anything that says "NX_SIMULATION_HW" should be changed to "NX_SIMULATION_SW".

Or more specifically look for lines like this:
sceneDesc.simType = NX_SIMULATION_HW

Try it with Lesson101, and see how it goes. If you get a problem with that, ColeZero posted a thread within this week with another bug with the Lessons - it may be related.