Exemple avec une dizaine de compositors

Généralités sur la programmation 3D
comtois
Messages : 5186
Inscription : mer. 21/janv./2004 17:48
Contact :

Re: Exemple avec une dizaine de compositors

Message par comtois »

G-Rom a écrit :ca marche très bien avec cg ! Fred à pris la bonne décision , un casse tête sinon ;)
Je n'avais pas vu cette réponse !

ça fonctionne sous linux alors ? Cool , parce que le seul retour que j'avais sous linux était négatif :?
http://www.purebasic.fr/english/viewtop ... 17&start=2
et sous mac os ? quelqu'un a testé ?
http://purebasic.developpez.com/
Je ne réponds à aucune question technique en PV, utilisez le forum, il est fait pour ça, et la réponse peut profiter à tous.
comtois
Messages : 5186
Inscription : mer. 21/janv./2004 17:48
Contact :

Re: Exemple avec une dizaine de compositors

Message par comtois »

Ar-S a écrit : Par contre, si je fais "echap", j'ai un "accès mémoire invalide - erreur de lecture à l'adresse 84" sur le END
Ensuite, si je change de compositor, je ne vois aucun changement à l’exécution.
Comme je n'ai pas ce problème avec la version 5.11 x86, je me suis dit que tu utilisais peut-être la version x64, je viens de l'installer et je n'ai pas ce problème.
Tu as testé avec quelle version ?
http://purebasic.developpez.com/
Je ne réponds à aucune question technique en PV, utilisez le forum, il est fait pour ça, et la réponse peut profiter à tous.
Avatar de l’utilisateur
Ar-S
Messages : 9540
Inscription : dim. 09/oct./2005 16:51
Contact :

Re: Exemple avec une dizaine de compositors

Message par Ar-S »

comtois a écrit :
Ar-S a écrit : Par contre, si je fais "echap", j'ai un "accès mémoire invalide - erreur de lecture à l'adresse 84" sur le END
Ensuite, si je change de compositor, je ne vois aucun changement à l’exécution.
Comme je n'ai pas ce problème avec la version 5.11 x86, je me suis dit que tu utilisais peut-être la version x64, je viens de l'installer et je n'ai pas ce problème.
Tu as testé avec quelle version ?
Non non je suis en 5.11 x86, DX9 et DX11 installés.
~~~~Règles du forum ~~~~
⋅.˳˳.⋅ॱ˙˙ॱ⋅.˳Ar-S ˳.⋅ॱ˙˙ॱ⋅.˳˳.⋅
W11x64 PB 6.x
Section HORS SUJET : ICI
LDV MULTIMEDIA : Dépannage informatique & mes Logiciels PB
UPLOAD D'IMAGES : Uploader des images de vos logiciels
G-Rom
Messages : 3641
Inscription : dim. 10/janv./2010 5:29

Re: Exemple avec une dizaine de compositors

Message par G-Rom »

comtois a écrit :
G-Rom a écrit :ca marche très bien avec cg ! Fred à pris la bonne décision , un casse tête sinon ;)
Je n'avais pas vu cette réponse !

ça fonctionne sous linux alors ? Cool , parce que le seul retour que j'avais sous linux était négatif :?
http://www.purebasic.fr/english/viewtop ... 17&start=2
et sous mac os ? quelqu'un a testé ?
j'ai pas parlé d'os ! je vais tester sur un ubuntu de suite.
G-Rom
Messages : 3641
Inscription : dim. 10/janv./2010 5:29

Re: Exemple avec une dizaine de compositors

Message par G-Rom »

voila sous linux l'erreur qui aprioris ne viens pas forcement du code ogre , fred devrais pouvoir comprendre :
** (purebasic:18262): CRITICAL **: murrine_style_draw_box_gap: assertion `height >= -1' failed

** (purebasic:18262): CRITICAL **: murrine_style_draw_box_gap: assertion `height >= -1' failed
The program 'purebasic_compilation0.out' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadDrawable (invalid Pixmap or Window parameter)'.
(Details: serial 23 error_code 9 request_code 153 minor_code 3)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the --sync command line
option to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error() function.)
The program 'purebasic_compilation0.out' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadDrawable (invalid Pixmap or Window parameter)'.
(Details: serial 23 error_code 9 request_code 153 minor_code 3)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the --sync command line
option to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error() function.)
The program 'purebasic_compilation1.out' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadDrawable (invalid Pixmap or Window parameter)'.
(Details: serial 23 error_code 9 request_code 153 minor_code 3)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the --sync command line
option to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error() function.)
G-Rom
Messages : 3641
Inscription : dim. 10/janv./2010 5:29

Re: Exemple avec une dizaine de compositors

Message par G-Rom »

Code : Tout sélectionner

InitEngine3D()
InitSprite()
InitKeyboard()
InitMouse()
  
OpenWindow(0,0,0,800,600,"")
Debug OpenWindowedScreen(WindowID(0),0,0,800,600)  ; <--- plantage ici
Avatar de l’utilisateur
venom
Messages : 3136
Inscription : jeu. 29/juil./2004 16:33
Localisation : Klyntar
Contact :

