From: Bruce S. <Bru...@nc...> - 2009-03-17 19:20:04
|
As stated in the Visual 5 documentation (see What's new in Visual 5, or the "Materials & Textures" section of the documentation installed with Visual 5): Materials will work with graphics cards that support Pixel Shader 3.0 ("PS 3.0"). For details, see http://en.wikipedia.org/wiki/Pixel_shader#Hardware. Some materials may work with graphics cards that support PS 2.0, but other materials may need to be manually disabled; see instructions in the site-settings.py module in the Visual package in your site-packages folder. If the graphics hardware does not support pixel shaders, the material property is ignored. If you think you should be able to use materials but have trouble with their display or performance, we highly recommend upgrading your video card drivers to the latest version. I don't see Intel 965/963 listed in that article as supporting Pixel Shader 3.0. And in your listing from glinfo, there are no entries that mention "shader". I just ran glinfo on an NVIDIA GeForce 7600 and I see the following relevant entries: GL_ARB_fragment_shader GL_ARB_shader_objects GL_ARB_shading_language_100 GL_ARB_vertex_shader GL_EXT_Cg_shader GL_NV_texture_shader GL_NV_texture_shader2 GL_NV_texture_shader3 Bruce Sherwood Aaron Miller wrote: >> Date: Tue, 24 Feb 2009 18:13:19 -0500 >> From: German Andres Gaviria Martinez <ger...@gm...> > ...snip... >> Hello I have installed vpython 5 without problems, but when I run >> material_test.py only appear white spheres . > > I have the same problem on a recent laptop. The result from glinfo.py > is below. What should I be looking for? > > Thanks, > Aaron Miller > ajm...@al... > > result of running glinfo.py: > ---------------- > > This test of OpenGL options is useful mainly on Windows. > > c:\python25\lib\site-packages\visual\__init__.py Tue Jan 20 11:06:46 2009 > c:\python25\lib\site-packages\visual\graph.py Fri Nov 14 19:59:00 2008 > c:\windows\system32\opengl32.dll Thu Nov 02 05:46:12 2006 > OpenGL renderer active. > Vendor: Intel > Version: 1.5.0 - Build 7.14.10.1437 > Renderer: Intel 965/963 Graphics Media Accelerator > Extensions: GL_3DFX_texture_compression_FXT1 > GL_ARB_depth_texture > GL_ARB_fragment_program > GL_ARB_multitexture > GL_ARB_occlusion_query > GL_ARB_point_parameters > GL_ARB_shadow > 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_rectangle > GL_ARB_transpose_matrix > GL_ARB_vertex_buffer_object > GL_ARB_vertex_program > GL_ARB_window_pos > 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_compiled_vertex_array > GL_EXT_draw_range_elements > GL_EXT_fog_coord > GL_EXT_multi_draw_arrays > GL_EXT_packed_pixels > GL_EXT_rescale_normal > GL_EXT_secondary_color > GL_EXT_separate_specular_color > GL_EXT_shadow_funcs > GL_EXT_stencil_two_side > GL_EXT_stencil_wrap > GL_EXT_texture3D > GL_EXT_texture_compression_s3tc > GL_EXT_texture_env_add > GL_EXT_texture_env_combine > GL_EXT_texture_filter_anisotropic > GL_EXT_texture_lod_bias > GL_EXT_texture_rectangle > GL_IBM_texture_mirrored_repeat > GL_NV_blend_square > GL_NV_texgen_reflection > GL_SGIS_generate_mipmap > GL_SGIS_texture_edge_clamp > GL_SGIS_texture_lod > GL_WIN_swap_hint > > ------------------------------------------------------------------------------ > Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are > powering Web 2.0 with engaging, cross-platform capabilities. Quickly and > easily build your RIAs with Flex Builder, the Eclipse(TM)based development > software that enables intelligent coding and step-through debugging. > Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com > _______________________________________________ > Visualpython-users mailing list > Vis...@li... > https://lists.sourceforge.net/lists/listinfo/visualpython-users |