Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Maybe some advice how to run? #16

Open
dmitrykolesnikovich opened this issue Mar 13, 2023 · 2 comments
Open

Maybe some advice how to run? #16

dmitrykolesnikovich opened this issue Mar 13, 2023 · 2 comments

Comments

@dmitrykolesnikovich
Copy link

I am trying to run tests on Windows. Running TestSimple gives me this

18:40:00: Executing ':TestSimple.main()'...

Starting Gradle Daemon...
Gradle Daemon started in 670 ms
> Task :lwjgui:compileJava UP-TO-DATE
> Task :compileJava UP-TO-DATE
> Task :processResources UP-TO-DATE
> Task :classes UP-TO-DATE
> Task :lwjgui:processResources UP-TO-DATE
> Task :lwjgui:classes UP-TO-DATE
> Task :lwjgui:jar UP-TO-DATE
Connected to the target VM, address: 'localhost:57621', transport: 'socket'

> Task :TestSimple.main()
Using OpenGL 4.6
Creating WindowHandle for 'Anarchy Engine -'
Creating new Window 'Anarchy Engine -'
Loading classes for: [Ljava.lang.Class;@53c64972 (79)
	Loaded: class engine.lua.type.data.Color3
	Loaded: class engine.lua.type.data.Color4
	Loaded: class engine.lua.type.data.ColorBase
		Error
	Loaded: class engine.lua.type.data.List
	Loaded: class engine.lua.type.data.Matrix4
	Loaded: class engine.lua.type.data.Ray
	Loaded: class engine.lua.type.data.Vector2
	Loaded: class engine.lua.type.data.Vector3
Loading classes for: [Ljava.lang.Class;@12423445 (40)
	Loaded: class engine.lua.type.object.insts.AssetFolder
	Loaded: class engine.lua.type.object.insts.AudioPlayer2D
	Loaded: class engine.lua.type.object.insts.AudioPlayer3D
	Loaded: class engine.lua.type.object.insts.AudioSource
	Loaded: class engine.lua.type.object.insts.Camera
	Loaded: class engine.lua.type.object.insts.Connection
		Error
	Loaded: class engine.lua.type.object.insts.DynamicSkybox
	Loaded: class engine.lua.type.object.insts.Folder
	Loaded: class engine.lua.type.object.insts.GameObject
		Error
	Loaded: class engine.lua.type.object.insts.Material
	Loaded: class engine.lua.type.object.insts.Mesh
	Loaded: class engine.lua.type.object.insts.Model
	Loaded: class engine.lua.type.object.insts.PhysicsObject
	Loaded: class engine.lua.type.object.insts.Player
	Loaded: class engine.lua.type.object.insts.PlayerConnection
	Loaded: class engine.lua.type.object.insts.PlayerGui
	Loaded: class engine.lua.type.object.insts.PlayerPhysics
	Loaded: class engine.lua.type.object.insts.PlayerScripts
	Loaded: class engine.lua.type.object.insts.Prefab
	Loaded: class engine.lua.type.object.insts.RayResult
	Loaded: class engine.lua.type.object.insts.Scene
	Loaded: class engine.lua.type.object.insts.SceneInternal
	Loaded: class engine.lua.type.object.insts.ServerConnection
	Loaded: class engine.lua.type.object.insts.Skybox
	Loaded: class engine.lua.type.object.insts.Texture
	Loaded: class engine.lua.type.object.insts.Weld
Loading classes for: [Ljava.lang.Class;@7eb2d0f3 (12)
	Loaded: class engine.lua.type.object.insts.ui.Button
	Loaded: class engine.lua.type.object.insts.ui.CSS
	Loaded: class engine.lua.type.object.insts.ui.Gui
	Loaded: class engine.lua.type.object.insts.ui.GuiBase
		Error
	Loaded: class engine.lua.type.object.insts.ui.GuiBasePane
		Error
	Loaded: class engine.lua.type.object.insts.ui.HBox
	Loaded: class engine.lua.type.object.insts.ui.Label
	Loaded: class engine.lua.type.object.insts.ui.Pane
	Loaded: class engine.lua.type.object.insts.ui.TextField
	Loaded: class engine.lua.type.object.insts.ui.VBox
Loading classes for: [Ljava.lang.Class;@7e0fd1de (15)
	Loaded: class engine.lua.type.object.insts.animation.Animation
	Loaded: class engine.lua.type.object.insts.animation.AnimationController
	Loaded: class engine.lua.type.object.insts.animation.AnimationData
	Loaded: class engine.lua.type.object.insts.animation.AnimationKeyframe
	Loaded: class engine.lua.type.object.insts.animation.AnimationKeyframeSequence
	Loaded: class engine.lua.type.object.insts.animation.Animations
	Loaded: class engine.lua.type.object.insts.animation.AnimationTrack
		Error
	Loaded: class engine.lua.type.object.insts.animation.Bone
	Loaded: class engine.lua.type.object.insts.animation.Bones
	Loaded: class engine.lua.type.object.insts.animation.BoneTree
	Loaded: class engine.lua.type.object.insts.animation.BoneTreeNode
	Loaded: class engine.lua.type.object.insts.animation.BoneWeight
Loading classes for: [Ljava.lang.Class;@679803b2 (12)
	Loaded: class engine.lua.type.object.insts.values.BoolValue
	Loaded: class engine.lua.type.object.insts.values.Color3Value
	Loaded: class engine.lua.type.object.insts.values.Color4Value
	Loaded: class engine.lua.type.object.insts.values.IntValue
	Loaded: class engine.lua.type.object.insts.values.ListValue
	Loaded: class engine.lua.type.object.insts.values.Matrix4Value
	Loaded: class engine.lua.type.object.insts.values.NumberValue
	Loaded: class engine.lua.type.object.insts.values.ObjectValue
	Loaded: class engine.lua.type.object.insts.values.StringValue
	Loaded: class engine.lua.type.object.insts.values.ValueBase
		Error
	Loaded: class engine.lua.type.object.insts.values.Vector2Value
	Loaded: class engine.lua.type.object.insts.values.Vector3Value
Loading classes for: [Ljava.lang.Class;@44cc02ab (3)
	Loaded: class engine.lua.type.object.insts.script.GlobalScript
	Loaded: class engine.lua.type.object.insts.script.LocalScript
	Loaded: class engine.lua.type.object.insts.script.Script
Loading classes for: [Ljava.lang.Class;@3b677892 (4)
	Loaded: class engine.lua.type.object.insts.light.AreaLight
	Loaded: class engine.lua.type.object.insts.light.DirectionalLight
	Loaded: class engine.lua.type.object.insts.light.PointLight
	Loaded: class engine.lua.type.object.insts.light.SpotLight

Starting up SoundSystem...
Texture scheduled to load: Color:{255,255,255}
Texture scheduled to load: Color:{255,255,255}
Texture scheduled to load: Color:{127,127,255}
Texture scheduled to load: Color:{255,255,255}
Texture scheduled to load: Color:{255,255,255}
Loaded: Color:{255,255,255}
Loaded: Color:{255,255,255}
Loaded: Color:{127,127,255}
Loaded: Color:{255,255,255}
Loaded: Color:{255,255,255}
GENERATING BLANK MATERIAL
engine.gl.objects.Texture@6ab2ee6 / engine.gl.objects.Texture@42465776 / engine.gl.objects.Texture@12b080ff / engine.gl.objects.Texture@169f385b
Initializing LWJGL OpenAL
    (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
Default device: OpenAL Soft
OpenALC10: true
OpenALC11: true
ALC_EXT_EFX = true
AL_EXT_FLOAT32 = true
0: OpenAL Soft on PHL 245B1 (NVIDIA High Definition Audio)
1: com/badlogic/gdx?h�
2: ?C
3: :
4: \
5: W
6: i
7: n
8: d
9: o
10: w
11: s
12: \
13: S
14: Y
15: S
16: T
17: E
18: M
19: 3
20: 2
21: \
22: r
23: e
24: s
25: o
26: u
27: r
28: c
29: e
30: p
31: o
32: l
33: i
34: c
35: y
36: c
37: l
38: i
39: e
40: n
41: t
42: .
43: d
44: l
45: l
ALC_FREQUENCY: 48000Hz
ALC_REFRESH: 50Hz
ALC_SYNC: false
ALC_MONO_SOURCES: 255
ALC_STEREO_SOURCES: 1
OpenAL initialized.
Processing Shader Include File: assets/shaders/includes/lighting.isl
Parsed ISL Object 'MASK'
Parsed ISL Object 'PointLight'
Parsed ISL Object 'SpotLight'
Parsed ISL Object 'DirectionalLight'
Parsed ISL Object 'AreaLight'
Parsed ISL Object 'DynamicSky'
Parsed ISL Object 'DistributionGGX'
Parsed ISL Object 'GeometrySchlickGGX'
Parsed ISL Object 'GeometrySmith'
Parsed ISL Object 'fresnelSchlickRoughness'
Parsed ISL Object 'fresnelSchlick'
Parsed ISL Object 'computeAmbientOcclusion'
Parsed ISL Object 'computeShadow'
Parsed ISL Object 'getDepth'
Parsed ISL Object 'positionFromDepth'
Parsed ISL Object 'computeAmbientOcclusionV2'
Parsed ISL Object 'calcPointLight'
Parsed ISL Object 'calcSpotLight'
Parsed ISL Object 'calcDirectionalLight'
Parsed ISL Object 'computeShadowV2'
Processing Shader Include File: assets/shaders/includes/materials.isl
Parsed ISL Object 'Material'
Processing Shader Include File: assets/shaders/includes/common.isl
Parsed ISL Object 'pi'
Parsed ISL Object 'random'
Parsed ISL Object 'goldNoise'
Parsed ISL Object 'noise'
Parsed ISL Object 'randomS'
Parsed ISL Object 'cosWeightedRandomHemisphereDirection'
Processing Shader Include File: assets/shaders/includes/global.isl
Parsed ISL Object 'GLOBAL'
Parsed ISL Object 'GLES'
Processing Shader Include File: assets/shaders/includes/color.isl
Parsed ISL Object 'toneMap'
Parsed ISL Object 'luma'
Loading Shader: assets/shaders/IrradianceCapture.fs
Loading Shader: assets/shaders/IrradianceCapture.vs
Loading Shader: assets/shaders/PreFilteredEnvironment.fs
Loading Shader: assets/shaders/PreFilteredEnvironment.vs
Loading Shader: assets/shaders/BRDFIntegrationMap.fs
Loading Shader: assets/shaders/BRDFIntegrationMap.vs
Loading Model: SkyDome.obj
Loading Shader: assets/shaders/sky/Dynamic.fs
Loading Shader: assets/shaders/sky/Dynamic.vs
Loading Shader: assets/shaders/sky/Static.fs
Loading Shader: assets/shaders/sky/Static.vs
Loading Shader: assets/shaders/sky/Ambient.fs
Loading Shader: assets/shaders/sky/Ambient.vs
Loading Shader: assets/shaders/sky/AmbientCube.fs
Loading Shader: assets/shaders/sky/AmbientCube.vs
Loading Shader: assets/shaders/sky/AmbientCube.gs
Loading Shader: assets/shaders/sky/StaticCube.fs
Loading Shader: assets/shaders/sky/StaticCube.vs
Loading Shader: assets/shaders/sky/StaticCube.gs
Loading Shader: assets/shaders/sky/DynamicCube.fs
Loading Shader: assets/shaders/sky/DynamicCube.vs
Loading Shader: assets/shaders/sky/DynamicCube.gs
Loading Shader: assets/shaders/renderers/InstanceDeferred.fs
Loading Shader: assets/shaders/renderers/InstanceDeferred.vs
Loading Shader: assets/shaders/renderers/InstanceShadow.fs
Loading Shader: assets/shaders/renderers/InstanceDirectionalShadow.vs
Loading Shader: assets/shaders/renderers/InstanceDirectionalShadow.gs
Loading Shader: assets/shaders/renderers/InstanceShadow.fs
Loading Shader: assets/shaders/renderers/InstanceSpotShadow.vs
Loading Shader: assets/shaders/renderers/InstanceShadow.fs
Loading Shader: assets/shaders/renderers/InstancePointShadow.vs
Loading Shader: assets/shaders/renderers/InstancePointShadow.gs
Loading Shader: assets/shaders/renderers/InstanceForward.fs
Loading Shader: assets/shaders/renderers/InstanceForward.vs
Replaced assets/shaders/renderers/InstanceForward.vs with assets/shaders/renderers/InstanceCube.vs
Loading Shader: assets/shaders/renderers/InstanceForward.fs
Loading Shader: assets/shaders/renderers/InstanceCube.vs
Loading Shader: assets/shaders/renderers/InstanceCube.gs
Loading Shader: assets/shaders/Voxelize.fs
Loading Shader: assets/shaders/Voxelize.vs
Loading Shader: assets/shaders/Voxelize.gs
Replaced assets/shaders/renderers/InstanceDeferred.vs with assets/shaders/renderers/AnimInstanceDeferred.vs
Loading Shader: assets/shaders/renderers/InstanceDeferred.fs
Loading Shader: assets/shaders/renderers/AnimInstanceDeferred.vs
Loading Shader: assets/shaders/renderers/InstanceShadow.fs
Loading Shader: assets/shaders/renderers/AnimInstanceDirectionalShadow.vs
Loading Shader: assets/shaders/renderers/InstanceDirectionalShadow.gs
Loading Shader: assets/shaders/renderers/InstanceShadow.fs
Loading Shader: assets/shaders/renderers/AnimInstanceSpotShadow.vs
Loading Shader: assets/shaders/renderers/InstanceShadow.fs
Loading Shader: assets/shaders/renderers/AnimInstancePointShadow.vs
Loading Shader: assets/shaders/renderers/InstancePointShadow.gs
Replaced assets/shaders/renderers/InstanceForward.vs with assets/shaders/renderers/AnimInstanceForward.vs
Loading Shader: assets/shaders/renderers/InstanceForward.fs
Loading Shader: assets/shaders/renderers/AnimInstanceForward.vs
Replaced assets/shaders/renderers/InstanceForward.vs with assets/shaders/renderers/AnimInstanceForward.vs
Replaced assets/shaders/renderers/AnimInstanceForward.vs with assets/shaders/renderers/AnimInstanceCube.vs
Loading Shader: assets/shaders/renderers/InstanceForward.fs
Loading Shader: assets/shaders/renderers/AnimInstanceCube.vs
Loading Shader: assets/shaders/renderers/InstanceCube.gs
Loading Shader: assets/shaders/Outline.fs
Loading Shader: assets/shaders/Outline.vs
Using Compute Shaders
Loading Shader: assets/shaders/deferred_compute/HBAO.comp
Loading Shader: assets/shaders/deferred_compute/AOBlur.comp
Loading Shader: assets/shaders/deferred_compute/Lighting.comp
Loading Shader: assets/shaders/deferred_compute/MotionBlur.comp
Loading Shader: assets/shaders/deferred_compute/ColorCorrection.comp
Loading Shader: assets/shaders/deferred_compute/TAA.comp
Loading Shader: assets/shaders/deferred/Final.fs
Loading Shader: assets/shaders/deferred/Final.vs
Loading Shader: assets/shaders/postprocess/FinalColorCorrection.fs
Loading Shader: assets/shaders/pipeline/DefaultPipeline.vs
Loading Shader: assets/shaders/postprocess/ChromaticAberration.fs
Loading Shader: assets/shaders/pipeline/DefaultPipeline.vs
Loading Shader: assets/shaders/postprocess/DoF.fs
Loading Shader: assets/shaders/pipeline/DefaultPipeline.vs
Replaced assets/shaders/pipeline/DefaultPipeline.vs with assets/shaders/postprocess/FXAA.vs
Loading Shader: assets/shaders/postprocess/FXAA.fs
Loading Shader: assets/shaders/postprocess/FXAA.vs
Loading Shader: assets/shaders/postprocess/Final.fs
Loading Shader: assets/shaders/postprocess/Final.vs
Loading Shader: assets/shaders/DirectionalLight.fs
Loading Shader: assets/shaders/DirectionalLight.vs
Loading Shader: assets/shaders/PointLight.fs
Loading Shader: assets/shaders/PointLight.vs
Loading Shader: assets/shaders/SpotLight.fs
Loading Shader: assets/shaders/SpotLight.vs
Loading: assets/textures/amp.ltc
Loading: assets/textures/mat.ltc
LTC
LTC
Version: 2
Version: 2
Loading Shader: assets/shaders/AreaLight.fs
Type: 0
Type: 1
Texture Size: 64
Texture Size: 64
Texture Components: 4
Texture Components: 2
Data Size: 16384
Data Size: 8192
Loading Shader: assets/shaders/AreaLight.vs

Running: game.Core.CameraController
Running data: Thread: 3ad4124a on thread: Thread[pool-1-thread-1,5,main]
Attempting to load scene: project.Scenes.Primary Scene / null
Game Loaded
Texture scheduled to load: Resources\Testing\PBR\iron\albedo.png
Game Loaded
Loaded: Resources\Testing\PBR\iron\albedo.png

without any visual output

image

@Guerra24
Copy link
Collaborator

Hello, iirc programmatically defined scenes are non-functional with the current code, if you want to test it I would suggest using the RunnerTest with a json file or the IDE, both should work.

@dmitrykolesnikovich
Copy link
Author

I will try that this week, thanks for the answer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants