|Date:||21 May, 2012|
elliotwoods, microdee (for soft shadows in runtime demo)
Fixes: intersect had no depthbuffer, table load incorrect.
DX11 Version of the modules and fx b31.2
DX11 Version of the modules and fx
VVVV.Tutorials.Mapping.3D (May 2012)
VVVV.Tutorials.Mapping.3D (June 2012)
VVVV.Tutorials.Mapping.3D (June 2012)
Tutorial on 3D projection mapping using the CalibrateProjector node (wrapping OpenCV's CalibrateCamera routine).
- Quickstart guide:
VVVV 27.2 or above
Tutorial files (in download link at bottom of description)
<iframe width="560" height="315" data-src="https://www.youtube
CommentsComments are no longer accepted.
Please create a new topic in the vvvv beta forum to discuss this contribution.
Youtube says: "This video has been removed because it is too long" :(
we love you voice on video Elliot...
same problem here
yep. cheers for notice! noted and currently uploading on another account which can go > 15mins sorry!
Very nice tutorial, thanks for your time :)
where are the plugins for the tables?
@microdee - these are sneakily included in the latest OpenCV plugin pack (May 2012). Should be moved to a separate download in future. Using your soft shadow contrib in the runtime example.
so nice ! cheers for the reconstructme info
very nice thanks elliot! which scanner did you use in the example?
thank u Elliot for the great contribution and for the tutorial also!
@elliotwoods: oooh ok. hey what an honor!:D update: @elliotwoods: there's no ValuesTableBuffer.dll in the opencv contrib, however i found the source on your github. is there a compiled version somewhere?
Wow. Will include. In asakusa restaurant. Will post corrections to opencv dll's from xd_nitro's studio tomorrow
ack. actually it's going to be much easier to wait until i'm back on my own PC has to be the weekend :(
@microdee - the filename had changed to VVVV.Nodes.SpreadTableValue.dll perhaps you were looking at the old tutorial patch?
@tekcor : Asus Xtion Live (equivalent to a kinect camera)
Got some Problems with Points in World Projector. Sometimes when i try moving the Points in World Projector they are kind of sticky like to a grid or something and when i create a Point they do not appear at the courser but somewhere else. Am i missing something?
Anyway this is just great thanks so much for this contribution. Makes life much easier!!!!!
you are my personal Hero!!!
this is great!!!
thank you elliot!!!
Hello all and thank you Elliot for this piece of technical and helpful art.
It works pretty well.
Does someone have any idea on how to display a picture in background of the Projection renderer?
I've tried in many way to do it but my background get always distorted.
It would be helpful to put a picture in background in order to be able to make experimentation without having to switch on the video projector.
Edit: I've found a way to put a picture in background, but it's dirty I can't show this... i'm sure you guys knows how to do it the clean way
@newemka : paste the following for an example of putting a quad fullscreen in the background of a 3d render (note Billboard and ZWriteEnable set to false)
@Elliotwoods Thanks for the tip, I was looking on the billboard side and it works until I add the fourth calibration point then the camera projection shift my background picture. My trick is to render the projection renderer as DX9Texture and blend it with my background FileTexture on a FullscreenQuad in a new DirectX Renderer window.
@newemka - did you make sure that Billboard was set to WithinNormalisedProjection ? (also i think there's a separate node for this. Either way, glad you found a solution that works for you!
Hi, thanks for the nice tut and solution Elliot.
i found a strange behaviour. I,m using beta 28 and works very well i had to repatch some staff and change the keyboard subpatch.
Chaging the patch to other folder you get all nodes working apart from calibrate camera. i found that if you have your project folder and a folder with the opencv in it an a folder with the patches inside seem to work again. it does not matter that you have the opencv already add in the vvvv root , not doing this it did not work for me. just in case you have similar problem. cheers
confirmed. had this path troubles too with beta <28.
also if you get this msg using the CalibrateCamera node: "OpenCV: For non-planar calibration rigs the initial intrinsic matrix must be specified"
set the Flags enum to CV_CALIB_USE_INTRINSIC_GUESS CV_CALIB_ZERO_TANGENT_DIST CV_CALIB_FIX_K1 ..K2 ..K3 ..K4 ..K5 ..K6
finally tried this and the projector node 3.0 is just WOW :o
I have the same issues as color.
Keyboard subpatch only working on <28 (beside 28alpha).
i got that keyboard problems too... need to replace the keyboard (window) with keyboard (global)...
Hi, I am new to the whole vvvv scene and am trying to get this to work, but am having problems with ValuesTableBuffer.dll, I cannot seem to find it anywhere.
Could someone please help me figure this out?
@Elliot please feel free to remove the DX11 Version if not appropriate,tried to contact you but did not reach you. Works well in my side.
Thanks for keep updating this!
Great Tutorial!!! Thanks Elliot. I'm having a problem with the world projector: I can't create points, or move the model in it. Instead of regular mouse pointer, I have only blinking red square like, that allows me to set only 1 point. I'll appreciate someones help on that matter.
uploaded a screenshot of this issue
Please, update link on OpenCV plugins, it is not available now.
@ShmulikF: Its because of the keyboard subpatch is broken. Fix the keymatch and connect them to respective IO's within the same sub patch. It should work.
I desperatly need help on a simple projector calibration.. Does anyone have Elliot's patch running on his machine ? You can hit me on skype (crustea). Any help would be awesome :)
i just cant get the calibrate camera node to work. it doesnt solve and flashes red while manipulating points in the renderer.
@colorsound, i dont really understand what your folder structure is. could you please describe what exactly you did to make it work again?
Just a question: is there anyone with this patch working with vvvv 30.2? thanks
Hey, Thanks for this tutorial, has opened up a whole new world for me.. I attended one of your classes at MAD Lab the other year and we touched on 3d mapping at the end.. I'd never quite managed to figure it out until this so thanks! I've created a patch to hook up the iPad with touchOSC and it allows the alignments to be done remotely which is great for larger scale mapping projects, and you can also use it to control the show.. It's not really in a shareable state, but maybe I'll get it there one day..
Just wanted to say thanks :)
I have a problem with this tutorial. I miss the file VVVV.Nodes.OpenCV.dll. I searched the addons but this file is missing. Where can I download it? thanks
Just been trying this.
I reach the end of calibration (with a mesh from reconstructme) and the calculated view is facing in a completely different direction from the scene. I've tried severaltimes, with a few vvvversions.
I was very precise last time ans the reprojection error was only about 1.5px, but still the view faces the wrong way.
ok, it seems the view is inverted in the z direction somehow!
have 'fixed' with a scale z of -1
another issue is vvvv freezing every couple of seconds while moving markers with the mouse. seems to be something to do with the tables
have 'fixed' with a scale z of -1
I fixed this in the may 2012 version with 30.2 by changing the coordinates pin of the CalibrateCamera node inside of CalibrateProjector from "vvvv" to "OpenCV".
@ mrboni yes I ended up doing the same (also with calibrate camera). It seemed to work for my purposes but I'm not sure if scaling the Z at -1 is 100% correct. Also from memory I think I did that on the perspective transform.
Would love to hear from Elliot about this, I thought he mentioned in his workshop at Node13 that some of the open CV stuff might be working with an Open Framewroks style matrix.
i try to use your directx11 version but have problems with the input element node (red) vvvv.dx11.nodes.dll is missing but it is there...all other nodes seems to be ok. maybe wrong version?
with an older version of eliot it seems, that i have also the inverted z problem. somebody who can help WHERE i have to corrct that?
thx and greetz
i have just download a fresh last vvvv_45beta31.2_x86 with its addons also last version of directx11-nodes-alpha which is 31.2 version as well, then vvvv.packs_.image-b31-x86 .
i was missing VVVV.Nodes.SpreadTableValue.dll but took it from other version and worked btw i vote for this one to be in the addons.
Then as you said input element node was red ,you just double click and select the node again and it works, that happens sometime with some older DX11 nodes i guess there was a change on the naming but nodes are there.
I have saved it and uploaded it ;D.
thx for the tip...this problem is solved ;)
but in your patch i can not select any point because i am missing the red rectangle i have in older patches from elliot
thx and greetz
me again ;)
everything seems to work! thx for your help and great patch!
but one last question: how can i show the wireframe of the geometry in the projection output...in the mesg view i have found it
thx and greetz
one big problem is left. if i close the patch and reopen it the x and y values for the projection are deleted!
greetz and thx
thanks for the great work! i have a question: i`ll map a room with 2 projectors that are facing each other (each one in the opposite corner of the room). The 2 projectors are connected to two laptops (there is no dualhead possibility - greetings from india ;) - i plan to animate the light position and send it via osc to the 2nd laptop/beamer. Any idea how i can align the 3d coordinates of the 2 patches/projections?
thank you very much!
Just do the calibration procedure from both projector and export both the matrices to plug them in view and projection of renderer..
thanks! unfortunately i'm already stuck loading the 3d file. actually any 3d file - not even the v.x is showing up. also no .dea, .ply or .obj files. the only files loading so far are 2-subset-cube.x and 6-subset-cube.x any idea?
i'm using the latest v4 + dx11- & image packs on win8.1, no red boxes. thank you in advance!
A 3D object always needs UV mapping coordinates.
alright, blame win8. i remembered that i had it all working last year so i started to do downgrade. 29.2 and VVVV.Nodes.OpenCV works - besides keyboard issues - fine on win8. thanks for the help and greetings from http://www.maakali.org/ResidenceSEA/residency/
Hi, I'm having some trouble with this tutorial, because when I'm opening the mesh and put the scale my mesh appears far away, and I can´t not even rotate or translate it in the renderer !!! Anyone can help me!!! Thanks!!
Hi guys I'm having problems, because when I select 5 point the projector renderer doesn´t change the colour to silver, not even with more points! Anyone with the same problem??
My calibrate projector node isn't working correctly. I have all nodes with everything well ( they aren't red) When I select the points in world renderer the calibrate projector blinks red and never appears sucess. Anyone with the right version of open CV pluggins to this Tutorial?
do the forum thread with screenshots of problem
hello guys does someone have a working version for beta32.1 ? cheers
hi ok got it working with 32.1,will put how soon. cheers
@colorsound do you have an update fix for 32.1 or even better 33.1? Thnx.
@manolito yes it works with 33.1 too, basically the problem is the VVVV.Nodes.OpenCV plugins version , it seems last imagepack has diferent behaviour.
i could clean and upload the patch with the plugins that work in my side,but not now if you are in a hurry contact me on skype. cheers ;D
@colorsound will get it touch via Skype :)
Hi. I'm trying to follow this tutorial. But the mouse and keyboard controls don't work for me. I'm not really sure how to fix the keyboard node as others have suggested. Using Window 8.1 with vvvv 3.3 64bit. Can't move around the world view, I can move the projector though. But I can't set points.
@Mooney I am not sure about the keyboard since it works correctly on my side, but I found that the issue about setting points is related to missing links in the "ProjectorN (DX11)\Modules\dx11\Pipet (DX11)\Pipet (DX11).v4p" patch. The texture2d and DynamicBuffer nodes needs to be correctly connected to the CS_Pipet shader.
can someone help me to follow this tutorial. looks like many steps are outdated and impossible to perform. i have many red nodes, but all packs are on the right places, i've intalled Images.Pack instead of OpenCV, but i cant figure out how to get things work.
everthing seems to load fine in the vvvv_50alpha34.103_x86 version, the only problem is that i get the status message "Insufficient points" no matter what.
Latest working version is for me 31.2 with image pack.
Nice work! I'm just wondering if this tutorial is still supposed to be the "tool to use" for 3d projection mapping in vvvv_beta_39_x64? I was following the tutorial and made the same observation as nrsz. In addition there is an exception thrown saying:
But there are no permanent red nodes (only temporary).
Thank you for your help!
@ndrv this tutorial does 2 things:
Thanks joreg! Yes, it was only about the calibration. Will try to combine best of both worlds now.