3D scene stable
This commit is contained in:
parent
938616d989
commit
e32e5e77d1
14 changed files with 96 additions and 45 deletions
20
3DEditor/rsc/scene/meshes.mtl
Normal file
20
3DEditor/rsc/scene/meshes.mtl
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
# Blender MTL File: 'scene.blend'
|
||||
# Material Count: 2
|
||||
|
||||
newmtl Material
|
||||
Ns 323.999994
|
||||
Ka 1.000000 1.000000 1.000000
|
||||
Kd 0.800000 0.800000 0.800000
|
||||
Ks 0.500000 0.500000 0.500000
|
||||
Ke 0.000000 0.000000 0.000000
|
||||
Ni 1.450000
|
||||
d 1.000000
|
||||
illum 2
|
||||
|
||||
newmtl None
|
||||
Ns 500
|
||||
Ka 0.8 0.8 0.8
|
||||
Kd 0.8 0.8 0.8
|
||||
Ks 0.8 0.8 0.8
|
||||
d 1
|
||||
illum 2
|
||||
25
3DEditor/rsc/scene/script.lua
Normal file
25
3DEditor/rsc/scene/script.lua
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
|
||||
Meshes = "meshes.obj"
|
||||
|
||||
Camera = {
|
||||
pos = { 0.5, 4.5, 0.2 },
|
||||
size_x = 600,
|
||||
size_y = 800,
|
||||
}
|
||||
|
||||
Lights = {
|
||||
{
|
||||
pos = { -0.5, 3.5, 1 },
|
||||
intensity = 1
|
||||
},
|
||||
{
|
||||
pos = { 0, 0, 1 },
|
||||
intensity = 0.5
|
||||
},
|
||||
}
|
||||
|
||||
RenderSettings = {
|
||||
depth = 1,
|
||||
spray = 3,
|
||||
multisampling = 16,
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue