3d skybox problems

fullofpower

L1: Registered
Sep 6, 2009
12
0
hi i am building a map right now
everything worked perfect
but after i builded my skybox i got a big problem

when vvis.exe starts loading he is getting to 100 cpu ( got 10 gb ram)
and my map does not load after that ( he just freezes)

Valve Software - vbsp.exe (May 19 2009)
4 threads
materialPath: c:\program files\steam\steamapps\dutchpower2\team fortress 2\tf\materials
Loading C:\Users\rob\Documents\tf2\The_Docks_002.vmf
Patching WVT material: maps/the_docks_002/egypt/sand_floor_blend_04_wvt_patch
Patching WVT material: maps/the_docks_002/egypt/sky_sand_waves_01_wvt_patch
fixing up env_cubemap materials on brush sides...
ProcessBlock_Thread: 0...1...2...3...4...5...6...7...8...9...10 (1)
ProcessBlock_Thread: 0...1...2...3...4...5...6...7...8...9...10 (0)
Processing areas...done (0)
Building Faces...done (1)
Chop Details...done (0)
Find Visible Detail Sides...
Merged 24 detail faces...done (0)
Merging details...done (0)
FixTjuncs...
PruneNodes...
WriteBSP...
done (0)
writing C:\Users\rob\Documents\tf2\The_Docks_002.prt...Building visibility clusters...
done (0)
*** Error: Skybox vtf files for skybox/sky_goldrush_01 weren't compiled with the same size texture and/or same flags!
Can't load skybox file skybox/sky_goldrush_01 to build the default cubemap!
*** Error: Skybox vtf files for skybox/sky_goldrush_01 weren't compiled with the same size texture and/or same flags!
Can't load skybox file skybox/sky_goldrush_01 to build the default cubemap!
Finding displacement neighbors...
Finding lightmap sample positions...
Displacement Alpha : 0...1...2...3...4...5...6...7...8...9...10
Building Physics collision data...
done (1) (233441 bytes)
Placing detail props : 0...1...2...3...4...5...6...7...8...9...10
Compacting texture/material tables...
Reduced 1652 texinfos to 1146
Reduced 123 texdatas to 109 (5441 bytes to 4856)
Writing C:\Users\rob\Documents\tf2\The_Docks_002.bsp
8 seconds elapsed

** Executing...
** Command: "c:\program files\steam\steamapps\dutchpower2\sourcesdk\bin\orangebox\bin\vvis.exe"
** Parameters: -game "c:\program files\steam\steamapps\dutchpower2\team fortress 2\tf" "C:\Users\rob\Documents\tf2\The_Docks_002"

Valve Software - vvis.exe (May 19 2009)
4 threads
reading c:\users\rob\documents\tf2\The_Docks_002.bsp
reading c:\users\rob\documents\tf2\The_Docks_002.prt
1680 portalclusters
5283 numportals
BasePortalVis: 0...1...2...3...4...5...6...7...8...9...10 (1)
PortalFlow: 0...1...2. ( freeze here )

ill think that this is the problem:

*** Error: Skybox vtf files for skybox/sky_goldrush_01 weren't compiled with the same size texture and/or same flags!

but how to slove that?

edit : my 3d skybox is a sea :p
 
Last edited:

martijntje

L8: Fancy Shmancy Member
Aug 2, 2009
539
334
the error you are talking about is normal, every map you compile with a tf2 skybox gets that error, you can just ignore it.

when compiling, it often looks like hammer has crashed, (not responding etc) but it hardly ever is like that. just give it some time.

How long did you let it run? I suggest letting it run for about ten minutes (it ussually stays below that :p ) and if it still hasnt compiled abort it. then you probably made the map hard to compile.

You could then try a "fast" compile. this the disadvantage of making your map run less smooth when playing aka you experience lower fps. to do this when you start compiling, you have these nice tickboxes, select "fast" at both vvis and vrad.
 

Nutomic

L11: Posh Member
Feb 7, 2009
888
177
That error is nothing to worry about, everybody gets that, valve were just too lazy to include default cubemaps to the skyboxes.

That the compile freezes is normal, big maps can take hours to fully compile. The only thing you can do, is optimization:

http://optimization.interlopers.net

Also, welcome at TF2Maps :)

€: Damn, ninja'd
 

fullofpower

L1: Registered
Sep 6, 2009
12
0
ok, i just removed my 3d skybox but now is everthing working fine again

ill think that water + skybox = error ^^ i saw much complanes on other forums to
soo ill try to solve it another way
 

grazr

Old Man Mutant Ninja Turtle
aa
Mar 4, 2008
5,441
3,814
Do you have water in your map? You can't have 2 planes of water at different heights when using "expensive" water textures. Only one can be expensive and the rest have to be cheap water textures.

Secondly, freezing on the portal flow is common. it's normally due to complicated geometry. If you have detailed geometry such as wooden trims or stairs etc, it is sensible to convert them to an entity, such as func_detail or func_lod. This will reduce your compile time as vis has easier shapes to work with when creating visleafs as entity's are ignored by vvis during compilation.

You will want to read up on optimisation; including "hints", "areaportals", "visclusters" and general layout design.

you can start here: http://optimization.interlopers.net/index.php?chapter=intro
 

fullofpower

L1: Registered
Sep 6, 2009
12
0
ok tnx i already made 3 maps but this is the first one that i will release

and this is the first time that i make a 3d skybox
but it is realy hard
to much errors and stuff if i will it
i don't know why ( watched like 100 video tutorails )
so ill think that i just make a high fence around my map and 2d skybox

3d skybox is not working for me :p ( and im not a big noob with this stuff ^^ )

( without the skybox the map loads in 30 sec )
 

fullofpower

L1: Registered
Sep 6, 2009
12
0
but when i remove vvis and ( that other program) of procces the map loads

but there are no shadows and i see my own map in the skybox ( how is that possible?)
i got a hollow box with skybox around my camara