From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
11-08-2018 03:30 PM
My problem in applying a wrml2 from Blenders Export with texture which LabVIEW is displaying it as a deformed or distorted even with 2 material with texture. I also notice that if I use sold color on the texture with no details on it. LabVIEW will display it as silhouette as sold color in the .png but will not respond to diffuse light and only show one color. I tried different UV Mappings even Cube projection, Cylinder projection sphere projection. Sometime I think it edge are not being read and it is using some sort of default uv mapping of it's own. I am not having any problems with painting the object, but am struggling with Texturing.
11-12-2018 09:38 AM
Hello lioDAG,
I would like to get some more background on your issue. I would appreciate if you could let me know the following:
1) What procedure are you using to apply/import these textures in LabVIEW
2) Could you please upload an image of what you expect to see and what you are actually seeing in LabVIEW?
3) What software versions are you using?
Regards
11-19-2018 08:44 PM - edited 11-19-2018 08:47 PM
1.) How did I imported 3D Object to LabVIEW? On Block Diagram, selected Graphics & Sound under Programming. Then on Graphic & Sound selected 3D picture Control. Next select Load VRML File.vi. What I understand LabVIEW will take file .wrl as an object with it's tributes or interpret the file. Did I miss something?
2. Yes, By the way I check the 3D Object that I created in Blender (with textured) and importing it to Sold Works as .wrl which come out Good / it was able to interpret it correctly. On Vi that I send you should notice that the 3D Object is Distorted.
3. I am using LabVIEW 2016, Blender 2.7b,and Full version of Sold Works.
Thanks for your Reply, I appreciate your response and helpfulness.
11-22-2018 08:47 AM
Hi lionDAG,
I have been playing around with your VI, but so far I cannot see any reason for this behavior.
I one question, did you base this VI in an example or a community example?
11-25-2018 10:01 PM
I did not basing this example on a community example. You can find the original vi on Labview, examples; path C:\Program Files (x86)\National Instruments\LabVIEW 2013\examples\Graphics and Sound\ select 3D folder, and you will find it. . The only thing I added this WRML2/.wrl with texture or wrap with image file .png. I found that Labview did some what accept simple object with texture, but it has no diffusion. These simple 3D object is the four plans intercepting each other this image is a fire-ball or a flame with out diffusion. You can see the rocket with out texture but painted does work and has diffusion. I have another question how many 3D Picture Control one find in Labview and if there is which one works well with file .wrl? Last question do you know if Labview has x3d files 3D Objects, If it does what version of Labview?
12-06-2018 09:59 AM - edited 12-06-2018 10:04 AM
I found out that latest both Soldworks and Blender can read each other's texture, but LabView can't read it. It seem that LabVIEW need to improve on reading texture on 3D Object form VRML2. If their is some one can prove that I am wrong and can you explain why is it behaving that way?
12-07-2018 04:09 PM
LionDAG,
Can you explain what exactly you think needs improvement with regards to LabVIEW and its ability to handle VRML2 files? I am just trying to understand your question better. What have you tried that has shown that LabVIEW can't read it? Thanks!!
12-08-2018 11:53 AM - edited 12-08-2018 12:11 PM
To answer your question Mr. Walker .P, I have created a 3D Object which is a simple rocket, and simple flat plan square in Blender, and added texture with an image file type .png (Portable Network Graphics). I used unwrapping and uvmapping (texture mapping). Later, exported from Blender as WRML2 to Solidworks in order to test the quality of the 3D image by importing it as WRML2. Yes, both can ready WRML2, but LabVIEW does not do a great job. When I apply it to LabVIEW, it only reads flat plan square, to me it very simple image, but it does not do reflection from a source light. On the other hand, a rocket which is not so simple as a square (flat plan square) or rectangle or cylinder or circle. For some reason LabVIEW does not like simple design of a rocket with texture with an image file .png, and again it can't reflect light from the light source. LabVIEW displays image form .png distorted or broken repeating cross the whole rocket. I also notice that if I use paint instead of image (file .png) it works fine. I would like to wrap 3D Object (image) WRML2 with image file .png and display it on LabVIEW and with reflection as is coming out as if was a painted texturing. Above, I gave you a sample of my work so that you can understand, please see it. If I am doing something wrong or need add anything please do tell me.
12-08-2018 02:40 PM - edited 12-08-2018 02:57 PM
Walker P. I would like LabVIEW read/display VRML2 files like Blender and Solidwork. They can read/display WRML2 with texture image (file .png or .jpg) warped. What I experience in LabVIEW, It can do very simple one, for example; flat square plan, but will not reflected light. When doing a body of a rocket, it shows the image texture distorted all over the object, but again with no reflection from light source. On the other hand, a painted texture LabVIEW can ready/display my rocket perfectly and light being reflexed.
12-10-2018 03:54 PM
Hello lionDAG,