Jump to content

Invisible Terrain, Very Strange


Recommended Posts

Posted

I've recently encountered a new problem, in which terrain entities become invisible, yet structurally still active, after compiling maps.  I've never had this sort of issue before, and typically incorporate terrain developed in Easygen in my maps.  I've already determined that there's nothing wrong with my shader or alphamap files, yet for some strange reason any terrain entities become completely invisible in game.  I believe it has something to do with my compilation process, perhaps q3map2 isn't recognizing my shaderlist.txt?

 

In troubleshooting the anomaly, I downloaded the "Terrain" prefab, placed the alphamap pcx in my base folder, the shader in base/shaders, added the shader to shaderlist.txt, and compiled the map.  The terrain was invisible in my compiled .bsp, yet visible in the already compiled bsp that comes with the prefab.

 

This has been a very annoying problem to suddenly arise for seemingly no reason, and I would very much so appreciate any assistance or advice.  Thanks in advance.

Posted

@@Vegeta Send your compiler commands, your version of the .map and a link to the original .map file.

 

I have recently spent quite some time looking through .map files and should be able to spot anything that's off in there. Maybe your Radiant install is screwing the .map up in some way.

Posted

@@AshuraDX
 
Here's a link to the .map
https://www.dropbox.com/s/0n1xuoesrzfi8f5/skybox.map?dl=0
 
And the compiler log

 

24 threads
Q3Map - v1.0r © 1999 Id Software Inc.
Q3Map (ydnar) - v2.5.16
GtkRadiant - v1.5.0 Oct 8 2004 08:08:27
Voter turnout
--- InitPaths ---
VFS Init: D:/Program Files (x86)/LucasArts/Star Wars Jedi Knight Jedi Academy/GameData/base/
VFS Init: D:/Program Files (x86)/LucasArts/Star Wars Jedi Knight Jedi Academy/GameData/base/

