Posts Tagged ‘digital’

Augmented Reality Gallery

Wednesday, July 1st, 2009

As a digital artist, most of the work I produce ends up on a Computer Monitor or the output through another medium that the user can interact with. The one thing I want to break away from is the flat 2D environment that the Computer Monitor forces on the viewer.

In my Double Project I worked with Augmented Reality, I used the ARToolKit library to create a interactive soundscape that responded to the positions of the markers (ARToolKit tracks these by comparing the pixels in a frame to a .patt file) so when the marker was at the bottom left of the screen the audio would be clear and when the marker was at the top right the audio had effects applied heavily. The setup for this was a reversal from traditional ARToolKit uses which required expensive head mounted devices that allowed the audience to see the objects in 3D by having a stationary marker. I instead used a stationary camera but the markers can be rotated.
Thanks to the leaps in mobile devices (the iPhone for instance) ARToolKit will soon make the leap to these portable devices, though this makes me think of how the user of such a device will be able to use custom markers and get the custom 3D objects that the marker is going to be using (one of the basic ARToolKit functions is allowing a marker to show a custom 3D model, though these files are normally held in a directory relative to the application). A web database could be used that stores the .patt file used for reading the marker and the appropriate 3D image to use, though this would require a way of telling the user what .patt file to download. This could be handled by the device by taking a picture of the marker, and working out the marker’s basic properties (such as how big the shapes are, does it have straight lines, curved lines or letters) and then asking the user to choose from a list of similar markers, then downloading the appropriate files. Another approach would be to use the GPRS on the iPhone to pinpoint the user’s location then send the lat and long coords to a database and as before download the file. The markers creator would upload the files and details to a website (use google maps to set where the marker is). The strength of this system is that it allows anyone to upload markers and also allows the user to download files in advance. So if they are planning a trip to the Tate Modern and want to see if there’s a marker nearby they could look up the Tate Modern on the website and see if someones put one up and download the files to their phone.

I was thinking about how these devices would enable the user total 3D immersion with they surroundings if those surroundings were altered using augmented reality. The user could be walking through a underpass and spot a marker on the wall, and if they had the right .patt file (or downloaded it) they would then be able to see the 3D object (and audio?) that the marker’s owner wanted them to see (let’s say the marker makes shark break through the wall). As the user then walks around the marker the device would rotate the 3D object in the right direction making the model seem almost real. If for instance the user is using an Touch Screen phone then they would also be able to interact with the object, for instance touch the shark’s nose and it jolts back.

This type of interaction is ideal for digital art, many digital artists want their work to be interactive and immersive. Due to technical limitations they can’t have full immersion because the medium they are presenting their work in is (in real space) 2D. There are ways that the artist tries to get around this limitation, for instance a while back I went to the Walker Gallery in Liverpool when visiting a friend, at that time Airside had their Insyde installation up. The installation had you walking into a giant shipping crate and then jumping onto images projected onto the floor by projectors, doing so would then make things onscreen happen. Though this blew my mind at the time and was a fun experience I was still aware that I was looking at 2 separate things. The projected images, though acting as a form of interacting with what was happening on screen were still part of real life and for me to utilize them I had to break away from the screen to see where I had to step.

This temporary need to go back to the real world spoils the immersive environment that the artist is trying to put across. I would like to break away from this need to go back to real life so I can proceed with the artist’s immersive environment. If the interaction with the art is done within the screen (like the shark interaction example I gave 2 paragraphs ago) then the audience can become more immersed. In the Augmented Reality Gallery the works of art would be held within the device (let’s say an iPhone application (which could be updated when a new exhibition is put on, this would help to draw people back)) and the markers on the floors, walls and ceilings would just be placeholders for the art work. The audience would walk around the gallery with their headphones in (the gallery would use 3D sound which would determine how close the audience is to a piece of art and then adjust the mix accordingly), looking through their device’s screen (or through head mounted displays connected to the devices). As they move around the gallery they can see all the works (like in a normal gallery) within sight and as they move around a certain work the device would translate the position and this helps cement their position in the environment. This would mean that the Artist wouldn’t need to create an environment (though they could create an environment within the Gallery’s environment) and the gallery environment(both real and digital) could be used as a platform. In the next 2 paragraphs I’m going to talk about 2 different works I feel sum up the possibilities an Augmented Reality Gallery could open up for digital artists.

