project-navigation
Personal tools

Author Topic: 2.2 Bug: 3D geoscape absent of texture  (Read 9651 times)

cwars

  • Guest
2.2 Bug: 3D geoscape absent of texture
« on: January 15, 2008, 10:33:28 pm »
Bug

Version: 2.2
OS: Ubuntu Gutsy AMD64
Download Files: ufoai-2.2-data.tar.gz, ufoai-2.2-source.tar.bz2
Video Card: GeForce nVidea 5200 128mb
CPU: Semprom 64 3000+
RAM: 512 mb
WM (Window Managed): KDE4 or metacity (none desktop effects enable)
Game Difficult: Standard Campaign
Date of compiler Tuesday, January, 15, 2008

I compiler the game

Problem

The geoscape absent of texture, totally black.
I see only base, spaceship, names (strings) and lines, but draw countrys I not see.

I believe that the image below can say everything:



Log of the game:


----- network initialization -------
libcurl/7.16.4 OpenSSL/0.9.8e zlib/1.2.3.3 libidn/1.0 initialized.

------ server initialization -------

----- console initialization -------
Console initialized.

------- video initialization -------
SDL version: 1.2.11
I: desktop depth: 32bpp
I: setting mode 4: 800x600 (fullscreen: no)
I: got 8 bits of stencil
I: got 24 bits of depth buffer
I: got double buffer
I: got 8 bits for red
I: got 8 bits for green
I: got 8 bits for blue
GL_VENDOR: NVIDIA Corporation
GL_RENDERER: GeForce FX 5200/AGP/SSE2
GL_VERSION: 2.1.1 NVIDIA 100.14.19
GL_EXTENSIONS: GL_ARB_depth_texture GL_ARB_fragment_program GL_ARB_fragment_program_shadow GL_ARB_fragment_shader GL_ARB_half_float_pixel GL_ARB_imaging GL_ARB_multisample GL_ARB_multitexture GL_ARB_occlusion_query GL_ARB_pixel_buffer_object GL_ARB_point_parameters GL_ARB_point_sprite GL_ARB_shadow GL_ARB_shader_objects GL_ARB_shading_language_100 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_dot3 GL_ARB_texture_mirrored_repeat GL_ARB_texture_rectangle GL_ARB_transpose_matrix GL_ARB_vertex_buffer_object GL_ARB_vertex_program GL_ARB_vertex_shader GL_ARB_window_pos GL_S3_s3tc GL_EXT_texture_env_add 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_compiled_vertex_array GL_EXT_Cg_shader GL_EXT_draw_range_elements GL_EXT_fog_coord GL_EXT_framebuffer_blit GL_EXT_framebuffer_multisample GL_EXT_framebuffer_object GL_EXT_gpu_program_parameters GL_EXT_multi_draw_arrays GL_EXT_packed_depth_stencil GL_EXT_packed_pixels GL_EXT_paletted_texture GL_EXT_pixel_buffer_object GL_EXT_point_parameters GL_EXT_rescale_normal GL_EXT_secondary_color GL_EXT_separate_specular_color GL_EXT_shadow_funcs GL_EXT_shared_texture_palette GL_EXT_stencil_two_side GL_EXT_stencil_wrap 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 GL_EXT_texture_lod_bias GL_EXT_texture_object GL_EXT_texture_sRGB GL_EXT_timer_query GL_EXT_vertex_array GL_IBM_rasterpos_clip GL_IBM_texture_mirrored_repeat GL_KTX_buffer_region GL_NV_blend_square GL_NV_copy_depth_to_color GL_NV_depth_clamp GL_NV_fence GL_NV_float_buffer GL_NV_fog_distance GL_NV_fragment_program GL_NV_fragment_program_option GL_NV_framebuffer_multisample_coverage GL_NV_half_float GL_NV_light_max_exponent GL_NV_multisample_filter_hint GL_NV_occlusion_query GL_NV_packed_depth_stencil GL_NV_pixel_data_range GL_NV_point_sprite GL_NV_primitive_restart GL_NV_register_combiners GL_NV_register_combiners2 GL_NV_texgen_reflection GL_NV_texture_compression_vtc GL_NV_texture_env_combine4 GL_NV_texture_expand_normal GL_NV_texture_rectangle GL_NV_texture_shader GL_NV_texture_shader2 GL_NV_texture_shader3 GL_NV_vertex_array_range GL_NV_vertex_array_range2 GL_NV_vertex_program GL_NV_vertex_program1_1 GL_NV_vertex_program2 GL_NV_vertex_program2_option GL_SGIS_generate_mipmap GL_SGIS_texture_lod GL_SGIX_depth_texture GL_SGIX_shadow GL_SUN_slice_accum
ignoring GL_EXT_LockArrays
using GL_ARB_multitexture
using GL_EXT_texture_env_combine
GL_SGIS_multitexture not found
using GL_ARB_texture_compression
using GL_EXT_texture_filter_anisotropic [ 8 max] [ 1 selected]
using GL_EXT_texture_lod_bias
using GL_EXT_stencil_wrap
using GL_EXT_fog_coord
GL_ATI_separate_stencil not found
using GL_EXT_stencil_two_side
max texture size: detected 4096
but using 2048 as requested
SDL_ttf version 2.0.9 - we need at least 2.0.7

