일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
- 우리들교회
- probability
- 빅데이터
- Statistics
- 딥러닝
- 빅데이타
- No SQL
- 확률
- nodeJS
- node.js
- 빅 데이타
- 통계
- c++
- Big Data
- data science
- openCV
- 주일설교
- 인공지능
- 김양재 목사
- Machine Learning
- 데이터 과학
- Artificial Intelligence
- MongoDB
- 몽고디비
- Deep learning
- 빅 데이터
- 김양재
- 김양재 목사님
- WebGL
- R
- Today
- Total
Scientific Computing & Data Science
Shader "Tutorial/Display Normals" {SubShader { Pass { CGPROGRAM#pragma vertex vert#pragma fragment frag#include "UnityCG.cginc" struct v2f { float4 pos : SV_POSITION; float3 color : COLOR0;}; v2f vert (appdata_base v){ v2f o; o.pos = mul (UNITY_MATRIX_MVP, v.vertex); o.color = v.normal * 0.5 + 0.5; return o;} half4 frag (v2f i) : COLOR{ return half4 (i.color, 1);}ENDCG }}Fallback "VertexLit" }
Scene에 두 개의 카메라 설정 각 Camera 당 각각 AudioListener가 있으니 둘 중 하나는 삭제 씬에 GameObject를 하나 설정 이 오브젝트의 이름을 "Camera Controller"라 명명 두 개의 씬 Camera를 Camera Controller의 자식 오브젝트로 설정 왼쪽의 "CameraConnection" 스크립트를 Camera Controller에 부착 Camera Controller를 클릭하여 선택하고 Component viewer에서 각 카메라를 드래그하여 넣는다. using UnityEngine;using System.Collections; public class CameraConnection : MonoBehaviour {public GameObject gameCa..
using UnityEngine; using System.Collections; public class NewBehaviourScript : MonoBehaviour { public MovieTexture movTexture; // Use this for initialization void Start () { renderer.material.mainTexture = movTexture; movTexture.loop = true; movTexture.Play(); } // Update is called once per frame void Update () { if(Input.GetKeyDown("space")){ movTexture.Stop(); movTexture.Play(); } } }