Author |
Topic: sun/shadow work |
Kleineman |
General Member Since: Feb 19, 2005 Posts: 42 Last: Apr 12, 2008 [view latest posts] |
|
|
Category: CoD4 MP Mapping Posted: Saturday, Feb. 2, 2008 09:32 pm |
|
Also posted this on IW forums:
let me start of with a pic.
http://www.bokh.nl/files/cod4/sun_shadow_bug.jpg
Now is this a bug with the shadows dissapearing the further away i get from them? And also i can't find the reason why everything is glowing so much.
I haven't changed anything on the map worldspawn settings wise and suddenly it's being overly bright. Anyone got a clue whats going on? Might it have to do with the shader bin error i get when using reflection probes? (not used in this map)
help would be appreciated
edited on Feb. 2, 2008 04:32 pm by Kleineman |
|
|
|
The_Caretaker |
General Member Since: Jun 8, 2004 Posts: 11625 Last: Jul 7, 2009 [view latest posts] |
|
|
|
Kleineman |
General Member Since: Feb 19, 2005 Posts: 42 Last: Apr 12, 2008 [view latest posts] |
|
|
|
Sevenz |
|
General Member Since: Apr 24, 2006 Posts: 2390 Last: May 10, 2013 [view latest posts] |
|
|
Category: CoD4 MP Mapping Posted: Sunday, Feb. 3, 2008 12:34 am |
|
get modtools update v1.1 to fix the shader problem
fourzerotwo:
Quote: Hey Everyone --
As always, please check the Mod Tools Download and Revision History IWiki page for the most recently updated revisions and updates. However, we already have a small update for the Mod Tools to address and fix for shader_bin error in CoD4Radiant and CoD4EffectsEd.
Please download the following zip and unzip in the same directory as the tools, overwriting any necessary files:
http://patches.infinityward.com/modernwarf...v1.1_update.zip
Note: After downloading the update, you should delete the shader_bin copies made as a work around (if any). Since there are lots of files in shader_bin, it will slow down file operations if you have copies of them.
edited on Feb. 2, 2008 07:35 pm by Sevenz |
|
|
|
Kleineman |
General Member Since: Feb 19, 2005 Posts: 42 Last: Apr 12, 2008 [view latest posts] |
|
|
|
Sevenz |
|
General Member Since: Apr 24, 2006 Posts: 2390 Last: May 10, 2013 [view latest posts] |
|
|
Category: CoD4 MP Mapping Posted: Sunday, Feb. 3, 2008 12:42 am |
|
|
|
|
|
Kleineman |
General Member Since: Feb 19, 2005 Posts: 42 Last: Apr 12, 2008 [view latest posts] |
|
|
|
Sevenz |
|
General Member Since: Apr 24, 2006 Posts: 2390 Last: May 10, 2013 [view latest posts] |
|
|
|
Kleineman |
General Member Since: Feb 19, 2005 Posts: 42 Last: Apr 12, 2008 [view latest posts] |
|
|
Category: CoD4 MP Mapping Posted: Tuesday, Feb. 5, 2008 11:02 am |
|
I posted this over at IW forums.
I checked the Debuglightmaps option and did another compile. For starters it did change the way the map looked. And i can now see through the glass in my doors/windows. Now to fix the rainbow buildings :D. It has something to do with my reflection probes. I have only 1 per room and there is no direct visual line to be made between the reflection probes so they are not conflicting. Might it be that i dont have enough?
BTW, nothing casts shadows anymore... none of my buildings.
http://www.bokh.nl/files/cod4/lighting_bug.jpg
Here is the latest compile log.
Code: Er bestaat al een submap of bestand C:\Gaming\Games\Call of Duty 4\raw\maps\mp\.
.
.
###########################################
COMPILE BSP
###########################################
.
.
1 bestand(en) gekopieerd.
CoD4Map v1.1 (c) 2002 Id Software Inc. / Infinity Ward
---- cod2map ----
----- FS_Startup -----
Current search path:
C:\Gaming\Games\Call of Duty 4\bin\CoD4CompileTools/main
C:\Gaming\Games\Call of Duty 4\main\iw_12.iwd (33 files)
C:\Gaming\Games\Call of Duty 4\main\iw_11.iwd (448 files)
C:\Gaming\Games\Call of Duty 4\main\iw_10.iwd (230 files)
C:\Gaming\Games\Call of Duty 4\main\iw_09.iwd (447 files)
C:\Gaming\Games\Call of Duty 4\main\iw_08.iwd (66 files)
C:\Gaming\Games\Call of Duty 4\main\iw_07.iwd (34 files)
C:\Gaming\Games\Call of Duty 4\main\iw_06.iwd (416 files)
C:\Gaming\Games\Call of Duty 4\main\iw_05.iwd (716 files)
C:\Gaming\Games\Call of Duty 4\main\iw_04.iwd (765 files)
C:\Gaming\Games\Call of Duty 4\main\iw_03.iwd (670 files)
C:\Gaming\Games\Call of Duty 4\main\iw_02.iwd (1296 files)
C:\Gaming\Games\Call of Duty 4\main\iw_01.iwd (1456 files)
C:\Gaming\Games\Call of Duty 4\main\iw_00.iwd (1054 files)
C:/Gaming/Games/Call of Duty 4//main
C:/Gaming/Games/Call of Duty 4//main_shared
C:\Gaming\Games\Call of Duty 4\bin\CoD4CompileTools/raw
C:\Gaming\Games\Call of Duty 4\bin\CoD4CompileTools/raw_shared
C:\Gaming\Games\Call of Duty 4\bin\CoD4CompileTools/devraw
C:\Gaming\Games\Call of Duty 4\bin\CoD4CompileTools/devraw_shared
C:/Gaming/Games/Call of Duty 4//players
C:/Gaming/Games/Call of Duty 4//raw
C:/Gaming/Games/Call of Duty 4//raw_shared
C:/Gaming/Games/Call of Duty 4//devraw
C:/Gaming/Games/Call of Duty 4//devraw_shared
C:\Gaming\Games\Call of Duty 4\main\localized_english_iw06.iwd (7 files)
C:\Gaming\Games\Call of Duty 4\main\localized_english_iw05.iwd (1338 files)
C:\Gaming\Games\Call of Duty 4\main\localized_english_iw04.iwd (1730 files)
C:\Gaming\Games\Call of Duty 4\main\localized_english_iw03.iwd (3705 files)
C:\Gaming\Games\Call of Duty 4\main\localized_english_iw02.iwd (3483 files)
C:\Gaming\Games\Call of Duty 4\main\localized_english_iw01.iwd (3181 files)
C:\Gaming\Games\Call of Duty 4\main\localized_english_iw00.iwd (2903 files)
C:/Gaming/Games/Call of Duty 4//raw/english
File Handles:
----------------------
23978 files in iwd files
Loading map file C:\Gaming\Games\Call of Duty 4\map_source\mp_ravens01.map
writing C:\Gaming\Games\Call of Duty 4\raw\maps\mp\mp_ravens01.d3dprt
finding triangle windings...
coalescing coincident windings...
removing occluded winding fragments...
assigning primary lights...
finding sun shadow casters...
splitting large windings...
merging into concave windings...
finished in 1399 seconds
fixing t-junctions...
tethering holes to their concave windings...
building lightmap groups...
finished in 7 seconds
assigning lightmaps...
finding index mapping and snapping vertices...
triangulating all windings...
0 self-tjunctions fixed
0 degenerate tris removed
smoothing normals...
emitting triangles...
triangulating all windings...
0 self-tjunctions fixed
0 degenerate tris removed
smoothing normals...
emitting triangles...
combining layered materials...
207 vertices couldn't be merged because the textures point different ways
emitting cells and portals...
building curve/terrain collision...
Adding brush neighbor bevels...
Removing redundant brush collision planes...
removed 228 brush sides
elapsed time 0 seconds
Finished processing world entity
Writing C:\Gaming\Games\Call of Duty 4\raw\maps\mp\mp_ravens01.d3dbsp
1426 seconds elapsed
.
.
###########################################
COMPILE LIGHT
###########################################
.
.
1 bestand(en) gekopieerd.
----- FS_Startup -----
Current search path:
C:\Gaming\Games\Call of Duty 4\bin\CoD4CompileTools/main
C:\Gaming\Games\Call of Duty 4\main\iw_12.iwd (33 files)
C:\Gaming\Games\Call of Duty 4\main\iw_11.iwd (448 files)
C:\Gaming\Games\Call of Duty 4\main\iw_10.iwd (230 files)
C:\Gaming\Games\Call of Duty 4\main\iw_09.iwd (447 files)
C:\Gaming\Games\Call of Duty 4\main\iw_08.iwd (66 files)
C:\Gaming\Games\Call of Duty 4\main\iw_07.iwd (34 files)
C:\Gaming\Games\Call of Duty 4\main\iw_06.iwd (416 files)
C:\Gaming\Games\Call of Duty 4\main\iw_05.iwd (716 files)
C:\Gaming\Games\Call of Duty 4\main\iw_04.iwd (765 files)
C:\Gaming\Games\Call of Duty 4\main\iw_03.iwd (670 files)
C:\Gaming\Games\Call of Duty 4\main\iw_02.iwd (1296 files)
C:\Gaming\Games\Call of Duty 4\main\iw_01.iwd (1456 files)
C:\Gaming\Games\Call of Duty 4\main\iw_00.iwd (1054 files)
C:/Gaming/Games/Call of Duty 4//main
C:/Gaming/Games/Call of Duty 4//main_shared
C:\Gaming\Games\Call of Duty 4\bin\CoD4CompileTools/raw
C:\Gaming\Games\Call of Duty 4\bin\CoD4CompileTools/raw_shared
C:\Gaming\Games\Call of Duty 4\bin\CoD4CompileTools/devraw
C:\Gaming\Games\Call of Duty 4\bin\CoD4CompileTools/devraw_shared
C:/Gaming/Games/Call of Duty 4//raw
C:/Gaming/Games/Call of Duty 4//raw_shared
C:/Gaming/Games/Call of Duty 4//devraw
C:/Gaming/Games/Call of Duty 4//devraw_shared
C:\Gaming\Games\Call of Duty 4\main\localized_english_iw06.iwd (7 files)
C:\Gaming\Games\Call of Duty 4\main\localized_english_iw05.iwd (1338 files)
C:\Gaming\Games\Call of Duty 4\main\localized_english_iw04.iwd (1730 files)
C:\Gaming\Games\Call of Duty 4\main\localized_english_iw03.iwd (3705 files)
C:\Gaming\Games\Call of Duty 4\main\localized_english_iw02.iwd (3483 files)
C:\Gaming\Games\Call of Duty 4\main\localized_english_iw01.iwd (3181 files)
C:\Gaming\Games\Call of Duty 4\main\localized_english_iw00.iwd (2903 files)
C:/Gaming/Games/Call of Duty 4//raw/english
File Handles:
----------------------
23978 files in iwd files
using map radiosityScale 2
using default contrastGain 0.3
building collision data...
Ran out of triangle refs.
This can happen in a big map with simple geometry and default blocksize.
Try using -blocksize 0 in cod2map.
.
.
###########################################
DONE
###########################################
.
.
Druk op een toets om door te gaan. . .
Does anyone have an idea what is next on the agenda?
edited on Feb. 5, 2008 06:06 am by Kleineman |
|
|
|
Sevenz |
|
General Member Since: Apr 24, 2006 Posts: 2390 Last: May 10, 2013 [view latest posts] |
|
|
Category: CoD4 MP Mapping Posted: Tuesday, Feb. 5, 2008 01:43 pm |
|
Quote: Ran out of triangle refs.
This can happen in a big map with simple geometry and default blocksize.
Try using -blocksize 0 in cod2map.
set blocksize to 0 in compiler and retry
you should add at least one brush with a solid texture to your map. don't know why but that helped me out when i couldn't compile my map. |
|
|
|