A pile of bricks
If you’ve seen Equivalent VIII by Carl Andre and you’ve paid attention I think you know where I’m going. Imagine going to an Augmented Reality Gallery, being given an iPhone and told to use the iPhone as your ‘eyes’ in the gallery. You wander around the Gallery looking through the iPhone(like when your taking a picture) and suddenly notice there’s a piece of wood on the floor as you get nearer to it a pile of bricks appear where the wood had been. Boring? Or the best minimalist work ever? For those of you that said boring here’s the twist. You notice that the sign that said ‘look through your iPhone’ now says ‘Press me to rearrange the work’, You press the sign and suddenly the bricks start to hover and then fall into a massive unordered heap. You can now pick up the bricks and make them into whatever you want. For those who said they loved the work in it’s unaltered state there’s an information icon floating above the work which when pressed will start an audio clip on the work.
This type of work allows the audience become immersed in work without the need for any special equipment (other than the iPhone) and each user will have a different experience, though the artist could enable the audience to upload their creation. This work will appeal to art lovers and art haters because they are given 2 paths to follow.

Capcom did it!
This example comes from Resident Evil 2 but I feel would be a great work. For those of you have played this game I’ll be doing a real life version of the Licker intro. Imagine the scene. Similar to the Pile of Bricks in the last paragraph, your walking around looking through your iPhone appreciating the works when you suddenly spot a pile of blood on the floor. You can’t interact with it like the other works so you decide to see if it’s actually part of the Gallery or just another art work. You look at the floor and sure enough it’s a pile of blood, real blood. You look up and notice that on the ceiling there’s a pattern. You put your iPhone in front of your eyes again and now there’s a skinless creature with giant claws and it’s brain exposed. You weren’t expecting this and so you jump back with shock. The iPhone accelerometer notices the movement and suddenly the thing on the ceiling starts to lash out at you. You decide to move around the work thinking that because everything else in the gallery has been fixed in place you will be able move and see the back of the creature. As you do though the creature rotates itself so it’s always facing you. Your really disturbed now.
This experience is one that I’d love to have, to be so immersed in the Gallery’s environment that I’m disturbed by something that I know is just some code and a 3D model. I know that there’s nothing on the ceiling because I saw the pattern but it still caught me off guard.
Works like this would make way for more immersive experiences with work, and maybe even spawn a new type of spacial game. Outdoors exhibitions could take place or graffiti artists could use the markers to create their own 3D graffiti.

The 2 works I just talked about present the audience with 2 different experiences. The pile of bricks give them the ability to re-imagine an artist’s work, making new art in the process. The Licker example gives them a truly immersive experience that so far digital art cannot offer. These are just 2 examples I can think of that an Augmented Reality Gallery would produce. There could be combinations of the 2 examples, it’s up the artist’s to determine what happens. The big question though is. How would an Augmented Reality Gallery work? Would the works reset once the user turns away from the work or would it keep the state in the devices memory (keeping the state the user left the work in would help the immersion of the work). Would the audience use their own devices or ones the gallery supplies? How much would you charge to get in? Would there be cheaper rates for people who are returning? Though these are business questions they do raise the question of the price of such a project. If the iPhone and Android were to be the devices that the gallery used the price would be relatively low, though a lot of time would have to spent in the development of the viewing application. If the gallery used it’s own special headmounted display the price would be high but it would result in less time being spent developing the application because there wouldn’t need to be any work arounds to get the device to function the way it’s needed to. I’d choose the first option due to there being a ARToolKit app for the iPhone already in development.
A bigger question though is how would one curate an Augmented Reality Gallery, how do you decide which works to show and which not to show? How would you plan out the gallery space and how would the works all sit well together? Would 2D works be allowed to be displayed or would it be 3D only? These are all up to the curator but I can’t see there being too much of an issue if 2D work was displayed. If the Licker can rotate to always be head on for the viewer then so can 2D work.

This has been a short introduction to my idea of an Augmented Reality Gallery and I hope to develop it over the next few months and submit either the whole gallery idea or just a proposal for an artwork to the Arts Council at some point.

  • Share/Bookmark

Paedobot v1

Sunday, January 18th, 2009

