black props after buildcubemap compile since SDK update

black props after buildcubemap compile since SDK update

Re: black props after buildcubemap compile since SDK update Posted by Moike_the_Squid on Fri Oct 21st 2005 at 9:43pm
Moike_the_Squid
39 posts
Posted 2005-10-21 9:43pm
39 posts 34 snarkmarks Registered: Mar 19th 2005 Occupation: Convergent Technologist Location: CA, USA
I'm building an updated revision of 'dm_playground_final_rc2' called 'dm_playground_deluxe'. Mostly to simplify the name, and add a few tweaks to speed up the map.

So here's the problem...

Since the DOD:S SDK update a couple weeks back I'm seeing a big problem with my map during the buildcubemaps step. After the compile finishes I fire up HL2DM and run buildcubemaps, this runs perfectly fine with no errors, after it runs everything looks great just the way it should.

I then disconnect from the map, and reload the map with 'map (mapname)' via the console. When the map loads all the props have horribly hard pitch black shadows. I can pick up physics objects with black shadows, move them around, and watch the black shadow move around the object. It's like something is very broken with the lighting system for the entities.

I fired up an old known good beta .vmf of dm_plastic and compiled that. I saw the exact same problem. This told me that it wasn't anything I'd screwed up in the map. So I did the following to try and troubleshoot the issue.

I tried both compiled maps on my chick's system on her Steam account/HL2DM just to make sure it wasn't my video card crapping out. Same bug.
  • Moved the .gcf files and downloaded fresh copies
  • Wiped out and reinstalled my ATI drivers/ATI Traytools
  • Refreshed the SDK content
None of this of course made any difference at all.

Here are some screens...

Three areas prior to running 'buildcubemaps'

http://moike.net/wtf-valve/play_pre_cube_1.jpg

http://moike.net/wtf-valve/play_pre_cube_2.jpg

http://moike.net/wtf-valve/play_pre_cube_3.jpg

Those same areas after running 'buildcubemaps' exiting the map and reloading the map.

http://moike.net/wtf-valve/play_post_cube_1.jpg

http://moike.net/wtf-valve/play_post_cube_2.jpg

http://moike.net/wtf-valve/play_post_cube_3.jpg

I've searched quite a few forums looking for any real mention of this, and so far the only real mention of it I've found is on chatbear

http://www.chatbear.com/board.plm?a=viewthread&t=933,1128328314,14504&b=4986&id=910376&v=flatold&s=0




<DIV class=quote>
<DIV class=quotetitle>? quote:</DIV>
<DIV class=quotetext>Since the update there has been a really bad bug occur, I am not alone in suffering from this error, I have 2 advanced mapper friends who have exactly the same bug, Maybe you have to and you haven't spotted it yet.

When u complile a new map, there is no shadow from Physic entities, then when you buildcubemaps any physic Entity that is not bathed in light becomes pitch black.</DIV></DIV>

Anybody know -any- kind of workaround for this problem, or have any idea when Valve plans to get a fix out? I've got two maps I'm ready to compile, but I'm stopped dead in the water because of this bug.

Thanks,

-Mike-
-Mike- is: Biker ~ Slacker ~ Iconoclast ~ Eclectic Thinker
MoikeNET ~ www.moike.net - Bad Cat Racing ~ www.badcatracing.com
Re: black props after buildcubemap compile since SDK update Posted by fishy on Fri Oct 21st 2005 at 10:03pm
fishy
2623 posts
Posted 2005-10-21 10:03pm
fishy
member
2623 posts 1476 snarkmarks Registered: Sep 7th 2003 Location: glasgow
i've noticed some similar weirdness. i'd put it down to me using the fast compile, and hadn't worried too much about it.

i wonder if it's got something to do with needing new compile tools to make maps for the new engine update. :confused:
i eat paint
Re: black props after buildcubemap compile since SDK update Posted by Moike_the_Squid on Fri Oct 21st 2005 at 10:05pm
Moike_the_Squid
39 posts
Posted 2005-10-21 10:05pm
39 posts 34 snarkmarks Registered: Mar 19th 2005 Occupation: Convergent Technologist Location: CA, USA
I thought it might have been fast compile related as well... So I went ahead and ran a full compile. Problem was still there. So that rules out it being related to the Off / Fast / Normal switches.
-Mike- is: Biker ~ Slacker ~ Iconoclast ~ Eclectic Thinker
MoikeNET ~ www.moike.net - Bad Cat Racing ~ www.badcatracing.com
Re: black props after buildcubemap compile since SDK update Posted by Captain P on Fri Oct 21st 2005 at 11:54pm
Captain P
1370 posts
Posted 2005-10-21 11:54pm
1370 posts 1995 snarkmarks Registered: Nov 6th 2003 Occupation: Game-programmer Location: Netherlands
I have this both before and after buildcubemaps. Actually, only since the last update... :|
Create-ivity - a game development blog
Re: black props after buildcubemap compile since SDK update Posted by Crono on Sat Oct 22nd 2005 at 2:45am
Crono
6628 posts
Posted 2005-10-22 2:45am
Crono
super admin
6628 posts 700 snarkmarks Registered: Dec 19th 2003 Location: Oregon, USA
Well ... I don't know if this will help anything, but try it on a few brushes.