------- sound initialization -------
SDL_mixer version: 1.2.6
...audio rate: 44100
...audio channels: 2
...driver: 'alsa'

--- save subsystem initialization --
added size subsystem (check ff)
added base subsystem (check 0)
added campaign subsystem (check 1)
added hospital subsystem (check 2)
added market subsystem (check 3)
added research subsystem (check 4)
added employee subsystem (check 5)
added aliencont subsystem (check 6)
added production subsystem (check 7)
added aircraft subsystem (check 8)
added messagesystem subsystem (check 9)
added stats subsystem (check a)
added nations subsystem (check b)
added transfer subsystem (check c)

----------- parse scripts ----------
Shared Client/Server Info loaded
... 94 items parsed
... 31 damage types parsed
... 52 map definitions parsed
... 25 equipment definitions parsed
... 10 inventory definitions parsed
... 22 team definitions parsed
CL_LanguageInit()... language settings are stored in configuration: none
123 static models loaded
====== UFO Initialized ======

Switch grab input off
S_Music_Start: Playing music: 'music/PsymongN3'
Changing to Singleplayer
Global data loaded - size 5635920 bytes
...techs: 165
...buildings: 21
...ranks: 16
...nations: 8

Changing to Singleplayer
Activate stage intro
Sanity check for script data
...buildings ok
...tech ok
...aircraft ok
...menu ok
Changing to Singleplayer
S_Music_Start: Playing music: 'music/van_geoscape'
Save user settings to /home/cwars/.ufoai/2.2/base/config.cfg


Warning: My English is weak today
« Last Edit: January 15, 2008, 10:45:50 pm by cwars »

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Re: 2.2 Bug: 3D geoscape absent of texture
« Reply #1 on: January 16, 2008, 07:52:51 am »
please try to activate r_checkerror cvar via game console (set it to 1) and check whether there is any error output on the console

Offline Reachter

  • Cannon Fodder
  • **
  • Posts: 1
    • View Profile
Re: 2.2 Bug: 3D geoscape absent of texture
« Reply #2 on: January 16, 2008, 09:34:35 am »
Same trouble on Windows XP. I've tried to turn on r_checkerror in console, but there was no error messages.

cwars

  • Guest
Re: 2.2 Bug: 3D geoscape absent of texture
« Reply #3 on: January 17, 2008, 02:06:07 pm »
Checked changing the variable r_checkerror to 1, but that was returning as error was precisely the following:

R_FindImage: Can't find models/geoscape//base (models/geoscape//base) - file: src/renderer/r_model.c, line 201

I tried to withdraw this // which is presented in models/geoscape//base, but neither found that location in the civil R_FindImage.

Where I could edit to change the location of that texture?


Offline Xeno

  • Cannon Fodder
  • **
  • Posts: 9
    • View Profile
Re: 2.2 Bug: 3D geoscape absent of texture
« Reply #4 on: October 24, 2008, 10:46:24 am »
The same problem here

System: Fedora 9 Linux localhost.localdomain 2.6.26.5-45.fc9.i686 #1 SMP Sat Sep 20 03:45:00 EDT 2008 i686 i686 i386 GNU/Linux

Game version : ufoai-2.2.1-1.lvn9.i386 (2.2.1, rpm  from Livna repository)

output from gxlinfo:

