Jump to content
The Dark Mod Forums

Recommended Posts

Posted

Hello all,

I am in the final stages of beta testing my FM "Cole Hurst 1: Eaton" and I've been pointed to a (possible) game bug that causes some objects to shine in an unusual way.

As seen in the screenshot below, in rooms with proper reflective mirrors, if the player has both the mirror and (in this particular case) these silverware serving platters in view, they start to glow in a very odd way:

ch1_eaton_2021-11-27_11_25_16.jpg.811af6728607b8dbc24e5c4dd6353d75.jpg

Does anyone know if this is perhaps a known game bug? I've tested TDM 2.09a and 2.09b and this issue is present in both those cases. I suppose it could also be something to do with my map in particular (perhaps those silverware platters needs some special spawnarg?), but I'm not entirely sure.

Fan Missions - Cole Hurst 1: Eaton

Posted

Apologies. I just realized that this is perhaps not the correct forum for this kind of post. Please feel free to remove it. I will ask the same question over on "DarkRadiant Feedback and Development" instead.

Fan Missions - Cole Hurst 1: Eaton

Posted

I'd say the Tech Support forums are the correct place for rendering issues like this. The DarkRadiant forums are for development and feedback on DR, while the Newbie DarkRadiant Questions thread in the Editing Guild is for general mapping questions.

Regarding the silver platter, if I'm not mistaken it contains a reflective stage in its material, which might be conflicting with your mirror. It's not a very noticeable reflection imo, so could derive a new material without that stage and apply it via a skin as a workaround (if nothing else works).

Posted (edited)

@Dragofer Thanks for your feedback. I thought I should also mention that there is one other instance where this also seems to be to be the case.

In this example, I have a door frame with a glass awning on top (model name "models/darkmod/architecture/modules/interior_mansion01/mansion01_door02.lwo"):

ch1_eaton_2021-11-27_10_32_42.jpg.b3407516e3dfa645e1cc674b64c13dbd.jpg

I managed to solve this in my mission by inserting a black texture just behind the glass part, so for me this is not an issue - but perhaps others might stumble into this same problem.

Edited by bwyan

Fan Missions - Cole Hurst 1: Eaton

Posted

Here is the skin wiki

https://wiki.thedarkmod.com/index.php?title=Creating_Multiple_Skins_For_A_Model

Here is the material wiki:

https://wiki.thedarkmod.com/index.php?title=Material_Files

That said, the silver platter material has been changed in TDM 2.10. Please test this issue on the latest dev build:

 

  • Like 1

Please visit TDM's IndieDB site and help promote the mod:

 

http://www.indiedb.com/mods/the-dark-mod

 

(Yeah, shameless promotion... but traffic is traffic folks...)

Posted
17 hours ago, nbohr1more said:

That said, the silver platter material has been changed in TDM 2.10. Please test this issue on the latest dev build:

Hello,

I just tested my mission using the most recent development build and in this case the problem is not present, but the reflective mirror texture that I am using is also entirely gone/missing (all mirrors appear completely black).

I'm not sure what conclusion to draw from this... Does the "textures/common/mirror" texture behave differently in 2.10 or should I perhaps use an entirely different texture to be 2.10 compatible?

Fan Missions - Cole Hurst 1: Eaton

Posted
10 minutes ago, bwyan said:

all mirrors appear completely black

I have a suspicion that mirrors could've fallen victim to the same thing that also knocked out my parallel camera display screens (rev 9232, mentioned in tracker 5676). Maybe we can't have multiple subviews in parallel at the moment?

@bwyanIt would be interesting to see what happens to the mirrors if you try out a dev build before rev 9232 (and maybe also just after?).

  • Like 1
Posted
14 minutes ago, Dragofer said:

It would be interesting to see what happens to the mirrors if you try out a dev build immediately before rev 9232 (and maybe also immediately after?).

@Dragofer I don't see rev 9232 on this list. Do I need to get a hold of that version in some other way besides using the installer?
image.png.49cd17d46681afef392629db78bd4ae5.png

Just FYI, I tested using dev16390-9648.

Fan Missions - Cole Hurst 1: Eaton

Posted
33 minutes ago, bwyan said:

@Dragofer I don't see rev 9232 on this list. Do I need to get a hold of that version in some other way besides using the installer?
image.png.49cd17d46681afef392629db78bd4ae5.png

Just FYI, I tested using dev16390-9648.

Dev builds are snapshots of development taken at intervals, rather than with every single revision. In this case I'd suggest trying the dev builds before and after code rev 9232, so dev16215-9224 and dev16225-9284

  • Like 1
Posted (edited)

@Dragofer

In dev16215-9224, the mirror texture is working as intended and the shading issue is present on the serving platters:

ch1_eaton_2021-11-28_11_44_19.jpg.c1157abc0e19a3e9111209cf4ef12e8e.jpg

In dev16225-9284, the mirror texture is no longer working and (curiously) the shading issue is still present:

ch1_eaton_2021-11-28_11_48_00.jpg.6d3630952dca7722669b22fde7333969.jpg

I hope this is helpful to you. Let me know if I can provide any other information that might be useful.

Edited by bwyan
  • Thanks 1

Fan Missions - Cole Hurst 1: Eaton

Posted
5 hours ago, bwyan said:

@Dragofer

In dev16215-9224, the mirror texture is working as intended and the shading issue is present on the serving platters:

ch1_eaton_2021-11-28_11_44_19.jpg.c1157abc0e19a3e9111209cf4ef12e8e.jpg

In dev16225-9284, the mirror texture is no longer working and (curiously) the shading issue is still present:

ch1_eaton_2021-11-28_11_48_00.jpg.6d3630952dca7722669b22fde7333969.jpg

I hope this is helpful to you. Let me know if I can provide any other information that might be useful.

Thanks for investigating, that makes it more plausible that rev 9232 is the cause.

What would also be interesting is at what position in the map this room is: this can be done by entering getViewPos into the console. This should output a 6-figure vector (position + view angles) which somebody else can use with setViewPos to jump to that position in your map.

You can save your console log as a .txt file after the getViewPos command by typing condump mirrors.txt. Then you'll find mirrors.txt in your darkmod folder, and its last lines should have that vector.

Once you have that vector and a download link to 0.9, I think it's time to call in the dev cavalry (stgatilov/duzenko/cabalistic).

  • Like 1
Posted (edited)
3 hours ago, Dragofer said:

Once you have that vector and a download link to 0.9, I think it's time to call in the dev cavalry (stgatilov/duzenko/cabalistic).

The view coordinates are:
5789.9 -1601.58 82.72   20.2 43.0 0.0

And here is a link to version 0.9: https://bwyan.dk/wp-content/uploads/ch1_eaton.pk4-0.9

Please note that I have manually renamed "ch1_eaton.pk4" to "ch1_eaton.pk4-0.9", so that it wouldn't conflict with my current beta version.

If you need additional testing help - do let me know!

Edited by bwyan

Fan Missions - Cole Hurst 1: Eaton

Posted

@bwyanThanks!

I was wondering, if you delete the silver platters and add back one or all mirrors, do the mirrors work again in post-9232 dev builds? Could be you cant have both at once.

Posted
9 hours ago, Dragofer said:

@bwyanThanks!

I was wondering, if you delete the silver platters and add back one or all mirrors, do the mirrors work again in post-9232 dev builds? Could be you cant have both at once.

I just tried deleting all the entities with shading issues in the room being discussed on version dev16390-9648 (map version 0.9 - link above) and this seems to have no effect on the mirror. The mirror texture was still black weather the serving platters were present in the sealed room or not.

  • Thanks 1

Fan Missions - Cole Hurst 1: Eaton

Posted (edited)

Not sure if the following is helpful info, but I found that adding // before map textures/common/mirror.tga for shader textures/common/mirror returns the mirror effect on (those) mirrors in 2.10 . So after edit it looks like this:

Spoiler
textures/common/mirror
{
	description		"used for mirror subrenders"

	discrete		// never merge with other surfaces
	qer_editorimage textures/common/mirror.tga
	solid
	mirror
	{
		blend blend
		mirrorRenderMap
		// map textures/common/mirror.tga
	}
}

The camera# shaders also work again after a similar edit in the tdm_camera.mtr file.

Edited by datiswous

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

    • datiswous

      So on a regular basis I try to start building something in Darkradiant but very quickly I loose interest and give up.
      I tend to
      create a room, position an ai in it (or first ai, then room, probably better) put a light in it Put some stuff in it test the room in tdm Now I had this new idea:
      Start of with a gigantic room. To skip the importance of sealing for the time being and to think broader than one room. Then just use ground without wall, just to visualise the structure of the level.  Then just use prefab walls and other elements (arches, etc.). Just building area's that aren't enclosed. I can always close them at a later point. Maybe this is all very logical from a mappers perspective, but tdm is the first game where I have done any kind of real mapping and I always stop at the start. It just takes too long to make something exciting.
      I want to build something at some point, because over time I accumulated lots of ideas.
      · 5 replies
    • MayheM

      It would be nice to have a link to the forum thread of a mission in download section, rather than having to search for it manually, like on Thief Guild.
      · 1 reply
    • taffernicus

      Anaglypta , floral and damask wallpaper look great in older homes 
      It’s rare to see anyone using “shader not found” wallpaper in their house

       
      · 0 replies
    • Ansome

      Terribly difficult juggling map designing with work, but I'm still alive and chipping away at something very special. I'm actually making a collaboration of sorts with a friend, I make the map itself and he acts as my "Chief Scope Creep Consultant" that checks in every so often to make sure this project isn't getting out of hand. It's a good system!
      · 1 reply
    • JackFarmer

      We don't need artificial intelligence; we need artistic intelligence. 
      Ralf Hütter, Kraftwerk
      · 6 replies
×
×
  • Create New...