Code Monkey home page Code Monkey logo

clouds's People

Contributors

agrant3d avatar greje656 avatar jschmidt42 avatar tobias-persson avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

clouds's Issues

compile error

i put cloud-master in the folder D:\Program Files (x86)\Autodesk\Stingray\1.4.728.0\core\stingray_renderer

and set the renderer in project settings.ini
render_config = "core/stingray_renderer/clouds-master/clouds-resources/renderer"

but the shader compile failed.

Data / Compiler: Start compiling c5ccf465-f396-4954-830b-a7ac8fe2f002
Data / Compiler: Error compiling clouds-resources/clouds.entity

File not found: core/components/script.component
Data / ShaderCompiler: Compiling shader: generate_clouds:TEXTURE3 ...
Data / Compiler: Error compiling core/stingray_renderer/clouds-master/clouds-resources/clouds.entity

File not found: core/components/script.component
Data / Compiler: Compiled core/stingray_renderer/clouds-master/clouds-resources/renderer.render_config
Data / ShaderCompiler: Compiling shader: generate_godrays ...
Data / ShaderCompiler: Compiling shader: generate_clouds:TEXTURE1 ...
Data / ShaderCompiler: Compiling shader: generate_weather_data:RANDOM ...
Data / ShaderCompiler: Compiling shader: raymarch_clouds:SAMPLE_WEATHER_DATA ...
Data / ShaderCompiler: Compiling shader: generate_atmosphere ...
Data / ShaderCompiler: Compiling shader: merge_clouds_with_scene ...
Data / ShaderCompiler: Compiling shader: raymarch_clouds ...
Data / ShaderCompiler: Compiling shader: reproject_clouds ...
Data / ShaderCompiler: Compiling shader: generate_clouds:TEXTURE2 ...
Data / ShaderCompiler: Compiling shader: debug_clouds ...
Data / ShaderCompiler: Compiling shader: debug_weather ...
Data / ShaderCompiler: Compiling shader: generate_weather_data:SCRIPTED ...
Data / Compiler: Error compiling clouds-resources/clouds.shader_source

Failed compiling shader library: (1782):

Entry point: vs_main
Instruction set: vs_4_0
Error Message:
clouds-resources/clouds.shader_source(1783,19-87): error X3004: undeclared identifier 'safe_range_tone_map_range'
Data / Compiler: Compiling took 7.157125 seconds
Data / RemoteCache: Connected: false, Hits: 0, Misses: 0, RX: 0K, TX 0K
Data / Compiler: Finished compiling c5ccf465-f396-4954-830b-a7ac8fe2f002
Editor Engine / ResourcePackage: Failed loading shader_library_group named clouds-resources/clouds
Editor Engine / ResourcePackage: Failed loading shader_library named merge_clouds_with_scene
Editor Engine: Could not find the shader_library_group named clouds-resources/clouds

Assertion failed _resource_manager.can_get(shader_library_group, name) at D:\BuildAgent\work\77aa4c8074a56d3f\git\runtime\application\rendering\shader_library.cpp:177

Build identifier: 9eb7106118bddd9554fec541c319f8884fceb848

Product version: Release (1.4.728.0)

Thread name: main

Error context

ShaderLibraryLoader::take_lib_online clouds-resources/clouds

Callstack