Code: [Select]
name of display: :0.0
display: :0  screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
    GLX_ARB_multisample, GLX_EXT_import_context, GLX_EXT_texture_from_pixmap,
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_copy_sub_buffer,
    GLX_OML_swap_method, GLX_SGI_swap_control, GLX_SGIS_multisample,
    GLX_SGIX_fbconfig, GLX_SGIX_visual_select_group
client glx vendor string: SGI
client glx version string: 1.4
client glx extensions:
    GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_allocate_memory,
    GLX_MESA_copy_sub_buffer, GLX_MESA_swap_control,
    GLX_MESA_swap_frame_usage, GLX_OML_swap_method, GLX_OML_sync_control,
    GLX_SGI_make_current_read, GLX_SGI_swap_control, GLX_SGI_video_sync,
    GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer,
    GLX_SGIX_visual_select_group, GLX_EXT_texture_from_pixmap
GLX version: 1.2
GLX extensions:
    GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_swap_control,
    GLX_MESA_swap_frame_usage, GLX_OML_swap_method, GLX_SGI_swap_control,
    GLX_SGI_video_sync, GLX_SGIS_multisample, GLX_SGIX_fbconfig,
    GLX_SGIX_visual_select_group
OpenGL vendor string: DRI R300 Project
OpenGL renderer string: Mesa DRI R300 20060815 AGP 8x x86/MMX/SSE2 TCL
OpenGL version string: 1.3 Mesa 7.1 rc1
OpenGL extensions:
    GL_ARB_depth_texture, GL_ARB_fragment_program, GL_ARB_imaging,
    GL_ARB_multisample, GL_ARB_multitexture, 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_MESAX_texture_float,
    GL_ARB_texture_mirrored_repeat, 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_equation_separate,
    GL_EXT_blend_func_separate, GL_EXT_blend_logic_op, GL_EXT_blend_minmax,
    GL_EXT_blend_subtract, GL_EXT_clip_volume_hint,
    GL_EXT_compiled_vertex_array, GL_EXT_convolution, GL_EXT_copy_texture,
    GL_EXT_draw_range_elements, GL_EXT_gpu_program_parameters,
    GL_EXT_histogram, GL_EXT_multi_draw_arrays, GL_EXT_packed_pixels,
    GL_EXT_polygon_offset, 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_subtexture,
    GL_EXT_texture, GL_EXT_texture3D, 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_lod_bias, GL_EXT_texture_mirror_clamp,
    GL_EXT_texture_object, GL_EXT_texture_rectangle, GL_EXT_vertex_array,
    GL_APPLE_packed_pixels, GL_ATI_blend_equation_separate,
    GL_ATI_texture_env_combine3, GL_ATI_texture_mirror_once,
    GL_IBM_rasterpos_clip, GL_IBM_texture_mirrored_repeat,
    GL_INGR_blend_func_separate, GL_MESA_pack_invert, GL_MESA_ycbcr_texture,
    GL_MESA_window_pos, GL_NV_blend_square, GL_NV_light_max_exponent,
    GL_NV_texture_rectangle, GL_NV_texgen_reflection, GL_NV_vertex_program,
    GL_OES_read_format, GL_SGI_color_matrix, GL_SGI_color_table,
    GL_SGIS_generate_mipmap, GL_SGIS_texture_border_clamp,
    GL_SGIS_texture_edge_clamp, GL_SGIS_texture_lod, GL_SGIX_depth_texture,
    GL_SUN_multi_draw_arrays

and ufoconsole.log

Code: [Select]

----- network initialization -------
libcurl/7.18.2 NSS/3.12.0.3 zlib/1.2.3 libidn/0.6.14 libssh2/0.18 initialized.

------ server initialization -------

----- console initialization -------
Console initialized.

