LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

question for load VRML file with scale and position missed

Hi,

I trid to read a .wrl file from the "load VRML" vi, most simple .wrl models can be correctly read but for some more compliacted models their scales and positions were incorrect.

I attached the file which I read the .wrl file and a car model from Matlab Virtual Reality toolbox. The file can be read but their position and scale was missed. I check this model on other VRML readers and I believe the car model is correct. Does anyone know how to fix this problem?

Thanks,

-Alex
0 Kudos
Message 1 of 6
(2,671 Views)
Hi Alex,
I tried opening the attached file and running the VI, and all I see is a black screen in the picture control box.  Could you please post a working wrl file that I can use as a comparison? Also, when you said that the scales and positions are incorrect, how much are they off by? Or does it seem like those parameters are not getting picked up at all?

Yi Y.
Applications Engineer
National Instruments
http://www.ni.com/support
0 Kudos
Message 2 of 6
(2,658 Views)
Hi Yi Y,

Thanks for your reply.
The attached files are the correct .wrl file and the one read from LabVIEW.
The colored is incorrect, the car is seperated to some parts, and the scale of some of the parts are wrong.
I think you can use any .wrl reader to read the wrl file I posted, all the reader I tried can read it successfully besides LabVIEW.
In the vi I have you can try to adjust the scale or rotate it then I think you can find the seperated car parts.
I will appreciate if you can give me any suggestion. Thanks,

-Alex
Download All
0 Kudos
Message 3 of 6
(2,642 Views)
Hi Alex,
I tried this on my computer, and it does seem like the file is loaded with some strange parameters.  It seems like the parenting/origin of the graphs are messed up.
I'm not sure what the cause of the issue is, and I will have to talk to R&D about this.  I'll post my findings here.

Yi Y.
Applications Engineer
National Instruments
http://www.ni.com/support
0 Kudos
Message 4 of 6
(2,627 Views)
Thanks Yi Y, this problem really bother me.

Look forward for your reply.

Thanks
0 Kudos
Message 5 of 6
(2,621 Views)
Hi Alex,
I did more tests and modified some parameters, and for the time being, this does look like a bug in LabVIEW.
I reported this issue to R&D (# 4EOCM768) for further investigation.  Unfortunately, there's no work around for the time being.  However, R&D will look into this and update me on the status.  We apologize for the inconvenience, and I'll let you know what we find out.

Yi Y.
Applications Engineer
National Instruments
http://www.ni.com/support

0 Kudos
Message 6 of 6
(2,613 Views)