WENZHAO LI
  • Home
  • Modeling
  • TechArtBlog
  • About

TechART Blog

display panel mode

11/19/2021

0 Comments

 

    
0 Comments

DCC Python - Qt Ui always on top and Center Window

11/17/2021

0 Comments

 
Original Post can be find in the link below, I paste here in case it can not be access in the future.
https://discourse.techart.online/t/how-to-make-a-pyside-ui-stay-on-top-of-maya-only/12473/10
Quote from ​JoDaRober

If you have issues with the dialog not appearing at the center of the screen, you can center it when showing the UI. I prefer to override QDialog’s show method for this, since it will have to happen after any widget creation that can change the dimensions of the dialog, and that include’s QtDialog’s show() method. Here’s an example:

0 Comments

Python in Maya, Alembic ref setup and file name management

11/3/2021

0 Comments

 
Example

    
0 Comments

Maya find object by type

9/23/2021

0 Comments

 

    
0 Comments

maya -create type text(3D mesh) as frame counter

8/18/2021

0 Comments

 
​typeCreateText

    
Advanced

    
0 Comments

Maya PySide2 Qt-Tool standard example code

8/16/2021

0 Comments

 

    

    
0 Comments

Mobu pyfbsdk, set Video offset and Audio Matching sample code

7/20/2021

0 Comments

 
Code Example

    
0 Comments

maya py/cmd, clear all animation from selected objects

7/20/2021

0 Comments

 
Code Example

    
If you only want to zero out all selecting objects:

    
0 Comments

Maya_ get and print attributes from object

6/28/2021

0 Comments

 
Code Example

    
0 Comments

Python + StackOverflow automation demo

4/22/2021

0 Comments

 
Python part

    
Then we have to pass two arguments for the .bat file
​MS-DOS

    
In a different circumstance when you want to back trace the parent folder

    
0 Comments

mobu pyfbsdk - Shader Management, get and create

1/27/2021

0 Comments

 

    
Find a Shader with specific name

    
0 Comments

Mobu pyfbsdk - read and set Relation Constrain through code

1/6/2021

0 Comments

 

    

    
0 Comments

MotionBuilder Python select branchs code - recursive

11/23/2020

0 Comments

 

    

​Or if it is intended to exclude some of the objects by name
Can use the following method as rule:

    
0 Comments

Mobu pyfbsdk get objects with name in different nameSpaces

11/20/2020

0 Comments

 

    
0 Comments

Python PySide2 Simple Dark Theme

10/2/2019

0 Comments

 
Code Editor

    

​https://doc.qt.io/archives/qt-4.8/qpalette.html

0 Comments

Unity Play mode Animation record script

9/11/2019

0 Comments

 
record.cs
File Size: 1 kb
File Type: cs
Download File

Need to work with the Timeline system
0 Comments

Unity Fix Aspect Ratio Script

2/13/2019

0 Comments

 

    
http://gamedesigntheory.blogspot.com/2010/09/controlling-aspect-ratio-in-unity.html

This Script should be attach to the main Camera
0 Comments

Unity New Animation System_Body Transform(pose)& Root Transform(trajectory)

11/26/2018

0 Comments

 
https://blog.csdn.net/cubesky/article/details/39478207
http://ru.unity3d-docs.com/Documentation/Manual/Animator.html
http://ru.unity3d-docs.com/Documentation/Manual/RootMotion.html
http://ru.unity3d-docs.com/Documentation/Manual/ScriptingRootMotion.html
chsarchive.pdf
File Size: 668 kb
File Type: pdf
Download File

0 Comments

Rack Focus For The HDRP and NEW postprocessing Stack V2

11/22/2018

0 Comments

 
using UnityEngine;
using UnityEngine.Rendering.PostProcessing;
// make sure you add this to enable the Unity Postprocessing library


public class VignettePulse : MonoBehaviour
//name the Script the Way you want

{
    PostProcessVolume m_Volume;
//A customized PostProcessVolume and its profile

    Vignette m_Vignette;
// A customized instance of the profile and its settings

    void Start()
    {
        m_Vignette = ScriptableObject.CreateInstance<Vignette>();
        m_Vignette.enabled.Override(
true);
        m_Vignette.intensity.Override(
1f);
//Name the setting, attach it with a temp scriptable game object

        m_Volume = PostProcessManager.instance.QuickVolume(gameObject.layer,
100f, m_Vignette);
// Assign this to the volume, make sure you got the layer correct. Currently it will read the layer of the game object it is attaching.
    }

   
void Update()
   
{
        m_Vignette.intensity.
value = Mathf.Sin(Time.realtimeSinceStartup);
    }

   
void Destroy()
   
{
        RuntimeUtilities.DestroyVolume(m_Volume,
true);
    }
}



https://docs.unity3d.com/Packages/com.unity.postprocessing@2.0/manual/Manipulating-the-Stack.html

0 Comments

HDRP Archive

7/6/2018

0 Comments

 
Specular vs Metalness Workflows for PBR Shading
https://www.youtube.com/watch?v=mrNMpqdNchY
https://www.youtube.com/watch?v=PjGCtnEDDeU

Density Volume For HDRP
https://forum.unity.com/threads/volumetric-fog.527667/

Screen space Reflections
https://github.com/Unity-Technologies/PostProcessing/wiki/Screen-space-Reflections
​
The HD Render Pipeline Lit Shader
​https://github.com/Unity-Technologies/ScriptableRenderPipeline/wiki/lit-shader

SecondaryMaps(DetailMaps)&DetailMask​https://docs.unity3d.com/Manual/StandardShaderMaterialParameterDetail.html
​

0 Comments
<<Previous

    Author

    Write something about yourself. No need to be fancy, just an overview.

    Archives

    November 2021
    September 2021
    August 2021
    July 2021
    June 2021
    April 2021
    January 2021
    November 2020
    October 2019
    September 2019
    February 2019
    November 2018
    July 2018
    February 2018

    Categories

    All

    RSS Feed

Powered by Create your own unique website with customizable templates.
  • Home
  • Modeling
  • TechArtBlog
  • About