VIDVOX Forums Forum Index
Author Message
<  Quartz Composer  ~  WiiPaint
dunpeal
PostPosted: Sat May 17, 2008 9:07 pm  Reply with quote
Video Architect


Joined: 19 Aug 2007
Posts: 75
Location: Oregon

Quote:
MEMO SAID -
I'm actually working on something right now which uses two wiimotes to track depth position of the emitter as well so you can paint in 3D... we'll see when that is finished Razz


Hey i always look forward to what you come with! You got Skillz Man!
Back to top
View user's profile Send private message
SWiY
PostPosted: Sun May 18, 2008 12:38 am  Reply with quote
Video Architect


Joined: 25 Apr 2008
Posts: 19

thx dun, I loaded like a movie on a layer and i see a blue dot in the middle of the screen. lol what am i doing wrong, thanks for the help.
Back to top
View user's profile Send private message
laserpilot
PostPosted: Sun May 18, 2008 1:49 am  Reply with quote
Video Architect


Joined: 02 Sep 2007
Posts: 23

[quote="SWiY"]thx dun, I loaded like a movie on a layer and i see a blue dot in the middle of the screen. lol what am i doing wrong, thanks for the help.[/quote]

you'll have to map your mouse x/y to your x and y controls on the wiipaint patch to move the blue dot around and the use the pen down control as the pen down on the wii patch but i forget how vdmx's tablet control works you might have to map a keypress to having a pendown/erase thing
Back to top
View user's profile Send private message AIM Address
SWiY
PostPosted: Sun May 18, 2008 2:14 am  Reply with quote
Video Architect


Joined: 25 Apr 2008
Posts: 19

How? within vdmx itself or within quartz. I know nothing about quartz and would be very thankful if you could point me in the right direction as to where to start. Im so lost, a step by step instruction would be nice, but you dont have to take the time, just link me to some tutorials or something would be great. thanks.
Back to top
View user's profile Send private message
laserpilot
PostPosted: Sun May 18, 2008 2:21 am  Reply with quote
Video Architect


Joined: 02 Sep 2007
Posts: 23

load the wiipaint qc patch up as a movie in vdmx and then in the layer controls it has some controls for x and y position (as well as pointer color, decay, feedback, pointer size.) right click/control click the x and y controls and assign them to the mouse x and y or something that moves around..sorry i cant really provide more instruction than that
Back to top
View user's profile Send private message AIM Address
SWiY
PostPosted: Sun May 18, 2008 3:40 am  Reply with quote
Video Architect


Joined: 25 Apr 2008
Posts: 19

thanks
Back to top
View user's profile Send private message
kimonolazer
PostPosted: Sat Sep 27, 2008 12:14 am  Reply with quote



Joined: 26 Sep 2008
Posts: 3

Can I use the wiimote without the ir sensor to draw with this patch? Also, how can I set the x and y once I have the patch loaded in vdmx?

Thanks!
Back to top
View user's profile Send private message
goto10
PostPosted: Tue Sep 30, 2008 6:38 pm  Reply with quote
Video Architect


Joined: 01 Jun 2008
Posts: 309
Location: Amsterdam, The Netherlands

it's pretty much impossible to get reliable x/y data from the wiimote without use of the ir. you can make your own ir sensor by just using two candles though.

to connect the wiimote to the x/y slider, just make sure the wiimote is paired correctly in vdmx, and then set the datasource of the sliders to the corresponding ir data of the wiimote.

btw if someone has managed to get x/y reading without ir, i bow humbly and sing praises to your name, for you are then the god of all accelerometers. also, could i have your patch please Wink

_________________
if it moves, sync it!
http://www.hybridvisuals.nl/
Quartz Composer and VDMX video tutorials at http://www.hybridvisuals.nl/tutorials
Back to top
View user's profile Send private message Visit poster's website
memo
PostPosted: Tue Sep 30, 2008 6:58 pm  Reply with quote
Video Architect


Joined: 25 Mar 2007
Posts: 171
Location: London, UK

This is by no means accurate, but still roughly controllable (and quite old)
http://www.memo.tv/wiitomidi_modes_demonstration

Actually I have some ideas on how to make it a lot more reliable and will try and update it when I get a chance.

mac only I'm afraid.
Back to top
View user's profile Send private message Visit poster's website
goto10
PostPosted: Tue Sep 30, 2008 7:43 pm  Reply with quote
Video Architect


Joined: 01 Jun 2008
Posts: 309
Location: Amsterdam, The Netherlands

hallelujah! glory be to thee, oh mighty memo. how blind was i to this infinite source of wisdom that is thy website Wink

