Thursday, February 9, 2023

Thursday, January 19, 2023

How to Add Looping rotation in blender with only one code

In the rotation area just add 

#frame



You can slow it down by dividing it with 250. 






*note the higher the number the slower the animation


You can also add 

cos sin or tan


cos(frame)/30 


dividing it by a number can increase or decrease the speed.

Thursday, October 6, 2022

How to add, minimum and maximum distance or value in blender drier

 


Min max

Use the expression min(max(v, 0.5), 1.25) or its dual max(0.5, min(v, 1.25)) where v is the driver variable (sound curve value)

>>> v = 0.05
>>> min(max(v, 0.5), 1.25)
0.5

>>> v = 3
>>> min(max(v, 0.5), 1.25)
1.25

>>> v = 1.1
>>> min(max(v, 0.5), 1.25)
1.1

If you wish to double the variable v simply replace v with 2 * v in expression.

I would recommend you normalize the values in some way What's the range of values on a sound-baked f-curve?

Related

How to set driver distance max and min influence?


Full story post at 
https://blender.stackexchange.com/questions/133285/add-min-and-max-values-to-driver-expression

Tuesday, August 2, 2022

How to Install URP or Universal Render Pipeline in Unity

 

Installing URP

  1. In Unity, open your Project.
  2. In the top navigation bar, select Window > Package Manager to open the Package Manager window.
  3. Select the All tab. This tab displays the list of available packages for the version of Unity that you are currently running.
  4. Select Universal RP from the list of packages.
  5. In the botoom right corner of the Package Manager window, select Install. Unity installs URP directly into your Project.


Source:
https://docs.unity3d.com/Packages/com.unity.render-pipelines.universal@7.1/manual/InstallURPIntoAProject.html

How to Install PolyBrush in Unity

 In Unity Hub, 

1) go to Window > Package Manager 

2) Make sure "Packages" is on Unity Registry see image below




3) On the right side Search for PolyBrush see image below then click install on the lower right