New low-poly model for prisms too.
This commit is contained in:
parent
a5d5f381e5
commit
d8976d3423
77
mods/nc_optics/models/nc_optics_prism.obj
Normal file
77
mods/nc_optics/models/nc_optics_prism.obj
Normal file
@ -0,0 +1,77 @@
|
||||
# Blender v2.79 (sub 0) OBJ File: 'nc_optics_prism.blend'
|
||||
# www.blender.org
|
||||
mtllib nc_optics_prism.mtl
|
||||
o Cube
|
||||
v 0.300000 -0.487587 -0.500000
|
||||
v 0.300000 -0.487587 0.300000
|
||||
v -0.500000 -0.487587 0.300000
|
||||
v -0.500000 -0.487587 -0.500000
|
||||
v 0.300000 0.487587 -0.500000
|
||||
v 0.300000 0.487587 0.300000
|
||||
v -0.500000 0.487587 0.300000
|
||||
v -0.500000 0.487587 -0.500000
|
||||
v 0.500000 0.000000 -0.100000
|
||||
v -0.100000 0.000000 0.500000
|
||||
v -0.300000 0.000000 -0.300000
|
||||
vt 1.000000 1.000000
|
||||
vt 0.000000 1.000000
|
||||
vt -0.000000 0.000000
|
||||
vt 1.000000 -0.000000
|
||||
vt 1.000000 1.000000
|
||||
vt -0.000000 1.000000
|
||||
vt -0.000000 -0.000000
|
||||
vt 1.000000 -0.000000
|
||||
vt 0.500000 0.500000
|
||||
vt 1.000000 -0.000000
|
||||
vt 0.500000 0.500000
|
||||
vt 1.000000 0.000000
|
||||
vt 1.000000 1.000000
|
||||
vt -0.000000 1.000000
|
||||
vt 0.000000 1.000000
|
||||
vt -0.000000 -0.000000
|
||||
vt 1.000000 1.000000
|
||||
vt 0.250000 0.500000
|
||||
vt -0.000000 1.000000
|
||||
vt 0.000000 -0.000000
|
||||
vt 1.000000 -0.000000
|
||||
vt -0.000000 0.000000
|
||||
vt 1.000000 -0.000000
|
||||
vn 0.0000 -1.0000 -0.0000
|
||||
vn 0.0000 1.0000 -0.0000
|
||||
vn 0.8944 -0.0000 -0.4472
|
||||
vn 0.4472 -0.0000 0.8944
|
||||
vn 0.9252 0.3795 0.0000
|
||||
vn -0.0000 0.3795 0.9252
|
||||
vn 0.9252 -0.3795 0.0000
|
||||
vn -0.0000 -0.3795 0.9252
|
||||
vn 0.8944 0.0000 0.4472
|
||||
vn -0.4472 0.0000 0.8944
|
||||
vn -0.9252 -0.3795 -0.0000
|
||||
vn 0.0000 0.3795 -0.9252
|
||||
vn -0.9252 0.3795 -0.0000
|
||||
vn -0.9487 -0.0000 -0.3162
|
||||
vn 0.0000 -0.3795 -0.9252
|
||||
vn -0.3162 0.0000 -0.9487
|
||||
g Cube_Cube_sides
|
||||
usemtl sides
|
||||
s off
|
||||
f 1/1/1 2/2/1 3/3/1 4/4/1
|
||||
f 5/5/2 8/6/2 7/7/2 6/8/2
|
||||
g Cube_Cube_front
|
||||
usemtl front
|
||||
f 9/9/3 1/10/3 5/5/3
|
||||
f 10/11/4 2/12/4 6/13/4
|
||||
f 6/14/5 9/9/5 5/5/5
|
||||
f 7/15/6 10/11/6 6/13/6
|
||||
f 9/9/7 2/16/7 1/10/7
|
||||
f 10/11/8 3/3/8 2/12/8
|
||||
f 6/14/9 2/16/9 9/9/9
|
||||
f 7/15/10 3/3/10 10/11/10
|
||||
g Cube_Cube_back
|
||||
usemtl back
|
||||
f 7/17/11 8/6/11 11/18/11
|
||||
f 1/1/12 4/19/12 11/18/12
|
||||
f 4/20/13 3/21/13 11/18/13
|
||||
f 3/21/14 7/17/14 11/18/14
|
||||
f 8/22/15 5/23/15 11/18/15
|
||||
f 5/23/16 1/1/16 11/18/16
|
Binary file not shown.
BIN
mods/nc_optics/models/src/nc_optics_prism.blend
Normal file
BIN
mods/nc_optics/models/src/nc_optics_prism.blend
Normal file
Binary file not shown.
@ -21,26 +21,15 @@ local txr = modname .. "_glass_frost.png"
|
||||
|
||||
local basedef = {
|
||||
description = "Prism",
|
||||
drawtype = "nodebox",
|
||||
node_box = nodecore.fixedbox(
|
||||
{-3/8, -3/8, -0.5, -0.25, 3/8, -3/8},
|
||||
{3/8, -3/8, 0.25, 0.5, 3/8, 3/8},
|
||||
{-3/8, -0.5, -0.5, 0.5, -3/8, 3/8},
|
||||
{-3/8, 3/8, -0.5, 0.5, 0.5, 3/8},
|
||||
{-3/8, -3/8, -3/8, 3/8, 3/8, 3/8},
|
||||
{-0.25, -0.25, 3/8, 0.25, 0.25, 0.5},
|
||||
{-0.5, -0.25, -0.25, -3/8, 0.25, 0.25}
|
||||
),
|
||||
drawtype = "mesh",
|
||||
mesh = "nc_optics_prism.obj",
|
||||
selection_box = nodecore.fixedbox(
|
||||
{-3/8, -0.5, -0.5, 0.5, 0.5, 3/8}
|
||||
{-5/16, -0.5, -0.5, 0.5, 0.5, 5/16}
|
||||
),
|
||||
tiles = {
|
||||
txr,
|
||||
txr,
|
||||
txr .. "^" .. modname .. "_prism_in.png",
|
||||
txr .. "^" .. modname .. "_lens_out.png",
|
||||
txr .. "^" .. modname .. "_lens_out.png",
|
||||
txr .. "^(" .. modname .. "_prism_in.png^[transformFX)",
|
||||
txr .. "^" .. modname .. "_prism_in.png"
|
||||
},
|
||||
groups = {
|
||||
silica = 1,
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 156 B After Width: | Height: | Size: 168 B |
Loading…
x
Reference in New Issue
Block a user