greje656 / clouds Goto Github PK
View Code? Open in Web Editor NEWVolumetric Clouds plugin for Stingray
Volumetric Clouds plugin for Stingray
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
ShaderLibraryLoader::take_lib_online clouds-resources/clouds
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
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.
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!
hi, thanks for your share.
in the gpu pro 7 article, Andrew Schneider give the cloud density compose algorithm.
i test it myself, but the result is not good.
i found other implemention on the internet, the result is good. and the author also didn't use the gpu pro 7 compose algorithm.
so, the reason don't use the gpu pro7 compose algorithm is what?
thanks.
http://www.gamedev.net/topic/680832-horizonzero-dawn-cloud-system/
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.
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.