polygon font demo + 3d text demo

A place to show off your latest screenshots and for people to comment on them. Only start a new thread here if you have some nice images to show off!
User avatar
Assaf Raman
OGRE Team Member
OGRE Team Member
Posts: 3092
Joined: Tue Apr 11, 2006 3:58 pm
Location: TLV, Israel

polygon font demo + 3d text demo

Post by Assaf Raman » Sat Jan 20, 2007 5:45 am

I have used FTGL and Freetype to create a polygon font demo in ogre.

here it is (download and run...):
http://assaframan.googlepages.com/Polyg ... nt_bin.zip
bain + big_o - try runing the demo now...

here is the 2003 + 2005 updated code + poject files:
http://assaframan.googlepages.com/Polyg ... t_code.zip


here is how the demo look now:
Image
Image

Beauty created a wiki page:
http://www.ogre3d.org/tikiwiki/PolygonFont
Thanks Beauty.
Last edited by Assaf Raman on Sat Jan 20, 2007 4:42 pm, edited 1 time in total.
0 x
Watch out for my OGRE related tweets here.

tillhm
Kobold
Posts: 25
Joined: Tue Mar 07, 2006 6:24 pm
Contact:

Post by tillhm » Sat Jan 20, 2007 7:45 am

Looks good, but I have a stupid question: What is it good for? Doesn't it just drop the framerate dramatically?
0 x

User avatar
irrdev
Orc
Posts: 420
Joined: Sun Oct 15, 2006 7:30 pm
Contact:

Post by irrdev » Sat Jan 20, 2007 8:07 am

tillhm wrote:Looks good, but I have a stupid question: What is it good for? Doesn't it just drop the framerate dramatically?
1024.97 is a very good framerate. Even the most powerful CPUs and Graphic Cards can't do much better than that. Those letters don't appear to use that many vertices, so I don't think that the framerate is that much affected at all.

I must say that this looks really great. Great work, Assaf Raman! :)
0 x
FeedLaunch .NET RSS and ATOM feed editor- open-source and released under the GPL. Visit Feed Launch .NET Project Website hosted at sourceforge.net

User avatar
yuriythebest
Orc
Posts: 468
Joined: Sun Jul 10, 2005 11:44 am
Location: Kiev, Ukraine
Contact:

Post by yuriythebest » Sat Jan 20, 2007 12:05 pm

tillhm wrote:Looks good, but I have a stupid question: What is it good for? Doesn't it just drop the framerate dramatically?
one use I thought of straight away was star-wars text, also a 3d text menu system or something like that. the ability to assign thikness to the text and make the text beveled would do this much good. 1000+fps?? I bet it's on a dual core. My 3.06Ghz Ht + nvidia n6600 has something like 300fps with an empty scene. Great job, keep it up!
0 x
asteroidWars - an OGRE game
NOOB MAKE MMORPG- the flash movie

User avatar
Assaf Raman
OGRE Team Member
OGRE Team Member
Posts: 3092
Joined: Tue Apr 11, 2006 3:58 pm
Location: TLV, Israel

Post by Assaf Raman » Sat Jan 20, 2007 4:41 pm

yuriythebest wrote:one use I thought of straight away was star-wars text, also a 3d text menu system or something like that.
Here is a 3d text mesh creator for you.

screenshots:
Image
Image
Image
Image
Image

exe you can download and run:
http://assaframan.googlepages.com/3dFont_bin.zip

a mesh file - same as the screenshots:
http://assaframan.googlepages.com/3dFont_mesh.zip

the source:
http://assaframan.googlepages.com/3dFont_code.zip
0 x
Watch out for my OGRE related tweets here.

big_o
Goblin
Posts: 279
Joined: Sun Feb 19, 2006 1:08 am

Post by big_o » Sat Jan 20, 2007 4:51 pm

Yeah, a Stars Wars type intro would be very cheesy, but still cool.

You don't have to have a dual core processor to get those kinds of framerates, I have a 64 bit amd 3700 and an nvidia 7600 gs and I almost get 1000 in my game.

[edit] was typing my post when the new screenshots were posted, very cool!
0 x

User avatar
Assaf Raman
OGRE Team Member
OGRE Team Member
Posts: 3092
Joined: Tue Apr 11, 2006 3:58 pm
Location: TLV, Israel

Post by Assaf Raman » Sat Jan 20, 2007 5:26 pm

here is my spec:
CPU: dual core - x86 Family 15 Model 35 Stepping 2 AuthenticAMD ~2010 Mhz
GPU: nvidia 7600 gt
0 x
Watch out for my OGRE related tweets here.

big_o
Goblin
Posts: 279
Joined: Sun Feb 19, 2006 1:08 am

Post by big_o » Sat Jan 20, 2007 5:36 pm

Well, the demo doesn't start for me, it just complains about the application configuration being incorrect. I'm guessing it's some kind of Microsoft VC dll hell going on.
0 x

User avatar
Assaf Raman
OGRE Team Member
OGRE Team Member
Posts: 3092
Joined: Tue Apr 11, 2006 3:58 pm
Location: TLV, Israel

Post by Assaf Raman » Sat Jan 20, 2007 5:42 pm

big_o wrote:Well, the demo doesn't start for me, it just complains about the application configuration being incorrect. I'm guessing it's some kind of Microsoft VC dll hell going on.
use the tool from here on the demo exe: http://www.dependencywalker.com/
then tell me what you are missing and I will post the files in the forum.

or just compile the code on your computer.
0 x
Watch out for my OGRE related tweets here.

User avatar
yuriythebest
Orc
Posts: 468
Joined: Sun Jul 10, 2005 11:44 am
Location: Kiev, Ukraine
Contact:

