05-16-2013 02:44 AM
I load some 3d model into 3d figure in labview. I need to find bounding box of that boject programmatically and then I am going to use clip plane on that object strating from minimum (object visible) to maximum (object invisible). Do You have any Ideas?
05-16-2013 10:47 AM
I think I ve solution
I get vertex array from scene mesh and then I am looking for max and min x y z value and they create my bounding box.
I have no idea if this is elegant way to do that because i ve never used 3d picture and there is very hard to find good examples...
05-17-2013 03:36 AM
Hi,
Can you post the VI and the 3D model?
Best regards,
I.R.
05-17-2013 10:29 AM
Vi and model attached.
Next thing that i want to achieve after cutting plane is applied:
-Places where object was cut have to change color like this:
Any sugestions on this?
05-20-2013 09:52 AM
Hi there,
At the following location you will find and example that is loading a 3D model and modifies the colour depending on some values that you pass (reading from a sensor).
You can convert the express VI to a subVI and see low level the implementation.
https://decibel.ni.com/content/docs/DOC-2059
Best regards,
I.R.