[SOLVED]Syntax highlighter inside [code][/code] tags

What it says on the tin: a place to discuss proposed new features.
mamairaja
Halfling
Posts: 60
Joined: Fri Dec 25, 2009 3:31 pm

[SOLVED]Syntax highlighter inside [code][/code] tags

Post by mamairaja »

This is a web page request.

I think it is much convenient to have a c++ syntax highlighter inside tags.
Last edited by mamairaja on Mon Jan 31, 2011 12:37 pm, edited 1 time in total.

User avatar
betajaen
OGRE Moderator
OGRE Moderator
Posts: 3447
Joined: Mon Jul 18, 2005 4:15 pm
Location: Wales, UK
x 58
Contact:

Re: Syntax highlighter inside [code][/code] tags

Post by betajaen »

I doubt we'd install a phpBB plugin, as we have an anti-mod rule.

However, there are a billion Javascript based C++ highlighters, that could be put into the theme if several arms were twisted and Jacmoe was held down. ;)

User avatar
Zonder
Ogre Magi
Posts: 1143
Joined: Mon Aug 04, 2008 7:51 pm
Location: Manchester - England
x 61

Re: Syntax highlighter inside [code][/code] tags

Post by Zonder »

Problem is you would still need to mod the forums so the code tag renderes so the syntax highlighter will work

http://alexgorbatchev.com/SyntaxHighlighter/

TBH phpBB should have a close look at WordPress now that has a very good add in system. Then again I think they may have improved phpBB in this version never admined this one extensivly
There are 10 types of people in the world: Those who understand binary, and those who don't...

User avatar
jacmoe
OGRE Retired Moderator
OGRE Retired Moderator
Posts: 20570
Joined: Thu Jan 22, 2004 10:13 am
Location: Denmark
x 179
Contact:

Re: Syntax highlighter inside [code][/code] tags

Post by jacmoe »

Geshi was originally developed for phpBB ... :wink:
/* Less noise. More signal. */
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.

User avatar
betajaen
OGRE Moderator
OGRE Moderator
Posts: 3447
Joined: Mon Jul 18, 2005 4:15 pm
Location: Wales, UK
x 58
Contact:

Re: Syntax highlighter inside [code][/code] tags

Post by betajaen »

Syntax Highlighter is a pretty cool little Javascript library there, but I don't think you need to do too much modding of phpBB to get it working.

Just a Javascript onLoad function to parse all <code> tags would do it.


@Jacmoe

Don't get any ideas now. ;)

User avatar
jacmoe
OGRE Retired Moderator
OGRE Retired Moderator
Posts: 20570
Joined: Thu Jan 22, 2004 10:13 am
Location: Denmark
x 179
Contact:

Re: Syntax highlighter inside [code][/code] tags

Post by jacmoe »

I don't. :)

I've worked with SyntaxHighlighter, but I think Highlight.js would be a better option:
http://softwaremaniacs.org/soft/highlig ... scription/

If we can teach it to colour code all code tags as C++ code, then we're pretty much done.
Only two or three lines in a template file. :wink:

Maybe throw in two links: highlight / plain - probably with highlighting off?
/* Less noise. More signal. */
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.

User avatar
jacmoe
OGRE Retired Moderator
OGRE Retired Moderator
Posts: 20570
Joined: Thu Jan 22, 2004 10:13 am
Location: Denmark
x 179
Contact:

Re: Syntax highlighter inside [code][/code] tags

Post by jacmoe »

Code: Select all

#ifndef FEATURE_REQUEST 
#define FEATURE_REQUEST

// 'SyntaxHighlight' program 
 
#include <iostream>
#include <Highlight.js>
#include <phpBB3>

int main()
{
  std::cout << "So what do you  think?" << std::endl;
  return 0;
}
#endif // FEATURE_REQUEST
/* Less noise. More signal. */
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.

User avatar
spacegaier
OGRE Team Member
OGRE Team Member
Posts: 4293
Joined: Mon Feb 04, 2008 2:02 pm
Location: Germany
x 127
Contact:

Re: Syntax highlighter inside [code][/code] tags

Post by spacegaier »

Comments should be green and preprocessor parts not gray, but aprt from that: Good!
Color.jpg
Ogre Admin [Admin, Dev, PR, Finance, Wiki, etc.] | BasicOgreFramework | AdvancedOgreFramework
Don't know what to do in your spare time? Help the Ogre wiki grow! Or squash a bug...

User avatar
betajaen
OGRE Moderator
OGRE Moderator
Posts: 3447
Joined: Mon Jul 18, 2005 4:15 pm
Location: Wales, UK
x 58
Contact:

Re: Syntax highlighter inside [code][/code] tags

Post by betajaen »

At first, I thought everyone was mad, but then I had to CTRL+F5 before I could see it.

Glad Jacmoe got my hint at the style. Comments shouldn't been green though, green represents links on this website. Comments aren't links.

User avatar
spacegaier
OGRE Team Member
OGRE Team Member
Posts: 4293
Joined: Mon Feb 04, 2008 2:02 pm
Location: Germany
x 127
Contact:

Re: Syntax highlighter inside [code][/code] tags

Post by spacegaier »

But then some sort of yellow/orange/brown mix. Green however is the common color for comments. And I think noone would assume green parts in the code area to be links anyway, so I can't follow your reasoning here ;) .

Code: Select all

//Test
#ifndef TEST_HPP
EDIT: And it would be great if the colouring would also work in the preview!
Ogre Admin [Admin, Dev, PR, Finance, Wiki, etc.] | BasicOgreFramework | AdvancedOgreFramework
Don't know what to do in your spare time? Help the Ogre wiki grow! Or squash a bug...

CABAListic
OGRE Retired Team Member
OGRE Retired Team Member
Posts: 2903
Joined: Thu Jan 18, 2007 2:48 pm
x 57
Contact:

Re: Syntax highlighter inside [code][/code] tags

Post by CABAListic »

What gave you that idea? Gray is a perfectly common and sensible colour for comments :)
I agree that preprocessor defines should have a different colour, though.

User avatar
spacegaier
OGRE Team Member
OGRE Team Member
Posts: 4293
Joined: Mon Feb 04, 2008 2:02 pm
Location: Germany
x 127
Contact:

Re: Syntax highlighter inside [code][/code] tags

Post by spacegaier »

CABAListic wrote:What gave you that idea? Gray is a perfectly common and sensible colour for comments :)
Okay maybe I am just used to it ;). VisualStudio makes them green, my PHP Editor does and eclipse makes them blue. Gray however is directly associated in my brain with unused code such as #define guarded, so something I don't have to care about.

But I guess that depends on how important you see comments. I f you "don't care" much about them gray (= half invisible :P ) is fine, whereas I prefer them to be easily readable = strong color.
Ogre Admin [Admin, Dev, PR, Finance, Wiki, etc.] | BasicOgreFramework | AdvancedOgreFramework
Don't know what to do in your spare time? Help the Ogre wiki grow! Or squash a bug...

User avatar
jacmoe
OGRE Retired Moderator
OGRE Retired Moderator
Posts: 20570
Joined: Thu Jan 22, 2004 10:13 am
Location: Denmark
x 179
Contact:

Re: Syntax highlighter inside [code][/code] tags

Post by jacmoe »

spacegaier wrote:it would be great if the colouring would also work in the preview!
It does now. :)
I am trying to only run the highlighter where it's needed.
/* Less noise. More signal. */
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.

User avatar
betajaen
OGRE Moderator
OGRE Moderator
Posts: 3447
Joined: Mon Jul 18, 2005 4:15 pm
Location: Wales, UK
x 58
Contact:

Re: Syntax highlighter inside [code][/code] tags

Post by betajaen »

Not to put anymore on your plate, but Hilighter doesn't seem to understand comments properly.

Also; has it been installed on the addons?

User avatar
jacmoe
OGRE Retired Moderator
OGRE Retired Moderator
Posts: 20570
Joined: Thu Jan 22, 2004 10:13 am
Location: Denmark
x 179
Contact:

Re: Syntax highlighter inside [code][/code] tags

Post by jacmoe »

It works on the code tag.
Will try and auto-detect language, but you can specify one of the following options:
  • bash
  • cs (C#)
  • cpp (C++)
  • cmake
  • dos
  • ini
  • lua
  • python
  • ruby
  • diff
  • html (XML)
If you don't want to highlight, use 'off':

Code: Select all

[code=off]
[/code]
/* Less noise. More signal. */
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.

User avatar
jacmoe
OGRE Retired Moderator
OGRE Retired Moderator
Posts: 20570
Joined: Thu Jan 22, 2004 10:13 am
Location: Denmark
x 179
Contact:

Re: Syntax highlighter inside [code][/code] tags

Post by jacmoe »

betajaen wrote:Not to put anymore on your plate, but Hilighter doesn't seem to understand comments properly.
It does when you tell it to use 'cpp' :)
I edited your first code block.. :wink:
betajaen wrote:Also; has it been installed on the addons?
I will. :)
/* Less noise. More signal. */
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.

User avatar
betajaen
OGRE Moderator
OGRE Moderator
Posts: 3447
Joined: Mon Jul 18, 2005 4:15 pm
Location: Wales, UK
x 58
Contact:

Re: Syntax highlighter inside [code][/code] tags

Post by betajaen »

Ahh...What about putting on "cpp" on by default?

User avatar
xavier
OGRE Retired Moderator
OGRE Retired Moderator
Posts: 9481
Joined: Fri Feb 18, 2005 2:03 am
Location: Dublin, CA, US
x 22

Re: Syntax highlighter inside [code][/code] tags

Post by xavier »

I would leave "none" as the default and have users opt-in. People post more than just code in

Code: Select all

 tags...
Do you need help? What have you tried?

Image

Angels can fly because they take themselves lightly.

User avatar
jacmoe
OGRE Retired Moderator
OGRE Retired Moderator
Posts: 20570
Joined: Thu Jan 22, 2004 10:13 am
Location: Denmark
x 179
Contact:

Re: Syntax highlighter inside [code][/code] tags

Post by jacmoe »

I think it's fine as-is.
Would be silly to turn it off by default.
It's not only a perk to the posters, but also for the readers: with highlighting it's so much easier to read at a glance.
Simply because of the contrast.
If it was off by default, it wouldn't offer enough advantages to warrant the extra work in installing it. IMO. :wink:
/* Less noise. More signal. */
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.

User avatar
mkultra333
Gold Sponsor
Gold Sponsor
Posts: 1889
Joined: Sun Mar 08, 2009 5:25 am
x 106

Re: Syntax highlighter inside [code][/code] tags

Post by mkultra333 »

Nice work Jacmoe, makes code in posts a lot more readable even (or perhaps especially) when casually skimming.
"In theory there is no difference between practice and theory. In practice, there is." - Psychology Textbook.

User avatar
jacmoe
OGRE Retired Moderator
OGRE Retired Moderator
Posts: 20570
Joined: Thu Jan 22, 2004 10:13 am
Location: Denmark
x 179
Contact:

Re: Syntax highlighter inside [code][/code] tags

Post by jacmoe »

The deciding factor was definitely that it makes it easier to spot things when hurriedly browsing the forums.
Anything which speeds up that process is worth it IMO. :)
/* Less noise. More signal. */
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.

mamairaja
Halfling
Posts: 60
Joined: Fri Dec 25, 2009 3:31 pm

Re: Syntax highlighter inside [code][/code] tags

Post by mamairaja »

Code: Select all

// Hello Ogre
class Jacmoe
{
 private:
   inline Cat* betajaen()
   {
      return new Cat("coco");
   }
  public:
   friend class Spacegaier;
};
Works Great!
Thank you all for making these

User avatar
xavier
OGRE Retired Moderator
OGRE Retired Moderator
Posts: 9481
Joined: Fri Feb 18, 2005 2:03 am
Location: Dublin, CA, US
x 22

Re: [SOLVED]Syntax highlighter inside [code][/code] tags

Post by xavier »

Code: Select all

