Jump to content
The Dark Mod Forums

Recommended Posts

Posted

Not much to say, just look at these picturesbSIi45p.png

8eh6UlA.png

 

Posted (edited)

A part of the texture of the stair isn't being rendered, instead I see the sky being rendered there

Edited by Zen3001
Posted

This appears to be common with 2.06. I have 4 places in my current WIP where this happens. There used to be 6, but 2 have worked themselves out over the past week w/o me doing anything specific to overcome them.

 

My best advice short of someone fixing the problem in TDM is to live with it until you're about to enter beta test. If the problem is still around, or has moved elsewhere, you can convert the offending area to a model, or cover it with a separate patch.

  • Like 1
Posted

My first idea is that messy brushwork flubs the render so you get black like that along a seam usually from the bad brushwork. That typically means building off of the grid, like a tiny sliver of brush sticks out, there's a tiny overlap of two brushes, or a tiny gap between two brushes, or two brushes meet at a tiny angle, or any combination. The solution is to rebuild the thing on the grid with cleaner brushwork. Or like grayman said, convert it to a func_stat as it doesn't look like it has to be sealing anyway.

What do you see when you turn out the light? I can't tell you but I know that it's mine.

Posted

While this is true, none of the problems Im seeing are from messy brushwork. These are on-grid faces, no slivers. And as I mentioned, some fix themselves with no changes.

 

Converting to a func_static might not fix the problem; converting to a model always does.

Posted

I'd be curious to see a wireframe of what that section looks like with r_showtris.

 

During compilation the engine is looking for ways to simplify and optimize brushwork. It's culling away surfaces that won't be seen. It's merging bits with the same material, texture alignment, and normal. Then it's trying to figure out how to triangulate what is left. Sometimes the compiler gets it wrong. There's no real way to avoid that short of constructing the bulk of your map out of models where you can explicitly specify how the resulting mesh should be constructed.

 

You might however be able to coerce the compiler into doing a better job by building the staircase, or even just the problematic portion, in a different way. Here's a few examples with a mock-up of the original on the left...

 

Jw6XKn5.png

Posted

The other work around for this os to make step tops FS,

 

So in this instance I would use the third method show in Rich's image above, where the small step-caps and triangular parts are made FS. Then because Ai and the player tend to trip over the little bits of the cap that jut out, you make the whole FS non-solid and then place simple nodrawsolid brushes of the matching material, (stone, wood, etc) where the triangular parts of the steps are.

 

I can make a little video for you if you like.

bhm_banner.jpg

Posted

That looks to me like dmap causing a bad cut in the geometry at compile time, perhaps if you manually cut the last big steep at the top level of the smaller one touching it?

 

Something like:

___________

____|___________|

| | |

| | |

| | |

|___| ___________|

Posted

So you can see this more clearly...

zCOQ8MP.png

TXSHpnD.png

 

Here's how it looks with showtris

rdCxFUM.png

 

 

Or like grayman said, convert it to a func_stat as it doesn't look like it has to be sealing anyway.

How?

Posted (edited)

To convert to a func_static, simply select all of the brushes that you want to become one func_static, right click, then scroll down until you see convert to func_static in the drop down menu. It looks like you can convert that entire staircase into one func_static, because as grayman said, it doesn't look like its a sealing brush

Edited by Amadeus
Posted

That last pic shows that dmap created a n-gon (geometry with more than 3 edges). Everything should be triangles (geometry with 3 sides) showing that you need to cut that stairs manually until that doesn't happen (or someone on the engine team finds why dmap breaks down on that).

 

Not saying that it doesn't but why converting to a func_static would solve bad dmap triangulation?

Posted (edited)

@Zen3001, could you share the map? (question for others: should he share both the .map and .darkradiant, or is just one of them enough?)

Could you maybe also share your dmap log for comparison?

 

(to get the dmap log in a text file use the console command clear first (to get rid of unnecessary garbage), then dmap your map, then do condump dmaplog.txt. Then share the content of dmaplog.txt -- dmaplog.txt is an arbitrary name, you can call it whatever you want. You can check the condump command here, near the bottom.)

Edited by Skaruts

My FMs: By The Cookbook

My tools: FM Packer  |  TDM Packer 2

Posted

Here's the dmap log

 

 

]dmap fstmp

---- dmap ----

--- LoadDMapFile ---

loading maps\fstmp

glprogs/ambientEnvironment.vfp 79

glprogs/ambientEnvironment.vfp 80

63 total world brushes

3 total world triSurfs

3 patches

15 entities

242 planes

9 areaportals

size: -1096, -840,-1096 to 536, 1048, 328

############### entity 0 ###############

-- ( worldspawn: )

0.0 seconds for BuildLightShadows

2 entities containing primitives processed.

----- WriteOutputFile -----

writing maps\fstmp.proc

Dmap complete, moving on to collision world and AAS...

0 total shadow triangles

0 total shadow verts

-----------------------

7 seconds for dmap

maps\fstmp.cm is out of date

writing maps\fstmp.cm

collision data:

2 models

262 vertices (6 KB)

452 edges (15 KB)

152 polygons (10 KB)

70 brushes (9 KB)

126 nodes (3 KB)

289 polygon refs (2 KB)

160 brush refs (1 KB)

228 internal edges

0 sharp edges

249 contained polygons removed

19 polygons merged

49 KB total memory used

120 msec to load collision data.

-------------------------------------

0 seconds to create collision map

no entities in map that use aas48

=======================================================

no entities in map that use aas96

=======================================================

no entities in map that use aas32

=======================================================

no entities in map that use aas100

=======================================================

no entities in map that use aas_rat

=======================================================

no entities in map that use aas_elemental

]condump dmaplog.txt

Dumped console text to dmaplog.txt.

 

 

 

 

Converting it to func_static didn't help but instead of rendering the skybox there's just an invisible triangle that allows me to see the wall behind it.

Posted

something in dmap is causing triangles to be recorded in the proc file the wrong way round, usually corners in triangles are recorded as 0,1,2 but where the triangle seems to be missing its being recorded as 2,1,0.

If you go inside the box with the missing triangle you can see it drawn on the wrong side of the box, eg the inside of the box, and not the outside.

  • Like 1
Posted

Jw6XKn5.png

Tried all these and came up with my own ways, none worked, all messed up some part of the texture

Posted

Not just that, it's not cutting triangles below the step (the wooden board), as it does below all the others. That empty triangle should be 3 triangles.

I just forgot to change the texture of two boards from caulk to the wooden texture, nothing wrong with that.

Posted

That sucks, I hate writing reports, isn't this thread enough

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recent Status Updates

    • JackFarmer

      "The Year of the Rat." 
      😄

      Al Stewart must be proud of you!
      Happy testing!
      @MirceaKitsune
      · 1 reply
    • datiswous

      I posted about it before, but I think the default tdm logo video looks outdated. For a (i.m.o.) better looking version, you can download the pk4 attached to this post and plonk it in your tdm root folder. Every mission that starts with the tdm logo then starts with the better looking one. Try for example mission COS1 Pearls and Swine.
      tdm_logo_video.pk4
      · 2 replies
    • JackFarmer

      Kill the bots! (see the "Who is online" bar)
      · 3 replies
    • STiFU

      I finished DOOM - The Dark Ages the other day. It is a decent shooter, but not as great as its predecessors, especially because of the soundtrack.
      · 5 replies
    • JackFarmer

      What do you know about a 40 degree day?
      @demagogue
      · 4 replies
×
×
  • Create New...