--- BSP ---
Creating meta surfaces from brush faces
entering shaders/shaderlist.txt
entering shaders/shaderlist.txt (2)
entering shaders/bespin.shader
entering shaders/bounty.shader
entering shaders/byss.shader
Script file shaders/cairn.shader was not found
entering shaders/common.shader
entering shaders/danger.shader
entering shaders/decals.shader
entering shaders/desert.shader
entering shaders/doomgiver.shader
entering shaders/factory.shader
entering shaders/flares.shader
entering shaders/fogs.shader
Script file shaders/h_evil.shader was not found
entering shaders/hoth.shader
entering shaders/imp_mine.shader
Script file shaders/impdetention.shader was not found
entering shaders/imperial.shader
entering shaders/jnegretetest.shader
Script file shaders/kejim.shader was not found
entering shaders/korriban.shader
entering shaders/models.shader
entering shaders/mp.shader
Script file shaders/narshaddaa.shader was not found
Script file shaders/nar_streets.shader was not found
entering shaders/quicktrip.shader
Script file shaders/rail.shader was not found
entering shaders/rbettenbergtest.shader
entering shaders/rift.shader
Script file shaders/rocky_ruins.shader was not found
Script file shaders/rooftop.shader was not found
Script file shaders/sandcrawler.shader was not found
entering shaders/siege.shader
entering shaders/skies.shader
entering shaders/stu.shader
entering shaders/system.shader
entering shaders/taspir.shader
Script file shaders/tests.shader was not found
entering shaders/vjun.shader
entering shaders/wedge.shader
entering shaders/yavin.shader
entering shaders/hd.shader
entering shaders/hd_imp.shader
entering shaders/hd_skies.shader
entering shaders/door.shader
entering shaders/clouds.shader
entering shaders/skybox.shader
1662 shaderInfo
--- LoadMapFile ---
Loading D:\Program Files (x86)\LucasArts\Star Wars Jedi Knight Jedi Academy\GameData\base\maps\skybox.map
entering D:\Program Files (x86)\LucasArts\Star Wars Jedi Knight Jedi Academy\GameData\base\maps\skybox.map
Shader textures/hd/concrete has
NM textures/hd/concrete_normal.tga
Entity 0 (worldspawn) has lightmap scale of 0.1250
Entity 1 (func_group) has shader index map "skybox.pcx"
1159 total world brushes
1152 detail brushes
0 patches
3453 boxbevels
2227 edgebevels
2 entities
6984 planes
0 areaportals
Size: -544, -544, -96 to 544, 544, 736
--- ProcessDecals ---
0 decal projectors
--- CreateMapFogs ---
0 fogs
############### model 0 ###############
block size = { 1024 1024 1024 }
BSP bounds: { -544.000000 -544.000000 -96.000000 } { 544.000000 544.000000 736.000000 }
Lightgrid bounds: { 99999.000000 99999.000000 99999.000000 } { -99999.000000 -99999.000000 -99999.000000 }
--- PatchMapDrawSurfs ---
--- FaceBSP ---
42 faces
88 leafs
--- MakeTreePortals ---
0 tiny portals
0 bad portals
--- FilterStructuralBrushesIntoTree ---
7 structural brushes
26 cluster references
--- FloodEntities ---
14 flooded leafs
--- FillOutside ---
26 solid leafs
48 leafs filled
14 inside leafs
--- CullSides ---
0 hidden faces culled
0 coincident faces culled
--- ClipSidesIntoTree ---
--- FaceBSP ---
11 faces
40 leafs
--- MakeTreePortals ---
0 tiny portals
0 bad portals
--- FilterStructuralBrushesIntoTree ---
7 structural brushes
26 cluster references
--- NumberClusters ---
14 visclusters
31 visportals
40 solidfaces
--- WritePortalFile ---
writing D:\Program Files (x86)\LucasArts\Star Wars Jedi Knight Jedi Academy\GameData\base\maps\skybox.prt
--- FloodAreas ---
1 areas
--- AddTriangleModels ---
--- AddEntitySurfaceModels ---
--- FilterDetailBrushesIntoTree ---
1152 detail brushes
2334 cluster references
----- FogDrawSurfs -----
0 fog polygon fragments
0 fog patch fragments
0 fogged drawsurfs
--- SubdivideFaceSurfaces ---
--- FixTJunctions ---
24 axial edge lines
0 non-axial edge lines
0 degenerate edges
0 verts added for T-junctions
44 total verts
11 naturally ordered
0 rotated orders
0 can't order
0 broken (degenerate) surfaces removed
--- ClassifyEntitySurfaces ---
--- TidyEntitySurfaces ---
0 empty or malformed surfaces deleted
--- MakeEntityDecals ---
(0)
0 decal surfaces
--- MakeEntityMetaTriangles ---
0...1...2...3...4...5...6...7...8...9... (0)
11 total meta surfaces
11 stripped surfaces
0 fanned surfaces
0 patch meta surfaces
44 meta verts
22 meta triangles
--- TidyEntitySurfaces ---
11 empty or malformed surfaces deleted
--- SmoothMetaTriangles ---
No smoothing angles specified, aborting
--- MergeMetaTriangles ---
0...1...2...3...4...5...6...7...8...9...10... (0)
11 surfaces merged
44 vertexes merged
--- FilterDrawsurfsIntoTree ---
60 references
11 (11) emitted drawsurfs
11 stripped face surfaces
0 fanned face surfaces
0 surface models generated
0 skybox surfaces generated
0 SURFACE_BAD surfaces
0 SURFACE_FACE surfaces
0 SURFACE_PATCH surfaces
0 SURFACE_TRIANGLES surfaces
0 SURFACE_FLARE surfaces
0 SURFACE_FOLIAGE surfaces
0 SURFACE_FORCED_META surfaces
11 SURFACE_META surfaces
0 SURFACE_FOGHULL surfaces
0 SURFACE_DECAL surfaces
0 SURFACE_SHADER surfaces
54 redundant indexes supressed, saving 0 Kbytes
--- FixBrushSides ---
--- EndModel ---
0 light entities stripped
6986 BSP planes
--- WriteSurfaceExtraFile ---
Writing D:\Program Files (x86)\LucasArts\Star Wars Jedi Knight Jedi Academy\GameData\base\maps\skybox.srf
Writing D:\Program Files (x86)\LucasArts\Star Wars Jedi Knight Jedi Academy\GameData\base\maps\skybox.bsp
Storing lightgrid: 0 points
Wrote 0.3 MB (282440 bytes)
9 seconds elapsed
Disconnecting
24 threads
Q3Map - v1.0r © 1999 Id Software Inc.
Q3Map (ydnar) - v2.5.16
GtkRadiant - v1.5.0 Oct 8 2004 08:08:27
Voter turnout
--- InitPaths ---
VFS Init: D:/Program Files (x86)/LucasArts/Star Wars Jedi Knight Jedi Academy/GameData/base/
VFS Init: D:/Program Files (x86)/LucasArts/Star Wars Jedi Knight Jedi Academy/GameData/base/

