Skip to content
Snippets Groups Projects
user avatar
Bastien Montagne authored
That code was doing some rather crazy things, like:
* tessellating ngons, and un-tesselate them later;
* use up to two bmesh transformations for each imported mesh;
* ...

Now, removed the 'use_ngons' option and all the tesselated mess,
we always only work in polygon context, user can triangulate later if really needed.

Got rid of all bmesh stuff.

Also, some cleanup of 'old' fashioned code, like e.g. converting dict views to list
before iterating on those...

With pure-tessellated .obj, we gain nearly nothing (about 5% quicker - and much nicer code).

With .obj containing a fair amount of ngons, we devide import time by six!
E.g. with a test mesh of 475000 polygons (1100000 triangles), we go from 60 seconds (old code)
to less than 10 seconds with new code!
c307a89e
History
Name Last commit Last update
add_curve_extra_objects
add_curve_sapling
add_mesh_BoltFactory
add_mesh_extra_objects
io_anim_acclaim
io_anim_bvh
io_anim_c3d
io_anim_nuke_chan
io_coat3D
io_convert_image_to_mesh_img
io_curve_svg
io_export_dxf
io_import_dxf
io_mesh_pdb
io_mesh_ply
io_mesh_raw
io_mesh_stl
io_mesh_uv_layout
io_online_sketchfab
io_scene_3ds
io_scene_fbx
io_scene_ms3d
io_scene_obj
io_scene_vrml2
io_scene_x
io_scene_x3d
io_sequencer_edl
io_shape_mdd
light_field_tools
mesh_inset
mocap
modules
netrender
object_fracture
object_fracture_cell
object_print3d_utils
render_copy_settings
render_povray
render_renderfarmfi
rigify
space_view3d_math_vis
system_demo_mode
ui_translate
.arcconfig
.gitignore
add_curve_ivygen.py
add_mesh_ant_landscape.py
animation_add_corrective_shape_key.py
animation_animall.py
curve_simplify.py
development_api_navigator.py
development_icon_get.py
game_engine_publishing.py
game_engine_save_as_runtime.py
io_anim_camera.py
io_export_after_effects.py
io_export_pc2.py
io_export_unreal_psk_psa.py
io_import_gimp_image_to_scene.py
io_import_images_as_planes.py
io_import_scene_lwo.py
io_import_scene_mhx.py
io_import_scene_unreal_psa_psk.py
mesh_bsurfaces.py
mesh_f2.py
mesh_looptools.py
mesh_relax.py
node_wrangler.py
object_add_chain.py
object_animrenderbake.py
object_cloud_gen.py
object_edit_linked.py
object_grease_scatter.py
paint_palette.py
render_auto_tile_size.py
render_freestyle_svg.py
space_view3d_3d_navigation.py
space_view3d_copy_attributes.py
space_view3d_materials_utils.py
space_view3d_panel_measure.py
space_view3d_spacebar_menu.py
system_blend_info.py
system_property_chart.py
texture_paint_layer_manager.py
ui_layer_manager.py
ui_pie_menus_official.py
uv_bake_texture_to_vcols.py
uv_texture_atlas.py