Forum

Accessing mesh data in javascript

20 February 2018 17:16
Hello, I have accessed my object in JavaScript through get_object_by_name, and then console.log the object, but could not find any info about the mesh data such as vertices and faces. I was wondering if I can access them in JavaScript for manipulation. Regards, Hesam
20 February 2018 19:01
Hello, I have accessed my object in JavaScript through get_object_by_name, and then console.log the object, but could not find any info about the mesh data such as vertices and faces. I was wondering if I can access them in JavaScript for manipulation. Regards, Hesam
Hello and welcome to the forum!

You can use methods from the geometry module to access some raw mesh data
Blend4Web Team - developer
Twitter
LinkedIn
20 February 2018 22:14
Hello, thank you very much! that is very interesting!
 
Please register or log in to leave a reply.