Author Topic: 20080711 trunk (with normal map support)  (Read 30289 times)

0 Members and 1 Guest are viewing this topic.

Offline chief1983

  • Still lacks a custom title
  • Moderator
  • 212
  • ⬇️⬆️⬅️⬅️🅰➡️⬇️
    • Minecraft
    • Skype
    • Steam
    • Twitter
    • Fate of the Galaxy
Re: 20080711 trunk (with normal map support)
Now that you mention it, I had the issue on a 9800 Pro, but not on my new rig with a Nvidia 8800 GTS 512.
Fate of the Galaxy - Now Hiring!  Apply within | Diaspora | SCP Home | Collada Importer for PCS2
Karajorma's 'How to report bugs' | Mantis
#freespace | #scp-swc | #diaspora | #SCP | #hard-light on EsperNet

"You may not sell or otherwise commercially exploit the source or things you created based on the source." -- Excerpt from FSO license, for reference

Nuclear1:  Jesus Christ zack you're a little too hamyurger for HLP right now...
iamzack:  i dont have hamynerge i just want ptatoc hips D:
redsniper:  Platonic hips?!
iamzack:  lays

 
Re: 20080711 trunk (with normal map support)
Cutscene scaling issue appeared on 9800 Pro for me as well (fs2_open_3_6_10-Xt_0314.exe)

 

Offline chief1983

  • Still lacks a custom title
  • Moderator
  • 212
  • ⬇️⬆️⬅️⬅️🅰➡️⬇️
    • Minecraft
    • Skype
    • Steam
    • Twitter
    • Fate of the Galaxy
Re: 20080711 trunk (with normal map support)
Well this might help then, it could be narrowed down as much as the R300 series, or a broader range of ATI hardware.
Fate of the Galaxy - Now Hiring!  Apply within | Diaspora | SCP Home | Collada Importer for PCS2
Karajorma's 'How to report bugs' | Mantis
#freespace | #scp-swc | #diaspora | #SCP | #hard-light on EsperNet

"You may not sell or otherwise commercially exploit the source or things you created based on the source." -- Excerpt from FSO license, for reference

Nuclear1:  Jesus Christ zack you're a little too hamyurger for HLP right now...
iamzack:  i dont have hamynerge i just want ptatoc hips D:
redsniper:  Platonic hips?!
iamzack:  lays

 

Offline Jeff Vader

  • The Back of the Hero!
  • 212
  • Bwahaha
Re: 20080711 trunk (with normal map support)
Also happens on a Mobility Radeon X1600.
23:40 < achillion > EveningTea: ass
23:40 < achillion > wait no
23:40 < achillion > evilbagel: ass
23:40 < EveningTea > ?
23:40 < achillion > 2-letter tab complete failure

14:08 < achillion > there's too much talk of butts and dongs in here
14:08 < achillion > the level of discourse has really plummeted
14:08 < achillion > Let's talk about politics instead
14:08 <@The_E > butts and dongs are part of #hard-light's brand now
14:08 <@The_E > well
14:08 <@The_E > EvilBagel's brand, at least

01:06 < T-Rog > welp
01:07 < T-Rog > I've got to take some very strong antibiotics
01:07 < achillion > penis infection?
01:08 < T-Rog > Chlamydia
01:08 < achillion > O.o
01:09 < achillion > well
01:09 < achillion > I guess that happens
01:09 < T-Rog > at least it's curable
01:09 < achillion > yeah
01:10 < T-Rog > I take it you weren't actually expecting it to be a penis infection
01:10 < achillion > I was not

14:04 < achillion > Sometimes the way to simplify is to just have a habit and not think about it too much
14:05 < achillion > until stuff explodes
14:05 < achillion > then you start thinking about it

22:16 < T-Rog > I don't know how my gf would feel about Jewish conspiracy porn

