Author Topic: 3D!  (Read 7467 times)

Offline Zelos

  • Bot Overlord
  • ****
  • Posts: 707
    • View Profile
3D!
« Reply #15 on: April 08, 2005, 01:35:17 AM »
it aint possible, how are you supposed to visual a dimonsion uve never seen or experienced? it aint possible. we humans cant in anyway visual the 4th spactial Dimension.
« Last Edit: April 08, 2005, 01:44:27 AM by zelos »
When I have the eclipse cannon under my control there is nothing that can stop me from ruling the world. And I wont stop there. I will never stop conquering worlds through the universe. All the worlds in the universe will belong to me. All the species in on them will be my slaves. THE ENIRE UNIVERSE WILL BELONG TO ME AND EVERYTHING IN IT :evil: AND THERE IS NOTHING ANYONE OF you CAN DO TO STOP ME. HAHAHAHAHAHAHAHA

Offline Numsgil

  • Administrator
  • Bot God
  • *****
  • Posts: 7742
    • View Profile
3D!
« Reply #16 on: April 08, 2005, 03:23:20 AM »
The mathematics exists to understand things like collisions, etc. so clearly the problem is in conveying the information to the observer.

What is available on the screen to denote spatial dimensions?  Well, you have x,y, color, and distortion.

Clearly you can devise an arbitrary set of rules for how to interpret 4D, the same way you can create an arbitrary set of rules to interpret 3D on the 2D screen.

Okay, imagine this:

x,y position -> x,y position of graphic
size > z position
Darkness -> w (the 4th dimension variable).  Say a bot's color is red.  A low w value would result in a deep crimson.  A high w value is pinkish.

In this case, a collision could be predicted by you, the viewer, if the bots:

1.  are near each other on the screen
2.  are close in size
3.  are close in color.

Offline k0zm0

  • Bot Neophyte
  • *
  • Posts: 43
    • View Profile
3D!
« Reply #17 on: April 08, 2005, 04:34:06 AM »
I think the most of our problems are eyes. How would a bot know what is he looking at.
Lets say that a bot is moving on standard x, y axis. What happens when he sees a bot on the z axis. How many eyes would be needed, to bot successfuly turns to a bot on z axis.
 If we have eyes from 1 to 9, then at least so many would a bot need on the z axis, 17 eyes!!!!!
Code: [Select]
         
           9
           8   X
           7
           6
   1 2 3 4 5 6 7 8 9
           4
           3
           2
           1


X- bot in 3d space
numbers- robot view

the bot is on the x: eye7,  y:eye8
                       

But how would a bot know there is a actualy a object there?
 Or we could just redo eyes in some other way?
Also there would need to be a function how many object it sees.
« Last Edit: April 08, 2005, 07:09:34 AM by k0zm0 »
I'm not crazy and I'm not normal.
If I were normal, I would go crazy.

Offline Numsgil

  • Administrator
  • Bot God
  • *****
  • Posts: 7742
    • View Profile
3D!
« Reply #18 on: April 08, 2005, 04:46:22 AM »
I was thinking something along the same lines.

the regular eyes scan for everything in the regular 2D plane, but extended upwards along the Z axis.  So this means regular eyes can still be manipulated to turn in the right xy direction.

Another set of eyes works perpindicular to this, allowing a .aimpitch command to help the bot orient itself.  Both sets of eyes work in strict 2D sense, but since they're perpindicular to each other they end up forming a grid.

But you're right, that's another 9 eyes.

The result is the bots' field of vision looks like a square cone with the bot at the point.

Here's a simple turning gene I imagine in such a system:

cond
*.eye4 *.eye6 !=
*.eye4Z *.eye6Z != or
start
*.eye4 .*.eye6 sub .aimdx store
*.eye4Z *.eye6Z sub .aimpitch store
stop

There's undoubtedly some math I'd have to look into for all this as well.

Offline PurpleYouko

  • Bot God
  • *****
  • Posts: 2556
    • View Profile
3D!
« Reply #19 on: April 08, 2005, 09:52:10 AM »
You would also have to make the collision detection routines work in a nested fashion (first x, then y then z). This would cost a whole lot in sim speed.
There are 10 kinds of people in the world
Those who understand binary.
and those who don't

:D PY :D

Offline Numsgil

  • Administrator
  • Bot God
  • *****
  • Posts: 7742
    • View Profile
3D!
« Reply #20 on: April 08, 2005, 08:00:07 PM »
I'd probably have to set up a tree of sorts.  There are ways to sort objects for 3D collission detection, but they aren't easy.

Offline MightyPenguin

  • Bot Destroyer
  • ***
  • Posts: 189
    • View Profile
3D!
« Reply #21 on: April 11, 2005, 05:20:59 AM »
Quote
MP, I dom't think we'd ever run out of worthwhile ideas.  At some point we have to buckle down and do all the inane ones.
Dammit, they're on to me...