自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(12)
  • 资源 (1)
  • 收藏
  • 关注

原创 关于Maya userSetup.py的用法.

使用Maya的userSetup文件可以在Maya启动时初始化自定义的函数.创建一个userSetup.py文件放在"F:\document\<username>\maya<Version>\scripts"下就可以.以下为测试代码:[userSetup.py]:存放在"scripts"目录下.import maya.cmds as cmds'''&g...

2019-12-01 23:31:34 2433

原创 将shader渲染后的效果渲染到纹理中

直接贴代码:using UnityEngine;using System.Collections;using System.IO;public class BakeMaterial : MonoBehaviour{ public int Size = 2048; public bool DoBake = false; private RenderTe...

2019-10-29 00:00:39 604

原创 Houdini Point偏移问问题。。。。

float _size = ch("Size");int _faces[] = {0, 1};vector _ppos[];for(int i=0; i<npoints(0); i++){ vector pos = point(0, "P", i); append(_ppos, pos);}for(int i=0; i<len(_faces); i...

2019-08-14 00:35:16 715

原创 将OBJ文件材质上的文理索引后缀从dds,tif改为tga

using System;using System.Collections.Generic;using System.IO;using System.Windows.Forms;namespace Dds2Tga{ public partial class Form : System.Windows.Forms.Form { List<...

2019-07-19 09:00:25 629

翻译 Procedural Modeling of Cities

Procedural Modeling of CitiesYoav I H Parish Pascal Müller [email protected] [email protected] ETH Zürich, Switzerland Central Pictures, SwitzerlandABSTRACT Modeling a city poses...

2019-03-22 16:03:37 1428

原创 Unity Shader 常用 Drawer

//表示分类,不可以有中文。[Header(***)]//去掉贴图的tiling和offset参数。[NoScaleOffset] _MainTex("Main Texture", 2D)= "white"{}//枚举[Enum(UnityEngine.Rendering.CullMode)] _CullMode ("Cull Mode", Float) = 0...

2018-02-23 10:58:10 284

原创 Shader -- Cg Documentation

[ Cg 3.1 Toolkit Documentation ]Cg / Profiles / fp20 : http://http.developer.nvidia.com/Cg/fp20.htmlCg / Language / Cg_language : http://http.developer.nvidia.com/Cg/Cg_language.html

2017-04-05 10:52:56 243

原创 Unity -- Event范例

[代码]using System.Collections;using System.Collections.Generic;using UnityEngine;using System;/// <summary>/// 调用 -- 示例/// </summary>public class EventExample : MonoBehaviour{ void Start ()

2017-04-03 22:36:38 374

原创 Unity -- 正交/透视相机切换(2D/3D相机切换)

[根据类型切换相机类型]//相机类型public enum CameraType{ Orthographic, Perspective}//相机切换public void ChangeCameraType(CameraType type, Camera cam){ //切换为"正交相机". if(type == CameraType.Orthographic){

2017-04-03 16:12:28 2675

原创 Unity -- Bezier曲线(创建/编辑工具)

利用unity自带的LineRenderer组件创建/编辑曲线.[Editor – BezierEditor.cs] 文件放在”Assets/Editor”目录下.using System.Collections;using System.Collections.Generic;using UnityEditor;using UnityEngine;[CustomEditor(typeof(

2017-04-03 15:57:53 2119 2

转载 Unity -- 设置物体SelectIcon

[设置GameObject Icon – ISelectIcon.cs]using System;using System.Reflection;using UnityEditor;using UnityEngine;/// <summary>/// 对象Icon管理设置/// </summary>public class ISelectIcon{ #region 数据定义

2017-04-03 15:45:54 3932

原创 Unity -- Json文件读取

JSON官网 下载”c#/LitJSON. “, 将LitJson.dll拖到unity中”Assets/Plugins”文件夹.JSON在线编辑器 编辑/校对json文件. 感觉比较好用的一个编辑器.[测试用Json文件 – Info.json][ { "id": 0, "name": "行尸走肉", "optionArray": [ {"num": 0,"str": "shi

2017-04-03 15:40:08 5496

scripts.zip

通过maya的userSetup.py文件创建自定义菜单,并在maya启动时初始化.就非得50个子么?我不善言谈呀!

2019-12-01

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除