I have an initial mesh with 4 vertices with indices 0,1,2,3 as shown in the first image with index 0 at the bottom left corner.
Now when I use a subsurf modifier and apply the modifier, the indices are changing as shown in the second image:
Now, is there a way in which I can keep the initial indices assigned to the same vertices so that I can access them later on from a script?
PS: I'm using subsurf modifier and not subdivide tool from edit mode because I have objects with more than 4 sides (before subdivision) and hence not able to use subdivide. I'm trying to create a uniform mesh for the object automatically and felt that using subsurf and triangulate and then applying them is giving me a decent mesh. (I know that I can select 4 vertices at a time make 4 sided faces initially and then use subdivide, but I am just thinking of alternate ways of doing this)