So I finally finished coding Paedobot today. It’s come a long way from when I originally decided to make a paedophilic chat bot. Here’s a recap:

  1. v.01 – I used a flash file Mark gave me to make a really simple flash chatbot v0.1
  2. v0.2 – I tried converting the flash 6 file I had used to flash 8 but had no luck
  3. v0.3 – I managed to find another flash file to use, this one was in flash 8 and used a XML file as the questions and answers databasev0.3
  4. v0.4 – I managed to program some commands into the flash file so I could change parts of the user interface. As this version was web browser based I was going to play back pre-recorded content of random people on the other ‘webcam’ but have the chat bot talking like 13 year old
  5. v0.5 – Nick talked to me about how having a browser based chat bot wasn’t the right way to go about it as people have to seek it out and it gives itself away easily. I decided to try and get Paedobot working on Facebook, that way I could make a profile for the personality and use the paedobot scripts to run the profiles interactions. So I did some research into Facebook platform development
  6. v0.6 – This prototype unfortunately is only viewable by me because I never made it public, I managed to get some facebook code up and running which when viewed would give a list of friends names. For some reason the page is now throwing up a parse error, probably due to my rubbish PHP coding. here’s a shot of the developer’s bit though paedobot on facebook
  7. v0.7 – I started to realise that maybe instead of a social networking bot maybe paedobot should be more of a direct bot i.e. IM, email this would allow paedobot to pull of it’s personality better because the people adding it wouldn’t be able to see a profile which would be empty. So I set about finding a way of making a chatbot to use over the MSN Instant Messaging service. I found out that I could use Python to do so but having no experience with Python things were a little rocky. Especially as Mac OSX is rubbish at handling Python so I had to switch to Ubuntu
  8. v0.8 – I had gotten a little further I could now log onto msn and echo back what people had said to my bot, I could split the text they typed into seperate strings and use this to search my database. Whenever I got any feedback from the database it would either crash because it didn’t find a word or blurt out the XML it was using to find.I also started work on my emailbot though this wasn’t going too good as I originally started using POP3 for my reading, which was rubbish
  9. v0.9 – I had made some progress now I worked out how to stop it crashing (strangely by deleting my if firstFound == None: statement and using if firstFound: instead. Gotta love simple languages :P ) I also got my emailbot converted to IMAP4 so it was easier for it read the emails.
  10. v1.0 – After a long arsed struggle to learn Python I cracked it, my msnbot can search the XML file, pull up the words, give the last from the matches so to display the proper responce. My emailbot can read the email, get a responce from the XML file, write the email and delete the original (though it has some trouble writing subjects and displaying its name for some reason). I’m most pleased and you can download it from http://www.paedobot.net/releases/1.zip

So what is Paedobot? Paedobot is a collection of python scripts put together by Colin Wren (me) that when run allow a ‘persona’ driven by a single XML file to interact with people over MSN and email. The whole task is automated by a single script which executes the files at a set time during the day. I recommend you use Linux to run the scripts as Mac OS X has difficulty with the msnbot script for some reason. Feel free to contact me via my email colin at gimpneek dot com if you have any problems though you may know more about Python than I do :P

  • Share/Bookmark

Pre Production sketch for KCDADA

Wednesday, January 14th, 2009

While waiting for my animations to render I decided to do some drawing, more importantly some drawing for the Kingston College Digital Arts Death Arena fighting game I’m going to be making next semester. So I sat down and did a pencil picture of me throwing artoolkit patterns at mandeep (you can tell by the iron maiden wristband :P ). I was actually amazed it came out half decent.

I’m hoping to get a few more done before next semester starts but I’ll also have uni stuff to do before then so we’ll see
colin vs mandeep

  • Share/Bookmark

Double Project

Tuesday, January 6th, 2009

So Mark said today we should really just be focusing on our CGA and our DFS which is great because I’ve almost finished my CGA, I have the essay to do and got loads of feedback from Mark and Andy on how to make my animation better, which I’ll be doing thursday. When I got home I was frantically trying to get my msnbot to work and managed to solve the problem of it returning various errors and I’m very happy with it at the moment, the only problems are the fact that it still prints every tag for every word the user types and if it finds a match but theres more words or punctuation around it, it says it cant find it. I’m thinking of changing the layout of the XML from a nested structure to a question and answer structure. This will make it easier to add things.

  • Share/Bookmark

Fighting Game

Saturday, December 20th, 2008

For my end of year exhibition I’m going to be making a fighting game with Jamie . In the game you get to play as one of our classmates. We hope this will add a new element to it all. Well yesterday I was searching the net and came across this awesome little page, that teaches you to make a fighting game in flash, so with a bit of modding and a some added graphics, we’ll be laughing :)

  • Share/Bookmark

