QFlux home

Historical read-only archive. Posting and reply forms are disabled.

QF - VIM
Reply to Message Icon Go to Main Page Icon

Subject: Graphic APIs

Original Message
Name: Corrado
Date: December 21, 1999 at 04:07:29
Subject: Graphic APIs
Comment:
I understood the VIM is using DirectX as the graphic API... Do you have any experiences with OpenGL? As far as i know, it should be easier for the programmer than DirectX, and also PORTABLE to platforms other than MS.

I believe this could be the first - and probably the major - step for a multi-platform VIM. Assuming it is coded in C (or the like), that is...

Yes I understand the visual aspect is absolutely secondary in the VIM, but still heavily related to it, as it is today.


Response Number 1
Name: Michael Colicos
Date: December 22, 1999 at 09:11:53
Subject: Graphic APIs
Reply:
When I started the graphics-based version of the model, I had to decide which API to learn, and although DirectX is harder to work with, and lacked the cross-platform support, it had several key features that I really needed to code the VIM. I'm still glad I choose it, but some day it would be preferable to switch to OpenGL (and yes it is coded in C++ btw).

Response Number 2
Name: Jacob Cappell
Date: December 22, 1999 at 22:34:27
Homepage: J.C.'s page
Subject: Graphic APIs
Reply:
What about software-mode, maybe? (I realize it would be slower, but details could be turned off.)


Response Number 3
Name: Jacob Cappell
Date: December 22, 1999 at 22:37:03
Subject: Graphic APIs
Reply:
oops! Sorry about that gif: I didn't realize it would stand out that much.

Response Number 4
Name: Corrado
Date: December 23, 1999 at 04:22:46
Subject: Graphic APIs
Reply:
Infact you did an amazing job with DirectX, Michael. Such a damn good job that the VIM, the real star of the show, is totally hidden behind the scenes.

In this respect, do you believe your code is still layered enough to allow one day or another to rip off the DirectX API from the VIM in favour of - say - OpenGL?

I'd be VERY curious to know whether your VIM engine is hence suitable for general purpose applications, thus offering input and output software "channels" for receiving input and triggering related actions.

This way you could easily (?) use it for powering almost everything: robot pets, to name one, or programs like Creatures/Galapagos/etc.
Please, don't waste it on a quake bot!

Sorry, it was a lengthy one.


Response Number 5
Name: Michael Colicos
Date: December 24, 1999 at 10:14:58
Subject: Graphic APIs
Reply:
Thanks for vote on the DirectX graphics! An OpenGL programmer could easily convert the program, in fact the core routines do use execute buffers, rather than the higher level structures now available in DX. As far as what can be used for input, really, anything can be used. That's part of the brain model itself. One thing that's always struck me in the years I've spent as a neurobiologist is that input from the senses, whether it is visual or smell or hearing, always arrives at the brain as a complex transformation of the original "sense". If you've ever seen a electrical recording from a neuron, its an extremely complex set of pulses and waveforms. I think an information processing system that can translate this has to be inheretly able to extract the information from this complexity. The structure of the matrix is one that I think can do this, thus the goal of the project.

Response Number 6
Name: Corrado
Date: December 27, 1999 at 08:23:28
Subject: Graphic APIs
Reply:
What transformations are you applying to the visual input of the VIM, then?

Does the VIM have multiple input "channels", or all of the stimuli reach the matrix through a single channel?

In this latter case, the "transformation" could make the difference between visual, audio, etc.

btw, how can a human brain distinguish between audio and visual stimuli? That is, given that all of them in the end reach the brain as electric pulses and/or waves, how can we say a stimulus came from an eye or from the nose?

A common pattern of pulses/waves must be present in each cathegory of senses, I presume, so that we can recognize where the stimulus was coming from.

It seems to be a complex matter...


Response Number 7
Name: Michael Colicos
Date: December 29, 1999 at 08:24:56
Subject: Graphic APIs
Reply:
I use the term "transformation" in more of a loose way, I don't mean a matrix transformation like in formal math. I mean more like the transformation that occurs when what we type becomes the stream of "noise" that the modem makes over the phone-line. The modem analogy is different from the human brain/VIM, however, in that the modem has a set protocol (like V.90) to translate and encode the information. What I'm saying about the brain (and how I'm designing the VIM) is that the information stream itself programs the encoder/decoder by changing the structure of what it passes through, like a self-programming cmos chip. This means no matter how complex, or how things change, the system will always be able to figure out the new protocol.

The question about how the brain works to distinguish between auditory and visual input demonstrates a key point in this. In the human brain, the systems start off very separate, and then get integrated together during memory formation and higher integrating functions. But what people found was that if you switch the connections, the system will adapt. Basically what people tried was to connect visual input (just straight from the eyes) to the auditory cortex instead of the visual cortex, and combinations like that. With time the brain can learn to "see what I hear" and so on, so visual stimulus would result in a sound sensation, which could be interperted with time. The idea being a way for blind people to function in the environment better...not sure if this will ever go anywhere, but it demonstrates the point of the adaptibility of the system.

To answer the question, the VIM has just one channel because input is really only visual right now, but if I added auditory input, both would be pre-processed by their own matrix, then combined into a main one.


Use following form to reply to current message: