- Home /
This post has been wikified, any user with enough reputation can edit it.
Question by
Uriel_96 · Jan 14, 2011 at 01:25 AM ·
javascriptmeshscalesubdivision
Scripting Meshes Subdivision(Javascript)
OK, I have a normal mesh(its a plane) that I want it subdivide by 2 ways.
- Subdivide by dividing the mesh lets say in 50 parts.
- Subdivide giving the scale of 1 square. Lets say 1 of x axis and 1.5 of y axis.
also I want to be able to change the subdivision lets say: 50 parts to 25 parts(inverse).
Note: I am asking for code not for information or explication so I will like to see codes or web pages that contains a code. And I am using javascript.
Thanks for answer... in advance. :)
Comment
For the triangles to squares thing - it's not possible. You have to create the data in a way the graphics card will understand, which is triangles.