Comments (3)
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.
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.
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)
- Refactor Object Selection Logic for Export
- Exportable Model Resolution is Too Strict HOT 5
- unexpected keyword argument (same issue as #16) HOT 4
- Incorrectly exported UV Maps HOT 7
- Refactor Scale Functionality HOT 1
- Add Blender 2.9x Support HOT 8
- CoD 2 moddeling with Blender 2.61 cant export models HOT 2
- Special file (animation) export problem
- Blender 2.9 export problem HOT 3
- version 0.5.2 doesn't even work with blender 2.8x HOT 1
- doesnt work in 2.8x or 2.9x HOT 1
- Don't Work with Blender 2.92
- Rewrite Material Import Logic
- installation issue
- Doesn't Work on Blender 3.0.0
- Blender 2.93+ uses Python 3.9+
- calc_tessface was removed from Mesh API in Blender 2.80 HOT 4
- texture_slots was removed from Material API in Blender 2.80
- Mesh cannot be removed from main database
- can't find export/import button HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from blender-cod.