--- Vis ---
saveprt = true
Loading D:\Program Files (x86)\LucasArts\Star Wars Jedi Knight Jedi Academy\GameData\base\maps\skybox.bsp
Loading D:\Program Files (x86)\LucasArts\Star Wars Jedi Knight Jedi Academy\GameData\base\maps\skybox.prt
14 portalclusters
31 numportals
40 numfaces
62 active portals
0 hint portals
visdatasize:120

--- BasePortalVis (62) ---
0...1...2...3...4...5...6...7...8...9... (0)
4 average number of passages per leaf
0 MB required passage memory

--- CreatePassages (62) ---
0...1...2...3...4...5...6...7...8...9... (0)

--- PassagePortalFlow (62) ---
0...1...2...3...4...5...6...7...8...9... (0)
creating leaf vis...
cluster 0 : 15 visible
cluster 1 : 15 visible
cluster 2 : 14 visible
cluster 3 : 15 visible
cluster 4 : 15 visible
cluster 5 : 13 visible
cluster 6 : 14 visible
cluster 7 : 15 visible
cluster 8 : 15 visible
cluster 9 : 15 visible
cluster 10 : 15 visible
cluster 11 : 15 visible
cluster 12 : 15 visible
cluster 13 : 15 visible
Total visible clusters: 206
Average clusters visible: 14
Writing D:\Program Files (x86)\LucasArts\Star Wars Jedi Knight Jedi Academy\GameData\base\maps\skybox.bsp
Storing lightgrid: 0 points
Wrote 0.3 MB (282560 bytes)
7 seconds elapsed
Disconnecting
24 threads
Q3Map - v1.0r © 1999 Id Software Inc.
Q3Map (ydnar) - v2.5.16
GtkRadiant - v1.5.0 Oct 8 2004 08:08:27
Voter turnout
--- InitPaths ---
VFS Init: D:/Program Files (x86)/LucasArts/Star Wars Jedi Knight Jedi Academy/GameData/base/
VFS Init: D:/Program Files (x86)/LucasArts/Star Wars Jedi Knight Jedi Academy/GameData/base/