------- video initialization -------
SDL version: 1.2.13
I: desktop depth: 32bpp
I: setting mode 6: 1024x768 (fullscreen: yes)
I: got 8 bits of stencil
I: got 24 bits of depth buffer
I: got double buffer
I: got 8 bits for red
I: got 8 bits for green
I: got 8 bits for blue
GL_VENDOR: DRI R300 Project
GL_RENDERER: Mesa DRI R300 20060815 AGP 8x x86/MMX/SSE2 TCL
GL_VERSION: 1.3 Mesa 7.1 rc1
GL_EXTENSIONS: GL_ARB_depth_texture GL_ARB_fragment_program GL_ARB_imaging GL_ARB_multisample GL_ARB_multitexture 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_MESAX_texture_float GL_ARB_texture_mirrored_repeat 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_equation_separate GL_EXT_blend_func_separate GL_EXT_blend_logic_op GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_clip_volume_hint GL_EXT_compiled_vertex_array GL_EXT_convolution GL_EXT_copy_texture GL_EXT_draw_range_elements GL_EXT_gpu_program_parameters GL_EXT_histogram GL_EXT_multi_draw_arrays GL_EXT_packed_pixels GL_EXT_polygon_offset 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_subtexture GL_EXT_texture GL_EXT_texture3D 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_lod_bias GL_EXT_texture_mirror_clamp GL_EXT_texture_object GL_EXT_texture_rectangle GL_EXT_vertex_array GL_APPLE_packed_pixels GL_ATI_blend_equation_separate GL_ATI_texture_env_combine3 GL_ATI_texture_mirror_once GL_IBM_rasterpos_clip GL_IBM_texture_mirrored_repeat GL_INGR_blend_func_separate GL_MESA_pack_invert GL_MESA_ycbcr_texture GL_MESA_window_pos GL_NV_blend_square GL_NV_light_max_exponent GL_NV_texture_rectangle GL_NV_texgen_reflection GL_NV_vertex_program GL_OES_read_format GL_SGI_color_matrix GL_SGI_color_table GL_SGIS_generate_mipmap GL_SGIS_texture_border_clamp GL_SGIS_texture_edge_clamp GL_SGIS_texture_lod GL_SGIX_depth_texture GL_SUN_multi_draw_arrays
ignoring GL_EXT_LockArrays
using GL_ARB_multitexture
using GL_EXT_texture_env_combine
GL_SGIS_multitexture not found
using GL_ARB_texture_compression
using GL_EXT_texture_filter_anisotropic [16 max] [16 selected]
using GL_EXT_texture_lod_bias
using GL_EXT_stencil_wrap
GL_EXT_fog_coord not found
GL_ATI_separate_stencil not found
using GL_EXT_stencil_two_side
max texture size: detected 2048
SDL_ttf version 2.0.9 - we need at least 2.0.7

------- sound initialization -------
SDL_mixer version: 1.2.8
...audio rate: 48000
...audio channels: 2
...driver: 'esd'

--- save subsystem initialization --
added size subsystem (check ff)
added base subsystem (check 0)
added campaign subsystem (check 1)
added hospital subsystem (check 2)
added market subsystem (check 3)
added research subsystem (check 4)
added employee subsystem (check 5)
added aliencont subsystem (check 6)
added production subsystem (check 7)
added aircraft subsystem (check 8)
added messagesystem subsystem (check 9)
added stats subsystem (check a)
added nations subsystem (check b)
added transfer subsystem (check c)

----------- parse scripts ----------
Shared Client/Server Info loaded
... 94 items parsed
... 31 damage types parsed
... 52 map definitions parsed
... 25 equipment definitions parsed
... 10 inventory definitions parsed
... 22 team definitions parsed
S_Music_Start: Playing music: 'music/PsymongN3'
CL_LanguageInit()... language settings are stored in configuration: en
123 static models loaded
====== UFO Initialized ======

Switch grab input off
Loading savegame
...version: 2
...game version: 2.2.1
Changing to Singleplayer
Global data loaded - size 5204572 bytes
...techs: 166
...buildings: 21
...ranks: 16
...nations: 8

Load 'map'
...subsystem 'size' - loaded 101 bytes
...subsystem 'base' - loaded 13191 bytes
Activate stage intro
......warning: Set with no missions (stop)
...subsystem 'campaign' - loaded 252 bytes
...subsystem 'hospital' - loaded 0 bytes
...subsystem 'market' - loaded 2899 bytes
...subsystem 'research' - loaded 7929 bytes
...subsystem 'employee' - loaded 5528 bytes
...subsystem 'aliencont' - loaded 0 bytes
...subsystem 'production' - loaded 8 bytes
...subsystem 'aircraft' - loaded 353 bytes
...subsystem 'messagesystem' - loaded 717 bytes
...subsystem 'stats' - loaded 28 bytes
...subsystem 'nations' - loaded 1248 bytes
...subsystem 'transfer' - loaded 86400 bytes
File 'map' loaded.
S_Music_Start: Playing music: 'music/van_geoscape'
R_FindImage: Can't find models/geoscape//base (models/geoscape//base)
S_Music_Start: Playing music: 'music/PsymongN3'
Save user settings to /home/Xeno/.ufoai/2.2.1/base/config.cfg




