SRL Archive - Development

DTM Features.


Wizzup?

2010-02-27 20:04:35

(Planned features)

Per point:

  • Colour
  • Tolerance
  • SearchAreaSize (previously areasize)
  • AreaBlockSize: The given area must all be the given colour. (Like areasize but all points must match)
  • AreaBlockSizeCount / Percentage: amount of points to match colour
  • BadPoint: Must match or not match.

Per whole dtm:
  • Amount of points to match?

Awkwardsaw

2010-02-27 20:16:11

i like them. :)

Markus

2010-02-28 03:36:28

Rotated DTMs pl0x :)

Frement

2010-02-28 07:18:46

How about making it return the colors that did not match? That way we could check if they are yellow/red (npc/drop dot). Would be great!

lordsaturn

2010-02-28 07:55:12

If only a DTM was an object..

Wizzup?

2010-02-28 08:24:28

From: lordsaturn
If only a DTM was an object..


Why on earth would you want it to be an object? :)
It's a datastructure. I don't see the use of making it a class, except for the fact that it would be more easy to modify. Making it a class is IMO really a weird idea… Would probably slow it down a bit too, as well as hogging more memory.

I guess the memory part isn't a real issue. But why would you want it to be an object?

Wizzup?

2010-03-08 03:53:29

From: Markus
Rotated DTMs pl0x :)


Rotated has been added some time ago.

Wizzup?

2010-09-09 15:47:50

Do we still want the extra features? Perhaps they're a bit overkill.

Nava2

2010-09-09 16:35:31

They are nice, but I feel like they aren't really necessary, and would cause it to slow down.

lordsaturn

2010-09-10 00:23:21

Can't hurt, unless from an efficiency standpoint as nava2 mentioned.

Markus

2010-09-10 10:11:08

Areablocksize count has an actual use (detecting walls @ mm) so I'd say go for that one if you feel like doing it. Of course they aren't really necessary but it never hurts.

moparisthebest

2010-09-10 18:35:08

From: Nava2
They are nice, but I feel like they aren't really necessary, and would cause it to slow down.


Granted I know nothing about DTMs or this particular code, but adding more functions/procedures shouldn't have any effect on the speed of anything else.

Wizzup?

2010-09-10 18:40:48

From: moparisthebest
Granted I know nothing about DTMs or this particular code, but adding more functions/procedures shouldn't have any effect on the speed of anything else.


In this case it is functionality rather than functions, do more checks etc in a normal FindDTM(). :)

moparisthebest

2010-09-10 23:39:04

From: Wizzup?
In this case it is functionality rather than functions, do more checks etc in a normal FindDTM(). :)


If it's going to significantly slow down anything, either make an option (like an extra parameter) or make a new FindDTMWithSomeOtherCoolOption()? :)

Or just ignore me. :spot:

EvilChicken!

2010-09-11 04:49:07

AreaBlockSizeCount / Percentage: amount of points to match colour


This would be really nifty to have, I've been in serveral situations where I really could've used a feature like this.

Wizzup?

2010-10-16 17:51:55

OK. It'll be a bit complicated to add but surely not impossible I think. ;)