Comments (4)
so afaict, Grimoire doesn't output anything to stdout currently: just stderr when there's trouble.
what's your thought about a feature like this which would be printing to stdout ?
in other news, i implemented a version of this but it feels not in keeping with the rest of the codebase, in terms of how it's printing etc. i've never worked with Rust and honestly i'm finding it a bit convoluted from my C11 perspective. perhaps i should read the manual ;)
from grimoire-legacy.
I updated a few of the debug! statements to info! statements so that you can see successful shader compilations notices when running with RUST_LOG=info
.
Grimoire doesn't output anything to stdout currently: just stderr when there's trouble.
what's your thought about a feature like this which would be printing to stdout ?
I use the log crate to manage logging. You'll need to specify the environment variable RUST_LOG=info
to see these log messages. I updated the README to mention this environment variable as well.
from grimoire-legacy.
Note that you could also run with RUST_LOG=debug
, but it logs a lot of messages that aren't immediately useful. I'm not really pleased with the current logging situation in grimoire and plan to overhaul it at some point, as with all things :P
from grimoire-legacy.
sweet!
thanks for your patience with my fumbling through Rust. eg cargo run
instead of target/debug/...
.
from grimoire-legacy.
Related Issues (20)
- add command-line option to position window HOT 3
- Consider renaming the "audio" resource to "sound" HOT 2
- Consider adding support for geometry shaders
- Document using the F{1,2,3,4} keys for playing, pausing, stepping, and restarting playback
- Make SRGB framebuffer configurable
- Support clearing only the depth buffer
- Support drawing a pass multiple times HOT 1
- --fps option has no effect HOT 3
- add boolean preprocessor symbol GRIMOIRE or similar HOT 6
- Document latest features HOT 1
- Support specifying preprocessor #defines in the pass configuration
- Build and run on the NVIDIA Jetson Nano
- Consider writing a rendy or wgpu-rs backend
- Support image recording
- consider reading JSON from shadertoy shader 'download'. HOT 1
- Add support for instanced rendering OBJ models HOT 1
- Add support for compute shaders
- video example no longer runs
- shadertoy-microphone example looks wrong
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from grimoire-legacy.