Post by yuriythebest » Sat Jan 20, 2007 6:49 pm

haha you can create stuff very quickly, congratz!
0 x
asteroidWars - an OGRE game
NOOB MAKE MMORPG- the flash movie

pjorissen
Gnoblar
Posts: 4
Joined: Fri Dec 01, 2006 11:04 am
Location: Belgium

Post by pjorissen » Mon Jan 22, 2007 11:21 am

looks great, hope the code is also easy to use :)
0 x

bain
Gnoblar
Posts: 21
Joined: Mon Jun 19, 2006 7:52 pm
Location: South Africa
Contact:

Files missing in zip

Post by bain » Mon Jan 22, 2007 5:44 pm

According to dependency walker :

MSVCP80.DLL
MSVCR80.DLL
DWMAPI.DLL

is missing.

Henti
0 x

User avatar
sinbad
OGRE Retired Team Member
OGRE Retired Team Member
Posts: 19261
Joined: Sun Oct 06, 2002 11:19 pm
Location: Guernsey, Channel Islands
Contact:

Post by sinbad » Mon Jan 22, 2007 7:51 pm

You'll need to make an installer with WiX if you're using VC8.

Nice work, anyway!
0 x

User avatar
hmoraldo
OGRE Expert User
OGRE Expert User
Posts: 517
Joined: Tue Mar 07, 2006 11:22 pm
Location: Buenos Aires, Argentina
Contact:

Post by hmoraldo » Mon Jan 22, 2007 10:46 pm

Amazing, thank you!
0 x
H. Hernan Moraldo
Personal website

User avatar
Assaf Raman
OGRE Team Member
OGRE Team Member
Posts: 3092
Joined: Tue Apr 11, 2006 3:58 pm
Location: TLV, Israel

Post by Assaf Raman » Tue Jan 23, 2007 10:57 am

I will update the demo so you will be able to use it - later today.
I will post a post when it will be ready.
0 x
Watch out for my OGRE related tweets here.

User avatar
Assaf Raman
OGRE Team Member
OGRE Team Member
Posts: 3092
Joined: Tue Apr 11, 2006 3:58 pm
Location: TLV, Israel

Post by Assaf Raman » Tue Jan 23, 2007 7:53 pm

I have created a vc 2003 project - so the exe should run on all computers.

here it is (download and run...):
http://assaframan.googlepages.com/Polyg ... nt_bin.zip
bain + big_o - try runing the demo now...

here is the 2003 + 2005 updated code + poject files:
http://assaframan.googlepages.com/Polyg ... t_code.zip


here is how the demo look now:
Image
Image

[EDIT] I have added msvcr71.dll msvcp71.dll to PolygonFontAnd3dFont_bin.zip [/EDIT]
0 x
Watch out for my OGRE related tweets here.

big_o
Goblin
Posts: 279
Joined: Sun Feb 19, 2006 1:08 am

Post by big_o » Wed Jan 24, 2007 12:37 am

Schools kept me busy the past few days. I'm trying the new release now.
0 x

big_o
Goblin
Posts: 279
Joined: Sun Feb 19, 2006 1:08 am

Post by big_o » Wed Jan 24, 2007 12:57 am

It works now, and it looks pretty cool! There is some slight stretching on the slides, and the text would occasionally vanish before going all the way off screen.
0 x

User avatar
Assaf Raman
OGRE Team Member
OGRE Team Member
Posts: 3092
Joined: Tue Apr 11, 2006 3:58 pm
Location: TLV, Israel

Post by Assaf Raman » Wed Jan 24, 2007 7:20 am

I guess the bounding box is a bit off...
0 x
Watch out for my OGRE related tweets here.

User avatar
Kojack
OGRE Moderator
OGRE Moderator
Posts: 7147
Joined: Sun Jan 25, 2004 7:35 am
Location: Brisbane, Australia
x 16

Post by Kojack » Wed Jan 24, 2007 2:29 pm

1024.97 is a very good framerate. Even the most powerful CPUs and Graphic Cards can't do much better than that.
I can get 2300+fps in Ogre demos (like demo_skybox), and I've gotten over 3000fps in my own framework. And that's not on a great computer, I'm considering upgrading.
0 x

User avatar
Game_Ender
Ogre Magi
Posts: 1269
Joined: Wed May 25, 2005 2:31 am
Location: Rockville, MD, USA

Post by Game_Ender » Wed Jan 24, 2007 6:56 pm

Raw FPS number are pretty meaningless without knowing what resolution you were running.
0 x

User avatar
boost
Greenskin
Posts: 112
Joined: Mon Jan 09, 2006 11:49 pm
Location: Barcelona; New Earth; Degova System

Post by boost » Wed Jan 24, 2007 8:31 pm

I'm sorry in my laptop the app crashes just after OGRE dialog. Didn't found any reason at ogre.log -

Code: Select all

20:23:00: Creating resource group General
20:23:00: Creating resource group Internal
20:23:00: Creating resource group Autodetect
20:23:00: Registering ResourceManager for type Material
20:23:00: Registering ResourceManager for type Mesh
20:23:00: Registering ResourceManager for type Skeleton
20:23:00: MovableObjectFactory for type 'ParticleSystem' registered.
20:23:00: Loading library OgrePlatform.dll
20:23:00: OverlayElementFactory for type Panel registered.
20:23:00: OverlayElementFactory for type BorderPanel registered.
20:23:00: OverlayElementFactory for type TextArea registered.
20:23:00: Registering ResourceManager for type Font
20:23:00: ArchiveFactory for archive type FileSystem registered.
20:23:00: ArchiveFactory for archive type Zip registered.
20:23:00: DevIL version: Developer's Image Library (DevIL) 1.6.7 Oct 28 2005
20:23:00: 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 
20:23:00: Registering ResourceManager for type HighLevelGpuProgram
20:23:00: Registering ResourceManager for type Compositor
20:23:00: MovableObjectFactory for type 'Entity' registered.
20:23:00: MovableObjectFactory for type 'Light' registered.
20:23:00: MovableObjectFactory for type 'BillboardSet' registered.
20:23:00: MovableObjectFactory for type 'ManualObject' registered.
20:23:00: MovableObjectFactory for type 'BillboardChain' registered.
20:23:00: MovableObjectFactory for type 'RibbonTrail' registered.
20:23:00: Loading library .\RenderSystem_GL
20:23:00: OpenGL Rendering Subsystem created.
20:23:00: *-*-* OGRE Initialising
20:23:00: *-*-* Version 1.2.3 (Dagon)
20:23:00: Creating resource group Bootstrap
20:23:00: Added resource location 'Media/OgreCore.zip' of type 'Zip' to resource group 'Bootstrap'
20:23:00: Added resource location 'Media' of type 'FileSystem' to resource group 'General'
20:23:02: *** Starting Win32GL Subsystem ***
20:23:02: GLRenderSystem::createRenderWindow "OGRE Render Window", 1024x768 fullscreen  miscParams: FSAA=0 colourDepth=32 vsync=false 
20:23:02: Created Win32Window 'OGRE Render Window' : 1024x768, 32bpp
20:23:02: GL_VERSION = 2.0.5527 WinXP Release
20:23:02: GL_VENDOR = ATI Technologies Inc.
20:23:02: GL_RENDERER = ATI Mobility Radeon X1400 x86/SSE2
20:23:02: GL_EXTENSIONS = GL_ARB_multitexture GL_EXT_texture_env_add GL_EXT_compiled_vertex_array GL_S3_s3tc GL_ARB_depth_texture GL_ARB_fragment_program GL_ARB_fragment_program_shadow GL_ARB_fragment_shader GL_ARB_multisample GL_ARB_occlusion_query GL_ARB_point_parameters GL_ARB_point_sprite GL_ARB_shader_objects GL_ARB_shading_language_100 GL_ARB_shadow GL_ARB_shadow_ambient GL_ARB_texture_border_clamp GL_ARB_texture_compression GL_ARB_texture_cube_map GL_ARB_texture_env_add GL_ARB_texture_env_combine GL_ARB_texture_env_crossbar GL_ARB_texture_env_dot3 GL_ARB_texture_mirrored_repeat GL_ARB_transpose_matrix GL_ARB_vertex_blend GL_ARB_vertex_buffer_object GL_ARB_vertex_program GL_ARB_vertex_shader GL_ARB_window_pos GL_ARB_draw_buffers GL_ATI_draw_buffers GL_ATI_element_array GL_ATI_envmap_bumpmap GL_ATI_fragment_shader GL_ATI_map_object_buffer GL_ATI_separate_stencil GL_ATI_texture_compression_3dc GL_ATI_texture_env_combine3 GL_ATI_texture_float GL_ATI_texture_mirror_once GL_ATI_vertex_array_object GL_ATI_vertex_attrib_array_object GL_ATI_vertex_streams GL_ATIX_texture_env_combine3 GL_ATIX_texture_env_route GL_ATIX_vertex_shader_output_point_size GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color GL_EXT_blend_func_separate GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_clip_volume_hint GL_EXT_draw_range_elements GL_EXT_fog_coord GL_EXT_framebuffer_object GL_EXT_multi_draw_arrays GL_EXT_packed_pixels GL_EXT_point_parameters GL_EXT_rescale_normal GL_EXT_secondary_color GL_EXT_separate_specular_color GL_EXT_shadow_funcs GL_EXT_stencil_wrap GL_EXT_texgen_reflection GL_EXT_texture3D GL_EXT_texture_compression_s3tc GL_EXT_texture_cube_map GL_EXT_texture_edge_clamp GL_EXT_texture_env_combine GL_EXT_texture_env_dot3 GL_EXT_texture_filter_anisotropic GL_EXT_texture_lod_bias GL_EXT_texture_mirror_clamp GL_EXT_texture_object GL_EXT_texture_rectangle GL_EXT_vertex_array GL_EXT_vertex_shader GL_HP_occlusion_test GL_NV_blend_square GL_NV_occlusion_query GL_NV_texgen_reflection GL_SGI_color_matrix GL_SGIS_generate_mipmap GL_SGIS_multitexture GL_SGIS_texture_border_clamp GL_SGIS_texture_edge_clamp GL_SGIS_texture_lod GL_SUN_multi_draw_arrays GL_WIN_swap_hint WGL_EXT_extensions_string WGL_EXT_swap_control 
20:23:02: Supported WGL extensions: WGL_ARB_extensions_string WGL_ARB_make_current_read WGL_ARB_multisample WGL_ARB_pbuffer WGL_ARB_pixel_format WGL_ARB_render_texture WGL_ATI_pixel_format_float WGL_EXT_extensions_string WGL_EXT_swap_control WGL_ATI_render_texture_rectangle 
20:23:02: ***************************
*** GL Renderer Started ***
***************************
20:23:02: Registering ResourceManager for type GpuProgram
20:23:02: GLSL support detected
20:23:02: GL: Using GL_EXT_framebuffer_object for rendering to textures (best)
20:23:02: FBO PF_UNKNOWN depth/stencil support: D16S0 D24S0 D32S0 
20:23:02: FBO PF_R5G6B5 depth/stencil support: D0S0 D16S0 D24S0 D32S0 
20:23:02: FBO PF_B5G6R5 depth/stencil support: D0S0 D16S0 D24S0 D32S0 
20:23:02: FBO PF_A4R4G4B4 depth/stencil support: D0S0 D16S0 D24S0 D32S0 
20:23:02: FBO PF_A1R5G5B5 depth/stencil support: D0S0 D16S0 D24S0 D32S0 
20:23:02: FBO PF_R8G8B8 depth/stencil support: D0S0 D16S0 D24S0 D32S0 
20:23:02: FBO PF_B8G8R8 depth/stencil support: D0S0 D16S0 D24S0 D32S0 
20:23:02: FBO PF_A8R8G8B8 depth/stencil support: D0S0 D16S0 D24S0 D32S0 
20:23:02: FBO PF_B8G8R8A8 depth/stencil support: D0S0 D16S0 D24S0 D32S0 
20:23:02: FBO PF_A2R10G10B10 depth/stencil support: D0S0 D16S0 D24S0 D32S0 
20:23:02: FBO PF_A2B10G10R10 depth/stencil support: D0S0 D16S0 D24S0 D32S0 
20:23:02: FBO PF_FLOAT16_RGB depth/stencil support: D0S0 D16S0 D24S0 D32S0 
20:23:02: FBO PF_FLOAT16_RGBA depth/stencil support: D0S0 D16S0 D24S0 D32S0 
20:23:02: FBO PF_FLOAT32_RGB depth/stencil support: D0S0 D16S0 D24S0 D32S0 
20:23:02: FBO PF_FLOAT32_RGBA depth/stencil support: D0S0 D16S0 D24S0 D32S0 
20:23:02: FBO PF_X8R8G8B8 depth/stencil support: D0S0 D16S0 D24S0 D32S0 
20:23:02: FBO PF_X8B8G8R8 depth/stencil support: D0S0 D16S0 D24S0 D32S0 
20:23:02: FBO PF_SHORT_RGBA depth/stencil support: D0S0 D16S0 D24S0 D32S0 
20:23:02: FBO PF_R3G3B2 depth/stencil support: D0S0 D16S0 D24S0 D32S0 
20:23:02: [GL] : Valid FBO targets PF_UNKNOWN PF_R5G6B5 PF_B5G6R5 PF_A4R4G4B4 PF_A1R5G5B5 PF_R8G8B8 PF_B8G8R8 PF_A8R8G8B8 PF_B8G8R8A8 PF_A2R10G10B10 PF_A2B10G10R10 PF_FLOAT16_RGB PF_FLOAT16_RGBA PF_FLOAT32_RGB PF_FLOAT32_RGBA PF_X8R8G8B8 PF_X8B8G8R8 PF_SHORT_RGBA PF_R3G3B2 
20:23:02: RenderSystem capabilities
20:23:02: -------------------------
20:23:02:  * Hardware generation of mipmaps: yes
20:23:02:  * Texture blending: yes
20:23:02:  * Anisotropic texture filtering: yes
20:23:02:  * Dot product texture operation: yes
20:23:02:  * Cube mapping: yes
20:23:02:  * Hardware stencil buffer: yes
20:23:02:    - Stencil depth: 8
20:23:02:    - Two sided stencil support: yes
20:23:02:    - Wrap stencil values: yes
20:23:02:  * Hardware vertex / index buffers: yes
20:23:02:  * Vertex programs: yes
20:23:02:    - Max vertex program version: arbvp1
20:23:02:  * Fragment programs: yes
20:23:02:    - Max fragment program version: arbfp1
20:23:02:  * Texture Compression: yes
20:23:02:    - DXT: yes
20:23:02:    - VTC: no
20:23:02:  * Scissor Rectangle: yes
20:23:02:  * Hardware Occlusion Query: yes
20:23:02:  * User clip planes: yes
20:23:02:  * VET_UBYTE4 vertex element type: yes
20:23:02:  * Infinite far plane projection: yes
20:23:02:  * Hardware render-to-texture: yes
20:23:02:  * Floating point textures: yes
20:23:02:  * Non-power-of-two textures: no
20:23:02:  * Volume textures: yes
20:23:02:  * Multiple Render Targets: 4
20:23:02:  * Point Sprites: yes
20:23:02:  * Extended point parameters: yes
20:23:02:  * Max Point Size: 1024
20:23:02: Registering ResourceManager for type Texture
20:23:02: ResourceBackgroundQueue - threading disabled
20:23:02: Particle Renderer Type 'billboard' registered
20:23:02: 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
20:23:02: Viewport for camera 'PlayerCam', actual dimensions L: 0 T: 0 W: 1024 H: 768
20:23:02: Parsing scripts for resource group Autodetect
20:23:02: Finished parsing scripts for resource group Autodetect
20:23:02: Parsing scripts for resource group Bootstrap
20:23:02: Parsing script OgreCore.material
20:23:02: Parsing script OgreProfiler.material
20:23:02: Parsing script Ogre.fontdef
20:23:02: Parsing script OgreDebugPanel.overlay
20:23:02: Texture: New_Ogre_Border_Center.png: Loading 1 faces(PF_A8B8G8R8,256x128x1) with 8 hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,256x128x1.
20:23:02: Texture: New_Ogre_Border.png: Loading 1 faces(PF_A8B8G8R8,256x256x1) with 8 hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,256x256x1.
20:23:02: Texture: New_Ogre_Border_Break.png: Loading 1 faces(PF_A8B8G8R8,32x32x1) with 5 hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,32x32x1.
20:23:02: Font BlueHighwayusing texture size 512x512
20:23:02: Info: Freetype returned null for character 127 in font BlueHighway
20:23:02: Info: Freetype returned null for character 128 in font BlueHighway
20:23:02: Info: Freetype returned null for character 129 in font BlueHighway
20:23:02: Info: Freetype returned null for character 130 in font BlueHighway
20:23:02: Info: Freetype returned null for character 131 in font BlueHighway
20:23:02: Info: Freetype returned null for character 132 in font BlueHighway
20:23:02: Info: Freetype returned null for character 133 in font BlueHighway
20:23:02: Info: Freetype returned null for character 134 in font BlueHighway
20:23:02: Info: Freetype returned null for character 135 in font BlueHighway
20:23:02: Info: Freetype returned null for character 136 in font BlueHighway
20:23:02: Info: Freetype returned null for character 137 in font BlueHighway
20:23:02: Info: Freetype returned null for character 138 in font BlueHighway
20:23:02: Info: Freetype returned null for character 139 in font BlueHighway
20:23:02: Info: Freetype returned null for character 140 in font BlueHighway
20:23:02: Info: Freetype returned null for character 141 in font BlueHighway
20:23:02: Info: Freetype returned null for character 142 in font BlueHighway
20:23:02: Info: Freetype returned null for character 143 in font BlueHighway
20:23:02: Info: Freetype returned null for character 144 in font BlueHighway
20:23:02: Info: Freetype returned null for character 145 in font BlueHighway
20:23:02: Info: Freetype returned null for character 146 in font BlueHighway
20:23:02: Info: Freetype returned null for character 147 in font BlueHighway
20:23:02: Info: Freetype returned null for character 148 in font BlueHighway
20:23:02: Info: Freetype returned null for character 149 in font BlueHighway
20:23:02: Info: Freetype returned null for character 150 in font BlueHighway
20:23:02: Info: Freetype returned null for character 151 in font BlueHighway
20:23:02: Info: Freetype returned null for character 152 in font BlueHighway
20:23:02: Info: Freetype returned null for character 153 in font BlueHighway
20:23:02: Info: Freetype returned null for character 154 in font BlueHighway
20:23:02: Info: Freetype returned null for character 155 in font BlueHighway
20:23:02: Info: Freetype returned null for character 156 in font BlueHighway
20:23:02: Info: Freetype returned null for character 157 in font BlueHighway
20:23:02: Info: Freetype returned null for character 158 in font BlueHighway
20:23:02: Info: Freetype returned null for character 159 in font BlueHighway
20:23:02: Info: Freetype returned null for character 160 in font BlueHighway
20:23:02: Texture: BlueHighwayTexture: Loading 1 faces(PF_BYTE_LA,512x512x1) with  hardware generated mipmaps from Image. Internal format is PF_BYTE_LA,512x512x1.
20:23:02: Texture: ogretext.png: Loading 1 faces(PF_A8B8G8R8,256x128x1) with 8 hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,256x128x1.
20:23:02: Parsing script OgreLoadingPanel.overlay
20:23:02: Finished parsing scripts for resource group Bootstrap
20:23:02: Parsing scripts for resource group General
20:23:02: Parsing script Example.material
20:23:02: Finished parsing scripts for resource group General
20:23:02: Parsing scripts for resource group Internal
20:23:02: Finished parsing scripts for resource group Internal
any idea?
0 x