--- Light ---
Fast mode enabled
Phong shading enabled
Ordered-grid supersampling enabled with 4 sample(s) per lightmap texel
Map has shader script D:\Program Files (x86)\LucasArts\Star Wars Jedi Knight Jedi Academy\GameData\base\maps/../shaders/q3map2_skybox.shader
entering shaders/shaderlist.txt
entering shaders/shaderlist.txt (2)
entering shaders/bespin.shader
entering shaders/bounty.shader
entering shaders/byss.shader
Script file shaders/cairn.shader was not found
entering shaders/common.shader
entering shaders/danger.shader
entering shaders/decals.shader
entering shaders/desert.shader
entering shaders/doomgiver.shader
entering shaders/factory.shader
entering shaders/flares.shader
entering shaders/fogs.shader
Script file shaders/h_evil.shader was not found
entering shaders/hoth.shader
entering shaders/imp_mine.shader
Script file shaders/impdetention.shader was not found
entering shaders/imperial.shader
entering shaders/jnegretetest.shader
Script file shaders/kejim.shader was not found
entering shaders/korriban.shader
entering shaders/models.shader
entering shaders/mp.shader
Script file shaders/narshaddaa.shader was not found
Script file shaders/nar_streets.shader was not found
entering shaders/quicktrip.shader
Script file shaders/rail.shader was not found
entering shaders/rbettenbergtest.shader
entering shaders/rift.shader
Script file shaders/rocky_ruins.shader was not found
Script file shaders/rooftop.shader was not found
Script file shaders/sandcrawler.shader was not found
entering shaders/siege.shader
entering shaders/skies.shader
entering shaders/stu.shader
entering shaders/system.shader
entering shaders/taspir.shader
Script file shaders/tests.shader was not found
entering shaders/vjun.shader
entering shaders/wedge.shader
entering shaders/yavin.shader
entering shaders/hd.shader
entering shaders/hd_imp.shader
entering shaders/hd_skies.shader
entering shaders/door.shader
entering shaders/clouds.shader
entering shaders/skybox.shader
1662 shaderInfo
Loading D:\Program Files (x86)\LucasArts\Star Wars Jedi Knight Jedi Academy\GameData\base\maps\skybox.bsp
Loading D:\Program Files (x86)\LucasArts\Star Wars Jedi Knight Jedi Academy\GameData\base\maps\skybox.srf
Shader textures/hd/concrete has
NM textures/hd/concrete_normal.tga
--- LoadMapFile ---
Loading D:\Program Files (x86)\LucasArts\Star Wars Jedi Knight Jedi Academy\GameData\base\maps\skybox.map
entering D:\Program Files (x86)\LucasArts\Star Wars Jedi Knight Jedi Academy\GameData\base\maps\skybox.map
0 light entities
--- SetupBrushes ---
1159 opaque brushes
--- SetupDirt ---
48 dirtmap vectors
--- SetupSurfaceLightmaps ---
11 surfaces
11 raw lightmaps
0 surfaces vertex lit
11 surfaces lightmapped
11 planar surfaces lightmapped
0 non-planar surfaces lightmapped
0 patches lightmapped
0 planar patches lightmapped
--- SetupTraceNodes ---
476 trace windings (0.12MB)
923 trace triangles (0.08MB)
506 trace nodes (0.03MB)
254 leaf nodes (0.02MB)
1 average windings per leaf node
17 max trace depth
--- SmoothNormals ---
--- SetupGrid ---
Grid size = { 42, 42, 85 }
6250 grid points
--- CreateLights ---
0 point lights
0 spotlights
0 diffuse (area) lights
0 sun/sky lights
--- TraceGrid ---
0...1...2...3...4...5...6...7...8...9... (0)
25 x 25 x 10 = 6250 grid
0 grid points envelope culled
0 grid points bounds culled
--- MapRawLightmap ---
0...1...2...3...4...5...6...7...8...9... (1)
305420 luxels
216745 luxels mapped
82213 luxels occluded
--- IlluminateRawLightmap ---
0...1...2...3...4...5...6...7...8...9... (0)
305420 luxels illuminated
--- IlluminateVertexes ---
0...1...2...3...4...5...6...7...8...9... (0)
44 vertexes illuminated
0 lights plane culled
0 lights envelope culled
0 lights bounds culled
0 lights cluster culled
--- StoreSurfaceLightmaps ---
Subsampling...collapsing...sorting...allocating...storing...projecting...done.
76355 luxels used
32768 luxels stored (233.02 percent efficiency)
11 solid surface lightmaps
10 identical surface lightmaps, using 101200 luxels
0 vertex forced surfaces
0 vertex approximated surfaces
2 BSP lightmaps
2 total lightmaps
1 unique lightmap/shader combinations
Writing D:\Program Files (x86)\LucasArts\Star Wars Jedi Knight Jedi Academy\GameData\base\maps\skybox.bsp
Storing lightgrid: 6250 points
Wrote 0.4 MB (393424 bytes)
11 seconds elapsed

Disconnecting

 

 

I'm not sure what you mean by my version of the .map versus the original, sorry

Posted

@@Vegeta

the .map file seems fine at a first glance, all brushes in the func_group are set to detail and I'm not seeing any typos.

and I'm not seeing anything fishy in that log.

Sorry mate, I have no clue what's wrong.

Posted

That's too bad. I think I'll try re-downloading q3map2 and the GUI to see if that changes anything

Oh. I recently had some issues with q3map2 GUI on Windows 10.

It would not register changes done to the map and produced ugly artifacts that I would not get while compiling from Radiant or via commandline. I can't tell if the problems were caused by using the gui on win 10 or by targetting the 64 Bit version of q3map2.

 

But maybe you problem is of similiar nature?

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...