05-01-2008 01:56 AM
I think Eric was refering to the possibility of integrating 3DMax as ActiveX control into a LabVIEW front panel. That assumes that 3DMax does support ActiveX control but if it does it would be the least complicated solution (albeit certainly not trivial).
@rakahmed wrote:
Thanks, Eriq for your informative reply. If I can make Labview to read the 3D file in any format, can I do the later part, ie., have 2D rendered image from the file in any required orientation/projection from it ? It would be nice if you please refer to any documentation as well. Thanks again for your nice cooperation.
05-01-2008 02:04 AM
05-01-2008 02:52 AM
rolfk wrote:I think Eric was refering to the possibility of integrating 3DMax as ActiveX control into a LabVIEW front panel. That assumes that 3DMax does support ActiveX control but if it does it would be the least complicated solution (albeit certainly not trivial).
LabVIEW is not a 3D renedering application and has only limited 3D capabilities. If you have a WGL file you can usually read it in with the 3D Toolkit and even anymate it to some extend but that is about it. Of course you could convert your 3DMax file into a WGL file and go from there. But 3D rendering is a very complicated business and so are the different file formats. Most 3D file fromat converters I have seen are not able to convert more complex scenes reasonably well, but I haven't seen the really expensive ones so they might exist.
All in all LabVIEW is not a 3D rendering package and most probably never will be! It has some limited functionality that allows you to load in certain 3D formats and display them but not much more. If you want full featured 3D rendering capabilities and can't go the ActiveX route I'm afraid you won't be very happy with the solution you can come up with unless you intend to really write a comprehensive LabVIEW VI library for generic 3D rendering. But that would be a major project in itself and then several other envrionments would be easier to work in than LabVIEW.
Rolf Kalbermatter
05-01-2008 04:36 AM - edited 05-01-2008 04:36 AM
@Nandha wrote:
I don't mean to barge into this conversation, but i think what rakahmed meant is not highly comlex 3D rendering feature in labview just like in software like 3D studio Max. Instead, it is just an already simple rendered 3d object that labview already provide, which we can easily get from the "render scene" into "picture control" and capture that particular configuration of 3D display into the 2D image, Actually i myself would like to know how Labview can capture picture from 3D picture control into 2D image (bitmaps).
06-09-2008 12:41 AM
shawn wrote:
Ooops- after receiving some help, I was able to discover something about the 3D Picture Control. When using a Camera Controler with
LabVIEW 7.1\vi.lib\addons\picture3d\CameraManager\controller\Create Camera Controller.vi,
A VI is dynamically called. This means any built application needs to include the dynamically called VI:
LabVIEW 7.1\vi.lib\addons\picture3d\CameraManager\controller\CatchPicCtrlEvents.vi
Once I added this VI to my build spec (as a dynamic VI), the built application works fine.
07-09-2008 08:45 AM
07-09-2008 08:59 AM
07-10-2008 06:47 AM
07-10-2008 07:43 AM
I have not touched the 3d picture since before it was an official release.
But back then I drew lines by creating a series of very thin cylinders where the axis was co-linear with the line and the radius of the cylinder was line width.
You can easily do both lines and shperes in the 3d graph. Is there apecific reason you need the 3d picture?
Ben
07-10-2008 08:57 PM