Why I can not see the shader program options?

surfirst

24-08-2006 16:12:02

I installed oFusion(2006/28.07) version. When I did the torus tutorial, I found that there were no vertex shader programs and pixel shader programs for me to select.

I checked the installation under my 3DMax folder. I could found there were some shader programs under the oFusion\Media\shaders folder




but there were not shader programs like the options in the tutorial.



I can only see the window like this:


Why? My video card is ATI 9800Pro.

Lioric

24-08-2006 16:42:57

Do you mean that when you display the shader listbox, it is empty?

Do you have the latest drivers for your video hardware?

What RenderSystem are you using for the preview viewport?

Post your ogre.log file that is created in the max root folder

Danny

24-08-2006 19:00:20

Hi. You must choose in any viewport "Ofusion viewport" (View/Extended/oFusion viewport). You can see the shader program options.

surfirst

25-08-2006 04:17:39

Thanks Danny. Yes, I choosed oFusion viewport and the shader program options showed up.
Thanks Lioric for your quick response but I encounter the same crash problem like this thread:
http://www.ogre3d.org/phpBB2addons/viewtopic.php?t=1991

The following is the Ogre.log file for the crash problem.

11:00:43: Creating resource group General
11:00:43: Creating resource group Internal
11:00:43: Creating resource group Autodetect
11:00:43: Registering ResourceManager for type Material
11:00:43: Registering ResourceManager for type Mesh
11:00:43: Registering ResourceManager for type Skeleton
11:00:43: MovableObjectFactory for type 'ParticleSystem' registered.
11:00:43: Loading library OgrePlatform.dll
11:00:43: OverlayElementFactory for type Panel registered.
11:00:43: OverlayElementFactory for type BorderPanel registered.
11:00:43: OverlayElementFactory for type TextArea registered.
11:00:43: Registering ResourceManager for type Font
11:00:43: ArchiveFactory for archive type FileSystem registered.
11:00:43: ArchiveFactory for archive type Zip registered.
11:00:43: DevIL version: Developer's Image Library (DevIL) 1.6.7 Nov 9 2005
11:00:43: DevIL image formats: bmp dib cut dcx dds gif hdr ico cur jpg jpe jpeg lif mdl mng jng pcx pic pix png pbm pgm pnm ppm psd pdd psp pxr sgi bw rgb rgba tga vda icb vst tif tiff wal xpm raw
11:00:43: Registering ResourceManager for type HighLevelGpuProgram
11:00:43: Registering ResourceManager for type Compositor
11:00:43: MovableObjectFactory for type 'Entity' registered.
11:00:43: MovableObjectFactory for type 'Light' registered.
11:00:43: MovableObjectFactory for type 'BillboardSet' registered.
11:00:43: MovableObjectFactory for type 'ManualObject' registered.
11:00:43: MovableObjectFactory for type 'BillboardChain' registered.
11:00:43: MovableObjectFactory for type 'RibbonTrail' registered.
11:00:43: Loading library .\oFusion\RenderSystem_GL
11:00:43: OpenGL Rendering Subsystem created.
11:00:43: Loading library .\oFusion\RenderSystem_Direct3D9
11:00:43: D3D9 : Direct3D9 Rendering Subsystem created.
11:00:43: D3D9: Driver Detection Starts
11:00:43: D3D9: Driver Detection Ends
11:00:43: Loading library .\oFusion\Plugin_CgProgramManager
11:00:43: *-*-* OGRE Initialising
11:00:43: *-*-* Version 1.2.1 (Dagon)
11:00:43: Creating resource group Bootstrap
11:00:43: Added resource location '.\oFusion\Media\OgreCore.zip' of type 'Zip' to resource group 'Bootstrap'
11:00:43: Added resource location './oFusion/Media' of type 'FileSystem' to resource group 'General'
11:00:43: Added resource location './oFusion/Media/textures' of type 'FileSystem' to resource group 'General'
11:00:43: Added resource location './maps' of type 'FileSystem' to resource group 'General'
11:00:43: Added resource location './oFusion/Media/shaders' of type 'FileSystem' to resource group 'General'
11:00:43: D3D9 : RenderSystem Option: Allow NVPerfHUD = No
11:00:43: D3D9 : RenderSystem Option: Anti aliasing = None
11:00:43: D3D9 : RenderSystem Option: Floating-point mode = Fastest
11:00:43: D3D9 : RenderSystem Option: Full Screen = Yes
11:00:43: D3D9 : RenderSystem Option: Rendering Device = RADEON X600 Series
11:00:43: D3D9 : RenderSystem Option: VSync = No
11:00:43: D3D9 : RenderSystem Option: Video Mode = 800 x 600 @ 32-bit colour
11:00:43: D3D9 : Subsystem Initialising
11:00:43: ***************************************
11:00:43: *** D3D9 : Subsystem Initialised OK ***
11:00:43: ***************************************
11:00:43: ResourceBackgroundQueue - threading disabled
11:00:43: D3D9RenderSystem::createRenderWindow "OgreView", 100x100 windowed miscParams: externalWindowHandle=459066
11:00:43: D3D9 : Created D3D9 Rendering Window 'OgreView' : 522x401, 32bpp
11:00:43: D3D9 : WARNING - disabling VSync in windowed mode can cause timing issues at lower frame rates, turn VSync on if you observe this problem.
11:00:43: Registering ResourceManager for type Texture
11:00:43: Registering ResourceManager for type GpuProgram
11:00:43: RenderSystem capabilities
11:00:43: -------------------------
11:00:43: * Hardware generation of mipmaps: yes
11:00:43: * Texture blending: yes
11:00:43: * Anisotropic texture filtering: yes
11:00:43: * Dot product texture operation: yes
11:00:43: * Cube mapping: yes
11:00:43: * Hardware stencil buffer: yes
11:00:43: - Stencil depth: 8
11:00:43: - Two sided stencil support: yes
11:00:43: - Wrap stencil values: yes
11:00:43: * Hardware vertex / index buffers: yes
11:00:43: * Vertex programs: yes
11:00:43: - Max vertex program version: vs_2_0
11:00:43: * Fragment programs: yes
11:00:43: - Max fragment program version: ps_2_0
11:00:43: * Texture Compression: yes
11:00:43: - DXT: yes
11:00:43: - VTC: no
11:00:43: * Scissor Rectangle: yes
11:00:43: * Hardware Occlusion Query: yes
11:00:43: * User clip planes: yes
11:00:43: * VET_UBYTE4 vertex element type: yes
11:00:43: * Infinite far plane projection: yes
11:00:43: * Hardware render-to-texture: yes
11:00:43: * Floating point textures: yes
11:00:43: * Non-power-of-two textures: yes
11:00:43: * Volume textures: yes
11:00:43: * Multiple Render Targets: 4
11:00:43: * Point Sprites: yes
11:00:43: * Extended point parameters: yes
11:00:43: * Max Point Size: 256
11:00:43: Particle Renderer Type 'billboard' registered
11:00:43: Creating resource group exporterMeshGroup
11:00:43: Creating resource group exporterSkelGroup
11:00:43: Creating resource group exporterMaterialGroup
11:00:43: Parsing scripts for resource group Autodetect
11:00:43: Finished parsing scripts for resource group Autodetect
11:00:43: Parsing scripts for resource group Bootstrap
11:00:43: Parsing script OgreCore.material
11:00:43: Parsing script OgreProfiler.material
11:00:43: Parsing script Ogre.fontdef
11:00:43: Finished parsing scripts for resource group Bootstrap
11:00:43: Parsing scripts for resource group General
11:00:43: Parsing script Corona_ps.program
11:00:43: Parsing script Corona_vs.program
11:00:43: Parsing script Examples.program
11:00:43: Parsing script Ocean_Sky_ps.program
11:00:43: Parsing script Ocean_Sky_vs.program
11:00:43: Parsing script Ocean_Water_ps.program
11:00:43: Parsing script Ocean_Water_vs.program
11:00:43: Parsing script SpecularBump.program
11:00:43: Parsing script Example.material
11:00:43: Finished parsing scripts for resource group General
11:00:43: Parsing scripts for resource group Internal
11:00:43: Finished parsing scripts for resource group Internal
11:00:43: Parsing scripts for resource group exporterMaterialGroup
11:00:43: Finished parsing scripts for resource group exporterMaterialGroup
11:00:43: Parsing scripts for resource group exporterMeshGroup
11:00:43: Finished parsing scripts for resource group exporterMeshGroup
11:00:43: Parsing scripts for resource group exporterSkelGroup
11:00:43: Finished parsing scripts for resource group exporterSkelGroup
11:00:43: Creating viewport on target 'OgreView', rendering from camera 'Camera_1', relative dimensions L: 0.00 T: 0.00 W: 1.00 H: 1.00 ZOrder: 0
11:00:43: Viewport for camera 'Camera_1', actual dimensions L: 0 T: 0 W: 522 H: 401
11:00:43: Texture: New_Ogre_Border_Center.png: Loading 1 faces(PF_A8B8G8R8,256x128x1) with hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,256x128x1.
11:00:43: Texture: New_Ogre_Border.png: Loading 1 faces(PF_A8B8G8R8,256x256x1) with hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,256x256x1.
11:00:43: Font TrebuchetMSBoldusing texture size 512x512
11:00:43: Info: Freetype returned null for character 160 in font TrebuchetMSBold
11:00:43: Texture: TrebuchetMSBoldTexture: Loading 1 faces(PF_BYTE_LA,512x512x1) with 0 generated mipmaps from Image. Internal format is PF_BYTE_LA,512x512x1.
11:00:43: WARNING: Mesh instance '__OVIEWPORT_Torus01_mesh' was defined as manually loaded, but no manual loader was provided. This Resource will be lost if it has to be reloaded.
11:00:43: An exception has been thrown!

-----------------------------------
Details:
-----------------------------------
Error #: 7
Function: SceneManager::getSceneNode
Description: SceneNode '__OVIEWPORT_Torus01_node' not found..
File: ..\src\OgreSceneManager.cpp
Line: 739
Stack unwinding: <<beginning of stack>>
11:00:43: An exception has been thrown!

-----------------------------------
Details:
-----------------------------------
Error #: 7
Function: SceneManager::getAnimation
Description: Cannot find animation with name _OVP_ANIM___OVIEWPORT_Torus01_node.
File: ..\src\OgreSceneManager.cpp
Line: 2706
Stack unwinding: <<beginning of stack>>
11:00:43: An exception has been thrown!

-----------------------------------
Details:
-----------------------------------
Error #: 7
Function: SceneManager::getSceneNode
Description: SceneNode '_OVP_LIGHT_NODE_Omni01' not found..
File: ..\src\OgreSceneManager.cpp
Line: 739
Stack unwinding: <<beginning of stack>>
11:00:43: Mesh: Loading axes.mesh.
11:00:43: Texture: axes.png: Loading 1 faces(PF_B8G8R8,256x256x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,256x256x1.
11:00:43: An exception has been thrown!

-----------------------------------
Details:
-----------------------------------
Error #: 7
Function: SceneManager::getAnimation
Description: Cannot find animation with name _OVP_ANIM__OVP_LIGHT_NODE_Omni01.
File: ..\src\OgreSceneManager.cpp
Line: 2706
Stack unwinding: <<beginning of stack>>
11:00:43: D3D9 : ***** Dimensions altered by the render system
11:00:43: D3D9 : ***** Source image dimensions : 254x128
11:00:43: D3D9 : ***** Texture dimensions : 256x128
11:00:43: Texture: ogretext.png: Loading 1 faces(PF_A8B8G8R8,254x128x1) with 8 generated mipmaps from Image. Internal format is PF_A8R8G8B8,256x128x1.

Danny

25-08-2006 13:49:23

I've the same problem. That error we commented it in another conversation of the forum. I do not have solution so far.

Lioric

25-08-2006 22:16:28

This has been fixed, see the "New Hotfix" thread

surfirst

26-08-2006 15:12:37

Great works! Thank you