-
[https://github.com/ethz-adrl/control-toolbox] Control Toolbox - An Open-Source C++ Library for Robotics, Optimal and Model Predictive Control
-
[https://github.com/davepagurek/DynamicKelvinlets] Dynamic Kelvinets to add secondary animation
-
[http://domedb.perception.cs.cmu.edu/monototalcapture.html] Yassar's group's monocular mocap
-
[https://arxiv.org/abs/1812.11103v3] Learning to Walk via Deep Reinforcement Learning
-
[https://arxiv.org/abs/1810.02363v4] Recurrent Transition Networks for Character Locomotion
-
[http://www.andreasaristidou.com/publications/papers/CUEDF-INFENG,%20TR-632.pdf] FABRIK
-
[https://github.com/dgriff777/a3c_continuous] A3 Continuous Character Controller
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Script for quickbms: https://aluigi.altervista.org/quickbms.htm | |
# Extracts *.unity3d files | |
# (c) 2021-07-21 by Lichtso | |
endian big | |
# Header | |
idstring "UnityFS" | |
Padding 5 | |
get FILE_VERSION byte |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use std::thread; | |
use std::sync::mpsc::{self, TryRecvError}; | |
use std::io; | |
use std::time::Instant; | |
struct CircularIter<T> where T: Copy { | |
data: Vec<T>, | |
index: usize, | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// An example of how to generate a gltf file from scratch. This example | |
// was translated from the pygltlib documentation in the pypi project page, | |
// which in turn is based on the Khronos Sample Models at: | |
// | |
// https://github.com/KhronosGroup/glTF-Sample-Models | |
// | |
// This example is released under the MIT license. | |
// | |
// 2021-02-25 Thu | |
// Dov Grobgeld <[email protected]> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* For Boost.Python | |
* | |
* Automatically convert between Python list, dict, tuple and C++ STL std::vector, std::map, std::tuple, respectively. | |
* -------------------------------------- | |
* 自动转换 Python 和 STL 的几个常用数据类型。 | |
* | |
* I am familiar with neither metaprogramming nor Boost.Python. This header works but I believe | |
* there are better ways (or even existing libraries) to do these conversions. Please comment at | |
* this page to help me improve it. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
std::vector<glm::vec3> sphereVertices; | |
std::vector<glm::vec3> sphereNormals; | |
std::vector<glm::vec2> sphereUVs; | |
std::vector<unsigned int> sphereIndices; | |
void GenerateSphereSmooth(int radius, int latitudes, int longitudes) | |
{ | |
if(longitudes < 3) | |
longitudes = 3; | |
if(latitudes < 2) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import unitypack | |
import unitypack.utils | |
import collections | |
import sys | |
import os | |
from unitypack.engine.texture import TextureFormat | |
from PIL import ImageOps | |
ASTC_MAP = { | |
TextureFormat.ASTC_RGB_4x4: (0x93B0, 0x1907), |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# CMake build system for Dear ImGui | |
# ================================= | |
# | |
# Build instructions: | |
# 1. Install latest CMake | |
# * Windows: https://cmake.org/download/ (Tick checkbox to place cmake in system PATH) | |
# * Linux: from your favorite package manager | |
# * MacOS: brew install cmake | |
# 2. Open command prompt in directory containing "imgui" and "imgui_dev" folders |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Allows disabling Same-Origin Policy on iOS WKWebView. | |
// Tested on iOS 12.4. | |
// Uses private API; obviously can't be used on app store. | |
@import WebKit; | |
@import ObjectiveC; | |
void WKPreferencesSetWebSecurityEnabled(id, bool); | |
@interface WDBFakeWebKitPointer: NSObject |