Re: Exemple avec une dizaine de compositors

Message par venom »

Moi aussi en 5.11 x86 même erreur que Ar-S
peut être du a Windows 8 ? C'est notre point commun.






@++
Windows 10 x64, PureBasic 5.73 x86 & x64
GPU : radeon HD6370M, CPU : p6200 2.13Ghz
Avatar de l’utilisateur
blendman
Messages : 2017
Inscription : sam. 19/févr./2011 12:46

Re: Exemple avec une dizaine de compositors

Message par blendman »

salut

j'ai testé et chez moi, ça ne passe pas ni openGL, ni directX.

J'ai installé : directX9, 11 (installé de base).
Ma config : win8, carte amd radeon HD 7310, 2go de ram (je crois)

le log ogre (avec intengine3d(3)) :

Code : Tout sélectionner

11:44:11: Creating resource group General
11:44:11: Creating resource group Internal
11:44:11: Creating resource group Autodetect
11:44:11: SceneManagerFactory for type 'DefaultSceneManager' registered.
11:44:11: Registering ResourceManager for type Material
11:44:11: Registering ResourceManager for type Mesh
11:44:11: Registering ResourceManager for type Skeleton
11:44:11: MovableObjectFactory for type 'ParticleSystem' registered.
11:44:11: OverlayElementFactory for type Panel registered.
11:44:11: OverlayElementFactory for type BorderPanel registered.
11:44:11: OverlayElementFactory for type TextArea registered.
11:44:11: Registering ResourceManager for type Font
11:44:11: ArchiveFactory for archive type FileSystem registered.
11:44:11: ArchiveFactory for archive type Zip registered.
11:44:11: ArchiveFactory for archive type EmbeddedZip registered.
11:44:11: DDS codec registering
11:44:11: FreeImage version: 3.10.0
11:44:11: This program uses FreeImage, a free, open source image library supporting all common bitmap formats. See http://freeimage.sourceforge.net for details
11:44:11: Supported formats: bmp,ico,jpg,jif,jpeg,jpe,koa,iff,lbm,pbm,pbm,pcd,pcx,pgm,pgm,png,ppm,ppm,ras,tga,targa,tif,tiff,wap,wbmp,wbm,psd,cut,xbm,xpm,dds,gif,g3,sgi,j2k,j2c,jp2
11:44:11: PVRTC codec registering
11:44:11: Registering ResourceManager for type HighLevelGpuProgram
11:44:11: Registering ResourceManager for type Compositor
11:44:11: MovableObjectFactory for type 'Entity' registered.
11:44:11: MovableObjectFactory for type 'Light' registered.
11:44:11: MovableObjectFactory for type 'BillboardSet' registered.
11:44:11: MovableObjectFactory for type 'ManualObject' registered.
11:44:11: MovableObjectFactory for type 'BillboardChain' registered.
11:44:11: MovableObjectFactory for type 'RibbonTrail' registered.
11:44:11: *-*-* OGRE Initialising
11:44:11: *-*-* Version 1.8.2 (Byatis)
11:44:11: D3D9 : Direct3D9 Rendering Subsystem created.
11:44:11: D3D9: Driver Detection Starts
11:44:11: D3D9: Driver Detection Ends
11:44:11: OpenGL Rendering Subsystem created.
11:44:17: Particle Emitter Type 'Point' registered
11:44:17: Particle Emitter Type 'Box' registered
11:44:17: Particle Emitter Type 'Ellipsoid' registered
11:44:17: Particle Emitter Type 'Cylinder' registered
11:44:17: Particle Emitter Type 'Ring' registered
11:44:17: Particle Emitter Type 'HollowEllipsoid' registered
11:44:17: Particle Affector Type 'LinearForce' registered
11:44:17: Particle Affector Type 'ColourFader' registered
11:44:17: Particle Affector Type 'ColourFader2' registered
11:44:17: Particle Affector Type 'ColourImage' registered
11:44:17: Particle Affector Type 'ColourInterpolator' registered
11:44:17: Particle Affector Type 'Scaler' registered
11:44:17: Particle Affector Type 'Rotator' registered
11:44:17: Particle Affector Type 'DirectionRandomiser' registered
11:44:17: Particle Affector Type 'DeflectorPlane' registered
11:44:17: PCZone Factory Type 'ZoneType_Default' registered
11:44:17: CPU Identifier & Features
11:44:17: -------------------------
11:44:17:  *   CPU ID: AuthenticAMD: AMD E1-1200 APU with Radeon(tm) HD Graphics
11:44:17:  *      SSE: yes
11:44:17:  *     SSE2: yes
11:44:17:  *     SSE3: yes
11:44:17:  *      MMX: yes
11:44:17:  *   MMXEXT: yes
11:44:17:  *    3DNOW: no
11:44:17:  * 3DNOWEXT: no
11:44:17:  *     CMOV: yes
11:44:17:  *      TSC: yes
11:44:17:  *      FPU: yes
11:44:17:  *      PRO: yes
11:44:17:  *       HT: no
11:44:17: -------------------------
11:44:17: *** Starting Win32GL Subsystem ***
11:44:17: Registering ResourceManager for type Texture
11:44:17: SceneManagerFactory for type 'OctreeSceneManager' registered.
11:44:17: SceneManagerFactory for type 'BspSceneManager' registered.
11:44:17: Registering ResourceManager for type BspLevel
11:44:23: GLRenderSystem::_createRenderWindow "PureBasic Ogre", 1024x768 windowed  miscParams: FSAA=0 displayFrequency=0 externalWindowHandle=461686 vsync=true 
11:44:23: GL_VERSION = 4.2.11774 Compatibility Profile Context
11:44:23: GL_VENDOR = ATI Technologies Inc.
11:44:23: GL_RENDERER = AMD Radeon HD 7310 Graphics
11:44:23: GL_EXTENSIONS = GL_AMDX_debug_output GL_AMDX_vertex_shader_tessellator GL_AMD_conservative_depth GL_AMD_debug_output GL_AMD_depth_clamp_separate GL_AMD_draw_buffers_blend GL_AMD_multi_draw_indirect GL_AMD_name_gen_delete GL_AMD_performance_monitor GL_AMD_pinned_memory GL_AMD_query_buffer_object GL_AMD_sample_positions GL_AMD_seamless_cubemap_per_texture GL_AMD_shader_stencil_export GL_AMD_shader_trace GL_AMD_texture_cube_map_array GL_AMD_texture_texture4 GL_AMD_transform_feedback3_lines_triangles GL_AMD_vertex_shader_layer GL_AMD_vertex_shader_tessellator GL_AMD_vertex_shader_viewport_index GL_ARB_ES2_compatibility GL_ARB_base_instance GL_ARB_blend_func_extended GL_ARB_color_buffer_float GL_ARB_compressed_texture_pixel_storage GL_ARB_conservative_depth GL_ARB_copy_buffer GL_ARB_depth_buffer_float GL_ARB_depth_clamp GL_ARB_depth_texture GL_ARB_draw_buffers GL_ARB_draw_buffers_blend GL_ARB_draw_elements_base_vertex GL_ARB_draw_indirect GL_ARB_draw_instanced GL_ARB_explicit_attrib_location GL_ARB_fragment_coord_conventions GL_ARB_fragment_program GL_ARB_fragment_program_shadow GL_ARB_fragment_shader GL_ARB_framebuffer_object GL_ARB_framebuffer_sRGB GL_ARB_geometry_shader4 GL_ARB_get_program_binary GL_ARB_gpu_shader5 GL_ARB_gpu_shader_fp64 GL_ARB_half_float_pixel GL_ARB_half_float_vertex GL_ARB_imaging GL_ARB_instanced_arrays GL_ARB_internalformat_query GL_ARB_map_buffer_alignment GL_ARB_map_buffer_range GL_ARB_multisample GL_ARB_multitexture GL_ARB_occlusion_query GL_ARB_occlusion_query2 GL_ARB_pixel_buffer_object GL_ARB_point_parameters GL_ARB_point_sprite GL_ARB_provoking_vertex GL_ARB_sample_shading GL_ARB_sampler_objects GL_ARB_seamless_cube_map GL_ARB_separate_shader_objects GL_ARB_shader_atomic_counters GL_ARB_shader_bit_encoding GL_ARB_shader_image_load_store GL_ARB_shader_objects GL_ARB_shader_precision GL_ARB_shader_stencil_export GL_ARB_shader_subroutine GL_ARB_shader_texture_lod GL_ARB_shading_language_100 GL_ARB_shading_language_420pack GL_ARB_shading_language_packing GL_ARB_shadow GL_ARB_shadow_ambient GL_ARB_sync GL_ARB_tessellation_shader GL_ARB_texture_border_clamp GL_ARB_texture_buffer_object GL_ARB_texture_buffer_object_rgb32 GL_ARB_texture_compression GL_ARB_texture_compression_bptc GL_ARB_texture_compression_rgtc GL_ARB_texture_cube_map GL_ARB_texture_cube_map_array GL_ARB_texture_env_add GL_ARB_texture_env_combine GL_ARB_texture_env_crossbar GL_ARB_texture_env_dot3 GL_ARB_texture_float GL_ARB_texture_gather GL_ARB_texture_mirrored_repeat GL_ARB_texture_multisample GL_ARB_texture_non_power_of_two GL_ARB_texture_query_lod GL_ARB_texture_rectangle GL_ARB_texture_rg GL_ARB_texture_rgb10_a2ui GL_ARB_texture_snorm GL_ARB_texture_storage GL_ARB_timer_query GL_ARB_transform_feedback2 GL_ARB_transform_feedback3 GL_ARB_transform_feedback_instanced GL_ARB_transpose_matrix GL_ARB_uniform_buffer_object GL_ARB_vertex_array_bgra GL_ARB_vertex_array_object GL_ARB_vertex_attrib_64bit GL_ARB_vertex_buffer_object GL_ARB_vertex_program GL_ARB_vertex_shader GL_ARB_vertex_type_2_10_10_10_rev GL_ARB_viewport_array GL_ARB_window_pos GL_ATI_draw_buffers GL_ATI_envmap_bumpmap GL_ATI_fragment_shader GL_ATI_meminfo GL_ATI_separate_stencil GL_ATI_texture_compression_3dc GL_ATI_texture_env_combine3 GL_ATI_texture_float GL_ATI_texture_mirror_once GL_EXT_abgr GL_EXT_bgra GL_EXT_bindable_uniform GL_EXT_blend_color GL_EXT_blend_equation_separate GL_EXT_blend_func_separate GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_compiled_vertex_array GL_EXT_copy_buffer GL_EXT_copy_texture GL_EXT_direct_state_access GL_EXT_draw_buffers2 GL_EXT_draw_instanced GL_EXT_draw_range_elements GL_EXT_fog_coord GL_EXT_framebuffer_blit GL_EXT_framebuffer_multisample GL_EXT_framebuffer_object GL_EXT_framebuffer_sRGB GL_EXT_geometry_shader4 GL_EXT_gpu_program_parameters GL_EXT_gpu_shader4 GL_EXT_histogram GL_EXT_multi_draw_arrays GL_EXT_packed_depth_stencil GL_EXT_packed_float GL_EXT_packed_pixels GL_EXT_pixel_buffer_object GL_EXT_point_parameters GL_EXT_provoking_vertex GL_EXT_rescale_normal GL_EXT_secondary_color GL_EXT_separate_specular_color GL_EXT_shader_image_load_store GL_EXT_shadow_funcs GL_EXT_stencil_wrap GL_EXT_subtexture GL_EXT_texgen_reflection GL_EXT_texture3D GL_EXT_texture_array GL_EXT_texture_buffer_object GL_EXT_texture_compression_bptc GL_EXT_texture_compression_latc GL_EXT_texture_compression_rgtc GL_EXT_texture_compression_s3tc GL_EXT_texture_cube_map GL_EXT_texture_edge_clamp GL_EXT_texture_env_add GL_EXT_texture_env_combine GL_EXT_texture_env_dot3 GL_EXT_texture_filter_anisotropic GL_EXT_texture_integer GL_EXT_texture_lod GL_EXT_texture_lod_bias GL_EXT_texture_mirror_clamp GL_EXT_texture_object GL_EXT_texture_rectangle GL_EXT_texture_sRGB GL_EXT_texture_sRGB_decode GL_EXT_texture_shared_exponent GL_EXT_texture_snorm GL_EXT_texture_storage GL_EXT_texture_swizzle GL_EXT_timer_query GL_EXT_transform_feedback GL_EXT_vertex_array GL_EXT_vertex_array_bgra GL_EXT_vertex_attrib_64bit GL_IBM_texture_mirrored_repeat GL_KTX_buffer_region GL_NV_blend_square GL_NV_conditional_render GL_NV_copy_depth_to_color GL_NV_copy_image GL_NV_explicit_multisample GL_NV_float_buffer GL_NV_half_float GL_NV_primitive_restart GL_NV_texgen_reflection GL_NV_texture_barrier GL_SGIS_generate_mipmap GL_SGIS_texture_edge_clamp GL_SGIS_texture_lod GL_SUN_multi_draw_arrays GL_WIN_swap_hint WGL_EXT_swap_control
11:44:23: Supported WGL extensions: WGL_ARB_extensions_string WGL_ARB_pixel_format WGL_ATI_pixel_format_float WGL_ARB_pixel_format_float WGL_ARB_multisample WGL_EXT_swap_control WGL_EXT_swap_control_tear WGL_ARB_pbuffer WGL_ARB_render_texture WGL_ARB_make_current_read WGL_EXT_extensions_string WGL_ARB_buffer_region WGL_EXT_framebuffer_sRGB WGL_ATI_render_texture_rectangle WGL_EXT_pixel_format_packed_float WGL_I3D_genlock WGL_NV_swap_group WGL_ARB_create_context WGL_AMD_gpu_association WGL_AMDX_gpu_association WGL_ARB_create_context_profile WGL_NV_float_buffer
11:44:23: ***************************
11:44:23: *** GL Renderer Started ***
11:44:23: ***************************
11:44:23: Registering ResourceManager for type GpuProgram
11:44:23: GLSL support detected
11:44:23: GL: Using GL_EXT_framebuffer_object for rendering to textures (best)
11:44:23: FBO PF_UNKNOWN depth/stencil support: D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8 
11:44:23: FBO PF_L8 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8 
11:44:23: FBO PF_L16 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8 
11:44:23: FBO PF_A8 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8 
11:44:23: FBO PF_A4L4 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8 
11:44:23: FBO PF_BYTE_LA depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8 
11:44:23: FBO PF_R5G6B5 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8 
11:44:23: FBO PF_B5G6R5 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8 
11:44:23: FBO PF_A4R4G4B4 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8 
11:44:23: FBO PF_A1R5G5B5 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8 
11:44:23: FBO PF_R8G8B8 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8 
11:44:23: FBO PF_B8G8R8 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8 
11:44:23: FBO PF_A8R8G8B8 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8 
11:44:24: FBO PF_B8G8R8A8 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8 
11:44:24: FBO PF_A2R10G10B10 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8 
11:44:24: FBO PF_A2B10G10R10 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8 
11:44:24: FBO PF_FLOAT16_RGB depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8 
11:44:24: FBO PF_FLOAT16_RGBA depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8 
11:44:24: FBO PF_FLOAT32_RGB depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8 
11:44:24: FBO PF_FLOAT32_RGBA depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8 
11:44:24: FBO PF_X8R8G8B8 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8 
11:44:24: FBO PF_X8B8G8R8 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8 
11:44:24: FBO PF_SHORT_RGBA depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8 
11:44:24: FBO PF_R3G3B2 depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8 
11:44:24: FBO PF_FLOAT16_R depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8 
11:44:24: FBO PF_FLOAT32_R depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8 
11:44:24: FBO PF_SHORT_GR depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8 
11:44:24: FBO PF_FLOAT16_GR depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8 
11:44:24: FBO PF_FLOAT32_GR depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8 
11:44:24: FBO PF_SHORT_RGB depth/stencil support: D0S0 D0S1 D0S4 D0S8 D0S16 D16S0 D24S0 D32S0 Packed-D24S8 
11:44:24: [GL] : Valid FBO targets PF_UNKNOWN PF_L8 PF_L16 PF_A8 PF_A4L4 PF_BYTE_LA 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 PF_FLOAT16_R PF_FLOAT32_R PF_SHORT_GR PF_FLOAT16_GR PF_FLOAT32_GR PF_SHORT_RGB 
11:44:24: RenderSystem capabilities
11:44:24: -------------------------
11:44:24: RenderSystem Name: OpenGL Rendering Subsystem
11:44:24: GPU Vendor: ati
11:44:24: Device Name: AMD Radeon HD 7310 Graphics
11:44:24: Driver Version: 4.2.11774.0
11:44:24:  * Fixed function pipeline: yes
11:44:24:  * Hardware generation of mipmaps: yes
11:44:24:  * Texture blending: yes
11:44:24:  * Anisotropic texture filtering: yes
11:44:24:  * Dot product texture operation: yes
11:44:24:  * Cube mapping: yes
11:44:24:  * Hardware stencil buffer: yes
11:44:24:    - Stencil depth: 8
11:44:24:    - Two sided stencil support: yes
11:44:24:    - Wrap stencil values: yes
11:44:24:  * Hardware vertex / index buffers: yes
11:44:24:  * Vertex programs: yes
11:44:24:  * Number of floating-point constants for vertex programs: 256
11:44:24:  * Number of integer constants for vertex programs: 0
11:44:24:  * Number of boolean constants for vertex programs: 0
11:44:24:  * Fragment programs: yes
11:44:24:  * Number of floating-point constants for fragment programs: 256
11:44:24:  * Number of integer constants for fragment programs: 0
11:44:24:  * Number of boolean constants for fragment programs: 0
11:44:24:  * Geometry programs: yes
11:44:24:  * Number of floating-point constants for geometry programs: 16384
11:44:24:  * Number of integer constants for geometry programs: 0
11:44:24:  * Number of boolean constants for geometry programs: 0
11:44:24:  * Supported Shader Profiles: arbfp1 arbvp1 glsl gp4gp gpu_gp nvgp4 ps_1_1 ps_1_2 ps_1_3 ps_1_4
11:44:24:  * Texture Compression: yes
11:44:24:    - DXT: yes
11:44:24:    - VTC: no
11:44:24:    - PVRTC: no
11:44:24:  * Scissor Rectangle: yes
11:44:24:  * Hardware Occlusion Query: yes
11:44:24:  * User clip planes: yes
11:44:24:  * VET_UBYTE4 vertex element type: yes
11:44:24:  * Infinite far plane projection: yes
11:44:24:  * Hardware render-to-texture: yes
11:44:24:  * Floating point textures: yes
11:44:24:  * Non-power-of-two textures: yes
11:44:24:  * Volume textures: yes
11:44:24:  * Multiple Render Targets: 8
11:44:24:    - With different bit depths: yes
11:44:24:  * Point Sprites: yes
11:44:24:  * Extended point parameters: yes
11:44:24:  * Max Point Size: 8192
11:44:24:  * Vertex texture fetch: yes
11:44:24:  * Number of world matrices: 0
11:44:24:  * Number of texture units: 16
11:44:24:  * Stencil buffer depth: 8
11:44:24:  * Number of vertex blend matrices: 0
11:44:24:    - Max vertex textures: 16
11:44:24:    - Vertex textures shared: yes
11:44:24:  * Render to Vertex Buffer : no
11:44:24:  * GL 1.5 without VBO workaround: no
11:44:24:  * Frame Buffer objects: yes
11:44:24:  * Frame Buffer objects (ARB extension): no
11:44:24:  * Frame Buffer objects (ATI extension): no
11:44:24:  * PBuffer support: yes
11:44:24:  * GL 1.5 without HW-occlusion workaround: no
11:44:24:  * Separate shader objects: no
11:44:24: DefaultWorkQueue('Root') initialising on thread main.
11:44:24: Particle Renderer Type 'billboard' registered
11:44:24: Added resource location './textures' of type 'FileSystem' to resource group 'General'
11:44:24: Added resource location './programs' of type 'FileSystem' to resource group 'General'
11:44:24: Added resource location './models' of type 'FileSystem' to resource group 'General'
11:44:24: Added resource location './packs/skybox.zip' of type 'Zip' to resource group 'General'
11:44:24: Added resource location './scripts' of type 'FileSystem' to resource group 'General'
11:44:24: Parsing scripts for resource group Autodetect
11:44:24: Finished parsing scripts for resource group Autodetect
11:44:24: Creating resources for group Autodetect
11:44:24: All done
11:44:24: Parsing scripts for resource group General
11:44:24: Parsing script Examples.program
11:44:24: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource AmbientOneTexture.glsl in resource group General or any other group. in ResourceGroupManager::openResource at OgreResourceGroupManager.cpp (line 756)
11:44:24: High-level program Ogre/BasicVertexPrograms/AmbientOneTextureGLSL encountered an error during loading and is thus not supported.
OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource AmbientOneTexture.glsl in resource group General or any other group. in ResourceGroupManager::openResource at OgreResourceGroupManager.cpp (line 756)
11:44:24: OGRE EXCEPTION(2:InvalidParametersException): Named constants have not been initialised, perhaps a compile error. in GpuProgramParameters::_findNamedConstantDefinition at OgreGpuProgramParams.cpp (line 1441)
11:44:24: Compiler error: invalid parameters in Examples.program(56): setting of constant failed
11:44:24: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource skinningTwoWeightsVp.glsl in resource group General or any other group. in ResourceGroupManager::openResource at OgreResourceGroupManager.cpp (line 756)
11:44:24: High-level program Ogre/HardwareSkinningTwoWeightsGLSL encountered an error during loading and is thus not supported.
OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource skinningTwoWeightsVp.glsl in resource group General or any other group. in ResourceGroupManager::openResource at OgreResourceGroupManager.cpp (line 756)
11:44:24: OGRE EXCEPTION(2:InvalidParametersException): Named constants have not been initialised, perhaps a compile error. in GpuProgramParameters::_findNamedConstantDefinition at OgreGpuProgramParams.cpp (line 1441)
11:44:24: Compiler error: invalid parameters in Examples.program(248): setting of constant failed
11:44:24: OGRE EXCEPTION(2:InvalidParametersException): Named constants have not been initialised, perhaps a compile error. in GpuProgramParameters::_findNamedConstantDefinition at OgreGpuProgramParams.cpp (line 1441)
11:44:24: Compiler error: invalid parameters in Examples.program(249): setting of constant failed
11:44:24: OGRE EXCEPTION(2:InvalidParametersException): Named constants have not been initialised, perhaps a compile error. in GpuProgramParameters::_findNamedConstantDefinition at OgreGpuProgramParams.cpp (line 1441)
11:44:24: Compiler error: invalid parameters in Examples.program(250): setting of constant failed
11:44:24: OGRE EXCEPTION(2:InvalidParametersException): Named constants have not been initialised, perhaps a compile error. in GpuProgramParameters::_findNamedConstantDefinition at OgreGpuProgramParams.cpp (line 1441)
11:44:24: Compiler error: invalid parameters in Examples.program(251): setting of constant failed
11:44:24: OGRE EXCEPTION(2:InvalidParametersException): Named constants have not been initialised, perhaps a compile error. in GpuProgramParameters::_findNamedConstantDefinition at OgreGpuProgramParams.cpp (line 1441)
11:44:24: Compiler error: invalid parameters in Examples.program(252): setting of constant failed
11:44:24: OGRE EXCEPTION(2:InvalidParametersException): Named constants have not been initialised, perhaps a compile error. in GpuProgramParameters::_findNamedConstantDefinition at OgreGpuProgramParams.cpp (line 1441)
11:44:24: Compiler error: invalid parameters in Examples.program(253): setting of constant failed
11:44:24: OGRE EXCEPTION(2:InvalidParametersException): Named constants have not been initialised, perhaps a compile error. in GpuProgramParameters::_findNamedConstantDefinition at OgreGpuProgramParams.cpp (line 1441)
11:44:24: Compiler error: invalid parameters in Examples.program(254): setting of constant failed
11:44:24: OGRE EXCEPTION(2:InvalidParametersException): Named constants have not been initialised, perhaps a compile error. in GpuProgramParameters::_findNamedConstantDefinition at OgreGpuProgramParams.cpp (line 1441)
11:44:24: Compiler error: invalid parameters in Examples.program(256): setting of constant failed
11:44:24: Parsing script StdQuad_vp.program
11:44:24: Parsing script ASCII.material
11:44:24: Parsing script BlackAndWhite.material
11:44:24: Parsing script Embossed.material
11:44:24: Parsing script Examples.material
11:44:24: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource skinningTwoWeightsShadowCasterVp.glsl in resource group General or any other group. in ResourceGroupManager::openResource at OgreResourceGroupManager.cpp (line 756)
11:44:24: High-level program Ogre/HardwareSkinningTwoWeightsShadowCasterGLSL encountered an error during loading and is thus not supported.
OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource skinningTwoWeightsShadowCasterVp.glsl in resource group General or any other group. in ResourceGroupManager::openResource at OgreResourceGroupManager.cpp (line 756)
11:44:24: OGRE EXCEPTION(2:InvalidParametersException): Named constants have not been initialised, perhaps a compile error. in GpuProgramParameters::_findNamedConstantDefinition at OgreGpuProgramParams.cpp (line 1441)
11:44:24: Compiler error: invalid parameters in Examples.material(1832): setting of constant failed
11:44:24: OGRE EXCEPTION(2:InvalidParametersException): Named constants have not been initialised, perhaps a compile error. in GpuProgramParameters::_findNamedConstantDefinition at OgreGpuProgramParams.cpp (line 1441)
11:44:24: Compiler error: invalid parameters in Examples.material(1833): setting of constant failed
11:44:24: OGRE EXCEPTION(2:InvalidParametersException): Named constants have not been initialised, perhaps a compile error. in GpuProgramParameters::_findNamedConstantDefinition at OgreGpuProgramParams.cpp (line 1441)
11:44:24: Compiler error: invalid parameters in Examples.material(1834): setting of constant failed
11:44:24: Parsing script Glass.material
11:44:24: Parsing script NightVision.material
11:44:24: Parsing script OldMovie.material
11:44:24: Parsing script OldTV.material
11:44:24: Parsing script Posterize.material
11:44:24: Parsing script SharpenEdges.material
11:44:24: Parsing script Tiling.material
11:44:24: Parsing script Examples.compositor
11:44:24: Finished parsing scripts for resource group General
11:44:24: Creating resources for group General
11:44:24: All done
11:44:24: Parsing scripts for resource group Internal
11:44:24: Finished parsing scripts for resource group Internal
11:44:24: Creating resources for group Internal
11:44:24: All done
11:44:24: Texture: grass1.png: Loading 1 faces(PF_A8R8G8B8,512x512x1) with 9 hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,512x512x1.
11:44:24: Texture: Dirt.jpg: Loading 1 faces(PF_R8G8B8,256x256x1) with 8 hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,256x256x1.
11:44:24: Mesh: Loading tudorhouse.mesh.
11:44:24: WARNING: tudorhouse.mesh is an older format ([MeshSerializer_v1.41]); you should upgrade it as soon as possible using the OgreMeshUpgrade tool.
11:44:24: Texture: fw12b.jpg: Loading 1 faces(PF_R8G8B8,1024x1024x1) with 10 hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,1024x1024x1.
11:44:24: Mesh: Loading robot.mesh.
11:44:24: Skeleton: Loading robot.skeleton
11:44:24: WARNING: robot.mesh is an older format ([MeshSerializer_v1.41]); you should upgrade it as soon as possible using the OgreMeshUpgrade tool.
11:44:24: Texture: r2skin.jpg: Loading 1 faces(PF_R8G8B8,512x512x1) with 9 hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,512x512x1.
11:44:24: Texture: stevecube_fr.jpg: Loading 1 faces(PF_R8G8B8,512x512x1) with 9 hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,512x512x1.
11:44:24: Texture: stevecube_bk.jpg: Loading 1 faces(PF_R8G8B8,512x512x1) with 9 hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,512x512x1.
11:44:24: Texture: stevecube_lf.jpg: Loading 1 faces(PF_R8G8B8,512x512x1) with 9 hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,512x512x1.
11:44:24: Texture: stevecube_rt.jpg: Loading 1 faces(PF_R8G8B8,512x512x1) with 9 hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,512x512x1.
11:44:24: Texture: stevecube_up.jpg: Loading 1 faces(PF_R8G8B8,512x512x1) with 9 hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,512x512x1.
11:44:24: Texture: stevecube_dn.jpg: Loading 1 faces(PF_R8G8B8,512x512x1) with 9 hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,512x512x1.
Autre chose, sur cet ordinateur (un nouveau pas cher, mon autre a planté ^^), aucun fichier 3D ne passe en directX, par contre avec openGL comme subsystème, pas de soucis.
j'ai toujours un erreur "accès mémoire invalide" sur la ligne :