weird thing, though. wii2midi fails to pair my wiimotes. while the kineme plugin, vdmx and osculator all pair up (as you see, i've tried a few avenues already).

i still have my mouth on the floor as to what you managed to do though... any chance i could have a look at the math going on under the hood?

_________________
if it moves, sync it!
http://www.hybridvisuals.nl/
Quartz Composer and VDMX video tutorials at http://www.hybridvisuals.nl/tutorials
Back to top
View user's profile Send private message Visit poster's website
memo
PostPosted: Tue Sep 30, 2008 8:37 pm  Reply with quote
Video Architect


Joined: 25 Mar 2007
Posts: 171
Location: London, UK

Thanks, but its actually not as complicated as it looks Razz You can find the source at http://mike.verdone.ca/wiitomidi/

Mike Verdone wrote the app - I just added this position/velocity info - and he maintains the site etc - and he hasn't updated it in over a year - which is probably why it doesn't pair (the connection uses the DarwinRemote framework which has been notoriously buggy, many improvements have been made this past year in connecting wiimotes, and wiitomidi hasn't been updated with any of those improvements). Saying that, I can connect with wiitomidi no problems... its just real sketchy I guess.

What I want to do is write a processing app which does the same thing, so its cross platform... and instead of using Euler integration (which is real cheap and dirty and not accurate), use 4th order Runge Kutta which I'm hoping will give more accurate results. But on the other hand, months ago there was the announcement of that iittle addon to the wiimote which would provide one-to-one mapping which would make this thing obselete. It is supposed to be a bit expensive, but does look pretty sweet.
http://news.bbc.co.uk/1/hi/technology/7508743.stm
Back to top
View user's profile Send private message Visit poster's website
goto10
PostPosted: Tue Sep 30, 2008 9:26 pm  Reply with quote
Video Architect


Joined: 01 Jun 2008
Posts: 309
Location: Amsterdam, The Netherlands

thanks a lot!

it's great to have x/y functionality in the wii's current incarnation, without the use of the ir, methinks. for a 40 euro controller it has so many output options, all at a price for which i can't solder it together. it's only the ir that always bites me in the ass in any environment other than the sterile test lab. ('excuse me, could you extinguish all lights, cigarettes, and generally not radiate any heat at all, so i can make this toy work?')

Quote:
its actually not as complicated as it looks


Shocked

well, at least i'll have something to do this winter Wink

_________________
if it moves, sync it!
http://www.hybridvisuals.nl/
Quartz Composer and VDMX video tutorials at http://www.hybridvisuals.nl/tutorials
Back to top
View user's profile Send private message Visit poster's website
memo
PostPosted: Wed Oct 01, 2008 12:16 am  Reply with quote
Video Architect


Joined: 25 Mar 2007
Posts: 171
Location: London, UK

Actually I was trying to fake-read the position of the wiimote by integrating the accelerations - which is a bit of a paint. But there is a much easier way to use the wiimote for painting without using IR - by using the orientation of the wiimote. OSCulator outputs the wiimote orientation, and you can use those to move a virtual paint cursor - or even simpler you can just use the x acceleration and y acceleration and control them by rolling and tilting the wiimote. I've got a patch working quite nicely, but can't log into my site for some reason right now, so will post it tomorrow hopefully. P.S. Works quite well with the iphone too Razz
Back to top
View user's profile Send private message Visit poster's website
newVJ
PostPosted: Wed Oct 01, 2008 6:42 am  Reply with quote
Video Architect


Joined: 20 Jan 2007
Posts: 60

The WiiMote plugin in VDMX also outputs the orientation and it has really nice controls for offsetting and clamping the range of orientation you want to work with. Not as easy to use for painting as IR but thats expected


___________
cheers
slick willy
Back to top
View user's profile Send private message
memo
PostPosted: Wed Oct 01, 2008 2:18 pm  Reply with quote
Video Architect


Joined: 25 Mar 2007
Posts: 171
Location: London, UK

yea you definitely don't have the precision for painting with orientation v.s. IR, but it can still be fun. Its probably easier to set it up in VDMX compared to QC, but I uploaded my comp anyway... I also added painting with iPhone orientation too Razz

http://www.memo.tv/painting_in_quartz_composer_with_wiimote_and_iphone
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
All times are GMT

View next topic
View previous topic
Page 3 of 4
Goto page Previous  1, 2, 3, 4  Next
VIDVOX Forums Forum Index  ~  Quartz Composer

Post new topic   Reply to topic


 
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




Powered by phpBB and NoseBleed v1.09