In the cubemap properties, target a brush to act on. Then buildcubemaps in game and see if there's a difference or not.

It looks like something they funked up in an update recently.
Blame it on Microsoft, God does.
Re: black props after buildcubemap compile since SDK update Posted by fishy on Sat Oct 22nd 2005 at 12:37pm
fishy
2623 posts
Posted 2005-10-22 12:37pm
fishy
member
2623 posts 1476 snarkmarks Registered: Sep 7th 2003 Location: glasgow
before buildcubemaps, the v_model (hands and gun) respond ok to the light, but brushes all reflect an open skymap.

User posted image

and after buildcubemaps, the floor reflects as is intended, but the v_model is now completely black.

User posted image
i eat paint
Re: black props after buildcubemap compile since SDK update Posted by omegaslayer on Sat Oct 22nd 2005 at 6:39pm
omegaslayer
2481 posts
Posted 2005-10-22 6:39pm
2481 posts 595 snarkmarks Registered: Jan 16th 2004 Occupation: Sr. DevOPS Engineer Location: Seattle, WA
The SDK is going through a lot of changes to integrate the so called
HDR, who knows we may get prewiewable lighting in hammer (although I
doubt it) and these black models are just a bi-product of thechanges.
But this is just speculation and wishfull thinking. I havent
encountered the problem yet, but maybe if we sit back valve will fix
this problem like they do with many of them.
Posting And You
Re: black props after buildcubemap compile since SDK update Posted by wil5on on Sun Oct 23rd 2005 at 12:29am
wil5on
1733 posts
Posted 2005-10-23 12:29am
wil5on
member
1733 posts 570 snarkmarks Registered: Dec 12th 2003 Occupation: Mapper Location: Adelaide
Theres no chance of previewable lighting, I can tell you that for sure. Not without a complete reworking of the editor, which wouldnt be worth it.

You might be onto something with the HDR tho... Try disabling HDR and see if that helps, or try running the map in a different mod.
"If you talk at all during this lesson, you have detention. Do you understand?"
  • My yr11 Economics teacher
Re: black props after buildcubemap compile since SDK update Posted by (-[PREDATOR]-) on Mon Oct 24th 2005 at 1:39pm
(-[PREDATOR]-)
65 posts
Posted 2005-10-24 1:39pm
65 posts 567 snarkmarks Registered: Aug 5th 2004 Occupation: Student Location: Koszalin, Poland (Polska)
I've got the same problem in CS:S... The age of darkness has begun...
Re: black props after buildcubemap compile since SDK update Posted by cfreak on Sat Oct 29th 2005 at 6:21am
cfreak
1 post
Posted 2005-10-29 6:21am
cfreak
member
1 post 0 snarkmarks Registered: Oct 29th 2005
You guys aren't using CST to compile by any chance? That's what caused the black props for me after the last update.
Re: black props after buildcubemap compile since SDK update Posted by Moike_the_Squid on Sat Oct 29th 2005 at 2:54pm
Moike_the_Squid
39 posts
Posted 2005-10-29 2:54pm
39 posts 34 snarkmarks Registered: Mar 19th 2005 Occupation: Convergent Technologist Location: CA, USA
Nah, I'm compiling straight out of bone-stock hammer. And I've flipped quite a few different bits here and there trying to get at least something different to happen with no luck. First thing I did after the Lost Coast/SDK update yesterday was run a Normal/Fast/Normal compile of the map.

Problem is still there.

-Mike-
-Mike- is: Biker ~ Slacker ~ Iconoclast ~ Eclectic Thinker
MoikeNET ~ www.moike.net - Bad Cat Racing ~ www.badcatracing.com
Re: black props after buildcubemap compile since SDK update Posted by DrGlass on Sun Oct 30th 2005 at 12:20am
DrGlass
1825 posts
Posted 2005-10-30 12:20am
DrGlass
member
1825 posts 632 snarkmarks Registered: Dec 12th 2004 Occupation: 2D/3D digital artist Location: USA
Seems to me that possibly Lost coast may have upset other games
shaders. Valve went through every single shader in the game and
updated it to work with HDR.

But this would effect all textures, not just models. It looks a
lot like the texture error you get when you compile a solid brush with
a model/ texture.
Re: black props after buildcubemap compile since SDK update Posted by wil5on on Sun Oct 30th 2005 at 1:14am
wil5on
1733 posts
Posted 2005-10-30 1:14am
wil5on
member
1733 posts 570 snarkmarks Registered: Dec 12th 2003 Occupation: Mapper Location: Adelaide
Models use different shaders than world textures (I think, this is why you cant use model textures on brushes), so it's possible.
"If you talk at all during this lesson, you have detention. Do you understand?"
  • My yr11 Economics teacher
