Skip to content

Instantly share code, notes, and snippets.

View narango's full-sized avatar

Narendra Yenugula narango

View GitHub Profile
@narango
narango / TextureCompressor_UI.cs
Created July 6, 2015 16:16
This tools grabs textures from models, duplicates them, compresses its size and creates a prefab with new textures created. For use in Unity3D.
using UnityEngine;
using UnityEditor;
using System.Collections;
public class TextureCompressor_UI : EditorWindow
{
// Add menu item to the Menu Bar
[MenuItem("HB_Studios/Compress UI")]
// Initializing the window
static void Init()
@narango
narango / TextureRefresher.py
Created July 6, 2015 16:14
Creates a thumbnail viewer for a psd file. For use in Autodesk Maya.
__author__ = "Narendra 'aka' NaRango"
'''This script is for viewing purpose only. May not work by default. Requires a Maya scene that has proper node network
node network:
1. create an unknown node with name "nyTR"
2. add a "message" data-type attribute with name "psd"
3. create a psd node and connect <psd_node>.mesage to nyTR.psd
USAGE:
1) Execute this script in Maya's Script Editor
2) It should open "Unity Exporter" window
@narango
narango / UnityExporter.py
Last active September 17, 2015 14:36
Exports the base and low-version assets separately to a valid Unity Project. It exports in FBX export. For use in Autodesk Maya.
__author__ = "Narendra 'aka' NaRango"
'''
Exports assets directly to selected Unity Project
valid Assets = models
USAGE:
1) Execute this script in Maya's Script Editor
2) It should open "Unity Exporter" window