8000 GitHub - chae1/editor
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

chae1/editor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

editor

A GPU rendering text editor client and a server for simultaneous text editing.

How to run

Clone this project, then you can run the prebuilt server and client programs placed in editor/server/ and editor/client/build/. You can also build yourself then run them if you want. Your gpu driver should support vulkan to run the client program.

Windows

Following commands are for cmd. Use equivalent commands if you use other shells.

Client

client.exe 127.0.0.1:100 YourName

Server

server.exe 127.0.0.1:100

Ubuntu

Client

./client 127.0.0.1:100 YourName

Server

./server 127.0.0.1:100

How to build

Prerequisite

  1. Install cmake.
  2. Install vulkan sdk https://vulkan.lunarg.com/sdk/home.
  3. Install sbcl https://www.sbcl.org/platform-table.html.
  4. Install quicklisp https://www.quicklisp.org/beta/.

Windows

Following commands are for cmd. Use equivalent commands if you use other shells.

Client

  1. Install ucrt mingw toolchain in msys2 following https://code.visualstudio.com/docs/cpp/config-mingw.
  2. Move to client/build/ in cmd.
  3. Build.
cmake .. -G"MinGW Makefiles" -DCMAKE_BUILD_TYPE="Release"

or

cmake .. -G"MinGW Makefiles" -DCMAKE_BUILD_TYPE="Debug"

then,

cmake --build . -j %NUMBER_OF_PROCESSORS%
  1. client.exe will be built in client/build/.

Server

  1. Move to server/ in console.
sbcl --load load.lisp
  1. server.exe will be built in server/.

Ubuntu

Client

  1. Move to client/build/ in terminal.
  2. Build.
cmake .. -G"Unix Makefiles" -DCMAKE_BUILD_TYPE="Release"

or

cmake .. -G"Unix Makefiles" -DCMAKE_BUILD_TYPE="Debug"

then,

cmake --build . -j $(nproc)
  1. client.exe will be built in client/build/.

Server

  1. Move to server/ in terminal.
sbcl --load load.lisp
  1. server.exe will be built in server/.

Details

  • GPU text rendering is implemented using the method shown in "Eric Lengyel, GPU-Centered Font Rendering Directly from Glyph Outlines, Journal of Computer Graphics Techniques (JCGT), vol. 6, no. 2, 31-47, 2017".

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  
0