S

Adding a Joystick to DirectX

29th April, 2009

Having acquired a joystick I was eager to try it out in my DirectX project. This is theoretically a very easy thing to do, but of course, it isn’t turning out that way. While the sample project and tutorial instructions are incredibly easy to follow, and the sample project compiles and runs perfectly well, starting to apply this code my own project is not straightforward.

Something which I am now starting to accept is pretty typical of Microsoft’s code is that they do something totally differently to the way that they themselves have said it should be done, and don’t bother explaining WHY.

Nevertheless I shall persevere with adding this to my project with the intention of linking camera control to the joystick, but the responsiveness of the motion will be dependant on the strength of biofeedback signal.

Update: I discovered I was trying to fix an issue that didn’t exist when all that was required was including the dinput8.lib file to the project…

Joystick

28th April, 2009

It was only bought for its components, but before doing anything with it I needed to test it was working correctly and what sort of functionality it has etc.

Joystick Wire and Buttons

Joystick Calibration


Read the rest of this entry »

Banksia Nuts

28th April, 2009

Before I actually do anything with them, I have taken a few shots of them ‘as is’ after receiving them from axminster. One thing to be noted is that they are actually quite large, so to avoid wasting this intriguing raw material I will probably rethink the size and shape of my joystick handle design.

Banksia Nuts

The two together.

Banksia Nuts Closer


Read the rest of this entry »

Arrival of Packages

28th April, 2009

As I suspected, my two separate orders arrived at exactly the same time, so I’ve been unpacking my banksia nuts courtesy of axminster.co.uk and my cheap joystick from amazon.

Packaging

They certainly looked better as mysterious parcels.

Banksia Nut Wood

25th April, 2009

So here is the wood I have nearly finally decided to make my actual physical interface from. Aside from the massively intriguing aesthetic nature of the wood, I feel that it draws attention to the physicality of the interface and fits in with a plan to emphasise the human-computer connection by allowing me to create a piece that emanates light from its core when interacted with. Essentially the holes could be illuminated from the inside and glow to indicate the level of connection between the user and the computer.

Banksia nut wood

Image from axminster.co.uk

A Slightly Better Video

25th April, 2009

Thanks to Alan for pointing me in the direction of CamStudio, a free video capturing software for your screen, which I have used to produce a slightly better video of my project’s 3D world.

Running both the software and DirectX at the same time was a bit tricky, slashing the FPS from around 120 to 40 but it’s better than using my camera to take a video of my laptop screen!

The water can be manipulated from any point, but for now it is set to only ripple from the centre. When I produce a final visualisation the position will vary, of course based on biofeedback influence.

Quick Interface Sketch

24th April, 2009

Having considered a number of alternative means of connecting human with hardware, I’m going down the route of using a joystick-like handle with the various sensors placed in suitable positions in contact with the fingers and palm.

Here is a very, very quick sketch of what I have in mind:

IMG_0257

A Couple More Dartmoor Merges

24th April, 2009

For the past couple of Sundays I’ve decided I have enough time to go walking on the moor, which naturally has meant I’ve returned with some photos to merge into panoramic views.

Easter sunday around the scout hut SW of Burrator:

Dartmoor Landscape

And the following Sunday, up around Merrivale and Woodtown:

Vixen Tor and North Hessary (Dartmoor)

Both views showing North Hessary in the distance.


Read the rest of this entry »

Latest Journal Posts

RSS Feed

Additional

Bad Behavior has blocked 100 access attempts in the last 7 days.