Wiki and binaries need some fix :

MoDDiB

03-01-2006 12:50:06

I've installed PLSM for VC7.1
In the wiki it's said
backup ExampleApplication.h and ExampleFrameListener.h in \ogrenew\Samples\Common\include directory
It's useless because during the copy nothing 'll be deleted.

copy across all the .dll and .exe in ogrenew\Samples\Common\bin\Debug (or release) to the PLSM directory.
It won't work without deleting materials :/

Other thing : there's still no alpes.cfg

Fixs with easy installation and compabity with last CVS updates will be fine for everyone isn't it ? :)

tuan kuranes

03-01-2006 13:35:52


It won't work without deleting materials :/

Which materials do you have to delete ?

Other thing : there's still no alpes.cfg
in the binary zip ?

MoDDiB

03-01-2006 14:23:22

I've got this binary : http://tuan.kuranes.free.fr/OgreSDKplsm2.7z and extracted it 7-zip : there's alpes.gen.cfg but no alpes.cfg .

I'm going to install it again to tell you all the changes I've to do

MoDDiB

03-01-2006 19:21:21

I'll list each problem I have following the wiki instruction and
my fix if someone can update wiki :)

Ok I just got the last Ogre HEAD and PLSM on CVS .
I'll work only in release


Run MapSplitter.exe from PLSM directory to generate data.

Canyon still bug : you need to comment the map in paginglandscape2.cfg and maptools.cfg


backup ExampleApplication.h and ExampleFrameListener.h in \ogrenew\Samples\Common\include directory
Still useless :)

First I have to comment this line : in OgreCEGUIRenderer.cpp

d_identifierString = "CEGUI::OgreRenderer - Official Ogre based renderer module for CEGUI";

Or there's 2 solutions which don't compile
But it isn't a plsm problem :)


# copy across all the .dll and .exe in ogrenew\Samples\Common\bin\Debug (or release) to the PLSM directory.
# run the Demo_PagingLandScape2.exe in the PLSM directory

When I launch Demo_PagingLandScape2.exe I get " Le point d'entrée de procédure ?firePostUpdate@RenderTexture@Ogre@@MAEXXZ est introuvable dans la bibliothèque de liaisons dynamique OgreMain.dll"
LOG :

19:58:47: Loading library .\RenderSystem_Direct3D7
19:58:49: An exception has been thrown!

-----------------------------------
Details:
-----------------------------------
Error #: 9
Function: DynLib::load
Description: Could not load dynamic library .\RenderSystem_Direct3D7. System Error: La procédure spécifiée est introuvable.

.
File: \ogrenew\OgreMain\src\OgreDynLib.cpp
Line: 82
Stack unwinding: <<beginning of stack>>

Just copy the orgenew plugins.cfg in the plsm folder ( erase the existing )
But the cfg doesn't have Width and Height !
So add Width=1 and Height=1 in the TsmTerrain.cfg

Now it works but when you press "K" there's an exception :
"!tex->getMaterial()->IsNull"

here's the log :

