Giter VIP home page Giter VIP logo

Comments (3)

GoogleCodeExporter avatar GoogleCodeExporter commented on July 28, 2024
Temporary (?) fix:

comment out the vertex uniquify code and use the verts as supplied by Blender, 
around line 222 in xmodel_export.py:

`
        # Retrieve verts which belong to a face only
        # As len(mesh.vertices) doesn't take unused verts into account, already count here
        """
        verts = []
        for f in mesh.faces:
            for v in f.vertices:
                verts.append(v)

        # Uniquify & sort
        keys = {}
        for e in verts:
            keys[e] = 1
        verts = list(keys.keys())
        """

        verts = [v.index for v in mesh.vertices]
`

Original comment by [email protected] on 6 Feb 2012 at 10:43

from blender-cod.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 28, 2024
This issue was closed by revision 1ff2e1701f2f.

Successfully tested on a sample model. Vertex out of range errors might still 
occur with clean-up enabled, but should be fixable with Vertices -> Remove 
doubles in Blender before export.

Original comment by [email protected] on 12 Feb 2012 at 10:00

  • Changed state: Fixed

from blender-cod.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 28, 2024
Serthy:

found the way to fix that issue (Blender 2.59):
- in edit mode highlight the vertex-select mode
- select all (A)
- change from the vertex-select mode to the mesh-select mode
- change back to the vertex-select mode
- press Ctrl + i to invert your selection (now all unbound vertices should be 
highlighted)
- delete them
- deselect all (A)
- still in edit mode go with your mouse over your model-mesh
- press L to select the face
- press Ctrl + i to invert your selection (now all unbound vertices should be 
highlighted)
- delete them
- select all (A)
- hit W ~> remove doubles
- save

this way all unbound vertices should be removed

Source: http://modsonline.com/Forums-top-153410-10.html#755453

Original comment by [email protected] on 16 Feb 2012 at 5:44

from blender-cod.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.