Please email me with your feedback at sebaslogo@gmail.com
This is a simple CAD-like garden planning application with an emphasis on being able to view the lighting conditions at different times. This was heavily inspired by the Three.js editor, with a lot of code directly copied from there. The functionality of the app was inspired by suncalc, which is a great app, but was not granular enough for my use-case.
https://pictogrammers.com/library/mdi/ https://learnopengl.com/Getting-started/Shaders
Three.js WebGL Config Transform Controls Rust: sun or astro-rust Mitt
Mesh Generation For GPU with less than 16GB VRAM How to fix missing GLIBC bug
conda update libstdcxx-ng
ln -sf /usr/lib/x86_64-linux-gnu/libstdc++.so.6 ${CONDA_PREFIX}/lib
conda activate Hunyuan3D-2GP
python gradio_app.py --profile 5
- Ortho camera looking up from under the ground
- Render to depth texture
- Load depth texture into grass vertexShader
- Use depth to set grass height
Events are filtered down from the window to editors and sidebars. The events are passed down to different sub-handlers based on the mode that editors are in.
main.ts
window.addEventListener('keydown', (event) => handleKeyDown(event, editor, sidebar, menubar));
window.addEventListener('keyup', (event) => handleKeyUp(event, editor, sidebar, menubar));
editor.canvas.addEventListener('mousemove', (event) => handleMouseMove(event, editor));
editor.canvas.addEventListener('mouseout', (event) => handleMouseMove(event, editor));
editor.canvas.addEventListener('mouseleave', (event) => handleMouseMove(event, editor));
editor.canvas.addEventListener('mousedown', (event) => handleMouseClick(event, editor));EventHandlers.ts
export function handleKeyDown(event, editor: Editor, sidebar: Sidebar, menuBar: Menubar) {
menuBar.handleKeyDown(event)
sidebar.handleKeyDown(event)
editor.handleKeyDown(event)
}