21:59:58: Creating resource group General
21:59:58: Creating resource group Internal
21:59:58: Creating resource group Autodetect
21:59:58: SceneManagerFactory for type 'DefaultSceneManager' registered.
21:59:58: Registering ResourceManager for type Material
21:59:58: Registering ResourceManager for type Mesh
21:59:58: Registering ResourceManager for type Skeleton
21:59:58: MovableObjectFactory for type 'ParticleSystem' registered.
21:59:58: OverlayElementFactory for type Panel registered.
21:59:58: OverlayElementFactory for type BorderPanel registered.
21:59:58: OverlayElementFactory for type TextArea registered.
21:59:58: Registering ResourceManager for type Font
21:59:58: ArchiveFactory for archive type FileSystem registered.
21:59:58: ArchiveFactory for archive type Zip registered.
21:59:58: FreeImage version: 3.13.1
21:59:58: This program uses FreeImage, a free, open source image library supporting all common bitmap formats. See http://freeimage.sourceforge.net for details
21:59:58: Supported formats: bmp,ico,jpg,jif,jpeg,jpe,jng,koa,iff,lbm,mng,pbm,pbm,pcd,pcx,pgm,pgm,png,ppm,ppm,ras,tga,targa,tif,tiff,wap,wbmp,wbm,psd,cut,xbm,xpm,gif,hdr,g3,sgi,exr,j2k,j2c,jp2,pfm,pct,pict,pic,bay,bmq,cr2,crw,cs1,dc2,dcr,dng,erf,fff,hdr,k25,kdc,mdc,mos,mrw,nef,orf,pef,pxn,raf,raw,rdc,sr2,srf,arw,3fr,cine,ia,kc2,mef,nrw,qtk,rw2,sti,drf,dsc,ptx,cap,iiq,rwz
21:59:58: DDS codec registering
21:59:58: Registering ResourceManager for type HighLevelGpuProgram
21:59:58: Registering ResourceManager for type Compositor
21:59:58: MovableObjectFactory for type 'Entity' registered.
21:59:58: MovableObjectFactory for type 'Light' registered.
21:59:58: MovableObjectFactory for type 'BillboardSet' registered.
21:59:58: MovableObjectFactory for type 'ManualObject' registered.
21:59:58: MovableObjectFactory for type 'BillboardChain' registered.
21:59:58: MovableObjectFactory for type 'RibbonTrail' registered.
21:59:58: Loading library .\RenderSystem_Direct3D9_d
21:59:58: Installing plugin: D3D9 RenderSystem
21:59:58: D3D9 : Direct3D9 Rendering Subsystem created.
21:59:59: D3D9: Driver Detection Starts
21:59:59: D3D9: Driver Detection Ends
21:59:59: Plugin successfully installed
21:59:59: Loading library .\RenderSystem_Direct3D10_d
21:59:59: Installing plugin: D3D10 RenderSystem
21:59:59: D3D10 : Direct3D10 Rendering Subsystem created.
21:59:59: D3D10: Driver Detection Starts
21:59:59: D3D10: Driver Detection Ends
21:59:59: Plugin successfully installed
21:59:59: Loading library .\RenderSystem_Direct3D11_d
21:59:59: Installing plugin: D3D11 RenderSystem
21:59:59: D3D11 : Direct3D11 Rendering Subsystem created.
21:59:59: D3D11: Driver Detection Starts
21:59:59: D3D11: Driver Detection Ends
21:59:59: Plugin successfully installed
21:59:59: Loading library .\RenderSystem_GL_d
21:59:59: Installing plugin: GL RenderSystem
21:59:59: OpenGL Rendering Subsystem created.
22:00:00: Plugin successfully installed
22:00:00: Loading library .\Plugin_ParticleFX_d
22:00:00: Installing plugin: ParticleFX
22:00:00: Particle Emitter Type 'Point' registered
22:00:00: Particle Emitter Type 'Box' registered
22:00:00: Particle Emitter Type 'Ellipsoid' registered
22:00:00: Particle Emitter Type 'Cylinder' registered
22:00:00: Particle Emitter Type 'Ring' registered
22:00:00: Particle Emitter Type 'HollowEllipsoid' registered
22:00:00: Particle Affector Type 'LinearForce' registered
22:00:00: Particle Affector Type 'ColourFader' registered
22:00:00: Particle Affector Type 'ColourFader2' registered
22:00:00: Particle Affector Type 'ColourImage' registered
22:00:00: Particle Affector Type 'ColourInterpolator' registered
22:00:00: Particle Affector Type 'Scaler' registered
22:00:00: Particle Affector Type 'Rotator' registered
22:00:00: Particle Affector Type 'DirectionRandomiser' registered
22:00:00: Particle Affector Type 'DeflectorPlane' registered
22:00:00: Plugin successfully installed
22:00:00: Loading library .\Plugin_BSPSceneManager_d
22:00:00: Installing plugin: BSP Scene Manager
22:00:00: Plugin successfully installed
22:00:00: Loading library .\Plugin_CgProgramManager_d
22:00:00: Installing plugin: Cg Program Manager
22:00:00: Plugin successfully installed
22:00:00: Loading library .\Plugin_PCZSceneManager_d
22:00:00: Installing plugin: Portal Connected Zone Scene Manager
22:00:00: PCZone Factory Type 'ZoneType_Default' registered
22:00:00: Plugin successfully installed
22:00:00: Loading library .\Plugin_OctreeZone_d
22:00:00: Installing plugin: Octree Zone Factory
22:00:00: Plugin successfully installed
22:00:00: Loading library .\Plugin_OctreeSceneManager_d
22:00:00: Installing plugin: Octree & Terrain Scene Manager
22:00:00: Plugin successfully installed
22:00:00: *-*-* OGRE Initialising
22:00:00: *-*-* Version 1.8.0unstable (Byatis)
22:00:00: OGRE EXCEPTION(6:FileNotFoundException): 'ogre.cfg' file not found! in ConfigFile::load at ..\..\OgreMain\src\OgreConfigFile.cpp (line 83)
22:00:00: OGRE EXCEPTION(6:FileNotFoundException): 'ogre.cfg' file not found! in ConfigFile::load at ..\..\OgreMain\src\OgreConfigFile.cpp (line 83)
22:00:07: D3D9 : RenderSystem Option: Full Screen = No
22:00:26: D3D9 : RenderSystem Option: Video Mode = 1280 x 720 @ 32-bit colour
22:00:27: CPU Identifier & Features
22:00:27: -------------------------
22:00:27:  *   CPU ID: GenuineIntel: Intel(R) Core(TM) i7 CPU         920  @ 2.67GHz
22:00:27:  *      SSE: yes
22:00:27:  *     SSE2: yes
22:00:27:  *     SSE3: yes
22:00:27:  *      MMX: yes
22:00:27:  *   MMXEXT: yes
22:00:27:  *    3DNOW: no
22:00:27:  * 3DNOWEXT: no
22:00:27:  *     CMOV: yes
22:00:27:  *      TSC: yes
22:00:27:  *      FPU: yes
22:00:27:  *      PRO: yes
22:00:27:  *       HT: no
22:00:27: -------------------------
22:00:27: D3D9 : Subsystem Initialising
22:00:27: Registering ResourceManager for type Texture
22:00:27: Registering ResourceManager for type GpuProgram
22:00:27: D3D9RenderSystem::_createRenderWindow "OGRE Sample Browser", 1280x720 windowed  miscParams: FSAA=0 FSAAHint= colourDepth=32 gamma=false monitorIndex=0 useNVPerfHUD=false vsync=false vsyncInterval=1 
22:00:27: D3D9 : Created D3D9 Rendering Window 'OGRE Sample Browser' : 1280x720, 32bpp
22:00:27: D3D9 : WARNING - disabling VSync in windowed mode can cause timing issues at lower frame rates, turn VSync on if you observe this problem.
22:00:27: D3D9: Vertex texture format supported - PF_FLOAT16_RGB
22:00:27: D3D9: Vertex texture format supported - PF_FLOAT16_RGBA
22:00:27: D3D9: Vertex texture format supported - PF_FLOAT32_RGB
22:00:27: D3D9: Vertex texture format supported - PF_FLOAT32_RGBA
22:00:27: D3D9: Vertex texture format supported - PF_FLOAT16_R
22:00:27: D3D9: Vertex texture format supported - PF_FLOAT32_R
22:00:27: D3D9: Vertex texture format supported - PF_FLOAT16_GR
22:00:27: D3D9: Vertex texture format supported - PF_FLOAT32_GR
22:00:27: RenderSystem capabilities
22:00:27: -------------------------
22:00:27: RenderSystem Name: Direct3D9 Rendering Subsystem
22:00:27: GPU Vendor: nvidia
22:00:27: Device Name: Monitor-1-NVIDIA GeForce 8600 GT
22:00:27: Driver Version: 8.16.11.9107
22:00:27:  * Fixed function pipeline: yes
22:00:27:  * Hardware generation of mipmaps: yes
22:00:27:  * Texture blending: yes
22:00:27:  * Anisotropic texture filtering: yes
22:00:27:  * Dot product texture operation: yes
22:00:27:  * Cube mapping: yes
22:00:27:  * Hardware stencil buffer: yes
22:00:27:    - Stencil depth: 8
22:00:27:    - Two sided stencil support: yes
22:00:27:    - Wrap stencil values: yes
22:00:27:  * Hardware vertex / index buffers: yes
22:00:27:  * Vertex programs: yes
22:00:27:  * Number of floating-point constants for vertex programs: 256
22:00:27:  * Number of integer constants for vertex programs: 16
22:00:27:  * Number of boolean constants for vertex programs: 16
22:00:27:  * Fragment programs: yes
22:00:27:  * Number of floating-point constants for fragment programs: 224
22:00:27:  * Number of integer constants for fragment programs: 16
22:00:27:  * Number of boolean constants for fragment programs: 16
22:00:27:  * Geometry programs: no
22:00:27:  * Number of floating-point constants for geometry programs: 52428
22:00:27:  * Number of integer constants for geometry programs: 52428
22:00:27:  * Number of boolean constants for geometry programs: 52428
22:00:27:  * Supported Shader Profiles: hlsl ps_1_1 ps_1_2 ps_1_3 ps_1_4 ps_2_0 ps_2_a ps_2_b ps_2_x ps_3_0 vs_1_1 vs_2_0 vs_2_a vs_2_x vs_3_0
22:00:27:  * Texture Compression: yes
22:00:27:    - DXT: yes
22:00:27:    - VTC: no
22:00:27:    - PVRTC: no
22:00:27:  * Scissor Rectangle: yes
22:00:27:  * Hardware Occlusion Query: yes
22:00:27:  * User clip planes: yes
22:00:27:  * VET_UBYTE4 vertex element type: yes
22:00:27:  * Infinite far plane projection: yes
22:00:27:  * Hardware render-to-texture: yes
22:00:27:  * Floating point textures: yes
22:00:27:  * Non-power-of-two textures: yes
22:00:27:  * Volume textures: yes
22:00:27:  * Multiple Render Targets: 4
22:00:27:    - With different bit depths: yes
22:00:27:  * Point Sprites: yes
22:00:27:  * Extended point parameters: yes
22:00:27:  * Max Point Size: 10
22:00:27:  * Vertex texture fetch: yes
22:00:27:  * Number of world matrices: 0
22:00:27:  * Number of texture units: 8
22:00:27:  * Stencil buffer depth: 8
22:00:27:  * Number of vertex blend matrices: 0
22:00:27:    - Max vertex textures: 4
22:00:27:    - Vertex textures shared: no
22:00:27:  * Render to Vertex Buffer : no
22:00:27:  * DirectX per stage constants: yes
22:00:27: ***************************************
22:00:27: *** D3D9 : Subsystem Initialised OK ***
22:00:27: ***************************************
22:00:27: DefaultWorkQueue('Root') initialising on thread main.
22:00:27: Particle Renderer Type 'billboard' registered
22:00:27: SceneManagerFactory for type 'BspSceneManager' registered.
22:00:27: Registering ResourceManager for type BspLevel
22:00:27: SceneManagerFactory for type 'PCZSceneManager' registered.
22:00:27: MovableObjectFactory for type 'PCZLight' registered.
22:00:27: MovableObjectFactory for type 'Portal' registered.
22:00:27: MovableObjectFactory for type 'AntiPortal' registered.
22:00:27: PCZone Factory Type 'ZoneType_Octree' registered
22:00:27: PCZone Factory Type 'ZoneType_Terrain' registered
22:00:27: SceneManagerFactory for type 'OctreeSceneManager' registered.
22:00:27: SceneManagerFactory for type 'TerrainSceneManager' registered.
22:00:28: Creating resource group Essential
22:00:28: Added resource location 'F:/ogre-1.7/Samples/Media/thumbnails' of type 'FileSystem' to resource group 'Essential'
22:00:28: Added resource location 'F:/ogre-1.7/Samples/Media/packs/SdkTrays.zip' of type 'Zip' to resource group 'Essential'
22:00:28: Added resource location 'F:/ogre-1.7/Samples/Media' of type 'FileSystem' to resource group 'General'
22:00:28: Creating resource group Popular
22:00:28: Added resource location 'F:/ogre-1.7/Samples/Media/fonts' of type 'FileSystem' to resource group 'Popular'
22:00:28: Added resource location 'F:/ogre-1.7/Samples/Media/materials/programs' of type 'FileSystem' to resource group 'Popular'
22:00:28: Added resource location 'F:/ogre-1.7/Samples/Media/materials/scripts' of type 'FileSystem' to resource group 'Popular'
22:00:28: Added resource location 'F:/ogre-1.7/Samples/Media/materials/textures' of type 'FileSystem' to resource group 'Popular'
22:00:28: Added resource location 'F:/ogre-1.7/Samples/Media/materials/textures/nvidia' of type 'FileSystem' to resource group 'Popular'
22:00:28: Added resource location 'F:/ogre-1.7/Samples/Media/models' of type 'FileSystem' to resource group 'Popular'
22:00:28: Added resource location 'F:/ogre-1.7/Samples/Media/particle' of type 'FileSystem' to resource group 'Popular'
22:00:28: Added resource location 'F:/ogre-1.7/Samples/Media/DeferredShadingMedia' of type 'FileSystem' to resource group 'Popular'
22:00:28: Added resource location 'F:/ogre-1.7/Samples/Media/PCZAppMedia' of type 'FileSystem' to resource group 'Popular'
22:00:28: Added resource location 'F:/ogre-1.7/Samples/Media/RTShaderLib' of type 'FileSystem' to resource group 'Popular'
22:00:28: Added resource location 'F:/ogre-1.7/Samples/Media/packs/cubemap.zip' of type 'Zip' to resource group 'Popular'
22:00:28: Added resource location 'F:/ogre-1.7/Samples/Media/packs/cubemapsJS.zip' of type 'Zip' to resource group 'Popular'
22:00:28: Added resource location 'F:/ogre-1.7/Samples/Media/packs/dragon.zip' of type 'Zip' to resource group 'Popular'
22:00:28: Added resource location 'F:/ogre-1.7/Samples/Media/packs/fresneldemo.zip' of type 'Zip' to resource group 'Popular'
22:00:28: Added resource location 'F:/ogre-1.7/Samples/Media/packs/ogretestmap.zip' of type 'Zip' to resource group 'Popular'
22:00:28: Added resource location 'F:/ogre-1.7/Samples/Media/packs/ogredance.zip' of type 'Zip' to resource group 'Popular'
22:00:28: Added resource location 'F:/ogre-1.7/Samples/Media/packs/skybox.zip' of type 'Zip' to resource group 'Popular'
22:00:28: Initialising resource group Essential
22:00:28: Parsing scripts for resource group Essential
22:00:28: Parsing script SdkTrays.material
22:00:28: Parsing script SdkTrays.fontdef
22:00:28: Parsing script SdkTrays.overlay
22:00:28: Bad element attribute line: '# you can offset the image to change the cursor "hotspot"' for element SdkTrays/Cursor in overlay 
22:00:28: Texture: sdk_cursor.png: Loading 1 faces(PF_A8R8G8B8,32x32x1) with  hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,32x32x1.
22:00:28: Texture: sdk_tray.png: Loading 1 faces(PF_A8R8G8B8,64x64x1) with  hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,64x64x1.
22:00:28: Texture: sdk_button_up.png: Loading 1 faces(PF_A8R8G8B8,128x32x1) with  hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,128x32x1.
22:00:28: Font SdkTrays/Captionusing texture size 512x256
22:00:28: Info: Freetype returned null for character 160 in font SdkTrays/Caption
22:00:28: Texture: SdkTrays/CaptionTexture: Loading 1 faces(PF_BYTE_LA,512x256x1) with 0 generated mipmaps from Image. Internal format is PF_BYTE_LA,512x256x1.
22:00:28: Texture: sdk_text_box.png: Loading 1 faces(PF_A8R8G8B8,32x32x1) with  hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,32x32x1.
22:00:28: Texture: sdk_mini_tray.png: Loading 1 faces(PF_A8R8G8B8,32x32x1) with  hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,32x32x1.
22:00:28: Font SdkTrays/Valueusing texture size 512x512
22:00:28: Info: Freetype returned null for character 127 in font SdkTrays/Value
22:00:28: Info: Freetype returned null for character 128 in font SdkTrays/Value
22:00:28: Info: Freetype returned null for character 129 in font SdkTrays/Value
22:00:28: Info: Freetype returned null for character 130 in font SdkTrays/Value
22:00:28: Info: Freetype returned null for character 131 in font SdkTrays/Value
22:00:28: Info: Freetype returned null for character 132 in font SdkTrays/Value
22:00:28: Info: Freetype returned null for character 133 in font SdkTrays/Value
22:00:28: Info: Freetype returned null for character 134 in font SdkTrays/Value
22:00:28: Info: Freetype returned null for character 135 in font SdkTrays/Value
22:00:28: Info: Freetype returned null for character 136 in font SdkTrays/Value
22:00:28: Info: Freetype returned null for character 137 in font SdkTrays/Value
22:00:28: Info: Freetype returned null for character 138 in font SdkTrays/Value
22:00:28: Info: Freetype returned null for character 139 in font SdkTrays/Value
22:00:28: Info: Freetype returned null for character 140 in font SdkTrays/Value
22:00:28: Info: Freetype returned null for character 141 in font SdkTrays/Value
22:00:28: Info: Freetype returned null for character 142 in font SdkTrays/Value
22:00:28: Info: Freetype returned null for character 143 in font SdkTrays/Value
22:00:28: Info: Freetype returned null for character 144 in font SdkTrays/Value
22:00:28: Info: Freetype returned null for character 145 in font SdkTrays/Value
22:00:28: Info: Freetype returned null for character 146 in font SdkTrays/Value
22:00:28: Info: Freetype returned null for character 147 in font SdkTrays/Value
22:00:28: Info: Freetype returned null for character 148 in font SdkTrays/Value
22:00:28: Info: Freetype returned null for character 149 in font SdkTrays/Value
22:00:28: Info: Freetype returned null for character 150 in font SdkTrays/Value
22:00:28: Info: Freetype returned null for character 151 in font SdkTrays/Value
22:00:28: Info: Freetype returned null for character 152 in font SdkTrays/Value
22:00:28: Info: Freetype returned null for character 153 in font SdkTrays/Value
22:00:28: Info: Freetype returned null for character 154 in font SdkTrays/Value
22:00:28: Info: Freetype returned null for character 155 in font SdkTrays/Value
22:00:28: Info: Freetype returned null for character 156 in font SdkTrays/Value
22:00:28: Info: Freetype returned null for character 157 in font SdkTrays/Value
22:00:28: Info: Freetype returned null for character 158 in font SdkTrays/Value
22:00:28: Info: Freetype returned null for character 159 in font SdkTrays/Value
22:00:28: Info: Freetype returned null for character 160 in font SdkTrays/Value
22:00:28: Texture: SdkTrays/ValueTexture: Loading 1 faces(PF_BYTE_LA,512x512x1) with 0 generated mipmaps from Image. Internal format is PF_BYTE_LA,512x512x1.
22:00:28: Texture: sdk_track.png: Loading 1 faces(PF_A8R8G8B8,16x32x1) with  hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,16x32x1.
22:00:28: Texture: sdk_handle.png: Loading 1 faces(PF_A8R8G8B8,16x16x1) with  hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,16x16x1.
22:00:28: Texture: sdk_mini_text_box.png: Loading 1 faces(PF_A8R8G8B8,32x32x1) with  hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,32x32x1.
22:00:28: Texture: sdk_label.png: Loading 1 faces(PF_A8R8G8B8,32x32x1) with  hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,32x32x1.
22:00:28: Texture: sdk_separator.png: Loading 1 faces(PF_A8R8G8B8,64x16x1) with  hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,64x16x1.
22:00:28: Texture: sdk_logo.png: Loading 1 faces(PF_A8R8G8B8,128x64x1) with  hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,128x64x1.
22:00:28: Texture: sdk_shade.png: Loading 1 faces(PF_A8R8G8B8,64x48x1) with 6 generated mipmaps from Image. Internal format is PF_A8R8G8B8,64x48x1.
22:00:28: Texture: sdk_frame.png: Loading 1 faces(PF_A8R8G8B8,32x32x1) with  hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,32x32x1.
22:00:28: Texture: sdk_mini_text_box_over.png: Loading 1 faces(PF_A8R8G8B8,32x32x1) with  hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,32x32x1.
22:00:28: Texture: sdk_pulse.png: Loading 1 faces(PF_R8G8B8,8x1x1) with  hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,8x1x1.
22:00:28: Finished parsing scripts for resource group Essential
22:00:28: Texture: sdk_bands.png: Loading 1 faces(PF_A8R8G8B8,2x32x1) with  hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,2x32x1.
22:00:28: Initialising resource group Popular
22:00:28: Parsing scripts for resource group Popular
22:00:29: Parsing script Examples.program
22:00:29: Parsing script StdQuad_vp.program
22:00:29: Parsing script deferred_post.program
22:00:29: Parsing script ShadowCaster.program
22:00:29: Parsing script ASCII.material
22:00:29: Parsing script ASMSwizzle.material
22:00:29: Compiler error: object unsupported by render system in ASMSwizzle.material(1)
22:00:29: Parsing script BlackAndWhite.material
22:00:29: Parsing script Bloom.material
22:00:29: Parsing script Bloom2.material
22:00:29: Parsing script CGSwizzle.material
22:00:29: Parsing script CompositorDemo.material
22:00:29: Parsing script DepthShadowmap.material
22:00:29: Parsing script Dither.material
22:00:29: Parsing script DOF.material
22:00:29: Parsing script Embossed.material
22:00:29: Parsing script Example-Water.material
22:00:29: Parsing script Examples-Advanced.material
22:00:29: Parsing script Examples-DynTex.material
22:00:29: Parsing script Examples-Water.material
22:00:29: Parsing script Examples.material
22:00:30: OGRE EXCEPTION(2:InvalidParametersException): Parameter called camObjPos does not exist.  in GpuProgramParameters::_findNamedConstantDefinition at ..\..\OgreMain\src\OgreGpuProgramParams.cpp (line 1401)
22:00:30: Compiler error: invalid parameters in Examples.material(847): setting of constant failed
22:00:30: Parsing script facial.material
22:00:30: Parsing script Glass.material
22:00:30: Parsing script GLSLSwizzle.material
22:00:30: Parsing script Halftone.material
22:00:30: Parsing script hdr.material
22:00:30: Parsing script HeatVision.material
22:00:30: Parsing script Hurt.material
22:00:30: Parsing script instancing.material
22:00:30: Parsing script Invert.material
22:00:30: Parsing script IsoSurf.material
22:00:30: Parsing script Laplace.material
22:00:30: Parsing script MotionBlur.material
22:00:30: Parsing script MRTtest.material
22:00:30: Parsing script NightVision.material
22:00:30: Parsing script Ocean.material
22:00:30: Parsing script OffsetMapping.material
22:00:30: Parsing script Ogre.material
22:00:30: Parsing script OldMovie.material
22:00:30: Parsing script OldTV.material
22:00:30: Parsing script ParticleGS.material
22:00:30: OGRE EXCEPTION(7:InternalErrorException): Unable to compile Cg program Ogre/ParticleGS/GenerateVS: CG ERROR : "The compile returned an error."
(0) : error C6015: Output 'POSITION' not completely written
 in CgProgram::loadFromSource at ..\..\..\PlugIns\CgProgramManager\src\OgreCgProgramManagerDll.cpp (line 65)
