Code center > Suggestions

Optics

<< < (3/13) > >>

PurpleYouko:
I kind of like color vision actually.
I see your point about the non deterministic vision though.
Maybe sight range should be proportional to the luminosity of the target minus the background light.  (light difference or more accurately color difference)
Use an upper and lower fixed cap to determine if a bot is seen or not.
Allow bots to adjust their own sensitivity to light. ie. shift the working visibility window up or down.

Numsgil:
That's more or less what I was thinking.  Just need an actual formula to start working from.

PurpleYouko:
Well all the colors return an RGB value and the bots already have a color property stored in a long variable. Shouldn't be too hard. Add the RGB components Higher numbers make brighter colors.
If memory locations can be changed to long as well then bots can also have a direct color sense too.

Numsgil:
Changing bot memory to long means alot of incredibly large and pointless numbers.  Which is something I'd rather not even mess with.

Storing R,G and B values seperately might be a better idea.  And then also store a value representing total emitted + reflected light.  Such a value would probably not be larger than 1800 (and that would be a white bot glowing as hard as it can).

Endy:
Ohh...Pretty Colors.

Seriously I like the idea since it will give me some nice markers to see what is happening. Sort of like using radiation to track cells.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version