Added river terrain test mesh, each model's manifest file is now simply named manifest.yaml instead of model_folder_name.yaml.

This commit is contained in:
2019-08-07 10:43:04 -05:00
parent 2e69647ae3
commit 1b6f8cf880
16 changed files with 22195 additions and 7 deletions

View File

@@ -10,7 +10,7 @@ class IMICFPS
@dummy_entity = nil
@assets = []
@asset_index = 0
add_asset(:model, "base", "randomish_terrain")
add_asset(:model, "base", "river_terrain")
add_asset(:model, "base", "skydome")
add_asset(:model, "base", "tree")
add_asset(:model, "base", "biped")
@@ -48,7 +48,7 @@ class IMICFPS
hash = @assets[@asset_index]
case hash[:type]
when :model
ModelLoader.new(manifest_file: IMICFPS.assets_path + "/#{hash[:package]}/#{hash[:name]}/#{hash[:name]}.yaml", entity: @dummy_entity)
ModelLoader.new(manifest_file: IMICFPS.assets_path + "/#{hash[:package]}/#{hash[:name]}/manifest.yaml", entity: @dummy_entity)
# when :shader
else
warn "Unknown asset: #{hash}"
@@ -97,4 +97,4 @@ class IMICFPS
end
end
end
end
end