w00t New ARToolKit book

Saturday, November 29th, 2008

Got me a new book on Augmented Reality, which brings my current total to 3 (though the other 2 in all honesty weren’t much help) though this one is aimed at making visuals instead of explaining the background of the app and coding. The name of the book is Interactive Enviroments with Open-Source Software and it’s aimed at Architects who want to use ARToolKit to help show their clients possible layouts of developments. The technologies covered in the book are Blender(which I haven’t used, but as it’s only used for the modeling I’m sure I can transpose the commands into Cinema 4D), DART(which is Director and ARToolKIt,though last time I checked Director wasn’t open source :P )amd ARToolKit.
I have only skimmed through the book so far but I can only see one thing that I really want to learn at the moment and that is the chapter on texturing the VRML models for ARToolKit(which I have had loads of problems with, though this could be an OS problem.) If I can use the tutorial in this book to get textures working on my VRML models then the money I spent on this book is well spent. Though I have moved on to the Quartz – ArtoolKit combination (now referred as QuARToolKit) the VRML knowledge is still useful as I might not be able to get 3D objects working in QuARToolKit and might have to use simpleVRML for my final project.

  • Share/Bookmark

ARToolKit and Quartz Composer

Wednesday, November 26th, 2008

Today I am a very happy bunny, I finally got ARToolKit working with Quartz Composer :D

I’ve recently been getting into quartz composer thanks to being introduced to it on vimeo by George Toledo who uses Quartz Composer to make AR applications (check out his videos). I’ve been frantically searching google for a couple of days now to find out how it’s done and I happened to stumble across this page which tells you how to get a .mqo model into the ARToolKit – Quartz thing. After some more searching I found their downloads page

What you need to download is

  1. The Single Marker Detector Patch
  2. The MQO importer Patch
  3. The MatrixToParameters Patch

Now all you have to do is open them all in Xcode and select Build and Copy as your Active Target (make sure Quartz is closed) and then open once they’ve successfully built open up Quartz and follow the tutorial in the first link, and now you have ARToolKit working in Quartz. Awesome :)

If you have any background knowledge of Quartz then the possibilities are endless, I exhanged the MQO importer for a cube, copy and pasted the pixellate patches and made a pixellated cube

using my pixellate quartz patches through the Quartz AR

using my pixellate quartz patches through the Quartz AR

  • Share/Bookmark

Double Project Week 5

Tuesday, November 4th, 2008

Marks not too happy with the fact that I didn’t do the reading week stuff but he gave us a gentle kick up the anus so it’s kool. I showed Mark my newest toy (I got a videoplane app going and also some particles) and he seemed happy with it but said I should start deciding what to make with it all.So might have to have a little think about that on sunday or something.

I think I need to sort out my websites as I need to finish my projects so I have nothing nagging away, then I can focus all my energy into uni.

  • Share/Bookmark

CGA Week 3

Friday, October 17th, 2008

GULP!… Andy’s not happy with me, I had a good start doing my animatic but all I had to show this week was the same thing (be it with a few gaps where I need to add some stuff) but with music. I’ve got most of the extended sequences sorted out and I’m now trying out some dynamics, to make the web react to a fly hitting it, which makes me think if I can animate an object and the web will react to the animation or if I have to actually have to keyframe it all. Have to face that when it happens I suppose.
So I’ve fired up Cinema 4D to do these tests and yet again I’m finding problems with Alpha maps and shadows, I have a web drawn out on a plane but when it renders you can see the planes shadow. Hopefully I’ll work it out cos that could get annoying.
I need to take some more pics of spiders, Maybe I’ll head back to Kew and just photo the place up(I’m basing my animation on a dead fly on a window seal at Kew Gardens that I took a picture of..

Dead Fly at Kew Gardens

Dead Fly at Kew Gardens


You can check out my tests here

  • Share/Bookmark

Videothing

Wednesday, October 15th, 2008

Processing is awesome, I was just pissing about with it and made an app that when a keyboard button is pressed it drags the image by one pixel so you can get some pretty weird shapes using it. I added a save function to it so that the user can get a picture from it, only problem with it is that I can’t work out how sequentially save files, which is lame but I’m really happy with it otherwise.
you can download it by clicking here
just for show here are some images I made using it.



hope you have as much fun as I did

  • Share/Bookmark