Almond
opengl cpp 3d 

所属分类:3D图形编程
开发工具:C++
文件大小:0KB
下载次数:0
上传日期:2022-05-02 16:02:05
上 传 者sh-1993
说明:  一个简单的3D编辑器
(A simple 3D editor)

文件列表:
.clang-format (3329, 2022-01-05)
Assets/ (0, 2022-01-05)
Assets/Fonts/ (0, 2022-01-05)
Assets/Fonts/Fira_Sans/ (0, 2022-01-05)
Assets/Fonts/Fira_Sans/FiraSans-Regular.ttf (440560, 2022-01-05)
Assets/Fonts/Fira_Sans/OFL.txt (4464, 2022-01-05)
Assets/Textures/ (0, 2022-01-05)
Assets/Textures/Fruits.jpg (20123, 2022-01-05)
Assets/Textures/Logo1.jpg (6993, 2022-01-05)
Assets/Textures/Square1.jpg (4771, 2022-01-05)
Assets/Textures/cosas.png (120706, 2022-01-05)
Assets/Textures/monster.png (35823, 2022-01-05)
Assets/Textures/wiki.png (46765, 2022-01-05)
CMakeLists.txt (1495, 2022-01-05)
External/ (0, 2022-01-05)
External/CMakeLists.txt (1405, 2022-01-05)
External/DearImGui/ (0, 2022-01-05)
External/DearImGui/imgui/ (0, 2022-01-05)
External/GLM/ (0, 2022-01-05)
External/Stb-Image/ (0, 2022-01-05)
External/Stb-Image/stb_image/ (0, 2022-01-05)
External/Stb-Image/stb_image/stb_image.c (55, 2022-01-05)
External/Stb-Image/stb_image/stb_image.h (278901, 2022-01-05)
External/glad/ (0, 2022-01-05)
External/glad/include/ (0, 2022-01-05)
External/glad/include/KHR/ (0, 2022-01-05)
External/glad/include/KHR/khrplatform.h (11131, 2022-01-05)
External/glad/include/glad/ (0, 2022-01-05)
External/glad/include/glad/gl.h (214613, 2022-01-05)
External/glad/src/ (0, 2022-01-05)
External/glad/src/gl.c (114466, 2022-01-05)
External/spdlog/ (0, 2022-01-05)
GenBuildFiles.sh (1208, 2022-01-05)
LICENSE (11357, 2022-01-05)
Source/ (0, 2022-01-05)
Source/Almond/ (0, 2022-01-05)
Source/Almond/Core/ (0, 2022-01-05)
... ...

# Almond Editor ![License](https://img.shields.io/github/license/enix403/Almond#1) (An ongoing attempt to create) A simple 3D model editor. Almond is an early stage simple and interactive 3D model editor. Not much is implemented currently. *Note: This is just a hobby project, nothing serious.* ## Getting Started Almond is written in **C++17** and uses CMake as its build system. It is being developed primarily on Linux and is untested on other platforms such as Windows. It uses **OpenGL** as rendering backend. 1. Start by cloning this repository and then run `git submodule update --init --recursive --remote --recommend-shallow --depth 1 --progress` to fetch the dependencies. 2. **Get the required stuff:** Almond requires **OpenGL 4.2** or newer to be installed on your system. Make sure you have the following dependencies installed on your system. - A C/C++ Compiler (Almond is tested with *gcc* and *clang*) - CMake (**3.10** or newer) - pkg-config - GLFW3 *(libglfw)* - Ensure that GLFW3 is accessible by pkg-config by runnning `pkg-config --cflags --libs glfw3` and verifying that the output of the command is non-empty. (If it is empty then something is wrong) Follow the instructions below for your operating system to install the above dependencies. - **Arch Linux / Manjaro** ```shell-script pacman -S cmake base-devel pkgconf glfw-x11 # replace glfw-x11 with glfw-wayland if you're using wayland ``` - **Ubuntu / Debian** ```shell-script apt update apt install cmake build-essential pkg-config libglfw3-dev ``` - **Other Distros / Operating Systems** Use your system's preferred method (i.e a package manager) to install the above mentioned dependencies. 3. **Generate build files:** Run the `GenBuildFiles.sh` utility script to generate build files. ```shell-script ./GenBuildFiles.sh Debug # or Release ``` ------ _You can pass additional arguments, which will be passed over to the `cmake` command. You can also choose which compiler to use using the `CC` and `CXX` environment variables. **Example:**_ ```shell-script CC=/usr/bin/clang CXX=/usr/bin/clang++ ./GenBuildFiles.sh Release -G Ninja ``` _This will generate a Release build config using clang as compiler, and use [Ninja build system][ninja-link] instead of the default one._ 4. **Compile the project:** Open up a terminal, `cd` into `PROJECT_ROOT/build/debug` (or `PROJECT_ROOT/build/release`) and invoke your build system (e.g make). ```shell-script make -j8 ``` 5. **Run the editor:** Navigate to the project root and run: ```shell-script build/debug/bin/almond # or build/release/bin/almond ``` [ninja-link]: https://ninja-build.org [cmake-link]: https://cmake.org/download/

近期下载者

相关文件


收藏者