project-navigation
Personal tools

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - bullfrog

Pages: [1]
1
Feature Requests / RC4: textures problem
« on: July 30, 2006, 12:50:00 am »
Ok, after a whole Saturday trying to understand how things in the gl_mesh.c work, I couldn't find a single reason for the textures to be completely wrong.
As far as I have seen, both the R_DrawModelDirect and R_DrawAliasModel seem doing the same things (except for the latter being a lot more complex, drawing all the stuff for the real ingame rendering). Both use the GL_DrawAliasFrameLerp and the same model/skin but still with the direct drawing the textures are applied in the wrong way.
I tried to use the Mesa Indirect rendering and, at the ludicrous speed of 3 fps, everything was fine so, Mattn, you were right. There is a problem with the ATI closed driver. And would like to know WERE actually the problem arises... with precise information there is some hope they will look into it.

Anyway, with this nice headache i've got in my "study", I'm seeing the game in a different way... after all, having some texture wrong is not THAT bad...  :wink:

Bullfrog

2
Feature Requests / RC4: textures problem
« on: July 26, 2006, 10:40:17 pm »
Forgot to say that the only object that has the texture in the right way is the kevlar suit (and I wonder if it's a real 3D object or just a texture as you can't even move it in the ufopedia ;) ).

3
Feature Requests / RC4: textures problem
« on: July 26, 2006, 10:35:00 pm »
Ok, tried the original quake2 (demo) and, except for cracking audio, the video was just perfect (both glx and sdl). But I guess it uses only the R_DrawAliasModel (or something similar).
Tried the Christmas special Ufo and the textures were wrong like in the trunk version.
The open source ATI driver doesn't support 3D (Mesa Indirect Rendering).

Programming skill?
Sure...

main()
{
   printf("Hello World!");
}

How was that?? ;)
(...and I forgot also the #include <stdio.h> line)

No, seriously... I may try to take a look in the weekend but I don't think I can do much about it! (especially as long as I don't understand the difference between the two functions!)

4
Feature Requests / RC4: textures problem
« on: July 25, 2006, 10:42:17 pm »
Hi There!
Here is what is happening to me: in the "management" screens (equip aircraft/soldiers, ufopedia) the textures are applied in a completely wrong way (well, at least that seems to be the problem to me... see the pic links at the end).
This problem DOESN'T happen during the tactical missions (but check the pics).
In the ufoconsole.log I can't find anything useful:

Console initialized.

------- sound initialization -------
Using SDL
Soundsystem: SDL.
SDL audio driver is "alsa".
Bits: 16
Frequency: 44100
Samples: 1024
Channels: 2
sound sampling rate: 44100
------------------------------------
------- Loading ref_glx.so -------
LoadLibrary("ref_glx.so"): can't open /etc/ufo.conf - setting search path to .
LoadLibrary("./ref_glx.so")
ref_gl version: GL 0.12
Initializing OpenGL display
...setting mode 6: 1024 768
Using XFree86-VidModeExtension Version 2.2
GL_VENDOR: ATI Technologies Inc.
GL_RENDERER: MOBILITY FireGL V3200 Pentium 4 (SSE2) (FireGL) (GNU_ICD)
GL_VERSION: 2.0.5814 (8.25.18)
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_imaging 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_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_polygon_offset 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_texture_border_clamp GL_SGIS_texture_edge_clamp GL_SGIS_texture_lod GL_SUN_multi_draw_arrays
...enabling GL_EXT_compiled_vertex_array
...using GL_EXT_point_parameters
...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] [ 2 selected]
...using GL_EXT_texture_lod_bias
...using GL_EXT_stencil_wrap
...using GL_EXT_fog_coord
...using GL_ARB_fragment_program
...using GL_ATI_separate_stencil
...max texture size:
......detected 2048
...SDL_ttf inited
------------------------------------
couldn't exec autoexec.cfg
...using language: en_US
Shared Client/Server Info loaded
...precaching 46 menus
Can't find pics/
Can't find pics/menu/buya_ul
Can't find pics/menu/buya_ur
Can't find pics/menu/buya_ll
Can't find pics/menu/buya_lr
====== UFO Initialized ======