09:33:19: Creating resource group General
09:33:19: Registering ResourceManager for type Material
09:33:19: Registering ResourceManager for type Mesh
09:33:19: Registering ResourceManager for type Skeleton
09:33:19: Loading library OgrePlatform.dll
09:33:19: OverlayElementFactory for type Panel registered.
09:33:19: OverlayElementFactory for type BorderPanel registered.
09:33:19: OverlayElementFactory for type TextArea registered.
09:33:19: Registering ResourceManager for type Font
09:33:19: ArchiveFactory for archive type FileSystem registered.
09:33:19: ArchiveFactory for archive type Zip registered.
09:33:19: DevIL version: Developer's Image Library (DevIL) 1.6.7 May 27 2004
09:33:19: DevIL image formats: bmp dib cut dcx dds gif 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
09:33:19: Registering ResourceManager for type HighLevelGpuProgram
09:33:19: MovableObjectFactory for type 'Entity' registered.
09:33:19: MovableObjectFactory for type 'Light' registered.
09:33:19: MovableObjectFactory for type 'BillboardSet' registered.
09:33:19: MovableObjectFactory for type 'ManualObject' registered.
09:33:19: Loading library .\RenderSystem_Direct3D9
09:33:19: D3D9 : Direct3D9 Rendering Subsystem created.
09:33:19: D3D9: Driver Detection Starts
09:33:19: D3D9: Driver Detection Ends
09:33:19: Loading library .\RenderSystem_GL
09:33:19: OpenGL Rendering Subsystem created.
09:33:19: Loading library .\Plugin_ParticleFX
09:33:19: Particle Emitter Type 'Point' registered
09:33:19: Particle Emitter Type 'Box' registered
09:33:19: Particle Emitter Type 'Ellipsoid' registered
09:33:19: Particle Emitter Type 'Cylinder' registered
09:33:19: Particle Emitter Type 'Ring' registered
09:33:19: Particle Emitter Type 'HollowEllipsoid' registered
09:33:19: Particle Affector Type 'LinearForce' registered
09:33:19: Particle Affector Type 'ColourFader' registered
09:33:19: Particle Affector Type 'ColourFader2' registered
09:33:19: Particle Affector Type 'ColourImage' registered
09:33:19: Particle Affector Type 'ColourInterpolator' registered
09:33:19: Particle Affector Type 'Scaler' registered
09:33:19: Particle Affector Type 'Rotator' registered
09:33:19: Loading library .\Plugin_BSPSceneManager
09:33:19: Registering ResourceManager for type BspLevel
09:33:19: Loading library .\Plugin_OctreeSceneManager
09:33:19: TerrainSceneManager: Registered a new PageSource for type Heightmap
09:33:19: Loading library .\Plugin_CgProgramManager
09:33:19: Loading library .\Plugin_PagingLandScapeSceneManager2
09:33:19: *-*-* OGRE Initialising
09:33:19: *-*-* Version 1.1.0 (Dagon)
09:33:19: Creating resource group Bootstrap
09:33:19: Added resource location '../../media/packs/OgreCore.zip' of type 'Zip' to resource group 'Bootstrap'
09:33:19: Added resource location '../../media' of type 'FileSystem' to resource group 'General'
09:33:19: Added resource location '../../media/fonts' of type 'FileSystem' to resource group 'General'
09:33:19: Added resource location '../../media/materials/programs' of type 'FileSystem' to resource group 'General'
09:33:19: Added resource location '../../media/materials/scripts' of type 'FileSystem' to resource group 'General'
09:33:19: Added resource location '../../media/materials/textures' of type 'FileSystem' to resource group 'General'
09:33:19: Added resource location '../../media/models' of type 'FileSystem' to resource group 'General'
09:33:19: Added resource location '../../media/overlays' of type 'FileSystem' to resource group 'General'
09:33:19: Added resource location '../../media/particle' of type 'FileSystem' to resource group 'General'
09:33:19: Added resource location '../../media/gui' of type 'FileSystem' to resource group 'General'
09:33:19: Added resource location '../../media/packs/cubemap.zip' of type 'Zip' to resource group 'General'
09:33:19: Added resource location '../../media/packs/cubemapsJS.zip' of type 'Zip' to resource group 'General'
09:33:19: Added resource location '../../media/packs/dragon.zip' of type 'Zip' to resource group 'General'
09:33:19: Added resource location '../../media/packs/fresneldemo.zip' of type 'Zip' to resource group 'General'
09:33:19: Added resource location '../../media/packs/ogretestmap.zip' of type 'Zip' to resource group 'General'
09:33:19: Added resource location '../../media/packs/skybox.zip' of type 'Zip' to resource group 'General'
09:33:19: Creating resource group PLSM2
09:33:19: Added resource location '../../Media/paginglandscape' of type 'FileSystem' to resource group 'PLSM2'
09:33:20: Added resource location '../../Media/paginglandscape/terragen16bits' of type 'FileSystem' to resource group 'PLSM2'
09:33:20: Added resource location '../../Media/paginglandscape/ps_height_1k' of type 'FileSystem' to resource group 'PLSM2'
09:33:20: Added resource location '../../Media/paginglandscape/gcanyon_height_4k2k' of type 'FileSystem' to resource group 'PLSM2'
09:33:20: Added resource location '../../Media/paginglandscape/alpes' of type 'FileSystem' to resource group 'PLSM2'
09:33:20: Added resource location '../../Media/paginglandscape/datasrcs' of type 'FileSystem' to resource group 'PLSM2'
09:33:20: Added resource location '../../Media/paginglandscape/TsmTerrain' of type 'FileSystem' to resource group 'PLSM2'
09:33:20: D3D9 : RenderSystem Option: Anti aliasing = None
09:33:20: D3D9 : RenderSystem Option: Floating-point mode = Fastest
09:33:20: D3D9 : RenderSystem Option: Full Screen = No
09:33:20: D3D9 : RenderSystem Option: Rendering Device = ATI MOBILITY FireGL V3200
09:33:20: D3D9 : RenderSystem Option: VSync = No
09:33:20: D3D9 : RenderSystem Option: Video Mode = 800 x 600 @ 32-bit colour
09:33:20: D3D9 : Subsystem Initialising
09:33:20: D3D9RenderSystem::createRenderWindow "OGRE Render Window", 800x600 windowed miscParams: FSAA=0 FSAAQuality=0 colourDepth=32 vsync=false
09:33:20: D3D9 : Created D3D9 Rendering Window 'OGRE Render Window' : 800x600, 32bpp
09:33:20: D3D9 : WARNING - disabling VSync in windowed mode can cause timing issues at lower frame rates, turn VSync on if you observe this problem.
09:33:20: Registering ResourceManager for type Texture
09:33:20: Registering ResourceManager for type GpuProgram
09:33:20: RenderSystem capabilities
09:33:20: -------------------------
09:33:20: * Hardware generation of mipmaps: yes
09:33:20: * Texture blending: yes
09:33:20: * Anisotropic texture filtering: yes
09:33:20: * Dot product texture operation: yes
09:33:20: * Cube mapping: yes
09:33:20: * Hardware stencil buffer: yes
09:33:20: - Stencil depth: 8
09:33:20: - Two sided stencil support: yes
09:33:20: - Wrap stencil values: yes
09:33:20: * Hardware vertex / index buffers: yes
09:33:20: * Vertex programs: yes
09:33:20: - Max vertex program version: vs_2_0
09:33:20: * Fragment programs: yes
09:33:20: - Max fragment program version: ps_2_0
09:33:20: * Texture Compression: yes
09:33:20: - DXT: yes
09:33:20: - VTC: no
09:33:20: * Scissor Rectangle: yes
09:33:20: * Hardware Occlusion Query: yes
09:33:20: * User clip planes: yes
09:33:20: * VET_UBYTE4 vertex element type: yes
09:33:20: * Infinite far plane projection: yes
09:33:20: * Hardware render-to-texture: yes
09:33:20: * Floating point textures: no
09:33:20: * Non-power-of-two textures: yes
09:33:20: * Volume textures: yes
09:33:20: * Multiple Render Targets: 4
09:33:20: * Max Point Size: 256
09:33:20: ***************************************
09:33:20: *** D3D9 : Subsystem Initialised OK ***
09:33:20: ***************************************
09:33:20: ResourceBackgroundQueue - threading disabled
09:33:20: Particle Renderer Type 'billboard' registered
09:33:20: Creating viewport on target 'OGRE Render Window', rendering from camera 'PlayerCam', relative dimensions L: 0.00 T: 0.00 W: 1.00 H: 1.00 ZOrder: 0
09:33:20: Viewport for camera 'PlayerCam', actual dimensions L: 0 T: 0 W: 800 H: 600
09:33:20: Parsing scripts for resource group Bootstrap
09:33:20: Parsing script OgreCore.material
09:33:20: Parsing script OgreProfiler.material
09:33:20: Parsing script Ogre.fontdef
09:33:20: Parsing script OgreDebugPanel.overlay
09:33:20: Texture: New_Ogre_Border_Center.png: Loading 1 faces(PF_A8B8G8R8,256x128x1) with hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,256x128x1.
09:33:20: Texture: New_Ogre_Border.png: Loading 1 faces(PF_A8B8G8R8,256x256x1) with hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,256x256x1.
09:33:20: Texture: New_Ogre_Border_Break.png: Loading 1 faces(PF_A8B8G8R8,32x32x1) with hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,32x32x1.
09:33:20: Font TrebuchetMSBoldusing texture size 512x512
09:33:20: Info: Freetype returned null for character 160 in font TrebuchetMSBold
09:33:20: Texture: TrebuchetMSBoldTexture: Loading 1 faces(PF_BYTE_LA,512x512x1) with 0 generated mipmaps from Image. Internal format is PF_BYTE_LA,512x512x1.
09:33:20: Texture: ogretext.png: Loading 1 faces(PF_A8B8G8R8,256x128x1) with hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,256x128x1.
09:33:20: Parsing script OgreLoadingPanel.overlay
09:33:20: Finished parsing scripts for resource group Bootstrap
09:33:20: Parsing scripts for resource group General
09:33:20: Parsing script Examples.program
09:33:20: Parsing script colors.material
09:33:20: Parsing script Example-DynTex.material
09:33:20: Parsing script Example-Water.material
09:33:20: Parsing script Example.material
09:33:21: Parsing script Examples-Advanced.material
09:33:21: Parsing script MapEditor-Circle.material
09:33:21: Parsing script MyTree.material
09:33:21: Parsing script OffsetMapping.material
09:33:21: Parsing script Ogre.material
09:33:21: Parsing script RZR-002.material
09:33:21: Parsing script smoke.material
09:33:21: Parsing script fresnelenviron.material
09:33:21: Parsing script sample.fontdef
09:33:21: Bad attribute line: glyph 0.152344 0.125 0.160156 0.1875 in font Ogre
09:33:21: Parsing script Example-Water.particle
09:33:21: Parsing script Example.particle
09:33:21: Parsing script smoke.particle
09:33:21: Parsing script DebugOverlay.overlay
09:33:21: Parsing script DP3.overlay
09:33:21: Parsing script Example-CubeMapping.overlay
09:33:21: Parsing script Example-DynTex.overlay
09:33:21: Parsing script Example-Water.overlay
09:33:21: Parsing script Shadows.overlay
09:33:21: Finished parsing scripts for resource group General
09:33:21: Parsing scripts for resource group PLSM2
09:33:21: Parsing script DecompressSplat.program
09:33:21: Parsing script DecompressSplatShader.program
09:33:21: Parsing script DecompressVertex.program
09:33:21: Parsing script SplatShader.program
09:33:21: Parsing script BaseTexture.material
09:33:21: Parsing script IPLSM_BaseTexture.material
09:33:21: Parsing script IPLSM_Image.material
09:33:21: Error in material IPLSM_Image at line 23 of IPLSM_Image.material: Bad colour_op_ex attribute, wrong number of parameters (expected 3 to 10)
09:33:21: Parsing script IPLSM_Splatting1.material
09:33:21: Error in material IPLSM_Splatting1 at line 36 of IPLSM_Splatting1.material: Unrecognised command: alpha_rejection
09:33:21: Error in material IPLSM_Splatting1 at line 62 of IPLSM_Splatting1.material: Unrecognised command: alpha_rejection
09:33:21: Error in material IPLSM_Splatting1 at line 88 of IPLSM_Splatting1.material: Unrecognised command: alpha_rejection
09:33:21: Error in material IPLSM_Splatting1 at line 113 of IPLSM_Splatting1.material: Unrecognised command: alpha_rejection
09:33:21: Parsing script IPLSM_Splatting2.material
09:33:21: Error in material IPLSM_Splatting2 at line 36 of IPLSM_Splatting2.material: Unrecognised command: alpha_rejection
09:33:21: Error in material IPLSM_Splatting2 at line 62 of IPLSM_Splatting2.material: Unrecognised command: alpha_rejection
09:33:21: Error in material IPLSM_Splatting2 at line 88 of IPLSM_Splatting2.material: Unrecognised command: alpha_rejection
09:33:21: Error in material IPLSM_Splatting2 at line 113 of IPLSM_Splatting2.material: Unrecognised command: alpha_rejection
09:33:21: Parsing script IPLSM_Splatting3.material
09:33:21: Parsing script PagingLandScape.material
09:33:21: Parsing script PagingLandScapeTemplate.material
09:33:21: Parsing script Splatting.material
09:33:21: Parsing script Splatting2.material
09:33:21: Parsing script Splatting3.material
09:33:21: Parsing script Splatting4.material
09:33:21: Parsing script Splatting5.material
09:33:21: Error in material SplattingMaterial5 at line 75 of Splatting5.material: Invalid vertex_program_ref entry - vertex program Splatcg/VP has not been defined.
09:33:21: Error in material SplattingMaterial5 at line 97 of Splatting5.material: Invalid fragment_program_ref entry - fragment program Splatcg/FP has not been defined.
09:33:21: Parsing script Splatting6.material
09:33:21: Parsing script Splatting7.material
09:33:21: Parsing script SplattingShader.material
09:33:21: Parsing script PagingLandScape.overlay
09:33:21: Parsing script PagingLandScape2.overlay
09:33:21: Finished parsing scripts for resource group PLSM2
09:33:21: Texture: flare.png: Loading 1 faces(PF_B8G8R8,256x256x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,256x256x1.
09:33:21: WARNING: Mesh instance 'grassblades' was defined as manually loaded, but no manual loader was provided. This Resource will be lost if it has to be reloaded.
09:33:21: Win32Input8: DirectInput Activation Starts
09:33:21: Win32Input8: Establishing keyboard input.
09:33:21: Win32Input8: Keyboard input established.
09:33:21: Win32Input8: Establishing mouse input.
09:33:21: Win32Input8: Mouse input established.
09:33:21: Win32Input8: DirectInput OK.
09:33:21: Texture: cursor.png: Loading 1 faces(PF_A8B8G8R8,32x32x1) with hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,32x32x1.
09:33:21: Win32Input8: Establishing keyboard input.
09:33:21: Win32Input8: Keyboard input established.
09:33:21: Win32Input8: Initializing mouse input in immediate mode.
09:33:21: Win32Input8: Mouse input in immediate mode initialized.
09:33:21: Texture: spot_shadow_fade.png: Loading 1 faces(PF_B8G8R8,128x128x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
09:33:22: Texture: terrain.Base.0.0.png: Loading 1 faces(PF_B8G8R8,1024x1024x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,1024x1024x1.
09:33:22: Texture: Detail3.jpg: Loading 1 faces(PF_B8G8R8,512x512x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,512x512x1.


What must I do now ?

tuan kuranes

08-01-2006 09:53:22

sorry, I didn't saw the message.



The ChangeTextureMode on terrain not having textures required by the new TextureMode is a real problem i'm Looking after.
Perhaps I have to add a list of supported TextureMode in each terrain Config.

I'll try to fix all those bugs asap.

Thanks for taking the time to help !