Jump to content

Speaker radius

Recommended Posts

@OrbWeaver: Hm, that doesn't sound like you'd like the job...


My actual current job I have no problem with; the work is reasonably interesting, and the people I'm working with are good as well (not least because two of them are non-IBM, and the two that are in IBM were outsourced from other companies and haven't drunk the Kool-Aid like everybody else).


My problem is with the company as an employer, and the way that they are so fundamentally disconnected from reality that they think that bullying, threats and propaganda are a valid substitute for actually rewarding people for the work they do, and giving them a reason to want to be in the company in 5 years time rather than just using the experience to get another job elsewhere.

Link to comment
Share on other sites

  • Replies 123
  • Created
  • Last Reply

Top Posters In This Topic

Well, I'm in there just a month so far, and I'm still thinking about changing to regular university next term, so I really don't have any experiences in that area, except that we get "be proud of IBM" imprinted quite heavy.


Ah, you're a graduate/intern then. In that situation IBM is quite good, because they are very keen on their graduates and provide lots of training etc (although it's all interwoven with IBM Propaganda, as you have noticed). The problem is when they obtain people through takeovers and outsourcing contracts, and then expect everybody to just fall into their corporate route march like good little zombies, even though the "rewards" they offer are absolutely bottom-of-the-barrel.


The best advice to somebody in your position is to make use of the training and experience (IBM still looks good on your CV), don't believe everything they tell you (especially if it is obviously intended to make you do more work for nothing), and in a couple of years consider your options carefully since unless you are in the top ten percent or so, there's a good chance you'll be earning less than the graduate new-hires that year (which has happened before).

Link to comment
Share on other sites

To get back to topic, I see two possibilities to get this working:

simply calling m_transformChanged() from within updateAABB(), which works and is already implemented, but I'm not sure whether this is the correct way to do it, since it is called transformChanged and not boundsChanged.

second is to add another Callback called m_boundsChanged() (which sounds more reasonable to me), I'd basicly copy that from the light class.


What should I do?


Edit: I copied the stuff from Light class over and it works, even though I don't understand why....


So, what is left now?

Link to comment
Share on other sites

Scratch that, I was curious and looked into your code right away.


In short: very well done, mohij! The code is nice and clean, the classes are properly separated, the command is connected, the toolbar item is there (the icon can be added later on), the scenegraph is updated and the speaker radius updates when a different sound shader is selected. Again: well done!


A different problem (I guess that's not yet implemented): I tried to load the graveyard.map (with an existing ambient speaker), but the sound radii didn't work there until I selected a different sound shader. How does the code react to soundshaders without radii? On this speaker entity, I had these spawnargs on the entity:

"classname" "speaker"
"name" "speaker_3"
"origin" "-2752 -176 1544"
"s_global" "1"
"s_looping" "1"
"s_maxdistance" "1000"
"s_mindistance" "900"
"s_omni" "1"
"s_shader" "factory_distant"
"s_volume" "10"
"s_waitfortrigger" "0"

The s_maxdistance/s_mindistance are set manually on the entity, I haven't checked the soundshader itself. Can the code override the soundshader's native values with the spawnargs?

Link to comment
Share on other sites

Yes, spawnargs override the native settings.

I'll look into the soundshaders without radii later.


The arrow class is still in there because the old speakers had the arrow. I think an arrow is pointless since a speaker has no direction, if you agree to that, then the renderArrow should be removed.

Link to comment
Share on other sites

Yes, spawnargs override the native settings.

I'll look into the soundshaders without radii later.


The arrow class is still in there because the old speakers had the arrow. I think an arrow is pointless since a speaker has no direction, if you agree to that, then the renderArrow should be removed.

Perfectly fine with me, let's remove the arrow code. I'll commit your current changes then as soon as I have a clean codebase again (I'm currently investigating stuff, so I can't apply your patch right now).

Link to comment
Share on other sites

  • 2 weeks later...

I'd like to inquire that when do we get DR to show the speaker radii in the map? It would make sound placement much more straightforward and faster. Actually I do not want to do sounds until that kind of feature exists.




-The mapper's best friend.

Link to comment
Share on other sites

The feature is nearly done, but isn't committed yet. It works for predefined sound shaders, but it won't reflect changes overridden by manual spawnarg editing (e.g. if you add a "s_minDistance" spawnarg to the entity, trying to override the setting in the soundshader).

Link to comment
Share on other sites

@mohij: I committed your changes now. I tried to load the graveyard.map, there is a single speaker in that map, but it didn't display the radius. I don't know if the speaker is setup incorrectly or anything else was not properly done.


Btw: Can you look into the removal of the RenderableArrow file?

Link to comment
Share on other sites

  • 3 weeks later...

The newest snapshot might be old, I think the fix for issue 457 didn't make it into that build. I can upload a new snapshot soon, but I'll have to switch back to Windows for that. I want to finish my work here in Linux first.

Link to comment
Share on other sites

  • 4 weeks later...

Join the conversation

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

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

    • peter_spy

      It's funny how perception changes over the years. I've been replaying Bioshock in its Remastered version, and I'm surprised how bad the level design actually is. It's just a series of abstract corridor mazes that you can't really map out in your head. There's nothing that would ground them in any kind of reality, fictional or otherwise, no sense of place people could live in. It's almost like Wolfenstein 3d with cool art deco assets.
      · 0 replies
    • STiFU

      Anyone here played Inscryption? At first, I was like "no, I am not going to play a stupid card game", but this game is so much more than that. It is so meta, full of 4th wall breaks, and feels so damn spooky and weird because of it. Absolutely recommended, if you can stand the visuals. I recommend not reading up too much on it, as that could easily spoil half the incredible surprises. Just know that what you see in the beginning is by far not everything.
      · 4 replies
    • freyk

      Tried to make a tdm advertisement commentpost at one of civvie11 youtube videos about T2. Post got marked as spam. His problem (to not discover TDM for himself),..not my problem.
      But some help of some fellow TDM yt-videocomment posters would be nice. To ask him and others, to play TDM. To get more players/creators. 
      · 4 replies
    • datiswous

      Currently Profile Information has 3 fields, these are shown in forum posts under your avatar:
      1. Gender
      2. Location
      3. Interests
      I think that it could be useful to have an extra field called "Operating system" (under location). It can be useful for tech support and to see what people use.
      Alternatively it could be a more general term, like PC system, so that you can for example state that you use an AMD gpu.
      · 2 replies
    • OrbWeaver

      Greetings fellow kids.
      · 11 replies
  • Create New...