Changing to Singleplayer
]developer 1
FindFile: ./base/ufos/menu_singleplayer.ufo
FindFile: ./base/ufos/ptl_weaponsfx.ufo
FindFile: ./base/ufos/fonts.ufo
FindFile: ./base/ufos/inventory.ufo
FindFile: ./base/ufos/weapons_ugv.ufo
FindFile: ./base/ufos/weapons_tachyon.ufo
FindFile: ./base/ufos/menu_campaign.ufo
FindFile: ./base/ufos/seq_intro.ufo
FindFile: ./base/ufos/seq_modelview.ufo
FindFile: ./base/ufos/events.ufo
FindFile: ./base/ufos/medals.ufo
FindFile: ./base/ufos/menu_althud.ufo
FindFile: ./base/ufos/seq_credits.ufo
FindFile: ./base/ufos/menu_transfer.ufo
FindFile: ./base/ufos/weapons_plasma.ufo
FindFile: ./base/ufos/menu_tutorials.ufo
FindFile: ./base/ufos/menu_team.ufo
FindFile: ./base/ufos/ptl_misc.ufo
FindFile: ./base/ufos/weapons.ufo
FindFile: ./base/ufos/menu_ufopedia.ufo
FindFile: ./base/ufos/menu_bases.ufo
FindFile: ./base/ufos/models.ufo
FindFile: ./base/ufos/team_civilians.ufo
FindFile: ./base/ufos/menu_lostwon.ufo
FindFile: ./base/ufos/shaders.ufo
FindFile: ./base/ufos/menu_multiplayer.ufo
FindFile: ./base/ufos/research.ufo
FindFile: ./base/ufos/seq_tutorials.ufo
FindFile: ./base/ufos/menu_nohud.ufo
FindFile: ./base/ufos/team_humans.ufo
FindFile: ./base/ufos/weapons_laser.ufo


release: trunk (RC4)
OS: linux debian unstable (kernel 2.6.16.20)
Video: Ati FIREGL M24 (ati driver 8.26.18)

Here you can see the weirdos...
http://img166.imageshack.us/my.php?image=textures01qz1.jpg
http://img166.imageshack.us/my.php?image=buckshotoe4.jpg

But in missions is ok EXCEPT for the upper left portrait:
http://img109.imageshack.us/my.php?image=ingamefv1.jpg

Hope this will help.

5
Discussion / stutteringly sound
« on: July 25, 2006, 01:09:45 am »
Hey guys!!
First post, have to say: thank you so much for all that you are doing!!
This game is great!!
I have some coding skill but don't think good enough for actually working on the game code! Will try to help doing some "low skill" things... and reporting bugs, of course! :)

Now, something serious...
I'm experiencing the same problem with the ALSA sound driver: the .ogg are played at a ultrafast speed. Switching to SDL solve the problem. So, would say this is a low priority. I tried to use the snd_alsa.c.new but i couldn't compile:
.
.
.
 * [UFO] ../debugi386/client/snd_alsa.o
ports/linux/snd_alsa.c: In function 'ALSA_SNDDMA_Init':
ports/linux/snd_alsa.c:49: error: expected expression before '/' token
ports/linux/snd_alsa.c:56: error: 'false' undeclared (first use in this function)
ports/linux/snd_alsa.c:56: error: (Each undeclared identifier is reported only once
ports/linux/snd_alsa.c:56: error: for each function it appears in.)
ports/linux/snd_alsa.c:79: error: expected expression before '/' token
ports/linux/snd_alsa.c:81: error: expected expression before '/' token
ports/linux/snd_alsa.c:89: error: expected expression before '/' token
ports/linux/snd_alsa.c:99: error: expected expression before '/' token
ports/linux/snd_alsa.c:103: warning: pointer targets in passing argument 3 of 'snd_pcm_hw_params_set_rate_near' differ in signedness
ports/linux/snd_alsa.c:105: error: expected expression before '/' token
ports/linux/snd_alsa.c:111: error: expected expression before '/' token
ports/linux/snd_alsa.c:128: error: expected expression before '/' token
ports/linux/snd_alsa.c:137: error: expected expression before '/' token
ports/linux/snd_alsa.c:170: error: expected expression before '/' token
ports/linux/snd_alsa.c:179: error: 'true' undeclared (first use in this function)
ports/linux/snd_alsa.c:45: warning: unused variable 'i'
ports/linux/snd_alsa.c:180: warning: control reaches end of non-void function
ports/linux/snd_alsa.c: In function 'ALSA_SNDDMA_Submit':
ports/linux/snd_alsa.c:224: error: expected expression before '/' token
ports/linux/snd_alsa.c:225: error: expected expression before '/' token
ports/linux/snd_alsa.c:229: error: expected expression before '/' token
ports/linux/snd_alsa.c:232: error: expected expression before '/' token
make[1]: *** [../debugi386/client/snd_alsa.o] Error 1
make: *** [build_debug] Error 2

So, I fixed all the comments from //comment to /*comment*/ and the true/false constants to qtrue/qfalse (in this case I just guessed... LOL, no idea about that!).
Anyway, I managed to compile it getting just a:
 * [UFO] ../debugi386/client/snd_alsa.o
ports/linux/snd_alsa.c: In function 'ALSA_SNDDMA_Init':
ports/linux/snd_alsa.c:103: warning: pointer targets in passing argument 3 of 'snd_pcm_hw_params_set_rate_near' differ in signedness
ports/linux/snd_alsa.c:118: warning: pointer targets in passing argument 3 of 'snd_pcm_hw_params_set_rate_near' differ in signedness

I think that this file needs more work as the alsa sound was wrong (guess the wrong things are going in the buffer) but I could hear the original music. The speed is better but is still faster than with SDL.

Hope all this will be useful.

Ops, forgot:
Version: trunk (just updated)
OS: linux debian unstable (kernel 2.6.16.20)

Keep up the good work!!

Pages: [1]