Offline Xeno

  • Cannon Fodder
  • **
  • Posts: 9
    • View Profile
Re: 2.2 Bug: 3D geoscape absent of texture
« Reply #5 on: November 05, 2008, 01:18:39 pm »
It seems to be corrected by update to ufoai-2.2.1-2.lvn9.i386

Offline bayo

  • Professional loser
  • Project Coder
  • Captain
  • ***
  • Posts: 733
    • View Profile
Re: 2.2 Bug: 3D geoscape absent of texture
« Reply #6 on: November 05, 2008, 04:00:53 pm »
I have a problem like that on the 2.3 dev.

When i rotate very fast the earth (when i use the control (with a long click, and maybe a mouse move too) to move the earth on the right pannel)

Offline Chriswriter90

  • Squad Leader
  • ****
  • Posts: 102
  • Zilla Response Unit
    • View Profile
Re: 2.2 Bug: 3D geoscape absent of texture
« Reply #7 on: November 05, 2008, 06:00:44 pm »
You can't see a darned thing at night in the 3D view.

Should I also complain about the night missions?

Offline BTAxis

  • Administrator
  • PHALANX Commander
  • *******
  • Posts: 2607
    • View Profile
Re: 2.2 Bug: 3D geoscape absent of texture
« Reply #8 on: November 05, 2008, 06:58:51 pm »
Lots of people have that problem. I set the lighting values, but it really looks fine for me. I have no idea why it's black for so many others.
This is what the bunker map looks for me at night.

Offline ghosta

  • Squad Leader
  • ****
  • Posts: 133
    • View Profile
Re: 2.2 Bug: 3D geoscape absent of texture
« Reply #9 on: November 05, 2008, 08:04:26 pm »
I noticed that the lightsources on the former industrial.map called the light entity with "_light" instead of "light". Maybe there are the problems.

Offline BTAxis

  • Administrator
  • PHALANX Commander
  • *******
  • Posts: 2607
    • View Profile
Re: 2.2 Bug: 3D geoscape absent of texture
« Reply #10 on: November 05, 2008, 08:56:24 pm »
No, it's something with rendering. This problem occurs with the same map on different systems (I had someone send me their compiled map over and it was fine for me).

Offline Xeno

  • Cannon Fodder
  • **
  • Posts: 9
    • View Profile
Re: 2.2 Bug: 3D geoscape absent of texture
« Reply #11 on: November 06, 2008, 12:42:48 pm »
Night missions looks ok to me (ie it's dark as it should be @night, but you can see something) Anyway, nightvision googles or some flares implemented still would be more than welcome. I think something like nv gogles in syndicate wars would be good enough..

As a sidenote sometimes shot down ufo missions get their daytime messed up. I've landed in the middle of the day to find myself in night mission. I'll make separate post when it happend next time.

Offline Destructavator

  • Combination Multiple Specialty Developer
  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 1908
  • Creater of Scorchcrafter, knows the zarakites...
    • View Profile
Re: 2.2 Bug: 3D geoscape absent of texture
« Reply #12 on: November 06, 2008, 06:25:48 pm »
I've had difficulty with night missions myself, as the dark areas are totally black for me, at least on Windows with my NVIDIA GeForce 7300 LE video card in my desktop.  I don't know if the video card or OS makes any difference, although I haven't played around with the settings in the NVIDIA control panel much.  Actually, I just might try that within the next few days - If it makes any difference I'll post some feedback.

Satanic Mechanic

  • Guest
Re: 2.2 Bug: 3D geoscape absent of texture
« Reply #13 on: November 06, 2008, 11:13:13 pm »
Yah definately let us know if you find a setting that helps, I stop dropships and let them hover rather than fight at night because at the moment the maps are almost pitch black, I can barely make out the terrain and buildings, let alone find any windows or doors :) (And damn I hate it when I get a mission in antarctica, a pox on 6 months of darkness) :P

Offline BTAxis

  • Administrator
  • PHALANX Commander
  • *******
  • Posts: 2607
    • View Profile
Re: 2.2 Bug: 3D geoscape absent of texture
« Reply #14 on: November 06, 2008, 11:37:47 pm »
Yeah, this issue definitely needs addressing, so it'd be nice if we could get more info on it, any info at all.