User avatar
Assaf Raman
OGRE Team Member
OGRE Team Member
Posts: 3092
Joined: Tue Apr 11, 2006 3:58 pm
Location: TLV, Israel

Post by Assaf Raman » Wed Jan 24, 2007 9:41 pm

can you try to compile and run?
0 x
Watch out for my OGRE related tweets here.

User avatar
boost
Greenskin
Posts: 112
Joined: Mon Jan 09, 2006 11:49 pm
Location: Barcelona; New Earth; Degova System

Post by boost » Wed Jan 24, 2007 10:37 pm

sure :)

hope not to be missing something, call stack follows -

Code: Select all

ftgl_dynamic_MT_d.dll!FTSize::CharSize(FT_FaceRec_ * * face=0x00000000, 
       unsigned int point_size=144, unsigned int x_resolution=72, 
       unsigned int y_resolution=72)
       Line 18 + 0x14 bytes	C++
ftgl_dynamic_MT_d.dll!FTFace::Size(const unsigned int size=144, 
       const unsigned int res=72)  
       Line 89	C++
ftgl_dynamic_MT_d.dll!FTFont::FaceSize(const unsigned int size=144, 
       const unsigned int res=72)  
       Line 69 + 0x13 bytes	C++
Demo_PolygonFont.exe!createTextMesh(char * meshName=0x00421bcc, 
       char * fontFile=0x00421c00, wchar_t * textString=0x00421bd8, 
       int fontSize=144, float depth=15.000000, float 
       texSizeFactor=0.0099999998, bool threeDFont=false)  
       Line 44 + 0x15 bytes	C++
