08-12-2011 03:34 AM
Hi,
I need two draw two independant models of vertices in the same 3D graph,I set the vertices and their index in two different SceneMesh application and I tried to display the two model in the same 3D graph but It's not possible.So does any one have an idea how can I do that and to be able to control the two object with one camera?
Thank you in advance.
Omar
Solved! Go to Solution.
08-19-2011 07:02 AM
Hi Omar,
This link shows how two 3D Objects can be added to the same scene; it also shows how using Object Translations can be used to move objects around the Scene which can be used to create an illusion of a camera by moving the objects with respect to the scene window. I used these same methods of implementation when creating a 3D Ball and Paddle game. Translations can be performed on individual objects too, so you can allow Objects to change their relative positions with respect to each other.
Is this what you had in mind?
08-19-2011 07:35 AM
Hi Alex
Thank you for your help, I found also this solution and It solved my problem.
I want to know If it's possible to make a capture or a pause in the 3D and be able to make some "pick point" in the capture.I tried to do it with a case structure which cut the link between the object and the graph when I pressed a button,but the object disappears when i do this.
Thank you for your interest.
Omar
08-19-2011 07:44 AM - edited 08-19-2011 07:46 AM
Omar,
If you right click on the 3D Image Indicator and select Invoke Node > Render To Image and wire the Image Data terminal to a Write to JPEG VI, you'll save the a capture of the current 3D indicator image.
Have fun!
08-19-2011 08:11 AM
Alex,
In my 3D picture I display the motion of a Knee, and what I want to do is to stop the motion and conserve the last acquisition in my picture and after that I want to use the PICK POINT invoke to get the coordinate of some specific point of the knee.
Omar
08-19-2011 08:24 AM - edited 08-19-2011 08:25 AM
Omar,
Sorry I misread your question. I thought that you wanted to capture the screen on a button press.
The Pick Point method of a 3D indicator's invoke node will point a ray in a given an x and y co-ordinate and return the top left 3D co-ordinates of the first object it intercepts; therefore if you know what area of the 3D space you want to detect in terms of the knee position I would take the measurements whilst the 3D image is running. As you acquire signal data and this changes the 3D knee image position, you should use a shift register to maintain the previous knee position and use a case statement to determine whether to view the newly acquired data or look at the previously taken knee data.
If you need more help then I encourage you to make a create a new forum question because this thread is now resolved; a new forum post will attract more members from the online community.