Skip to content

Commit

Permalink
Bit of cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
cklosters committed Feb 5, 2025
1 parent 624e7c7 commit 9490ade
Show file tree
Hide file tree
Showing 7 changed files with 21 additions and 24 deletions.
File renamed without changes.
File renamed without changes.
28 changes: 14 additions & 14 deletions demos/skybox/data/skybox.json
Original file line number Diff line number Diff line change
Expand Up @@ -92,15 +92,15 @@
"Type": "nap::OrbitController",
"mID": "OrbitController",
"MovementSpeed": 0.004999999888241291,
"RotateSpeed": 0.0010000001639127732,
"RotateSpeed": 0.0010000001639127731,
"PerspCameraComponent": "./PerspCamera",
"LimitZoomDistance": true,
"MinimumZoomDistance": 1.5,
"LookAtPosition": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"MinimumZoomDistance": 1.5,
"LimitZoomDistance": true
}
},
{
"Type": "nap::PointerInputComponent",
Expand Down Expand Up @@ -198,13 +198,13 @@
"Visible": true,
"Tags": [],
"Layer": "RenderLayer_Default",
"Mesh": "TorusMesh",
"Mesh": "ReflectionMesh",
"MaterialInstance": {
"Uniforms": [],
"Samplers": [],
"Buffers": [],
"Constants": [],
"Material": "TorusMaterial",
"Material": "ReflectionMaterial",
"BlendMode": "Opaque",
"DepthMode": "ReadWrite"
},
Expand Down Expand Up @@ -312,7 +312,7 @@
"Mode": "Immediate",
"ClearColor": {
"Values": [
0.16078431904315949,
0.16078431904315948,
0.3450980484485626,
1.0,
1.0
Expand All @@ -325,18 +325,18 @@
},
{
"Type": "nap::ResourceGroup",
"mID": "Torus",
"mID": "Reflection",
"Members": [
{
"Type": "nap::ShaderFromFile",
"mID": "TorusShader",
"VertShader": "shaders/environment.vert",
"FragShader": "shaders/environment.frag",
"mID": "ReflectionShader",
"VertShader": "shaders/reflection.vert",
"FragShader": "shaders/reflection.frag",
"RestrictModuleIncludes": false
},
{
"Type": "nap::TorusMesh",
"mID": "TorusMesh",
"mID": "ReflectionMesh",
"Radius": 0.75,
"TubeRadius": 0.25,
"Segments": 64,
Expand All @@ -356,7 +356,7 @@
},
{
"Type": "nap::Material",
"mID": "TorusMaterial",
"mID": "ReflectionMaterial",
"Uniforms": [
{
"Type": "nap::UniformStruct",
Expand Down Expand Up @@ -407,7 +407,7 @@
],
"Buffers": [],
"Constants": [],
"Shader": "TorusShader",
"Shader": "ReflectionShader",
"VertexAttributeBindings": [],
"BlendMode": "Opaque",
"DepthMode": "InheritFromBlendMode"
Expand Down
2 changes: 1 addition & 1 deletion system_modules/naprender/src/rendertexture2d.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ namespace nap
/**
* Empty 2D GPU texture that can be declared as a resource in JSON or created at runtime.
* You can use this texture to store the result of a render pass by a nap::RenderTarget or
* any other type of render operation. The texture is cleared to 'ClearColor the before first use.
* any other type of render operation. The texture is cleared to 'ClearColor before first use.
*/
class NAPAPI RenderTexture2D : public Texture2D
{
Expand Down
Binary file not shown.
13 changes: 6 additions & 7 deletions tools/napkin/resources/applets/texturepreview/data/preview.json
Original file line number Diff line number Diff line change
Expand Up @@ -965,13 +965,6 @@
"Type": "nap::ResourceGroup",
"mID": "Textures",
"Members": [
{
"Type": "nap::ImageFromFile",
"mID": "Fallback2DTexture",
"Usage": "Static",
"ImagePath": "fallback_2d_texture.jpg",
"GenerateLods": false
},
{
"Type": "nap::CubeMapFromFile",
"mID": "FallbackCubeTexture",
Expand All @@ -990,6 +983,12 @@
"ImagePath": "fallback_cube_texture.jpg",
"SampleShading": false,
"GenerateLODs": false
},
{
"Type": "nap::UVTestTexture",
"mID": "Fallback2DTexture",
"Usage": "Static",
"GenerateLods": false
}
],
"Children": []
Expand Down
2 changes: 0 additions & 2 deletions tools/napkin/src/panels/texturepreviewpanel.h
Original file line number Diff line number Diff line change
Expand Up @@ -93,5 +93,3 @@ namespace napkin
Loader findLoader(const PropertyPath& path);
};
}


6 comments on commit 9490ade

@cklosters
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TeamCity Public / Package NAP Win64 Build 332 is now running

@cklosters
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TeamCity Public / Package NAP Raspberry Pi Build 1810 is now running

@cklosters
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TeamCity Public / Package NAP Linux Build 324 is now running

@cklosters
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TeamCity Public / Package NAP Win64 Build 332 outcome was FAILURE
Summary: Exit code 1 (Step: Package NAP Win64 (Command Line)) (new) Build time: 00:17:51

@cklosters
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TeamCity Public / Package NAP Linux Build 324 outcome was SUCCESS
Summary: Running Build time: 00:35:24

@cklosters
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TeamCity Public / Package NAP Raspberry Pi Build 1810 outcome was SUCCESS
Summary: Running Build time: 00:49:44

Please sign in to comment.