4 Commits
1.0.0 ... 1.0.1

Author SHA1 Message Date
Colin Basnett
b0aa604832 *Actually* fixed the smoothing group problem! 2021-04-01 17:27:17 -07:00
Colin Basnett
7d723fef29 Merge remote-tracking branch 'origin/main' into main 2021-04-01 16:30:34 -07:00
Colin Basnett
04a9e65599 Fixed a bug where the ASE exporter did not properly export smoothing groups 2021-04-01 16:30:06 -07:00
Colin Basnett
e0e2f83db4 Update README.md 2021-02-06 01:49:05 -08:00
4 changed files with 7 additions and 3 deletions

View File

@@ -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.
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.

View File

@@ -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, 1),
'blender': (2, 90, 0),
'location': 'File > Import-Export',
'warning': 'This add-on is under development.',

View File

@@ -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

Binary file not shown.