back to home
Java Library
Step 1. Create a GitHub token with the read:packages scope here.
Step 2. Add following lines to your ~/.gradle/gradle.properties:
gprComputerGraphicsUser=<your github username>
gprComputerGraphicsPassword=<token from step 1>
Step 3. Add repository to your build.gradle (see complete example here):
maven {
url "https://maven.pkg.github.com/computer-graphics-course/scene-format"
credentials {
username "$gprComputerGraphicsUser"
password "$gprComputerGraphicsPassword"
}
}
Step 4. Use code from this snippet to read or write scene format files.