Code : Tout sélectionner

RenderWorld()
G-Rom
Messages : 3641
Inscription : dim. 10/janv./2010 5:29

Re: Exemple avec une dizaine de compositors

Message par G-Rom »

Cannot locate resource AmbientOneTexture.glsl
Cannot locate resource skinningTwoWeightsVp.glsl
skinningTwoWeightsShadowCasterVp.glsl
Salut blendman , problème de localisation des ressources.
comtois
Messages : 5186
Inscription : mer. 21/janv./2004 17:48
Contact :

Re: Exemple avec une dizaine de compositors

Message par comtois »

blendman a écrit :salut

j'ai testé et chez moi, ça ne passe pas ni openGL, ni directX.

J'ai installé : directX9, 11 (installé de base).
Ma config : win8, carte amd radeon HD 7310, 2go de ram (je crois)
Pour l'exemple compositor , il faut aussi installer ça

https://developer.nvidia.com/cg-toolkit-download
http://purebasic.developpez.com/
Je ne réponds à aucune question technique en PV, utilisez le forum, il est fait pour ça, et la réponse peut profiter à tous.
Avatar de l’utilisateur
blendman
Messages : 2017
Inscription : sam. 19/févr./2011 12:46

Re: Exemple avec une dizaine de compositors

Message par blendman »

G-rom : merci, j'ai effectivement changer les options pour que l'exe soit créé à la source, mais j'ai maintenant une erreur (ima) sur la ligne

Code : Tout sélectionner

CreateCompositorEffect(0, CameraID(0), "Embossed")  
ça ne amrche ni en openGl, ni en Dx

Comtois : yep, j'ai installé ça aussi , j'avais oublié de le préciser.
comtois
Messages : 5186
Inscription : mer. 21/janv./2004 17:48
Contact :

Re: Exemple avec une dizaine de compositors

Message par comtois »

Avec quelle version de PB ? et à tout hasard, tu as testé tous les compositors disponibles pour voir si tu as le même problème à chaque fois ?

Est-ce que les exemples terrains fonctionnent en opengl chez toi ? ça permettrait déjà de s'assurer que la CG fonctionne bien chez toi.
http://purebasic.developpez.com/
Je ne réponds à aucune question technique en PV, utilisez le forum, il est fait pour ça, et la réponse peut profiter à tous.
Avatar de l’utilisateur
blendman
Messages : 2017
Inscription : sam. 19/févr./2011 12:46

Re: Exemple avec une dizaine de compositors

Message par blendman »

comtois a écrit :Avec quelle version de PB ? et à tout hasard, tu as testé tous les compositors disponibles pour voir si tu as le même problème à chaque fois ?
J'ai testé avec la 5.1 et la 5.11.