15:41 <-INFO > EveningTea [[email protected]] has joined #hard-light
15:47 < EvilBagel> butt
15:51 < Achillion> yes
15:53 <-INFO > EveningTea [[email protected]] has quit [Quit: http://www.mibbit.com ajax IRC Client]

18:53 < Achillion> Dicks are fun

21:41 < MatthTheGeek> you can't spell assassin without two asses

20:05 < sigtau> i'm mining titcoins from now on

00:31 < oldlaptop> Drunken antisocial educated freezing hicks with good Internet == Finland stereotype

11:46 <-INFO > Kobrar [[email protected]] has joined #hard-light
11:50 < achtung> Surely you've heard of DVDA
11:50 < achtung> Double Vaginal Double ANal
11:51 < Kobrar> ...
11:51 <-INFO > Kobrar [[email protected]] has left #hard-light []

 

Offline Echelon9

  • Moderator
  • 210
Re: 20080711 trunk (with normal map support)
Like Tinman, I'm also seeing the white models in the Tech Room and a white jagged skybox in the first mission, on a r4709 build from SVN.
I tried going to windowed mode as suggested, but it crashes with a division by zero error after the pilot select screen (a known bug I gather).

I'm using a GeForce 8600M GT on OS X 10.5.4
My fs2_open.log:
Code: [Select]
...
Found root pack '/Applications/Freespace 2 Open/shaders.vp' with a checksum of 0xe13995b9
...
Initializing OpenGL graphics device at 1440x900 with 32-bit color...
  Initializing SDL...
  Requested SDL Video values = R: 8, G: 8, B: 8, depth: 24, double-buffer: 1
  Actual SDL Video values    = R: 8, G: 8, B: 8, depth: 24, double-buffer: 1
  OpenGL Vendor     : NVIDIA Corporation
  OpenGL Renderer   : NVIDIA GeForce 8600M GT OpenGL Engine
  OpenGL Version    : 2.0 NVIDIA-1.5.28

  Using extension "GL_EXT_fog_coord".
  Using extension "GL_ARB_multitexture".
  Using extension "GL_ARB_texture_env_add".
  Using extension "GL_ARB_texture_compression".
  Using extension "GL_EXT_texture_compression_s3tc".
  Using extension "GL_EXT_texture_filter_anisotropic".
  Using extension "GL_ARB_texture_env_combine".
  Using extension "GL_EXT_compiled_vertex_array".
  Using extension "GL_EXT_draw_range_elements".
  Using extension "GL_ARB_texture_mirrored_repeat".
  Using extension "GL_ARB_texture_non_power_of_two".
  Using extension "GL_ARB_vertex_buffer_object".
  Using extension "GL_ARB_pixel_buffer_object".
  Using extension "GL_SGIS_generate_mipmap".
  Using extension "GL_EXT_framebuffer_object".
  Using extension "GL_ARB_texture_rectangle".
  Using extension "GL_EXT_bgra".
  Using extension "GL_ARB_texture_cube_map".
  Using extension "GL_EXT_texture_lod_bias".
  Using extension "GL_ARB_point_sprite".
  Using extension "GL_ARB_shading_language_100".
  Using extension "GL_ARB_shader_objects".
  Using extension "GL_ARB_vertex_shader".
  Using extension "GL_ARB_fragment_shader".
  Using extension "GL_NV_vertex_program3".

  Compiling shader ->  null-v.sdr / null-f.sdr ...
  Compiling shader ->  b-v.sdr / b-f.sdr ...
  Compiling shader ->  l-v.sdr / lb-f.sdr ...
  Compiling shader ->  ln-v.sdr / lbn-f.sdr ...
  Compiling shader ->  lf-v.sdr / lfb-f.sdr ...
  Compiling shader ->  lfn-v.sdr / lfbn-f.sdr ...
  Compiling shader ->  l-v.sdr / null-f.sdr ...
  Compiling shader ->  ln-v.sdr / ln-f.sdr ...

  Max texture units: 4 (16)
  Max elements vertices: 2048
  Max elements indices: 150000
  Max texture size: 8192x8192
  Can use compressed textures: YES
  Texture compression available: YES
  Using trilinear texture filter.
  Using GLSL for model rendering.
  Shader Version: 1.20
... OpenGL init is complete!

 

Offline Echelon9

  • Moderator
  • 210
Re: 20080711 trunk (with normal map support)
I tried going to windowed mode as suggested, but it crashes with a division by zero error after the pilot select screen (a known bug I gather).
For Tinman, Blowfish and other Mac users, I've attached a quick patch that fixes the crash when running FS2_Open in windowed mode http://scp.indiegames.us/mantis/view.php?id=1727. From debugging the crashes (a divide by zero in SDL_WarpMouse) it looks to be a bug in the Mac SDL library. It occurs in both HEAD and the stable 3.6.9 build on my 10.5.4 system.

The patch means your mouse won't be centred in the middle of the screen in the main lobby, which isn't a huge problem.

This should let us better troubleshoot the shader/normal code on OS X.

[attachment deleted by admin]

 

Offline Aardwolf

  • 211
  • Posts: 16,384
    • Minecraft
Re: 20080711 trunk (with normal map support)
Isn't there a launcher option "disable custscene scale-to-window" which would have the exact effects these guys are complaining about?

 

Offline Jeff Vader

  • The Back of the Hero!
  • 212
  • Bwahaha
Re: 20080711 trunk (with normal map support)
Isn't there a launcher option "disable custscene scale-to-window" which would have the exact effects these guys are complaining about?
Yes. And it is highly fascinating to see these effects, when that particular option is not selected.
23:40 < achillion > EveningTea: ass
23:40 < achillion > wait no
23:40 < achillion > evilbagel: ass
23:40 < EveningTea > ?
23:40 < achillion > 2-letter tab complete failure

14:08 < achillion > there's too much talk of butts and dongs in here
14:08 < achillion > the level of discourse has really plummeted
14:08 < achillion > Let's talk about politics instead
14:08 <@The_E > butts and dongs are part of #hard-light's brand now
14:08 <@The_E > well
14:08 <@The_E > EvilBagel's brand, at least

01:06 < T-Rog > welp
01:07 < T-Rog > I've got to take some very strong antibiotics
01:07 < achillion > penis infection?
01:08 < T-Rog > Chlamydia
01:08 < achillion > O.o
01:09 < achillion > well
01:09 < achillion > I guess that happens
01:09 < T-Rog > at least it's curable
01:09 < achillion > yeah
01:10 < T-Rog > I take it you weren't actually expecting it to be a penis infection
01:10 < achillion > I was not

14:04 < achillion > Sometimes the way to simplify is to just have a habit and not think about it too much
14:05 < achillion > until stuff explodes
14:05 < achillion > then you start thinking about it

22:16 < T-Rog > I don't know how my gf would feel about Jewish conspiracy porn

15:41 <-INFO > EveningTea [[email protected]] has joined #hard-light
15:47 < EvilBagel> butt
15:51 < Achillion> yes
15:53 <-INFO > EveningTea [[email protected]] has quit [Quit: http://www.mibbit.com ajax IRC Client]

18:53 < Achillion> Dicks are fun

21:41 < MatthTheGeek> you can't spell assassin without two asses

20:05 < sigtau> i'm mining titcoins from now on

00:31 < oldlaptop> Drunken antisocial educated freezing hicks with good Internet == Finland stereotype

11:46 <-INFO > Kobrar [[email protected]] has joined #hard-light
11:50 < achtung> Surely you've heard of DVDA
11:50 < achtung> Double Vaginal Double ANal
11:51 < Kobrar> ...
11:51 <-INFO > Kobrar [[email protected]] has left #hard-light []

 

Offline Macfie

  • 210
  • If somebody made a campaign I've probably got it
Re: 20080711 trunk (with normal map support)
If you select the disable cutscenes scale to window the cutscene is even smaller.
Normal people believe that if it isn't broke, don't fix it. Engineers believe that if it isn't broke, it doesn't have enough features yet.
The difference between Mechanical Engineers and Civil Engineers is:
Mechanical Engineers build weapons.  Civil Engineers build targets
An optimist sees the glass half full; the pessimist sees it half empty. An engineer sees that the glass is twice as big as it needs to be.

 

Offline Cobra

  • 212
  • Snake on a Cain
    • Minecraft
    • Skype
    • Steam
    • Twitter
Re: 20080711 trunk (with normal map support)
There is a slight problem with the envmapping.




I also experienced the missing thrusters bug, but it only happened once and on certain ships (one such case was the GTF Hercules), because after the models were loaded again they had thrusters.
To consider the Earth as the only populated world in infinite space is as absurd as to assert that in an entire field of millet, only one grain will grow. - Metrodorus of Chios
I wept. Mysterious forces beyond my ken had reached into my beautiful mission and energized its pilots with inhuman bomb-firing abilities. I could only imagine the GTVA warriors giving a mighty KIAAIIIIIII shout as they worked their triggers, their biceps bulging with sinew after years of Ivan Drago-esque steroid therapy and weight training. - General Battuta

 
Re: 20080711 trunk (with normal map support)
Stupid question time, what are normal maps and what do they do?

 

Offline chief1983

  • Still lacks a custom title
  • Moderator
  • 212
  • ⬇️⬆️⬅️⬅️🅰➡️⬇️
    • Minecraft
    • Skype
    • Steam
    • Twitter
    • Fate of the Galaxy
Re: 20080711 trunk (with normal map support)
The 3d engine uses a normal map to add the appearance of detail to the mesh where there is none, through the lighting engine.  It's used for minor surface details and the like, which would be time-consuming and resource-hogging to implement on the mesh itself.

Normal mapping on Wikipedia

Edit:  First :)
Fate of the Galaxy - Now Hiring!  Apply within | Diaspora | SCP Home | Collada Importer for PCS2
Karajorma's 'How to report bugs' | Mantis
#freespace | #scp-swc | #diaspora | #SCP | #hard-light on EsperNet

"You may not sell or otherwise commercially exploit the source or things you created based on the source." -- Excerpt from FSO license, for reference

Nuclear1:  Jesus Christ zack you're a little too hamyurger for HLP right now...
iamzack:  i dont have hamynerge i just want ptatoc hips D:
redsniper:  Platonic hips?!
iamzack:  lays

 

Offline Cobra

  • 212
  • Snake on a Cain
    • Minecraft
    • Skype
    • Steam
    • Twitter
Re: 20080711 trunk (with normal map support)
Normal maps are basically textures that use shaders to give a 3D effect to flat surfaces. Basically you can make greebles without having to model the greebles on.

[EDIT] Screw you, Chief, I'm keeping this post. :P
To consider the Earth as the only populated world in infinite space is as absurd as to assert that in an entire field of millet, only one grain will grow. - Metrodorus of Chios
I wept. Mysterious forces beyond my ken had reached into my beautiful mission and energized its pilots with inhuman bomb-firing abilities. I could only imagine the GTVA warriors giving a mighty KIAAIIIIIII shout as they worked their triggers, their biceps bulging with sinew after years of Ivan Drago-esque steroid therapy and weight training. - General Battuta

 
Re: 20080711 trunk (with normal map support)
I'm looking at the posts about the shader files, and the fact that older video cards may have problems because they are not shader 3.0 compliant.  My video card is an ATI X800 Pro, which is 2.0 compliant.  Do I still need this shaders file even though my card does not officially support it?

 

Offline chief1983

  • Still lacks a custom title
  • Moderator
  • 212
  • ⬇️⬆️⬅️⬅️🅰➡️⬇️
    • Minecraft
    • Skype
    • Steam
    • Twitter
    • Fate of the Galaxy
Re: 20080711 trunk (with normal map support)
Nope, you just won't get to take advantage of the shader support.  It won't hurt to have it or not then, on load it will discover your card can't handle them, and automatically fall back on the older method.
Fate of the Galaxy - Now Hiring!  Apply within | Diaspora | SCP Home | Collada Importer for PCS2
Karajorma's 'How to report bugs' | Mantis
#freespace | #scp-swc | #diaspora | #SCP | #hard-light on EsperNet

"You may not sell or otherwise commercially exploit the source or things you created based on the source." -- Excerpt from FSO license, for reference

Nuclear1:  Jesus Christ zack you're a little too hamyurger for HLP right now...
iamzack:  i dont have hamynerge i just want ptatoc hips D:
redsniper:  Platonic hips?!
iamzack:  lays

 

Offline Nemesis6

  • 28
  • Tongs
Re: 20080711 trunk (with normal map support)
I wonder if you could fix this:




It happens on spaceship debris, noticeable only on big larger chunks from cruisers, etc. It happens in a split second when electricity sparks through it. Could this be something that could be something you could fix perhaps? It appeared after I changed to my ATI 4870, latest drivers.

 

Offline Jeff Vader

  • The Back of the Hero!
  • 212
  • Bwahaha
Re: 20080711 trunk (with normal map support)
I wonder if you could fix this:
Looks like yet another overheating issue.
23:40 < achillion > EveningTea: ass
23:40 < achillion > wait no
23:40 < achillion > evilbagel: ass
23:40 < EveningTea > ?
23:40 < achillion > 2-letter tab complete failure

14:08 < achillion > there's too much talk of butts and dongs in here
14:08 < achillion > the level of discourse has really plummeted
14:08 < achillion > Let's talk about politics instead
14:08 <@The_E > butts and dongs are part of #hard-light's brand now
14:08 <@The_E > well
14:08 <@The_E > EvilBagel's brand, at least

01:06 < T-Rog > welp
01:07 < T-Rog > I've got to take some very strong antibiotics
01:07 < achillion > penis infection?
01:08 < T-Rog > Chlamydia
01:08 < achillion > O.o
01:09 < achillion > well
01:09 < achillion > I guess that happens
01:09 < T-Rog > at least it's curable
01:09 < achillion > yeah
01:10 < T-Rog > I take it you weren't actually expecting it to be a penis infection
01:10 < achillion > I was not

14:04 < achillion > Sometimes the way to simplify is to just have a habit and not think about it too much
14:05 < achillion > until stuff explodes
14:05 < achillion > then you start thinking about it

22:16 < T-Rog > I don't know how my gf would feel about Jewish conspiracy porn

15:41 <-INFO > EveningTea [[email protected]] has joined #hard-light
15:47 < EvilBagel> butt
15:51 < Achillion> yes
15:53 <-INFO > EveningTea [[email protected]] has quit [Quit: http://www.mibbit.com ajax IRC Client]

18:53 < Achillion> Dicks are fun

21:41 < MatthTheGeek> you can't spell assassin without two asses

20:05 < sigtau> i'm mining titcoins from now on

00:31 < oldlaptop> Drunken antisocial educated freezing hicks with good Internet == Finland stereotype

11:46 <-INFO > Kobrar [[email protected]] has joined #hard-light
11:50 < achtung> Surely you've heard of DVDA
11:50 < achtung> Double Vaginal Double ANal
11:51 < Kobrar> ...
11:51 <-INFO > Kobrar [[email protected]] has left #hard-light []

 

Offline Nemesis6

  • 28
  • Tongs
Re: 20080711 trunk (with normal map support)
Nope, card running cool. As I said, it only happens when there's electrical flicker on debris, and ships to a lesser extent I found out. Tried both the DX8 and OpenGL renders. I'm wondering if the problem can be fixed in the source code or if it's on the side of MediaVPS... Wondering wondering wondering.

 

Offline blowfish

  • 211
  • Join the cult of KILL MY ROUTER!!!!!!!!!!1
Re: 20080711 trunk (with normal map support)
I tried going to windowed mode as suggested, but it crashes with a division by zero error after the pilot select screen (a known bug I gather).
For Tinman, Blowfish and other Mac users, I've attached a quick patch that fixes the crash when running FS2_Open in windowed mode http://scp.indiegames.us/mantis/view.php?id=1727. From debugging the crashes (a divide by zero in SDL_WarpMouse) it looks to be a bug in the Mac SDL library. It occurs in both HEAD and the stable 3.6.9 build on my 10.5.4 system.

The patch means your mouse won't be centred in the middle of the screen in the main lobby, which isn't a huge problem.

This should let us better troubleshoot the shader/normal code on OS X.

That worked.  Thanks :)  Now for the real troubleshooting :shaking:

 

Offline blowfish

  • 211
  • Join the cult of KILL MY ROUTER!!!!!!!!!!1
Re: 20080711 trunk (with normal map support)
I tried going to windowed mode as suggested, but it crashes with a division by zero error after the pilot select screen (a known bug I gather).
For Tinman, Blowfish and other Mac users, I've attached a quick patch that fixes the crash when running FS2_Open in windowed mode http://scp.indiegames.us/mantis/view.php?id=1727. From debugging the crashes (a divide by zero in SDL_WarpMouse) it looks to be a bug in the Mac SDL library. It occurs in both HEAD and the stable 3.6.9 build on my 10.5.4 system.

The patch means your mouse won't be centred in the middle of the screen in the main lobby, which isn't a huge problem.

This should let us better troubleshoot the shader/normal code on OS X.

That worked.  Thanks :)  Now for the real troubleshooting :shaking:

Err ... I just discovered that this fix causes the player's ship to spin in circles during a mission.  Makes it unplayable :(

EDIT: Replacing SLD.framework with the one from XT 1228 seemed to fix the problem... :nervous:
« Last Edit: August 11, 2008, 12:40:57 pm by blowfish »