Author Topic: Walls!  (Read 5733 times)

Offline Greven

  • Bot Destroyer
  • ***
  • Posts: 345
    • View Profile
Walls!
« on: June 23, 2005, 10:07:18 AM »
What about making the walls work correctly, without slowing the simulation down! This could be very cool!
10010011000001110111110100111011001101100100000110110111000011101011110010110000
011000011000001100010110010111101001110100110010111100101000001000001111001011101
001101001110011011010011100011110100111000011101100100000100110011010011100110110
010110000011100111101001110110111101011101100110000111101001101001110111111011101
01100100000111010011010001100001110111010000010001001000010100001

Offline PurpleYouko

  • Bot God
  • *****
  • Posts: 2556
    • View Profile
Walls!
« Reply #1 on: June 23, 2005, 10:10:01 AM »
We are working on it.

Eventually walls will be a layer in the env grid. They should also be customizable so you can make them look like bricks, bits of popcorn or a coral reef. You takes yer pick.

In the mean time it is a bit of a back burner issue since we won't be using the robots array to make walls at all in the long term.
There are 10 kinds of people in the world
Those who understand binary.
and those who don't

:D PY :D

Offline Greven

  • Bot Destroyer
  • ***
  • Posts: 345
    • View Profile
Walls!
« Reply #2 on: June 23, 2005, 10:19:48 AM »
Sounds good to me. But I like to make a wall purely out of alcohol? Is that possibly? and also a wall of ... no seriosly a wall of radiation, so when bots get near it, the bots DNA might suffer or maybe the mutations rate go temporarily up? or something like it!!!???  :bigginangel:  :bigginangel:
10010011000001110111110100111011001101100100000110110111000011101011110010110000
011000011000001100010110010111101001110100110010111100101000001000001111001011101
001101001110011011010011100011110100111000011101100100000100110011010011100110110
010110000011100111101001110110111101011101100110000111101001101001110111111011101
01100100000111010011010001100001110111010000010001001000010100001

Offline PurpleYouko

  • Bot God
  • *****
  • Posts: 2556
    • View Profile
Walls!
« Reply #3 on: June 23, 2005, 11:15:52 AM »
"All things will be possible with the fabled e-grid"

With user definable levels and graphics you should be able to literally paint a picture with e-grid components.

I am seriously considering attempting to use DirectX components to speed up graphics for this. Bloody hard to understand the stuff though  :(
There are 10 kinds of people in the world
Those who understand binary.
and those who don't

:D PY :D

Offline Greven

  • Bot Destroyer
  • ***
  • Posts: 345
    • View Profile
Walls!
« Reply #4 on: June 23, 2005, 11:18:28 AM »
That sounds good! But I have never poked around with DirectX, so I can not help you!  <_<
10010011000001110111110100111011001101100100000110110111000011101011110010110000
011000011000001100010110010111101001110100110010111100101000001000001111001011101
001101001110011011010011100011110100111000011101100100000100110011010011100110110
010110000011100111101001110110111101011101100110000111101001101001110111111011101
01100100000111010011010001100001110111010000010001001000010100001

Offline Numsgil

  • Administrator
  • Bot God
  • *****
  • Posts: 7742
    • View Profile
Walls!
« Reply #5 on: June 23, 2005, 12:21:57 PM »
I'd recommend OpenGL over DirectX just because DirectX is object oriented, and openGL is procedural.  And guess what VB is ;)

Offline PurpleYouko

  • Bot God
  • *****
  • Posts: 2556
    • View Profile
Walls!
« Reply #6 on: June 23, 2005, 12:46:10 PM »
Right but DirectX is quicker for creating background bitmaps then displaying them. I wasn't planning to use it for the bots.
There are 10 kinds of people in the world
Those who understand binary.
and those who don't

:D PY :D

Offline Botsareus

  • Society makes it all backwards - there is a good reason for that
  • Bot God
  • *****
  • Posts: 4483
    • View Profile
Walls!
« Reply #7 on: June 23, 2005, 01:47:04 PM »
I dont know about vb , what I do know is that you can use openGL in vb.

Offline PurpleYouko

  • Bot God
  • *****
  • Posts: 2556
    • View Profile
Walls!
« Reply #8 on: June 23, 2005, 01:51:00 PM »
I haven't really looked into openGL. I will check it out before going too much further.
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
Walls!
« Reply #9 on: June 23, 2005, 01:52:22 PM »
They all end up doing the same thing.  I'm just not sure how DirectX and VB work together since they use entirely idfferent paradigms.

Offline PurpleYouko

  • Bot God
  • *****
  • Posts: 2556
    • View Profile
Walls!
« Reply #10 on: June 23, 2005, 02:02:05 PM »
DirectX sets up the graphics card as an object then sends commands directly to it just as if it was an integral VB object like
application.something-or-other
or
rob(t).mem(.Ties(k).nrg)

All you have to do in order to use DirectX in VB is to go to "Project->References" then scroll down the list to "DirectX 8 for Visual Basic Type Library"

The concept is very simple but it takes a lot of messing about to get anywhere. The beauty of it is that graphics functions don't drain processing power from the main processor speed. Thay are all done directly on the graphics card.
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
Walls!
« Reply #11 on: June 23, 2005, 02:26:37 PM »
The one thing I've noticed between OpenGL and DirectX is that it generally takes less code to get something up and running in OpenGL than DirectX.

And there's those nice NeHe tutorials on OpenGL (most of which have a VB port ready.)
« Last Edit: June 23, 2005, 02:27:11 PM by Numsgil »

Offline PurpleYouko

  • Bot God
  • *****
  • Posts: 2556
    • View Profile
Walls!
« Reply #12 on: June 23, 2005, 02:27:52 PM »
Ever seen any benchmark speed tests between the 2 systems?
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
Walls!
« Reply #13 on: June 23, 2005, 02:29:29 PM »
As near as I can tell they're both about equivelant.

One runs faster on some systems, one runs faster on others.  Generally speaking they're about equivelant.

Offline PurpleYouko

  • Bot God
  • *****
  • Posts: 2556
    • View Profile
Walls!
« Reply #14 on: June 23, 2005, 03:10:55 PM »
From what I have just been reading they appear pretty similar except for the coding.
From what I can tell from reading a few articles, OpenGL is more like C in its format while DX is more like VB.
As I am not a great fan of the style of C and greatly prefer to program in VB, I think DX is probably better for me but for you I expect the opposite is true as you are very familiar with C.

I am really pretty new to both but DX looks easier from my persective.
There are 10 kinds of people in the world
Those who understand binary.
and those who don't

:D PY :D