J'ai testé tous les compositors (avec purebasic en 32), et aucun ne passe, j'ai toujours la même erreur.

Est-ce que les exemples terrains fonctionnent en opengl chez toi ? ça permettrait déjà de s'assurer que la CG fonctionne bien chez toi.
Oui, terrainblend marche nickel en openGL (donc, avec CG qui fonctionne car dans le code c'est précisé que ça doit être actif).

D'accord, aucun fichier 3D ne marche en directX, mais ils fonctionnent en openGL (sauf le compositor).
comtois
Messages : 5186
Inscription : mer. 21/janv./2004 17:48
Contact :

Re: Exemple avec une dizaine de compositors

Message par comtois »

tu as testé avec ce code ?
http://www.purebasic.fr/french/viewtopi ... 71&start=2

Parce que celui de l'archive n'est pas compatible avec la version 5.11

Si oui ,alors je ne sais pas d'où vient le problème.

Et pour directx, aucune idée, à part installer directx9, mais tu dis l'avoir fait, alors je ne sais pas.
http://purebasic.developpez.com/
Je ne réponds à aucune question technique en PV, utilisez le forum, il est fait pour ça, et la réponse peut profiter à tous.
Avatar de l’utilisateur
blendman
Messages : 2017
Inscription : sam. 19/févr./2011 12:46

Re: Exemple avec une dizaine de compositors

Message par blendman »

comtois a écrit :tu as testé avec ce code ?
http://www.purebasic.fr/french/viewtopi ... 71&start=2

Parce que celui de l'archive n'est pas compatible avec la version 5.11
Je n'avais pas testé ce code et ça marche nickel (en openGL) avec !
Merci, c'est classe :D.

Y'a pas d'exemple genre blur ou bloom ? ^^
Et pour directx, aucune idée, à part installer directx9, mais tu dis l'avoir fait, alors je ne sais pas.
yep, je l'ai installé. Je suis sous windows8 (qui est une jolie bouze d'ailleurs), donc, je ne sais pas non plus d'où vient le problème.
Avec les sprites3D (et mon jeu) pas de soucis, mais en 3D, là aucun code ne passe.
Je vais essayer de réinstaller directX9 pour voir.

Encore merci ;).
Répondre