Re: black props after buildcubemap compile since SDK update Posted by DrGlass on Mon Oct 31st 2005 at 1:26am
DrGlass
1825 posts
Posted 2005-10-31 1:26am
DrGlass
member
1825 posts 632 snarkmarks Registered: Dec 12th 2004 Occupation: 2D/3D digital artist Location: USA
any one who is having this problem, try this: compile your map and make
sure the new version is in your games/map folder. Play the map
and see if the problem is still there, then re-load the map in game.

When I try that with my HL2 map it is fine the first load then after I load it again many of the props turn black.
Re: black props after buildcubemap compile since SDK update Posted by Moike_the_Squid on Mon Oct 31st 2005 at 5:00pm
Moike_the_Squid
39 posts
Posted 2005-10-31 5:00pm
39 posts 34 snarkmarks Registered: Mar 19th 2005 Occupation: Convergent Technologist Location: CA, USA
DrGlass:

That's how I have Hammer configured anyway. All my maps are built/grabbed from my regular hl2dm ~/maps folder. I noticed the exact same behavior you're talking about.

VERC/Chatbear has an update on this, the problem appears to be in the compiler and beyond our control at this point. Last post.

http://www.chatbear.com/board.plm?a=viewthread&b=4986&t=933,1128328314,14504&s=40&id=919348#42

-Mike-
-Mike- is: Biker ~ Slacker ~ Iconoclast ~ Eclectic Thinker
MoikeNET ~ www.moike.net - Bad Cat Racing ~ www.badcatracing.com
Re: black props after buildcubemap compile since SDK update Posted by xarian on Wed Nov 2nd 2005 at 10:50am
xarian
1 post
Posted 2005-11-02 10:50am
xarian
member
1 post 0 snarkmarks Registered: Oct 16th 2005 Location: Australia
Yes I too have noticed this little problem appear over the last two weeks seems though (for me) its localised in one area of my map! and I thought that I had done somthing stupid with the lights.
Re: black props after buildcubemap compile since SDK update Posted by Atrocity on Tue Nov 15th 2005 at 7:05pm
Atrocity
221 posts
Posted 2005-11-15 7:05pm
Atrocity
member
221 posts 152 snarkmarks Registered: Sep 1st 2003 Occupation: Level Designer/Student Location: Toronto Ohio
There will be previewable lighting I actually emailed Adrian Finol about it, and he confirmed it.
Re: black props after buildcubemap compile since SDK update Posted by Moike_the_Squid on Tue Nov 15th 2005 at 7:18pm
Moike_the_Squid
39 posts
Posted 2005-11-15 7:18pm
39 posts 34 snarkmarks Registered: Mar 19th 2005 Occupation: Convergent Technologist Location: CA, USA
Nice...

Any idea on a realistic timeframe on when we can see a bugfix/update for Hammer/SDK? I'd like to get back to some real mapping and testing.

Thanks for the blurb,

-Mike-
-Mike- is: Biker ~ Slacker ~ Iconoclast ~ Eclectic Thinker
MoikeNET ~ www.moike.net - Bad Cat Racing ~ www.badcatracing.com
Re: black props after buildcubemap compile since SDK update Posted by Moike_the_Squid on Mon Nov 21st 2005 at 6:38pm
Moike_the_Squid
39 posts
Posted 2005-11-21 6:38pm
39 posts 34 snarkmarks Registered: Mar 19th 2005 Occupation: Convergent Technologist Location: CA, USA
I found a temporary workaround...

http://www.sp-mods.com/cubemap_fix/fix.html

This won't fix your compile, but it will make the map look 'right' from the clients point of view till Valve fixes SDK.

And before anybody asks. I tried building cubemaps with "+r_radiosity 2" in the command line... Made no difference. :sad:

-Mike-
-Mike- is: Biker ~ Slacker ~ Iconoclast ~ Eclectic Thinker
MoikeNET ~ www.moike.net - Bad Cat Racing ~ www.badcatracing.com
Re: black props after buildcubemap compile since SDK update Posted by Finger on Thu Nov 24th 2005 at 11:54pm
Finger
672 posts
Posted 2005-11-24 11:54pm
Finger
member
672 posts 1460 snarkmarks Registered: Oct 13th 2001
Has anybody tested this since the new SDK update..... have they fixed this problem?
Re: black props after buildcubemap compile since SDK update Posted by Moike_the_Squid on Fri Dec 2nd 2005 at 6:59pm
Moike_the_Squid
39 posts
Posted 2005-12-02 6:59pm
39 posts 34 snarkmarks Registered: Mar 19th 2005 Occupation: Convergent Technologist Location: CA, USA
Got the beta release of the new SDK/Hammer... Recompiled my maps.

This problem is fixed.
-Mike- is: Biker ~ Slacker ~ Iconoclast ~ Eclectic Thinker
MoikeNET ~ www.moike.net - Bad Cat Racing ~ www.badcatracing.com