-
Download Geth, Etherium's official CLI and CPU miner.
-
Create an account:
geth account new
- Download Ethminer.
""" | |
Batch Rendering | |
To render a set of scenes individually, you could create a scene with the lights/camera set up | |
how you would like, then run this plugin after configuring a list of files you want to render. | |
""" | |
import mset | |
import os.path | |
# List of scenes to load and render |
// Ray Tracing Gems Chapter 25 | |
// Code provided by Electronic Arts | |
// Colin Barré-Brisebois, Henrik Halén, Graham Wihlidal, Andrew Lauritzen, | |
// Jasper Bekkers, Tomasz Stachowiak, and Johan Andersson | |
// Errata corrected by Alain Galvan | |
struct HaltonState | |
{ | |
unsigned dimension; |
/** | |
* Sobol Noise Generation | |
* GNU LGPL license | |
* By Dr. John Burkardt (Virginia Tech) | |
* https://gist.github.com/alaingalvan/af92ddbaf3bb01f5ef29bc431bd37891 | |
*/ | |
//returns the position of the high 1 bit base 2 in an integer n | |
int getHighBit1(int n) | |
{ |
So I wanted to make an animation of code being written in the minimap, so I set up VS Code so that it would write the minimap canvas to a PNG file every time there's a backspace (play that in reverse and you have typing out a file).
var fs = require('fs')
var curFrame = 0;
function saveCallback() {
// Get the DataUrl from the Canvas
const url = document.querySelectorAll('canvas')[1].toDataURL();
// remove Base64 stuff from the Image
void printOpenGLDebugInfo() | |
{ | |
int majorVersion, minorVersion; | |
glGetIntegerv(GL_MAJOR_VERSION, &majorVersion); | |
glGetIntegerv(GL_MINOR_VERSION, &minorVersion); | |
std::cout << "OpenGL Version: " << majorVersion << "." << minorVersion | |
<< std::endl; | |
int work_grp_cnt[3]; |
import mset | |
# Create a new BakerObject | |
baker = mset.BakerObject() | |
# Import model | |
myMesh = mset.importModel("E:/MyMesh.fbx") | |
# Traverse myMesh and find objects I want to be "High" or "Low" |