22:00:30: High-level program Ogre/ParticleGS/GenerateVS encountered an error during loading and is thus not supported.
OGRE EXCEPTION(7:InternalErrorException): Unable to compile Cg program Ogre/ParticleGS/GenerateVS: CG ERROR : "The compile returned an error."
(0) : error C6015: Output 'POSITION' not completely written
 in CgProgram::loadFromSource at ..\..\..\PlugIns\CgProgramManager\src\OgreCgProgramManagerDll.cpp (line 65)
22:00:30: OGRE EXCEPTION(7:InternalErrorException): Unable to compile Cg program Ogre/ParticleGS/DisplayVS: CG ERROR : "The compile returned an error."
(249) : warning C7050: "output.color" might be used before being initialized
(0) : error C6015: Output 'POSITION' not completely written
 in CgProgram::loadFromSource at ..\..\..\PlugIns\CgProgramManager\src\OgreCgProgramManagerDll.cpp (line 65)
22:00:30: High-level program Ogre/ParticleGS/DisplayVS encountered an error during loading and is thus not supported.
OGRE EXCEPTION(7:InternalErrorException): Unable to compile Cg program Ogre/ParticleGS/DisplayVS: CG ERROR : "The compile returned an error."
(249) : warning C7050: "output.color" might be used before being initialized
(0) : error C6015: Output 'POSITION' not completely written
 in CgProgram::loadFromSource at ..\..\..\PlugIns\CgProgramManager\src\OgreCgProgramManagerDll.cpp (line 65)