Demo_PolygonFont.exe!GlowApplication::createScene()  
       Line 200 + 0x2e bytes	C++
Demo_PolygonFont.exe!ExampleApplication::setup()  
       Line 95 + 0xf bytes	C++
Demo_PolygonFont.exe!ExampleApplication::go()  
       Line 55 + 0xf bytes	C++
Demo_PolygonFont.exe!WinMain(HINSTANCE__ * hInst=0x00400000, 
       HINSTANCE__ * __formal=0x00000000, char * 
       strCmdLine=0x00151f30, HINSTANCE__ * __formal=0x00000000)  
       Line 43 + 0x8 bytes	C++
Demo_PolygonFont.exe!__tmainCRTStartup()  
       Line 578 + 0x35 bytes	C
Demo_PolygonFont.exe!WinMainCRTStartup()  
       Line 403	C
kernel32.dll!7c816fd7()
[Frames below may be incorrect and/or missing, no symbols loaded for kernel32.dll]
error message -

Code: Select all

Unhandled exception at 0x00818f87 (ftgl_dynamic_MT_d.dll) in Demo_PolygonFont.exe: 0xC0000005: Access violation reading location 0x00000000.
OGRE log -

Code: Select all

22:33:35: Creating resource group General
22:33:35: Creating resource group Internal
22:33:35: Creating resource group Autodetect
22:33:35: Registering ResourceManager for type Material
22:33:35: Registering ResourceManager for type Mesh
22:33:35: Registering ResourceManager for type Skeleton
22:33:35: MovableObjectFactory for type 'ParticleSystem' registered.
22:33:35: Loading library OgrePlatform_d.dll
22:33:35: OverlayElementFactory for type Panel registered.
22:33:35: OverlayElementFactory for type BorderPanel registered.
22:33:35: OverlayElementFactory for type TextArea registered.
22:33:35: Registering ResourceManager for type Font
22:33:35: ArchiveFactory for archive type FileSystem registered.
22:33:35: ArchiveFactory for archive type Zip registered.
22:33:35: DevIL version: Developer's Image Library (DevIL) 1.6.7 Nov  9 2005
22:33:35: 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 
22:33:35: Registering ResourceManager for type HighLevelGpuProgram
22:33:35: Registering ResourceManager for type Compositor
22:33:35: MovableObjectFactory for type 'Entity' registered.
22:33:35: MovableObjectFactory for type 'Light' registered.
22:33:35: MovableObjectFactory for type 'BillboardSet' registered.
22:33:35: MovableObjectFactory for type 'ManualObject' registered.
22:33:35: MovableObjectFactory for type 'BillboardChain' registered.
22:33:35: MovableObjectFactory for type 'RibbonTrail' registered.
22:33:35: Loading library .\RenderSystem_Direct3D9
22:33:35: D3D9 : Direct3D9 Rendering Subsystem created.
22:33:35: D3D9: Driver Detection Starts
22:33:35: D3D9: Driver Detection Ends
22:33:35: Loading library .\RenderSystem_GL
22:33:35: OpenGL Rendering Subsystem created.
22:33:35: Loading library .\Plugin_ParticleFX
22:33:35: Particle Emitter Type 'Point' registered
22:33:35: Particle Emitter Type 'Box' registered
22:33:35: Particle Emitter Type 'Ellipsoid' registered
22:33:35: Particle Emitter Type 'Cylinder' registered
22:33:35: Particle Emitter Type 'Ring' registered
22:33:35: Particle Emitter Type 'HollowEllipsoid' registered
22:33:35: Particle Affector Type 'LinearForce' registered
22:33:35: Particle Affector Type 'ColourFader' registered
22:33:35: Particle Affector Type 'ColourFader2' registered
22:33:35: Particle Affector Type 'ColourImage' registered
22:33:35: Particle Affector Type 'ColourInterpolator' registered
22:33:35: Particle Affector Type 'Scaler' registered
22:33:35: Particle Affector Type 'Rotator' registered
22:33:35: Particle Affector Type 'DirectionRandomiser' registered
22:33:35: Particle Affector Type 'DeflectorPlane' registered
22:33:35: Loading library .\Plugin_BSPSceneManager
22:33:35: Registering ResourceManager for type BspLevel
22:33:35: Loading library .\Plugin_OctreeSceneManager
22:33:35: Loading library .\Plugin_CgProgramManager
22:33:35: *-*-* OGRE Initialising
22:33:35: *-*-* Version 1.2.4 (Dagon)
22:33:35: Creating resource group Bootstrap
22:33:35: Added resource location '../../../Media/packs/OgreCore.zip' of type 'Zip' to resource group 'Bootstrap'
22:33:35: Added resource location '../../../Media' of type 'FileSystem' to resource group 'General'
22:33:35: Added resource location '../../../Media/fonts' of type 'FileSystem' to resource group 'General'
22:33:35: Added resource location '../../../Media/materials/programs' of type 'FileSystem' to resource group 'General'
22:33:35: Added resource location '../../../Media/materials/scripts' of type 'FileSystem' to resource group 'General'
22:33:35: Added resource location '../../../Media/materials/textures' of type 'FileSystem' to resource group 'General'
22:33:35: Added resource location '../../../Media/models' of type 'FileSystem' to resource group 'General'
22:33:35: Added resource location '../../../Media/overlays' of type 'FileSystem' to resource group 'General'
22:33:35: Added resource location '../../../Media/particle' of type 'FileSystem' to resource group 'General'
22:33:35: Added resource location '../../../Media/gui' of type 'FileSystem' to resource group 'General'
22:33:35: Added resource location '../../../Media/DeferredShadingMedia' of type 'FileSystem' to resource group 'General'
22:33:35: Added resource location '../../../Media/packs/cubemap.zip' of type 'Zip' to resource group 'General'
22:33:35: Added resource location '../../../Media/packs/cubemapsJS.zip' of type 'Zip' to resource group 'General'
22:33:35: Added resource location '../../../Media/packs/dragon.zip' of type 'Zip' to resource group 'General'
22:33:35: Added resource location '../../../Media/packs/fresneldemo.zip' of type 'Zip' to resource group 'General'
22:33:35: Added resource location '../../../Media/packs/ogretestmap.zip' of type 'Zip' to resource group 'General'
22:33:35: Added resource location '../../../Media/packs/skybox.zip' of type 'Zip' to resource group 'General'
22:33:35: D3D9 : RenderSystem Option: Allow NVPerfHUD = No
22:33:35: D3D9 : RenderSystem Option: Anti aliasing = None
22:33:35: D3D9 : RenderSystem Option: Floating-point mode = Fastest
22:33:35: D3D9 : RenderSystem Option: Full Screen = No
22:33:35: D3D9 : RenderSystem Option: Rendering Device = ATI Mobility Radeon X1400
22:33:35: D3D9 : RenderSystem Option: VSync = No
22:33:35: D3D9 : RenderSystem Option: Video Mode = 800 x 600 @ 32-bit colour
22:33:37: D3D9 : Subsystem Initialising
22:33:37: D3D9RenderSystem::createRenderWindow "OGRE Render Window", 800x600 windowed  miscParams: FSAA=0 FSAAQuality=0 colourDepth=32 useNVPerfHUD=false vsync=false 
22:33:37: D3D9 : Created D3D9 Rendering Window 'OGRE Render Window' : 800x600, 32bpp
22:33:37: D3D9 : WARNING - disabling VSync in windowed mode can cause timing issues at lower frame rates, turn VSync on if you observe this problem.
22:33:37: Registering ResourceManager for type Texture
22:33:37: Registering ResourceManager for type GpuProgram
22:33:37: RenderSystem capabilities
22:33:37: -------------------------
22:33:37:  * Hardware generation of mipmaps: yes
22:33:37:  * Texture blending: yes
22:33:37:  * Anisotropic texture filtering: yes
22:33:37:  * Dot product texture operation: yes
22:33:37:  * Cube mapping: yes
22:33:37:  * Hardware stencil buffer: yes
22:33:37:    - Stencil depth: 8
22:33:37:    - Two sided stencil support: yes
22:33:37:    - Wrap stencil values: yes
22:33:37:  * Hardware vertex / index buffers: yes
22:33:37:  * Vertex programs: yes
22:33:37:    - Max vertex program version: vs_3_0
22:33:37:  * Fragment programs: yes
22:33:37:    - Max fragment program version: ps_3_0
22:33:37:  * Texture Compression: yes
22:33:37:    - DXT: yes
22:33:37:    - VTC: no
22:33:37:  * Scissor Rectangle: yes
22:33:37:  * Hardware Occlusion Query: yes
22:33:37:  * User clip planes: yes
22:33:37:  * VET_UBYTE4 vertex element type: yes
22:33:37:  * Infinite far plane projection: yes
22:33:37:  * Hardware render-to-texture: yes
22:33:37:  * Floating point textures: yes
22:33:37:  * Non-power-of-two textures: yes (limited)
22:33:37:  * Volume textures: yes
22:33:37:  * Multiple Render Targets: 4
22:33:37:  * Point Sprites: yes
22:33:37:  * Extended point parameters: yes
22:33:37:  * Max Point Size: 256
22:33:37: ***************************************
22:33:37: *** D3D9 : Subsystem Initialised OK ***
22:33:37: ***************************************
22:33:37: ResourceBackgroundQueue - threading disabled
22:33:37: Particle Renderer Type 'billboard' registered
22:33:37: 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
22:33:37: Viewport for camera 'PlayerCam', actual dimensions L: 0 T: 0 W: 800 H: 600
22:33:37: Parsing scripts for resource group Autodetect
22:33:37: Finished parsing scripts for resource group Autodetect
22:33:37: Parsing scripts for resource group Bootstrap
22:33:37: Parsing script OgreCore.material
22:33:37: Parsing script OgreProfiler.material
22:33:37: Parsing script Ogre.fontdef
22:33:37: Parsing script OgreDebugPanel.overlay
22:33:37: Texture: New_Ogre_Border_Center.png: Loading 1 faces(PF_A8B8G8R8,256x128x1) with  hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,256x128x1.
22:33:37: Texture: New_Ogre_Border.png: Loading 1 faces(PF_A8B8G8R8,256x256x1) with  hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,256x256x1.
22:33:37: Texture: New_Ogre_Border_Break.png: Loading 1 faces(PF_A8B8G8R8,32x32x1) with  hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,32x32x1.
22:33:37: Font BlueHighwayusing texture size 512x512
22:33:37: Info: Freetype returned null for character 127 in font BlueHighway
22:33:37: Info: Freetype returned null for character 128 in font BlueHighway
22:33:37: Info: Freetype returned null for character 129 in font BlueHighway
22:33:37: Info: Freetype returned null for character 130 in font BlueHighway
22:33:37: Info: Freetype returned null for character 131 in font BlueHighway
22:33:37: Info: Freetype returned null for character 132 in font BlueHighway
22:33:37: Info: Freetype returned null for character 133 in font BlueHighway
22:33:37: Info: Freetype returned null for character 134 in font BlueHighway
22:33:37: Info: Freetype returned null for character 135 in font BlueHighway
22:33:37: Info: Freetype returned null for character 136 in font BlueHighway
22:33:37: Info: Freetype returned null for character 137 in font BlueHighway
22:33:37: Info: Freetype returned null for character 138 in font BlueHighway
22:33:37: Info: Freetype returned null for character 139 in font BlueHighway
22:33:37: Info: Freetype returned null for character 140 in font BlueHighway
22:33:37: Info: Freetype returned null for character 141 in font BlueHighway
22:33:37: Info: Freetype returned null for character 142 in font BlueHighway
22:33:37: Info: Freetype returned null for character 143 in font BlueHighway
22:33:37: Info: Freetype returned null for character 144 in font BlueHighway
22:33:37: Info: Freetype returned null for character 145 in font BlueHighway
22:33:37: Info: Freetype returned null for character 146 in font BlueHighway
22:33:37: Info: Freetype returned null for character 147 in font BlueHighway
22:33:37: Info: Freetype returned null for character 148 in font BlueHighway
22:33:37: Info: Freetype returned null for character 149 in font BlueHighway
22:33:37: Info: Freetype returned null for character 150 in font BlueHighway
22:33:37: Info: Freetype returned null for character 151 in font BlueHighway
22:33:37: Info: Freetype returned null for character 152 in font BlueHighway
22:33:37: Info: Freetype returned null for character 153 in font BlueHighway
22:33:37: Info: Freetype returned null for character 154 in font BlueHighway
22:33:37: Info: Freetype returned null for character 155 in font BlueHighway
22:33:37: Info: Freetype returned null for character 156 in font BlueHighway
22:33:37: Info: Freetype returned null for character 157 in font BlueHighway
22:33:37: Info: Freetype returned null for character 158 in font BlueHighway
22:33:37: Info: Freetype returned null for character 159 in font BlueHighway
22:33:37: Info: Freetype returned null for character 160 in font BlueHighway
22:33:37: Texture: BlueHighwayTexture: Loading 1 faces(PF_BYTE_LA,512x512x1) with 0 generated mipmaps from Image. Internal format is PF_BYTE_LA,512x512x1.
22:33:37: Texture: ogretext.png: Loading 1 faces(PF_A8B8G8R8,256x128x1) with  hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,256x128x1.
22:33:37: Parsing script OgreLoadingPanel.overlay
22:33:37: Finished parsing scripts for resource group Bootstrap
22:33:37: Parsing scripts for resource group General
22:33:38: Parsing script Examples.program
22:33:38: Parsing script StdQuad_vp.program
22:33:38: Parsing script deferred.glsl.program
22:33:38: Parsing script deferred.hlsl.program
22:33:38: Parsing script deferred_post_debug.glsl.program
22:33:38: Parsing script deferred_post_debug.hlsl.program
22:33:38: Parsing script deferred_post_minilight.glsl.program
22:33:38: Parsing script deferred_post_minilight.hlsl.program
22:33:38: An exception has been thrown!

