Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Combining video feedback with VB

Status
Not open for further replies.

labmonkey

Technical User
Dec 19, 2006
3
CA
Asking for help with trying to figure out a way to emulate simple tv video feedback with VB using simple graphics.
Do I need to, or should I try and use shockwave with VB to do this?

Am presenting this to students and hope to stimulate their interest in this phenomenon.

I'm somewhat of a newbie to VB but have fiddled around enough with it to get most basic things done
(no pun intended ;) .

Am using an older version, I think its 4.0 or 5.0

For this scenario I don't know where to begin though, am hoping for some thoughtful input, suggestions, and code samples to get me started would be a God send. Would prefer NOT using DirectX if possible, but just the plain simple graphics tools standard to VB 4.0, 5.0...

Have included a bunch of links to illustrate what I am looking for. Really what Im after is best represented in the very first link, and this is what I would like to replicate.

Would like to do this with integers being used as the feedback medium, in other words, for video feedback we have for example;

"Video Feedback is easy and fun for anyone with a video camera and a monitor (TV screen). To make the simplest kind, take the "video out" from the camera and plug it into the "video in" on the monitor, and then point the camera at the monitor, so the monitor displays a picture of the monitor. Now you have a video feedback loop! To get the effects demonstrated in the gallery, careful adjustments of the various knobs and dials on the camera and monitor are required. I also recommended that you get a tripod. This is especially useful for doing rotations, since the camera can be held at a fixed angle. Adjust the tripod so you can rotate the camera about the viewing axis."

so in the VB code, user inputs numbers into some text boxes and these serve as the "video in" and "video out" mechanisms, so through looped recursion;

do while loop_counter <> 5000
textbox1.text = 100 represents Camera video out
textbox2.text = 75 represents Monitor video in
var = new value + (textbox1.text + textbox2.text) recursion value
(code here generates graphic spiral )
loop

Following demonstrates what Im after exactly, note I'm not looking for a solution that needs to be really high fine complex graphics, etc - just want to demonstrate the basic concept. Would like the feedback generated however to be tied directly to the number inputs specifically though. Any help would be appreciated!

Cheers
------------------
P.S. - got the following response from a VB forum;

"Originally Posted by chemicalNova
In any way in VB, drawing the graphical spiral will be very very VERY slow.

Does it have to be literally the same as whats above? How about, for example, a PictureBox that acts as the screen (video out), and a PictureBox that acts as the camera (video in). The Screen picturebox has a mini version of the camera box, which holds the contents of the Screen Picturebox. Then, you could possibly give exact rotation angles, for the camera, and display it inside the screen picturebox."

<I tried some variations of his above suggestions but was unable to get quite what I was after>

DESCRIPTIVE LINKS on VIDEO FEEDBACK FOLLOW;
-------------







=====
Space-Time Dynamics in Video Feedback James P. Crutchfield Video feedback provides a readily available experimental system to study complex spatial and temporal dynamics. This article outlines the use and modeling of video feedback systems. It


MediaSculp - Gallery
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top