UFO: Alien Invasion Issue Tracker
UFO: Alien Invasion
Go to the previous open issue
Go to the previous issue (open or closed)
star_faded.png
Please log in to bookmark issues
icon_project.png UFO: Alien Invasion / Closed Bug report #2449 Black Models
Go to the next issue (open or closed)
Go to the next open issue
This issue has been closed with status "Closed" and resolution "Not determined".
Issue basics
  • Type of issue
    Bug report
  • Category
    Battlescape
  • Targetted for
    Not determined
  • Status
    Closed
  • Priority
    3. Normal
User pain
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
Affected by this issue (0)
There are no items
People involved
Times and dates
  • Posted at
  • Last updated
  • Estimated time
    Not estimated
Issue details
  • Resolution
    Not determined
  • Reproducability
    Not determined
  • Severity
    Not determined
  • Complexity
    Not determined
  • Platform
    Not determined
  • Architecture
    Not determined
Attachments (0)
There is nothing attached to this issue
Duplicate issues (0)
This issue does not have any duplicates
Description
[http://sourceforge.net/p/ufoai/bugs/2449 Item 2449] imported from sourceforge.net tracker on 2013-01-28 19:35:59

I have black models on battlescape if enable GLSL in game(29425), but this was not in rev 29402.
===== Comments Ported from Sourceforge =====

====== balasar (2010-04-16 14:30:38) ======


====== balasar (2010-04-16 14:31:17) ======


====== balasar (2010-04-16 15:16:29) ======

PhII/2G/Gf7900GS/winXP_sp3
====== arisian (2010-04-16 18:23:40) ======

Does this occur with post-processing enabled, disabled, or both?
====== balasar (2010-04-16 18:30:18) ======

Both
====== arisian (2010-04-16 20:19:38) ======

I can't replicate this, and the logfile doesn't seem to have any abnormal output; is there any other information you can give me that might help me figure out what's going on? Can anyone else replicate this issue? As it stands now, I don't have any way of figuring out what's going wrong on your system.
====== balasar (2010-04-16 23:17:23) ======

It was always, but missed in rev29402, but appeared transparent geoscape. After you fix this again appeared black models.
====== arisian (2010-04-17 00:37:39) ======

When you say you "always" had black models with GLSL, what do you mean? Did the models just turn black recently (in the past few days)? Were you able to see the models using GLSL in the past?
====== balasar (2010-04-17 11:48:29) ======

"Always" is a long time remember that back in version 27xxx. I thought that this is my video card does not support glsl-shaders. But in rev29402 I noticed it was missing.
====== arisian (2010-04-17 12:57:14) ======

But the geoscape with GLSL enabled works for you? You can see the bumpmapping on the globe?
====== balasar (2010-04-17 14:00:26) ======

Yes, on geoscape with GLSL all right.
====== arisian (2010-04-17 23:42:26) ======

Okay, this must be some issue specific to the battlescape shaders, which I didn't write. I'll try to take a look at them and see if I can figure out what's going on eventually, but it's not my highest priority. If whoever wrote that code in the first place would fix it, that would be nice.
====== balasar (2010-04-21 10:45:38) ======

now also become a black UFOmodel (see new attached screenshot)
====== balasar (2010-04-21 10:46:00) ======

rev29480
====== balasar (2010-04-21 10:47:42) ======


====== arisian (2010-04-21 12:50:59) ======

Could you try seeing if enabling or disabling fog makes any difference for me?
====== balasar (2010-04-21 13:47:57) ======

Not quite figured that fog you mean?
====== arisian (2010-04-21 13:59:37) ======

altered version of dynamic lighting based shader
====== arisian (2010-04-21 14:00:28) ======

Nevermind about the fog thing. I've just attached a different version of light_fs.glsl; put it in base/shaders/ and see if that makes any difference.
====== edirr (2010-04-21 17:22:48) ======

I'm having this same problem with black objects in the battlescape. Specifically the tent in the forest map. It has ALWAYS been a solid black for me.

The objects loaded, as per ufoconsole.log:

2010/04/21 20:00:06 ==== InitGame ====
2010/04/21 20:00:07 SV_AssembleMap: Sequential map assembly in 22 ms
2010/04/21 20:00:07 CM_LoadMap: "-forest/fr_ +craft_drop_firebird +craft_crash_scout +h1 +h2 +w6 +w8 +f2 +f3 +f3 +f1 +f5 +f5 +f10 +f2 +f6 +a1 +w7 +a1 +a1 +w7 +w1 +w3" "-8 -16 0 -16 16 0 8 -40 0 16 0 0 -16 -24 0 -8 -40 0 16 -16 0 -16 -8 0 -8 0 0 16 -8 0 0 24 0 0 0 0 0 16 0 -16 8 0 16 16 0 16 32 0 -16 -40 0 -16 -32 0 -8 -32 0 -8 -24 0 0 -24 0 0 -32 0"
2010/04/21 20:00:09 Rerouted for RMA in 0.0s
2010/04/21 20:00:09 checksum for the map '+forest': 2491710756
2010/04/21 20:00:09 ufo script checksum 3151923691
2010/04/21 20:00:09 Created AI player (team 0)
2010/04/21 20:00:09 Created AI player (team 7)
2010/04/21 20:00:09 -------------------------------------
2010/04/21 20:00:09 Connecting to localhost...
2010/04/21 20:00:09 connection attempt from loopback connection
2010/04/21 20:00:09 load material file: 'materials/forest.mat'
2010/04/21 20:00:19 Starting the game...

Something there has some sort of problem, but no idea what.

System specs:

Windows XP SP3, ATI Radeon HD4870 (latest drivers), UFO: AI build 29486
====== edirr (2010-04-21 17:34:31) ======

Hmm, after reviewing the screenshots attached to this artifact, some clarification is in order: All other models except that tent work correctly for me and always have. The tent has always been black. I'll attach a screenshot.
====== edirr (2010-04-21 17:40:28) ======

For some reason it doesn't allow me to attach a file. Or I just suck at using the tracker. In any case, you can find a screenshot posted by someone else at http://ufoai.ninex.info/forum/index.php?topic=4650.0
====== arisian (2010-04-21 17:41:12) ======

Yeah, that tent is black for me as well; I don't think it's a problem with the shaders, I think it's a problem with the tent itself, though I haven't really looked that hard into it.
====== balasar (2010-04-21 18:06:27) ======

No changes are allowed.
====== balasar (2010-04-22 09:30:05) ======

Oh, Yeh. In rev 29511 еverything changed for the better, but if postproc is enabled appears strange effect (see new screenshot)
====== balasar (2010-04-22 09:31:58) ======


====== tlh2000 (2010-04-22 11:01:47) ======

only for the models? strange, duke and me have that effect on everything, also the brushes.
====== tlh2000 (2010-04-22 11:03:40) ======

could you please retry with revision 29506 and 29508? i would like to know which revision introduced the fix.
====== tlh2000 (2010-04-22 11:05:00) ======

...or is now fixed because the shaders don't compile? ;)

"Only arrays of texcoords may be indexed in this profile, and only with a loop index variable"
====== balasar (2010-04-22 11:52:38) ======

I think that the correct version of the changes took place in 29508, since I just framed old glsl-file (arisian's attacment here) and again the black model.
And in version 29512 "effect", described now, not disappeared.
====== tlh2000 (2010-04-22 11:54:56) ======

can you please attach the ufoconsole.log for r29512 again? i think the black models might reappear in r29512 as the shaders should compile again (hopefully)
====== balasar (2010-04-22 12:23:51) ======


====== tlh2000 (2010-04-22 12:29:53) ======

http://ufoai.ninex.info/forum/index.php?topic=4706.0

here's dukes post about the problem
====== balasar (2010-04-22 12:36:29) ======

But I myself do not watch this.
====== tlh2000 (2010-04-22 15:50:40) ======

maybe some windows user can try to run this on our shaders
http://developer.amd.com/gpu/shader/Pages/default.aspx#download
====== balasar (2010-04-22 16:29:42) ======

Does it start on my Nvidia GForce7900?
====== tlh2000 (2010-04-22 21:03:07) ======

possible that i've broken the glow material stuff, but it should be fixed for meshes now - feedback is more than welcome. especially whether it works for the material system now.
====== balasar (2010-04-22 23:14:33) ======

r29517 - Again black models! But if used glsl-files from r29512 all OK (no black models and NO "effect")
====== balasar (2010-04-23 11:55:28) ======

In rev 29524postproc enabled
====== balasar (2010-04-24 13:56:54) ======

к29535 Black models are still present.
====== balasar (2010-04-24 13:57:36) ======


====== tlh2000 (2010-04-25 12:31:31) ======

black models might also be a result of no normalmaps for md2 models
r29548 adds normal calculation code - but currently deactivated.
====== balasar (2010-04-26 17:19:23) ======

r29590 OK, no black models.
====== arisian (2010-04-27 23:48:13) ======

I'm going to go ahead and close this, since it sounds like it's fixed now for balasar; if anyone is still seeing this bug, feel free to re-open the thread.
Steps to reproduce this issue
Nothing entered.
Todos (0 / 0)
Issue created
footer_logo.png The Bug Genie 4.3.1 | Support | Feedback spinning_16.gif