supertuxkart / stk-code

The code base of supertuxkart
Other
4.47k stars 1.05k forks source link

Some library objects still missing from media repo #1525

Open stkAnon opened 10 years ago

stkAnon commented 10 years ago

The following library objects are missing from the media repository:

fitchBarrelTest_a lowAnimGrass_a olmec_a quetzalcoatl_a ReedBoat_a

Also, lowPalmTree_a, while in the media repository, is significantly higher poly than it is ingame. This causes inaccurate polycounts in Blender (my temple track is reported to have 300k tris, out of which around 200k come from the "lowpoly" palm trees).

MTres19 commented 7 years ago

Some of these have been completed. I'll make a (hopefully) canonical list with checkboxes.

These objects are in stk-assets but not in stk_media_repo:

On the other hand, some objects are in the media repo but not in stk-assets:

Additionally, stklib_bambooTorch_a exists in both the lamps and buildings folder in the media repo, but the one in buildings is just a solid cylinder.

MTres19 commented 7 years ago
Benau commented 7 years ago

pumpkin_a_mesh and hayBall_a_mesh are the same, asianLantern_a fixed When I did re-export spm I move all library objects without .blend to wip-library folder for easier tracking later.

And btw I think hayBall_a and logBarrier used in cornfield probably are meant to be used as library instead of track object, here is the script in case someone mis-presses button when handling library objects, without having to re-do everything

import bpy
bpy.ops.object.select_all(action='DESELECT')
# the made-proxy object name
target_lib = bpy.data.objects["stklib_hayBall_a_main_proxy.034"]
for bad_obj in bpy.context.scene.objects:
    if bad_obj.proxy is None and "stklib_hayBall_a_main_proxy" in bad_obj.name:
        bpy.context.scene.objects.active = target_lib
        target_lib.select = True
        bpy.ops.object.duplicate_move_linked()
        bpy.context.scene.objects.active.matrix_world = bad_obj.matrix_world
        bpy.ops.object.select_all(action='DESELECT')
        bad_obj.select = True
        bpy.ops.object.delete()