Compare commits
7 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1121b18fcb | ||
|
|
dcd8c3ea65 | ||
|
|
283a44aec5 | ||
|
|
b0aa604832 | ||
|
|
7d723fef29 | ||
|
|
04a9e65599 | ||
|
|
e0e2f83db4 |
@@ -1,3 +1,5 @@
|
||||
# io_scene_ase
|
||||
|
||||
This is a Blender addon allowing you to export static meshes to the now-defunct ASE (ASCII Scene Export) format still in use in legacy programs like Unreal Tournament 2004.
|
||||
|
||||
Check out [this video](https://www.youtube.com/watch?v=gpmBxCGHQjU) on how to install and use the addon.
|
||||
|
||||
@@ -2,7 +2,7 @@ bl_info = {
|
||||
'name': 'ASCII Scene Export',
|
||||
'description': 'Export ASE (ASCII Scene Export) files',
|
||||
'author': 'Colin Basnett (Darklight Games)',
|
||||
'version': (1, 0, 0),
|
||||
'version': (1, 0, 2),
|
||||
'blender': (2, 90, 0),
|
||||
'location': 'File > Import-Export',
|
||||
'warning': 'This add-on is under development.',
|
||||
|
||||
@@ -67,7 +67,9 @@ class ASEBuilder(object):
|
||||
face.c = geometry_object.vertex_offset + mesh_data.loops[loop_triangle.loops[2]].vertex_index
|
||||
if not geometry_object.is_collision:
|
||||
face.material_index = material_indices[loop_triangle.material_index]
|
||||
face.smoothing = poly_groups[loop_triangle.polygon_index]
|
||||
# The UT2K4 importer only accepts 32 smoothing groups. Anything past this completely mangles the
|
||||
# smoothing groups and effectively makes the whole model use sharp-edge rendering.
|
||||
face.smoothing = (poly_groups[loop_triangle.polygon_index] - 1) % 32
|
||||
geometry_object.faces.append(face)
|
||||
|
||||
# Normals
|
||||
|
||||
@@ -19,7 +19,7 @@ class ASE_OT_ExportOperator(bpy.types.Operator, bpy_extras.io_utils.ExportHelper
|
||||
maxlen=255, # Max internal buffer length, longer would be hilighted.
|
||||
)
|
||||
|
||||
units = EnumProperty(
|
||||
units: EnumProperty(
|
||||
items=(('M', 'Meters', ''),
|
||||
('U', 'Unreal', '')),
|
||||
name='Units'
|
||||
|
||||
Reference in New Issue
Block a user