0x40642bba d:\buildagent\work\77aa4c8074a56d3f\git\runtime\foundation\error\error.cpp(265): `anonymous namespace'::report_crash_internal
0x40642738 d:\buildagent\work\77aa4c8074a56d3f\git\runtime\foundation\error\error.cpp(413): stingray::report_assert_failure
0x4020d625 d:\buildagent\work\77aa4c8074a56d3f\git\runtime\application\rendering\shader_library.cpp(178): stingray::ShaderLibraryLoader::take_group_online
0x4020cfa9 d:\buildagent\work\77aa4c8074a56d3f\git\runtime\application\rendering\shader_library.cpp(153): stingray::ShaderLibraryLoader::load_group
0x4011e5e2 d:\buildagent\work\77aa4c8074a56d3f\git\runtime\application\rendering\render_interface.cpp(666): stingray::RenderInterface::setup
0x4017bc65 d:\buildagent\work\77aa4c8074a56d3f\git\runtime\application\application.cpp(3218): stingray::Application::config_renderer_setup
0x406cc2f3 d:\buildagent\work\77aa4c8074a56d3f\git\runtime\foundation\resource\patched_resource_package.cpp(91): stingray::PatchedResourcePackage::flush
0x4017bad1 d:\buildagent\work\77aa4c8074a56d3f\git\runtime\application\application.cpp(1106): stingray::Application::config_renderer
0x4017d765 d:\buildagent\work\77aa4c8074a56d3f\git\runtime\application\application.cpp(2396): stingray::Application::init
0x4018376e d:\buildagent\work\77aa4c8074a56d3f\git\runtime\application\application.cpp(2837): stingray::Application::run
0x4001d070 d:\buildagent\work\77aa4c8074a56d3f\git\runtime\main\common\actions.cpp(218): stingray::run_application
0x40001590 d:\buildagent\work\77aa4c8074a56d3f\git\runtime\main\windows\main.cpp(53): run
0x40001609 d:\buildagent\work\77aa4c8074a56d3f\git\runtime\main\windows\main.cpp(71): safe_run
0x400017e2 d:\buildagent\work\77aa4c8074a56d3f\git\runtime\main\windows\main.cpp(103): WinMain
0x40b7fca8 f:\dd\vctools\crt_bld\self_64_amd64\crt\src\crt0.c(238): __tmainCRTStartup
0x776059bd BaseThreadInitThunk
0x7783a2e1 RtlUserThreadStart

Compiler issue

Have been noticing this error
clouds-resources/clouds.lua:5: attempt to index global 'Renderer' (a nil value)

Testing out clouds in a blank (template) stingray project, followed the steps mentioned but I'm not able run it due to the above mentioned error. Appreciate any suggestions.

Llicense Terms

Hey.

I know this repository is old and stingray doesn't "exist" anymore, but can you give me some information about the license terms of this project? I would like to use the shaders in a "non-stingray" project.

Thanks a lot for that!

Shader Compilation Error

After changing the settings.ini file with the render_config_extensions line, at the data compilation stage I am getting this error:

Data / Compiler: Error compiling clouds-resources/clouds.shader_source

Failed compiling shader library: (97): 

Entry point: vs_main
Instruction set: vs_4_0
Error Message:
clouds-resources/clouds.shader_source(98,14-53): error X3017: cannot implicitly convert from 'float4' to 'float4x4'

I am using the release version 1.5.863.0.

Missing resource error

I'm getting an error when I try to spawn a cloud entity, here's the log fragment:

[Error] - Editor Engine: Resource set does not contain the resource named `clouds_result_texture1`
Assertion failed `_resources.has(name)` at `D:\BuildAgent\work\77aa4c8074a56d3f\git\runtime\engine/renderer/resources/resource_set.h:25`
Build identifier: `e495219095fecbae17e78ddb6e6e32c71b365adb`
Product version: `Release (1.5.863.0)`
Thread name: `renderer`

Lua Stack
----------------------------------------
    [0] [C]: in function resource
    [1] clouds-resources/clouds.lua:5: in function generate
    [2] clouds-resources/clouds.lua:27: in function spawned
    [3] clouds-resources/clouds.lua:31:in function <clouds-resources/clouds.lua:30>
    [4] [C]: in function dispatch
    [5] core/editor_slave/common/entity_script_callbacks.lua:13: in function editor_spawned
    [6] core/editor_slave/stingray_editor/entity.lua:265: in function set_components
    [7] core/editor_slave/stingray_editor/level_editing.lua:521: in function spawn_or_update_entity
    [8] [string "local _temp_size = stingray.Script.temp_byte_count(); 

I am not sure the plugin is set up correctly, I followed the instructions in the README.md but did nothing about the clouds.plugin and clouds-service.js files in the zipped source. Do we need to somehow enable the plugin before the said instructions? Sorry if this is obvious, I am fairly new to Stingray.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.