See https://codesandbox.io/s/mobx-undo-redo-v2-ofty1 for example.
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 os | |
| import socket | |
| import traceback | |
| def send(cmd, port): | |
| host = '127.0.0.1' | |
| # we expect a result no matter if it errors, so we keep trying until we |
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
| # This is a sample Python script. | |
| # Press ⌃R to execute it or replace it with your code. | |
| # Press Double ⇧ to search everywhere for classes, files, tool windows, actions, and settings. | |
| import aiohttp | |
| event_loop = None | |
| import asyncio | |
| from pprint import pprint |
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 nimline | |
| import os | |
| static: | |
| let | |
| halideDist = getenv("HALIDE_DIST") | |
| assert halideDist != "" , "HALIDE_DIST environment variables not set!" | |
| when defined windows: |
- Verify the Microsoft account.
- Uninstall unused apps like OneDrive.
- Install Unity Hub.
- Enable WSL2 and install Ubuntu.
wsl --install
- Open Terminal and copy-paste the custom profile.
sudo apt update && sudo apt upgrade.- Sign in to GitHub and add a new SSH key.
ssh-keygen -t rsa -b 4096 -C "keijiro@gmail.com"
- Clone dotfiles and run
setup.
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
| """Test of finding Nuke's viewer widget, and intercepting the hardwired "c" shortcut and rewiring it to view the RGB channel | |
| """ | |
| from PySide import QtGui, QtCore | |
| def findviewer(): | |
| stack = QtGui.QApplication.topLevelWidgets() | |
| viewers = [] | |
| while stack: |
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
| """Store function on node | |
| Usage example: | |
| .. code-block:: | |
| # Control node | |
| ctrl_node_name = 'MY_SCRIPT_NODE' # if None, store on nuke.root() | |
| # Define your functions and add them to the dictionary |
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
| set cut_paste_input [stack 0] | |
| push $cut_paste_input | |
| Group { | |
| name PlanarProjection | |
| help "<b>Planar Projection</b>\nGenerates 2D coordinates for points in 3D space. Type in 3D point coordinates, or use vertex selection in 3D viewer and click set to pick average of selected points, or set points to set all four points at once. \n\nYou can connect node output to scene together with your pointcloud or geometry and see where your points are located in 3d space. Double click any of them to move it in 3d space like any traditional nuke transform control. \n\nA matrix transform is also generated to be used with RotoPaint, SplineWarp and GridWarp nodes. If you are using matrix in GridWarp, points have to be in clockwise order, pick them one by one! \n\nCommand set points doesn't respect selection order! \n\nCheck out the demo video on my website! Kudos to Ivan Busquets for help with matrix math. \n\n-- developed by Vit Sedlacek 2012 www.vitsedlacek.com \n\n-- Modified by Jed Smith to make calculation time nearly inst |
Writeffmpeg is a python script and a node that allows you to render from Nuke directly into ffmpeg. Instead of a 2 step process where you render from Nuke to a temporary image sequence that you then transcode using ffmpeg, this solution writes to a single uint16 cache tiff file and this data gets piped into ffmpeg.
OlderNewer