Giter Site home page Giter Site logo

kui's Introduction

Liam Collod

python lua qt katana nuke mari maya

Python Software Engineer and VFX artist. I am specialized in surfacing, lighting compositing, color-science and image-processing.

Projects

I share a lot of the code I write on my personal time so make sure to check some of those projects :

stars name description tags
GitHub Repo stars lqtTextEditor A more advanced text/code editor for PyQt qt
GitHub Repo stars lqtPushButtonAligned A Qt button where you can set in which direction the text and its icon is aligned. qt
GitHub Repo stars AgXc Fork of Troy.S AgX, a display rendering transform available via OCIO and more.
GitHub Repo stars Frmb Convert file structures to right-click context menu for Windows. windows
GitHub Repo stars Autodesk_Maya Collection of resources for Autodesk's Maya DCC (modelling, scene assembly, ...). maya
GitHub Repo stars Foundry_Mari Collection of resources for Foundry's Mari DCC (texturing). mari
GitHub Repo stars Foundry_Nuke Collection of resources for Foundry's Nuke DCC (compositing). nuke
GitHub Repo stars Foundry_Katana Collection of resources for Foundry's Katana DCC (scene assembly). katana
GitHub Repo stars lllogger A simple lua logging module inspired from Python's one. katana
GitHub Repo stars opscripting Improving Katana OpScripting workflow in a pipeline context. katana
GitHub Repo stars katananodling Custom API to create and register custom Katana nodes in python. katana
GitHub Repo stars KUI Katana OpScript for flexible instancing setup. katana
GitHub Repo stars Streamlit_Temperature2RGB web-app to convert Kelvin temperature to RGB colorspaces. streamlit
GitHub Repo stars streamlit-colour-plotting web-app to plot colors, images and colorspaces in graphs. streamlit

kui's People

Contributors

mrlixm avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

dearyangyu

kui's Issues

convert TRS to matrix seems to be supported by Katana 3+

After testing the following snippet in Katana 3.6, seems the Imath module had the function used which make the PointCloudData:_convert_to_matrix() method usable in all Katana version ?

m44 = Imath.M44d()
v = {0.5,25,3}
m44:translate(Imath.V3d(v))
v = {0.5,0.5,0.5}
m44:scale(Imath.V3d(v))

print(m44:toTable())

So test KUI on Katana 3.6 and update the documentation accordingly.

Ship KUI as one single lua file.

For whoever might need this special case, offer a version of KUI in only one Lua file so it can be embedded into a Katana scene without dependencies.

Priority is very low for this one.
Comment if you need it.

Motion-blur not supported

Add support of multiple time samples for points.

It seems logical to apply this modification only on commons transformations attributes and ignore arbitrary and sources.

See RenderMan instance array example :

local numTimeSamples = pointAttr:getNumberOfTimeSamples()
local matrixArrayMap = {}

-- to get motion blur on the instances, create an instanceMatrix at each
-- time sample available from the point cloud points attribute
for idx=0, numTimeSamples-1 do
    
    local sampleTime = pointAttr:getSampleTime(idx)
    local points = pointAttr:getNearestSample(sampleTime)

    -- Each instance in array has its own matrix
    local matrixArray = {}
    local workMatrix = Imath.M44d():toTable()
    -- [...]
    matrixArray[#matrixArray+1]=workMatrix[j]
    -- [...]
    -- set the instanceMatrix for this time sample
    matrixArrayMap[sampleTime] = matrixArray

end

Improve performance for hierarchical

Since issue #5 has been addressed, testing showed that the hierarchical method is now much slower (1.61 times slower for 100k instances).

First I thought it was the inheritance of the source location attributes with self.gb:set("childAttrs", ...) which indeed seems to slow processing a lot, but computing it before didn't change anything and the previous Kui version were already using it without issue.
(see commit 3e2b490)

So something else might slow down processing.
As It's been way too much time I'm on KUI I will let this one slip and try to maybe address it in the future.

KUISetup node: Error on btn `common.add_row_common`

Steps:

  • Create kuis node.
  • Don't connect to anything
  • Click on common.add_row_common button.

On node version=3

Error in line number: 86
UnbounLocalError
local variable `paramater` refrenced before assignement.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.