22:00:30: OGRE EXCEPTION(7:InternalErrorException): Unable to compile Cg program Ogre/ParticleGS/DisplayPS: CG ERROR : "The compile returned an error."
(323) : fatal error C9999: unexpected cast operation
 in CgProgram::loadFromSource at ..\..\..\PlugIns\CgProgramManager\src\OgreCgProgramManagerDll.cpp (line 65)
22:00:30: High-level program Ogre/ParticleGS/DisplayPS encountered an error during loading and is thus not supported.
OGRE EXCEPTION(7:InternalErrorException): Unable to compile Cg program Ogre/ParticleGS/DisplayPS: CG ERROR : "The compile returned an error."
(323) : fatal error C9999: unexpected cast operation
 in CgProgram::loadFromSource at ..\..\..\PlugIns\CgProgramManager\src\OgreCgProgramManagerDll.cpp (line 65)
22:00:30: Parsing script Penguin.material
22:00:30: Parsing script Posterize.material
22:00:30: Parsing script pssm.material
22:00:30: Parsing script RadialBlur.material
22:00:30: Parsing script RZR-002.material
22:00:30: Parsing script ShaderSystem.material
22:00:30: Parsing script shadows.material
22:00:30: Parsing script SharpenEdges.material
22:00:30: Parsing script sibenik.material
22:00:31: Parsing script smoke.material
22:00:31: Parsing script Tiling.material
22:00:31: Parsing script VarianceShadowmap.material
22:00:31: Parsing script deferreddemo.material
22:00:31: Parsing script deferred_post.material
22:00:31: Parsing script deferred_post_minilight.material
22:00:31: Parsing script ShadowCaster.material
22:00:31: Parsing script ssao.material
22:00:31: Parsing script ROOM.material
22:00:31: Parsing script RomanBath.material
22:00:31: Parsing script emitted_emitter.particle
22:00:31: Parsing script Examples-Water.particle
22:00:31: Parsing script Examples.particle
22:00:31: Parsing script smoke.particle
22:00:31: Parsing script Examples.compositor
22:00:31: Parsing script deferred.compositor
22:00:31: Parsing script ssao.compositor
22:00:31: Parsing script sample.fontdef
22:00:31: Finished parsing scripts for resource group Popular
22:00:31: Loading library .\Sample_BezierPatch_d
22:00:31: Installing plugin: Bezier Patch Sample
22:00:31: Plugin successfully installed
22:00:31: Loading library .\Sample_BSP_d
22:00:31: Installing plugin: BSP Sample
22:00:31: Plugin successfully installed
22:00:31: Loading library .\Sample_CameraTrack_d
22:00:31: Installing plugin: Camera Tracking Sample
22:00:31: Plugin successfully installed
22:00:31: Loading library .\Sample_CelShading_d
22:00:31: Installing plugin: Cel-shading Sample
22:00:31: Plugin successfully installed
22:00:31: Loading library .\Sample_Compositor_d
22:00:31: Installing plugin: Compositor Sample
22:00:31: Plugin successfully installed
22:00:31: Loading library .\Sample_CubeMapping_d
22:00:31: Installing plugin: Cube Mapping Sample
22:00:31: Plugin successfully installed
22:00:31: Loading library .\Sample_DeferredShading_d
22:00:31: Installing plugin: Deferred Shading Sample
22:00:31: Plugin successfully installed
22:00:31: Loading library .\Sample_Dot3Bump_d
22:00:31: Installing plugin: Bump Mapping Sample
22:00:31: Plugin successfully installed
22:00:31: Loading library .\Sample_DynTex_d
22:00:31: Installing plugin: Dynamic Texturing Sample
22:00:31: Plugin successfully installed
22:00:31: Loading library .\Sample_FacialAnimation_d
22:00:31: Installing plugin: Facial Animation Sample
22:00:31: Plugin successfully installed
22:00:31: Loading library .\Sample_Fresnel_d
22:00:31: Installing plugin: Fresnel Sample
22:00:31: Plugin successfully installed
22:00:31: Loading library .\Sample_Grass_d
22:00:31: Installing plugin: Grass Sample
22:00:31: Plugin successfully installed
22:00:31: Loading library .\Sample_Isosurf_d
22:00:31: Installing plugin: Isosurf Sample
22:00:31: Plugin successfully installed
22:00:31: Loading library .\Sample_Instancing_d
22:00:31: Installing plugin: Instancing Sample
22:00:31: Plugin successfully installed
22:00:31: Loading library .\Sample_Lighting_d
22:00:31: Installing plugin: Lighting Sample
22:00:31: Plugin successfully installed
22:00:31: Loading library .\Sample_Ocean_d
22:00:31: Installing plugin: Ocean Sample
22:00:31: Plugin successfully installed
22:00:31: Loading library .\Sample_Paging_d
22:00:31: Installing plugin: Paging Sample
22:00:31: Plugin successfully installed
22:00:31: Loading library .\Sample_ParticleGS_d
22:00:31: Installing plugin: Particle Effects (GPU) Sample
22:00:31: Plugin successfully installed
22:00:31: Loading library .\Sample_ParticleFX_d
22:00:31: Installing plugin: Particle Effects Sample
22:00:31: Plugin successfully installed
22:00:31: Loading library .\Sample_ShaderSystem_d
22:00:31: Installing plugin: Shader System Sample
22:00:31: Plugin successfully installed
22:00:31: Loading library .\Sample_Shadows_d
22:00:31: Installing plugin: Shadows Sample
22:00:31: Plugin successfully installed
22:00:31: Loading library .\Sample_SkeletalAnimation_d
22:00:31: Installing plugin: Skeletal Animation Sample
22:00:31: Plugin successfully installed
22:00:31: Loading library .\Sample_SkyBox_d
22:00:31: Installing plugin: Sky Box Sample
22:00:31: Plugin successfully installed
22:00:31: Loading library .\Sample_SkyDome_d
22:00:31: Installing plugin: Sky Dome Sample
22:00:31: Plugin successfully installed
22:00:31: Loading library .\Sample_SkyPlane_d
22:00:31: Installing plugin: Sky Plane Sample
22:00:31: Plugin successfully installed
22:00:31: Loading library .\Sample_Smoke_d
22:00:31: Installing plugin: Smoke Sample
22:00:31: Plugin successfully installed
22:00:31: Loading library .\Sample_SphereMapping_d
22:00:31: Installing plugin: Sphere Mapping Sample
22:00:31: Plugin successfully installed
22:00:31: Loading library .\Sample_Terrain_d
22:00:31: Installing plugin: Terrain Sample
22:00:31: Plugin successfully installed
22:00:31: Loading library .\Sample_TextureFX_d
22:00:31: Installing plugin: Texture Effects Sample
22:00:31: Plugin successfully installed
22:00:31: Loading library .\Sample_Transparency_d
22:00:31: Installing plugin: Transparency Sample
22:00:31: Plugin successfully installed
22:00:31: Loading library .\Sample_VolumeTex_d
22:00:31: Installing plugin: Volume Textures Sample
22:00:31: Plugin successfully installed
22:00:31: Loading library .\Sample_Water_d
22:00:31: Installing plugin: Water Sample
22:00:31: Plugin successfully installed
22:00:31: Texture: thumb_bsp.png: Loading 1 faces(PF_A8R8G8B8,128x128x1) with  hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,128x128x1.
22:00:31: Texture: thumb_bezier.png: Loading 1 faces(PF_A8R8G8B8,128x128x1) with  hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,128x128x1.
22:00:31: Texture: thumb_bump.png: Loading 1 faces(PF_A8R8G8B8,128x128x1) with  hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,128x128x1.
22:00:31: Texture: thumb_camtrack.png: Loading 1 faces(PF_A8R8G8B8,128x128x1) with  hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,128x128x1.
22:00:31: Texture: thumb_cel.png: Loading 1 faces(PF_A8R8G8B8,128x128x1) with  hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,128x128x1.
22:00:31: Texture: thumb_comp.png: Loading 1 faces(PF_A8R8G8B8,128x128x1) with  hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,128x128x1.
22:00:31: Texture: thumb_cubemap.png: Loading 1 faces(PF_A8R8G8B8,128x128x1) with  hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,128x128x1.
22:00:31: Texture: thumb_deferred.png: Loading 1 faces(PF_A8R8G8B8,128x128x1) with  hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,128x128x1.
22:00:31: Texture: thumb_dyntex.png: Loading 1 faces(PF_A8R8G8B8,128x128x1) with  hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,128x128x1.
22:00:31: Texture: thumb_facial.png: Loading 1 faces(PF_A8R8G8B8,128x128x1) with  hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,128x128x1.
22:00:31: Texture: thumb_fresnel.png: Loading 1 faces(PF_A8R8G8B8,128x128x1) with  hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,128x128x1.
22:00:31: Texture: thumb_grass.png: Loading 1 faces(PF_A8R8G8B8,128x128x1) with  hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,128x128x1.
22:00:31: Texture: thumb_instancing.png: Loading 1 faces(PF_A8R8G8B8,128x128x1) with  hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,128x128x1.
22:00:31: Texture: thumb_isosurf.png: Loading 1 faces(PF_A8R8G8B8,128x128x1) with  hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,128x128x1.
22:00:31: Texture: thumb_lighting.png: Loading 1 faces(PF_A8R8G8B8,128x128x1) with  hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,128x128x1.
22:00:31: Texture: thumb_ocean.png: Loading 1 faces(PF_R8G8B8,128x128x1) with  hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
22:00:31: Texture: thumb_terrain.png: Loading 1 faces(PF_A8R8G8B8,128x128x1) with  hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,128x128x1.
22:00:31: Texture: thumb_particles.png: Loading 1 faces(PF_A8R8G8B8,128x128x1) with  hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,128x128x1.
22:00:31: Texture: thumb_particlegs.png: Loading 1 faces(PF_A8R8G8B8,128x128x1) with  hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,128x128x1.
22:00:31: Texture: thumb_shadersystem.png: Loading 1 faces(PF_R8G8B8,128x128x1) with  hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
22:00:31: Texture: thumb_shadows.png: Loading 1 faces(PF_R8G8B8,128x128x1) with  hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
22:00:31: Texture: thumb_skelanim.png: Loading 1 faces(PF_A8R8G8B8,128x128x1) with  hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,128x128x1.
22:00:31: Texture: thumb_skybox.png: Loading 1 faces(PF_A8R8G8B8,128x128x1) with  hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,128x128x1.
22:00:31: Texture: thumb_skydome.png: Loading 1 faces(PF_A8R8G8B8,128x128x1) with  hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,128x128x1.
22:00:31: Texture: thumb_skyplane.png: Loading 1 faces(PF_A8R8G8B8,128x128x1) with  hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,128x128x1.
22:00:31: Texture: thumb_smoke.png: Loading 1 faces(PF_A8R8G8B8,128x128x1) with  hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,128x128x1.
22:00:31: Texture: thumb_spheremap.png: Loading 1 faces(PF_A8R8G8B8,128x128x1) with  hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,128x128x1.
22:00:31: Texture: thumb_texfx.png: Loading 1 faces(PF_A8R8G8B8,128x128x1) with  hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,128x128x1.
22:00:31: Texture: thumb_trans.png: Loading 1 faces(PF_A8R8G8B8,128x128x1) with  hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,128x128x1.
22:00:31: Texture: thumb_voltex.png: Loading 1 faces(PF_A8R8G8B8,128x128x1) with  hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,128x128x1.
22:00:31: Texture: thumb_water.png: Loading 1 faces(PF_A8R8G8B8,128x128x1) with  hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,128x128x1.
22:00:43: Texture: sdk_button_over.png: Loading 1 faces(PF_A8R8G8B8,128x32x1) with  hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,128x32x1.
22:00:44: Texture: sdk_button_down.png: Loading 1 faces(PF_A8R8G8B8,128x32x1) with  hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,128x32x1.
22:00:44: Creating resource group RTShaderSystemMaterialsGroup
22:00:44: Added resource location 'F:/ogre-1.7/Samples/Media/RTShaderLib/materials' of type 'FileSystem' to resource group 'RTShaderSystemMaterialsGroup'
22:00:44: Initialising resource group RTShaderSystemMaterialsGroup
22:00:44: Parsing scripts for resource group RTShaderSystemMaterialsGroup
22:00:44: Parsing script RTShaderSystem.material
22:00:44: Finished parsing scripts for resource group RTShaderSystemMaterialsGroup
22:00:44: Loading resource group 'RTShaderSystemMaterialsGroup' - Resources: 1 World Geometry: 1
22:00:44: Texture: Panels_Diffuse.png: Loading 1 faces(PF_R8G8B8,512x512x1) with  hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,512x512x1.
22:00:44: Texture: egyptrockyfull.jpg: Loading 1 faces(PF_R8G8B8,512x512x1) with  hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,512x512x1.
22:00:44: Finished loading resource group RTShaderSystemMaterialsGroup
22:00:44: Mesh: Loading athene.mesh.
22:00:44: WARNING: athene.mesh is an older format ([MeshSerializer_v1.40]); you should upgrade it as soon as possible using the OgreMeshUpgrade tool.
22:00:44: Can't assign material 1 - Default to SubEntity of athene.mesh because this Material does not exist. Have you forgotten to define it in a .material script?
22:00:44: Texture: atheneNormalMap.png: Loading 1 faces(PF_A8R8G8B8,1024x1024x1) with  hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,1024x1024x1.
22:00:44: Mesh: Loading knot.mesh.
22:00:45: Texture: MtlPlat2.jpg: Loading 1 faces(PF_R8G8B8,780x511x1) with 5 generated mipmaps from Image. Internal format is PF_X8R8G8B8,780x511x1.
22:00:45: Texture: NMBumpsOut.png: Loading 1 faces(PF_R8G8B8,256x256x1) with  hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,256x256x1.
22:00:45: Texture: RustedMetal.jpg: Loading 1 faces(PF_R8G8B8,512x512x1) with  hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,512x512x1.
22:00:45: Mesh: Loading ogrehead.mesh.
22:00:45: Texture: GreenSkin.jpg: Loading 1 faces(PF_R8G8B8,256x256x1) with  hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,256x256x1.
22:00:45: Texture: spheremap.png: Loading 1 faces(PF_R8G8B8,256x256x1) with  hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,256x256x1.
22:00:45: Texture: tusk.jpg: Loading 1 faces(PF_R8G8B8,96x96x1) with 5 generated mipmaps from Image. Internal format is PF_X8R8G8B8,96x96x1.
22:00:45: Texture: flare.png: Loading 1 faces(PF_R8G8B8,256x256x1) with  hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,256x256x1.
22:00:53: Destroying resource group RTShaderSystemMaterialsGroup
22:00:53: Unloading resource group RTShaderSystemMaterialsGroup
22:00:53: Finished unloading resource group RTShaderSystemMaterialsGroup
22:00:54: Uninstalling plugin: Bezier Patch Sample
22:00:54: Plugin successfully uninstalled
22:00:54: Unloading library .\Sample_BezierPatch_d
22:00:54: Uninstalling plugin: BSP Sample
22:00:54: Plugin successfully uninstalled
22:00:54: Unloading library .\Sample_BSP_d
22:00:54: Uninstalling plugin: Camera Tracking Sample
22:00:54: Plugin successfully uninstalled
22:00:54: Unloading library .\Sample_CameraTrack_d
22:00:54: Uninstalling plugin: Cel-shading Sample
22:00:54: Plugin successfully uninstalled
22:00:54: Unloading library .\Sample_CelShading_d
22:00:54: Uninstalling plugin: Compositor Sample
22:00:54: Plugin successfully uninstalled
22:00:54: Unloading library .\Sample_Compositor_d
22:00:54: Uninstalling plugin: Cube Mapping Sample
22:00:54: Plugin successfully uninstalled
22:00:54: Unloading library .\Sample_CubeMapping_d
22:00:54: Uninstalling plugin: Deferred Shading Sample
22:00:54: Plugin successfully uninstalled
22:00:54: Unloading library .\Sample_DeferredShading_d
22:00:54: Uninstalling plugin: Bump Mapping Sample
22:00:54: Plugin successfully uninstalled
22:00:54: Unloading library .\Sample_Dot3Bump_d
22:00:54: Uninstalling plugin: Dynamic Texturing Sample
22:00:54: Plugin successfully uninstalled
22:00:54: Unloading library .\Sample_DynTex_d
22:00:54: Uninstalling plugin: Facial Animation Sample
22:00:54: Plugin successfully uninstalled
22:00:54: Unloading library .\Sample_FacialAnimation_d
22:00:54: Uninstalling plugin: Fresnel Sample
22:00:54: Plugin successfully uninstalled
22:00:54: Unloading library .\Sample_Fresnel_d
22:00:54: Uninstalling plugin: Grass Sample
22:00:54: Plugin successfully uninstalled
22:00:54: Unloading library .\Sample_Grass_d
22:00:54: Uninstalling plugin: Isosurf Sample
22:00:54: Plugin successfully uninstalled
22:00:54: Unloading library .\Sample_Isosurf_d
22:00:54: Uninstalling plugin: Instancing Sample
22:00:54: Plugin successfully uninstalled
22:00:54: Unloading library .\Sample_Instancing_d
22:00:54: Uninstalling plugin: Lighting Sample
22:00:54: Plugin successfully uninstalled
22:00:54: Unloading library .\Sample_Lighting_d
22:00:54: Uninstalling plugin: Ocean Sample
22:00:54: Plugin successfully uninstalled
22:00:54: Unloading library .\Sample_Ocean_d
22:00:54: Uninstalling plugin: Paging Sample
22:00:54: Plugin successfully uninstalled
22:00:54: Unloading library .\Sample_Paging_d
22:00:54: Uninstalling plugin: Particle Effects (GPU) Sample
22:00:54: Plugin successfully uninstalled
22:00:54: Unloading library .\Sample_ParticleGS_d
22:00:54: Uninstalling plugin: Particle Effects Sample
22:00:54: Plugin successfully uninstalled
22:00:54: Unloading library .\Sample_ParticleFX_d
22:00:54: Uninstalling plugin: Shader System Sample
22:00:54: Plugin successfully uninstalled
22:00:54: Unloading library .\Sample_ShaderSystem_d
22:00:54: Uninstalling plugin: Shadows Sample
22:00:54: Plugin successfully uninstalled
22:00:54: Unloading library .\Sample_Shadows_d
22:00:54: Uninstalling plugin: Skeletal Animation Sample
22:00:54: Plugin successfully uninstalled
22:00:54: Unloading library .\Sample_SkeletalAnimation_d
22:00:54: Uninstalling plugin: Sky Box Sample
22:00:54: Plugin successfully uninstalled
22:00:54: Unloading library .\Sample_SkyBox_d
22:00:54: Uninstalling plugin: Sky Dome Sample
22:00:54: Plugin successfully uninstalled
22:00:54: Unloading library .\Sample_SkyDome_d
22:00:54: Uninstalling plugin: Sky Plane Sample
22:00:54: Plugin successfully uninstalled
22:00:54: Unloading library .\Sample_SkyPlane_d
22:00:54: Uninstalling plugin: Smoke Sample
22:00:54: Plugin successfully uninstalled
22:00:54: Unloading library .\Sample_Smoke_d
22:00:54: Uninstalling plugin: Sphere Mapping Sample
22:00:54: Plugin successfully uninstalled
22:00:54: Unloading library .\Sample_SphereMapping_d
22:00:54: Uninstalling plugin: Terrain Sample
22:00:54: Plugin successfully uninstalled
22:00:54: Unloading library .\Sample_Terrain_d
22:00:54: Uninstalling plugin: Texture Effects Sample
22:00:54: Plugin successfully uninstalled
22:00:54: Unloading library .\Sample_TextureFX_d
22:00:54: Uninstalling plugin: Transparency Sample
22:00:54: Plugin successfully uninstalled
22:00:54: Unloading library .\Sample_Transparency_d
22:00:54: Uninstalling plugin: Volume Textures Sample
22:00:54: Plugin successfully uninstalled
22:00:54: Unloading library .\Sample_VolumeTex_d
22:00:54: Uninstalling plugin: Water Sample
22:00:54: Plugin successfully uninstalled
22:00:54: Unloading library .\Sample_Water_d
22:00:54: DefaultWorkQueue('Root') shutting down on thread main.
22:00:54: PCZone Factory Type 'ZoneType_Octree' unregistered
22:00:54: PCZone Factory Type 'ZoneType_Terrain' unregistered
22:00:54: Unregistering ResourceManager for type BspLevel
22:00:54: *-*-* OGRE Shutdown
22:00:54: Unregistering ResourceManager for type Compositor
22:00:54: Unregistering ResourceManager for type Font
22:00:54: Unregistering ResourceManager for type Skeleton
22:00:54: Unregistering ResourceManager for type Mesh
22:00:54: Unregistering ResourceManager for type HighLevelGpuProgram
22:00:54: Uninstalling plugin: Octree & Terrain Scene Manager
22:00:54: Plugin successfully uninstalled
22:00:54: Unloading library .\Plugin_OctreeSceneManager_d
22:00:54: Uninstalling plugin: Octree Zone Factory
22:00:54: Plugin successfully uninstalled
22:00:54: Unloading library .\Plugin_OctreeZone_d
22:00:54: Uninstalling plugin: Portal Connected Zone Scene Manager
22:00:54: Plugin successfully uninstalled
22:00:54: Unloading library .\Plugin_PCZSceneManager_d
22:00:54: Uninstalling plugin: Cg Program Manager
22:00:54: Plugin successfully uninstalled
22:00:54: Unloading library .\Plugin_CgProgramManager_d
22:00:54: Uninstalling plugin: BSP Scene Manager
22:00:54: Plugin successfully uninstalled
22:00:54: Unloading library .\Plugin_BSPSceneManager_d
22:00:54: Uninstalling plugin: ParticleFX
22:00:54: Plugin successfully uninstalled
22:00:54: Unloading library .\Plugin_ParticleFX_d
22:00:54: Uninstalling plugin: GL RenderSystem
22:00:54: *** Stopping Win32GL Subsystem ***
22:00:54: Plugin successfully uninstalled
22:00:54: Unloading library .\RenderSystem_GL_d
22:00:54: Uninstalling plugin: D3D11 RenderSystem
22:00:54: D3D11 : Shutting down cleanly.
22:00:54: D3D11 : Direct3D11 Rendering Subsystem destroyed.
22:00:54: Plugin successfully uninstalled
22:00:54: Unloading library .\RenderSystem_Direct3D11_d
22:00:54: Uninstalling plugin: D3D10 RenderSystem
22:00:54: D3D10 : Shutting down cleanly.
22:00:54: D3D10 : Direct3D10 Rendering Subsystem destroyed.
22:00:54: Plugin successfully uninstalled
22:00:54: Unloading library .\RenderSystem_Direct3D10_d
22:00:54: Uninstalling plugin: D3D9 RenderSystem
22:00:54: D3D9 : Shutting down cleanly.
22:00:54: Unregistering ResourceManager for type Texture
22:00:54: Unregistering ResourceManager for type GpuProgram
22:00:54: D3D9 : Direct3D9 Rendering Subsystem destroyed.
22:00:54: Plugin successfully uninstalled
22:00:54: Unloading library .\RenderSystem_Direct3D9_d
22:00:54: Unregistering ResourceManager for type Material
Highlighting time isn't horrible. Hightlighting all the numbers is distracting.
Do you need help? What have you tried?

Image

Angels can fly because they take themselves lightly.

CABAListic
OGRE Retired Team Member
OGRE Retired Team Member
Posts: 2903
Joined: Thu Jan 18, 2007 2:48 pm
x 57
Contact:

Re: [SOLVED]Syntax highlighter inside [code][/code] tags

Post by CABAListic »

I guess the question is what is posted more often - code or log files? The default should be set accordingly to reduce the total amount of work needed to manually choose the right one.

User avatar
betajaen
OGRE Moderator
OGRE Moderator
Posts: 3447
Joined: Mon Jul 18, 2005 4:15 pm
Location: Wales, UK
x 58
Contact:

Re: Syntax highlighter inside [code][/code] tags

Post by betajaen »

mamairaja wrote:

Code: Select all

// Hello Ogre
class Jacmoe
{
 private:
   inline Cat* betajaen()
   {
      return new Cat("coco");
   }
  public:
   friend class Spacegaier;
};
Works Great!
Thank you all for making these

Only time I'm doing this:

Image




Seriously though. How hard is it to write a language parser for .log files? Seems fairly easy from a regex point of view. Although if it helps (.log) files are acceptable attachment types now, perhaps we should be encouraging people to attach them instead.

Post Reply