Skip to content
forked from anirul/Frame

Simple project creation display an obj with a texture. The obj and the texture are stored in a directory (asset/). OWNER: [email protected]

License

Notifications You must be signed in to change notification settings

Logitech/cto-frame

 
 

Repository files navigation

Frame

3D engine example it use OpenGL and soon it will be using (Vulkan or DirectX 12). It take models in obj forms and images that can be read by stb (jpg, png, hdr,...).

A Scene rendering made with ShaderGL.

Requirements

  • GIT needed if you want to get the sources.
  • A compiler needed for compilation.
    • Visual Studio Community edition should be enough.
    • You could also use clang or gcc...
  • cmake you can get it here.
  • VCPKG you can get it here

VCPKG

This project use VCPKG again so you should be able to build it! Basically you have to install and setup VCPKG, you can get it here. Use the ./boostrap.bat or the OS specific command to have it instlled on you OS.

Then you can install all the required packages, you can use the command line tools provided later:

  • abseil
  • glm
  • gtest
  • happly
  • imgui
  • opengl
  • protobuf
  • sdl2
  • spdlog
  • stb
  • tinyobjloader

Building

To your install path using this commands.

[...]Frame> mkdir build
[...]Frame> cd build
[...]Frame/build> cmake .. -DCMAKE_TOOLCHAIN_FILE="[...]\vcpkg\scripts\buildsystems\vcpkg.cmake"

Then you can either use the Visual Studio from your OS or use the command line.

Frame/build> cmake --build .

makefiles

You can just use the make command.

Examples

You can have a look at various examples here.

About

Simple project creation display an obj with a texture. The obj and the texture are stored in a directory (asset/). OWNER: [email protected]

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 87.2%
  • GLSL 5.5%
  • C 5.1%
  • CMake 2.2%