Interesting Information / Tips
- jerron chuck

- Oct 22, 2020
- 2 min read
Updated: Mar 14
These are cool interesting finds, I saw on the internet, These range from interesting Documents to plugins or tools I saw that could help speed up workflow. All links and Information are credited to the ones who created it. I was not the creator of any of them, just wanted to share information

1 - UV Transferring Script
This script allows you to transfer uvs along other objects as long as they are the same geometry for example ( a screw, or nuts and bolts ) its meant for repeating objects. Yes it is better than the ones Maya has built into it ( Less buggy )
import maya.cmds as cm
#grab all the selected objects
selectedObjects = cm.ls(sl=True)
#save first one into variable
#pop first one out of the selected objects list
driver = selectedObjects.pop(0)
#for each object in the selected objects list
for object in selectedObjects:
cm.select([driver,object])
#transfer attributes
cm.transferAttributes(sampleSpace=4,transferUVs=2, transferColors=2 )2 - Color ID Script
This is a awesome script that allows you apply multiple material ID's and also acts as a nice way to view your materials rather than in hype shade. It can also do so so much more.

3 - Free open source automatic retopo
This open source application allows you to instantly Retopologize a high dense mesh like something out of zbrush with a lot of polygons , into something more workable. Its a really nice software to give a try and hey if it works it works.

Link ( https://github.com/wjakob/instant-meshes )
Tutorial ( https://www.youtube.com/watch?v=hu4NavAy5f4&t=77s )4 - Pixar Renderman Helpful Documentation
This is just a collection of some useful tips/ documentation when using renderman. It really nice

Lighting ( https://rmanwiki.pixar.com/display/REN/Lighting )
Optimization ( https://renderman.pixar.com/debugging-and-optimization )
5 - Side effect Houdini Helpful Documentation
How to learn Houdini VEX for beginners Introduction 01

https://www.youtube.com/watch?v=fmrWC7z880s&ab_channel=CARDANFXSTUDIOS
6 - Houdini WFC Dungeon Generator
This tutorial video series demonstrates how to create procedural generated levels using the power of Houdini and unreal engine.

7 - Origin Plugin
This script allows you to snap objects to the center at its origin
import maya.cmds as cmds
# Dictionary to store original positions
original_positions = {}
def snap_to_origin():
global original_positions
selected_objects = cmds.ls(selection=True)
if not selected_objects:
cmds.error("No objects selected.")
for obj in selected_objects:
# Get current position
current_position = cmds.xform(obj, query=True, translation=True, worldSpace=True)
# Store original position
original_positions[obj] = current_position
# Move object to origin
cmds.xform(obj, translation=(0, 0, 0), worldSpace=True)
print(f"Snapped {obj} to origin.")
def return_to_original_position():
global original_positions
if not original_positions:
cmds.warning("No original positions stored.")
return
for obj, position in original_positions.items():
if cmds.objExists(obj): # Check if object still exists in the scene
cmds.xform(obj, translation=position, worldSpace=True)
print(f"Returned {obj} to {position}")
else:
cmds.warning(f"{obj} no longer exists.")
# Clear the stored positions after restoring
original_positions.clear()
def create_ui():
if cmds.window("snapWindow", exists=True):
cmds.deleteUI("snapWindow")
window = cmds.window("snapWindow", title="Snap & Return", widthHeight=(200, 100))
cmds.columnLayout(adjustableColumn=True)
cmds.button(label="Snap to Origin", command=lambda x: snap_to_origin())
cmds.button(label="Return to Original Position", command=lambda x: return_to_original_position())
cmds.showWindow(window)
# Run the UI creation function
create_ui()


Comments