-----------------------------------
Details:
-----------------------------------
Error #: 7
Function: GpuProgramParameters::getParamIndex
Description: Cannot find a parameter named lightSpecularColor. 
File: c:\archivos de programa\ogrenew\ogremain\src\ogregpuprogram.cpp
Line: 776
Stack unwinding: <<beginning of stack>>
22:33:38: 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: c:\archivos de programa\ogrenew\ogremain\src\ogregpuprogram.cpp
Line: 776
Stack unwinding: <<beginning of stack>>
22:33:38: Parsing script deferred_post_multipass.glsl.program
22:33:38: Parsing script deferred_post_multipass.hlsl.program
22:33:38: Parsing script deferred_post_onepass.glsl.program
22:33:38: Parsing script deferred_post_onepass.hlsl.program
22:33:38: Parsing script BlackAndWhite.material
22:33:38: Parsing script Bloom.material
22:33:38: Parsing script DOF.material
22:33:38: Parsing script Embossed.material
22:33:38: Parsing script Example-DynTex.material
22:33:38: Parsing script Example-Water.material
22:33:38: Parsing script Example.material
22:33:38: Parsing script Examples-Advanced.material
22:33:38: Parsing script facial.material
22:33:39: Parsing script Glass.material
22:33:39: Parsing script hdr.material
22:33:39: Parsing script HeatVision.material
22:33:39: Parsing script Hurt.material
22:33:39: Parsing script Invert.material
22:33:39: Parsing script Laplace.material
22:33:39: Parsing script MotionBlur.material
22:33:39: Parsing script Ocean.material
22:33:39: Parsing script OffsetMapping.material
22:33:39: Parsing script Ogre.material
22:33:39: Parsing script OldMovie.material
22:33:39: Parsing script OldTV.material
22:33:39: Parsing script Posterize.material
22:33:39: Parsing script RZR-002.material
22:33:39: Parsing script SharpenEdges.material
22:33:39: Parsing script smoke.material
22:33:39: Parsing script Tiling.material
22:33:39: Parsing script deferred.material
22:33:39: Parsing script deferreddemo.material
22:33:39: Parsing script deferred_post_debug.material
22:33:39: Parsing script deferred_post_minilight.material
22:33:39: Parsing script deferred_post_multipass.material
22:33:39: Parsing script deferred_post_onepass.material
22:33:39: Parsing script fresnelenviron.material
22:33:39: Parsing script Examples.compositor
22:33:40: Parsing script sample.fontdef
22:33:40: Parsing script Example-Water.particle
22:33:40: Parsing script Example.particle
22:33:40: Parsing script smoke.particle
22:33:40: Parsing script Compositor.overlay
22:33:40: Parsing script DP3.overlay
22:33:40: Parsing script Example-CubeMapping.overlay
22:33:40: Parsing script Example-DynTex.overlay
22:33:40: Parsing script Example-Water.overlay
22:33:40: Parsing script Shadows.overlay
22:33:40: Finished parsing scripts for resource group General
22:33:40: Parsing scripts for resource group Internal
22:33:40: Finished parsing scripts for resource group Internal
HTH
0 x

User avatar
Mochino
Gnoblar
Posts: 15
Joined: Fri Feb 02, 2007 9:00 pm

Post by Mochino » Mon Feb 19, 2007 6:35 am

thanks i will use this and i will try to implement some sort of water effect in my application, maybe i will need some help, :)

mhhh.. can't seem to be able to run any of those files, i wonder why :( i'm giving it the last go with 2003 version, but i have 2005 here.
0 x

Post Reply