Skip to content

Commit

Permalink
adjusted LOD pixel values
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonRinehart committed May 5, 2012
1 parent 5e912fa commit a2bc236
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion data/models/ships/Asp_scout/Asp_scout.lua
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ define_model('Asp_gear', {
define_model('Asp_scout', {
info = {
bounding_radius = 20,
lod_pixels = {100, 250, 500},
lod_pixels = {20, 60, 100},
materials = {'default'},
tags = {'ship'},
},
Expand Down
5 changes: 2 additions & 3 deletions data/models/ships/CobraI/CobraI.lua
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ define_model('CobraI_rear_gear', {
define_model('CobraI', {
info = {
bounding_radius = 15,
lod_pixels = {100, 250, 500},
lod_pixels = {20, 60, 100},
materials = {'default'},
tags = {'ship'},
},
Expand Down Expand Up @@ -72,8 +72,7 @@ define_model('CobraI', {
dynamic = function(lod)
--no point in visible gear on lowest lod
if lod > 1 then
--gear animation. In Blender we have determined that the gear
--should be translated 0.5 units downwards.
--gear animation.
local gearpos = get_animation_position('WHEEL_STATE')
call_model('CobraI_front_gear', v(0,-3.5 * gearpos,-3.5 * gearpos), v(1,0,0), v(0,1,0), 1.0)
call_model('CobraI_rear_gear', v(0,-1.8 * gearpos,0), v(1,0,0), v(0,1,0), 1.0)
Expand Down

0 comments on commit a2bc236

Please sign in to comment.