Import current DEMON v0.19 source, assets and development handoff
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
extends SceneTree
|
||||
func _initialize():call_deferred("run")
|
||||
func run():
|
||||
var root=Node3D.new();get_root().add_child(root)
|
||||
var model=load("res://art/succubus/succubus_v02.glb").instantiate();root.add_child(model)
|
||||
for player in model.find_children("*","AnimationPlayer",true,false):player.stop()
|
||||
var camera=Camera3D.new();root.add_child(camera);camera.projection=Camera3D.PROJECTION_ORTHOGONAL;camera.size=2.45
|
||||
camera.position=Vector3(2.2,1.35,4);camera.look_at(Vector3(0,1,0));camera.current=true
|
||||
var env=WorldEnvironment.new();root.add_child(env);env.environment=Environment.new();env.environment.ambient_light_source=Environment.AMBIENT_SOURCE_COLOR;env.environment.ambient_light_color=Color.WHITE;env.environment.ambient_light_energy=.7;env.environment.background_mode=Environment.BG_COLOR;env.environment.background_color=Color("343840")
|
||||
var light=DirectionalLight3D.new();root.add_child(light);light.rotation_degrees=Vector3(-35,-35,0);light.light_energy=1.4
|
||||
get_root().size=Vector2i(900,1000)
|
||||
await create_timer(.5).timeout
|
||||
await RenderingServer.frame_post_draw
|
||||
get_root().get_texture().get_image().save_png("res://captures/castle/character-after.png")
|
||||
quit()
|
||||
Reference in New Issue
Block a user