This file contains 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
# Create an 8-bit png from our source, with a 235-color palette as an example. | |
convert truecolor_source.png -colors 235 palette.png | |
# Create an 8-bit png from an arbitrary image and use the palette in palette.png | |
convert sample.png -map palette.png output.png |
This file contains 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
class BGroup { | |
struct BoneData { | |
Urho3D::Node *node; | |
Urho3D::Vector3 scale; | |
Urho3D::Vector3 translation; | |
Urho3D::Vector3 default_loc; | |
Urho3D::Vector3 default_scale; | |
}; | |
Urho3D::Vector<BoneData> modifiers; | |
struct PreserveData { |
This file contains 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
./configure --prefix=/usr --disable-glx --with-platforms=drm --with-gallium-drivers=freedreno,imx | |
checking build system type... armv7l-unknown-linux-gnueabi | |
checking host system type... armv7l-unknown-linux-gnueabi | |
checking target system type... armv7l-unknown-linux-gnueabi | |
checking for a BSD-compatible install... /usr/bin/install -c | |
checking whether build environment is sane... yes | |
checking for a thread-safe mkdir -p... /bin/mkdir -p | |
checking for gawk... no | |
checking for mawk... mawk | |
checking whether make sets $(MAKE)... yes |
This file contains 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
CPU0 | |
17: 496 tzic 1 Edge mmc0 | |
22: 0 tzic 6 Edge sdma | |
25: 0 tzic 9 Edge 83ff4000.vpu | |
28: 795 tzic 12 Edge A205 | |
30: 0 tzic 14 Edge 73f80200.usb | |
32: 779831 tzic 16 Edge 73f80400.usb | |
34: 1124030 tzic 18 Edge 73f80000.usb | |
46: 0 tzic 30 Edge 70014000.ssi | |
47: 1197 tzic 31 Edge 73fbc000.serial |
This file contains 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
Object was deleted while awaiting a callback | |
Object was deleted while awaiting a callback | |
Object was deleted while awaiting a callback | |
Object was deleted while awaiting a callback | |
Object was deleted while awaiting a callback | |
Object was deleted while awaiting a callback | |
Object was deleted while awaiting a callback | |
Object was deleted while awaiting a callback | |
Object was deleted while awaiting a callback | |
Object was deleted while awaiting a callback |
This file contains 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
[ 0.0]HELLO! BOOT0 is starting! | |
[ 0.3]boot0 commit : 267600f3b448b722fb13c6de3199a2c040816b6d | |
[ 0.10]boot0 version : 4.0 | |
[ 0.14]rsb_send_initseq: rsb clk 400Khz -> 3Mhz | |
[ 0.20]PMU: AXP81X | |
[ 0.23]set pll start | |
[ 0.29]set pll end | |
[ 0.31]rtc[2] value = 0x00000055 | |
[ 0.35]rtc[3] value = 0x0000b00a |
This file contains 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
extends Spatial | |
onready var layers = [$base, $panties, $pants] | |
var pairs = [[0, 2], [1, 2], [0, 1]] | |
var cache = [] | |
func cache_data(): | |
for k in range(layers.size()): | |
var arrays = layers[k].mesh.surface_get_arrays(0) | |
var data = {} |
This file contains 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
extends Spatial | |
class GraphicsElement extends MeshInstance: | |
var mi: MeshInstance | |
var work_mesh: ArrayMesh | |
var vertices: = PoolVector3Array() | |
var indices: = PoolIntArray() | |
var uvdata: = PoolVector2Array() | |
var debug : ImmediateGeometry | |
func add_triangle(points:Array, uvs: Array): |
This file contains 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 bpy | |
from mathutils import Vector | |
from math import pi | |
context = bpy.context | |
namelist = [("Root", "root")] | |
fix_ptail = ["LowerLeg_L", "LowerLeg_R"] | |
ik_targets = { | |
"elbow_ik_L": ["LowerArm_L", Vector((0, 0.5, 0)), Vector((0, 0.5, 0.2)), False], | |
"elbow_ik_R": ["LowerArm_R", Vector((0, 0.5, 0)), Vector((0, 0.5, 0.2)), False], | |
"knee_ik_L": ["LowerLeg_L", Vector((0, -0.5, 0)), Vector((0, -0.5, 0.2)), False], |
This file contains 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 bpy | |
scene = bpy.context.scene | |
# make a list of strips used in the NLA | |
# strips are found in - | |
# object.animation_data.nla_tracks[TrackName].strips[stripName] | |
nla_strips = [] | |
orig_frame_start = scene.frame_start |
OlderNewer