Unite2016Tokyo-yasuhara.key
|
|
- すずり すみだ
- 5 years ago
- Views:
Transcription
1
2
3 Mathf.Sqrt(100f); (float)system.math.sqrt((double)100f);
4 Mathf.Sqrt(100f); (float)system.math.sqrt((double)100f);
5 Unity Editor(Mac) for Mono(AOT) IL2CPP // var sw = new System.Diagnostics.Stopwatch(); sw.start(); { long begin_time = sw.elapsedticks; for (var i = 0; i < ; ++i) { float f = Mathf.Sqrt(100f); } Debug.Log("elapsed:"+ (sw.elapsedticks - begin_time)); } { long begin_time = sw.elapsedticks; for (var i = 0; i < ; ++i) { float f = (float)system.math.sqrt((double)100f); } Debug.Log("elapsed:"+ (sw.elapsedticks - begin_time)); }
6
7 (Vector3) v += v1; v.x += v1.x; v.y += v1.y; v.z += v1.z;
8 (Vector3) v += v1; v.x += v1.x; v.y += v1.y; v.z += v1.z;
9 (Vector3) v += v1; v.x += v1.x; v.y += v1.y; v.z += v1.z; C# operator+= v = v + v1 bad-knowhow
10 mono
11
12 void func(vector3 a) { } void func(ref Vector a) { }.
13 void func(vector3 a) { } void func(ref Vector a) { }.
14 void set(ref Vector3 a) { m_position = a; } void set(ref Vector a) { m_position.x = a.x; m_position.y = a.y; m_position.z = a.z; }
15 void set(ref Vector3 a) { m_position = a; } void set(ref Vector a) { m_position.x = a.x; m_position.y = a.y; m_position.z = a.z; }
16 transform.position = Vector3.zero; transform.position = new Vector3(0f, 0f, 0f);
17 transform.position = Vector3.zero; transform.position = new Vector3(0f, 0f, 0f);
18 Class CV { public static Vector3 zero = Vector3.zero; } transform.position = CV.zero;
19 ref readonly Class CV { public static Vector3 zero = Vector3.zero; } transform.position = CV.zero; bad-knowhow
20 60fps
21 16.666ms
22
23 PlayStation Vita (PS Vita) 2011
24 PlayStation Vita (PS Vita)
25 PlayStation Vita (PS Vita) Unity 5.3.3p1
26 PlayStation Vita (PS Vita) Unity
27 Survival Shooter PS Vita Quality Settings Fastest Survival Shooter
28 Survival Shooter PS Vita Quality Settings Fastest Survival Shooter 12~13FPS!
29
30
31
32 1.
33 1. 2.GPU
34 1. 2.GPU 3.
35 1. PS Vita Main Thread
36 16.666ms ms ms Main Thread Render Thread GPU
37 16.666ms ms ms Main Thread Render Thread GPU
38 16.666ms ms ms Main Thread Render Thread GPU Main Thread
39 InputProcess( us) PlayerLoop InputManager::ProcessInput PhysicsManager::InitializeClass PhysicsManager::FixedUpdate( us) Physics2DState::Initialize Main Thread GUIManager::InitGUIManager InitializeNavMeshManager SpeedTreeWindManager::SpeedTreeWindManager(3.048us) BehaviourManager::Update(7.387ms) AudioModule::Update( us) PhysicsManager::InitializeClass()::PhysicsSkinnedClothUpdate(3.201us) ParticleSystem::InitializeClass()(1.673us) [local to EnlightenRuntimeManager_cpp]::UpdateEnlightenRuntimeManager(1.763us) SkinnedMeshRenderer::UpdateAllSkinnedMeshes(7.628us) DirectorManager::InitializeClass()::DirectorRenderImage(2.066us) UI::InitializeCanvasManager()::CanvasManagerEmitWorldGeometry(7.787us) UI::InitializeCanvasManager()::EmitScreenSpaceCameraGeometry(3.297us) PlayerRender(3.696ms) Camera::Cull( us) Camera::Render(26us) Camera::Render RenderManager::RenderOffscreenCamera RenderManager::RenderCameras Camera::Cull Camera::Render GfxDeviceContext::BeginFrame(wait for vsync) Camera::DoRender DoRenderLoop Unity::Component::SendMessageAny(here means OnPostRender:29.862us)
40 Main Thread ms V Blank
41 16.666ms
42
43 16.666ms ms V Blank
44 16.666ms ms ms Update Thread New! Main Thread Render Thread GPU
45 private void thread_entry() { for (;;) { // } } void Start() { update_thread_ = new Thread(thread_entry); update_thread_.start(); }
46
47 MainThread
48 MainThread
49 (MonoBehaviour) (Update )
50 (MonoBehaviour) (Update )
51 Unity API Main Thread Assert
52 Unity API Main Thread Assert
53
54
55
56
57
58
59 16.666ms ms V Blank
60 Update Thread ms update renderupdate
61 16.666ms update renderupdate Transform GPU
62 Update Thread & Main Thread ms ms update update renderupdate update renderupdate renderupdate render VSync
63 Update Thread & Main Thread ms ms update renderupdate update renderupdate render UnityAPI Transform setup Mesh update AudioSource.Play render VSync
64
65
66 DrawBuffer:16K+ Beam:54K+ Spark:60K+ Explosion:5K+ Hahen:48K+ Trail:96K+ Sprite:20K+ Sight:3K+ 1M
67 2.GPU
68
69 GPU Mesh.vertices MeshRenderer (DrawMesh )
70 vertices uv uv2
71 vertices uv uv2
72 Main Thread setup vertices uv uv2 Material up
73 vertices uv uv2
74 vertices uv uv2
75 Mesh.vertices (normals uv DrawMesh Mesh.vertices Main Thread Update
76 ParticleSystem Stretch Billboard
77
78 undocumented 5.4
79 3. struct
80 GC.Collect
81 mono heap class new
82 mono heap foreach mono heap IEnumerator class foreach LinkedList.Add LinkedListNode
83 mono heap Coroutine IEnumerator mono heap
84 mono heap MonoBehaviour public IEnumerator zako_act() { // } yield return null; for (var i =new Utility.WaitForSeconds(10f, time_);!i.end(time_);) { // yield return null; } destroy(); // public void init() { enumerator_ = zako_act(); } public void update() { enumerator_.movenext(); }
85 GC GC GC
86 4. tips
87
88 Update Thread Main Thread Render Thread GPU
89 update loop renderupdate loop MonoBehaviour.Update Update Thread Main Thread frame count GC count number of Objects
90 Main Thread ms V Blank
91 Main Thread ms ms ms ms ms V V V V
92 Main Thread ms ms ms ms ms V V V V V Blank
93 PS4, PS Vita ms ms ms ms ms PlayerRender V V V V PlayerRender V Blank
94 PS4, PS Vita ms ms ms ms ms PlayerRender V V V V OnPreCull OnPreRender
95 PS4, PS Vita ms ms ms ms ms V V V V OnPreRender OnPreCull OnPreRender OnPreCull
96 PC, ios, Android (PS Vita ms ms ms ms ms V V V V MonoBehaviour.Update OnPostRender MonoBehaviour.Update OnPostRender
97 Render Thread, GPU Unity Main Thread
98 GC.Collect
99 GC.Collect System.GC.Collection.Count(0 /* generation */)
100 Unity Unity
101
102 GC.Collect
103 Unity
104 : PS Vita Main Thread 12msec ms
105
106 : PS Vita
107 : PS4 Main Thread 2msec ms
108 Physx Physx
109 InputProcess( us) PlayerLoop InputManager::ProcessInput PhysicsManager::InitializeClass PhysicsManager::FixedUpdate( us) Physics2DState::Initialize GUIManager::InitGUIManager InitializeNavMeshManager SpeedTreeWindManager::SpeedTreeWindManager(3.048us) BehaviourManager::Update(7.387ms) AudioModule::Update( us) PhysicsManager::InitializeClass()::PhysicsSkinnedClothUpdate(3.201us) ParticleSystem::InitializeClass()(1.673us) [local to EnlightenRuntimeManager_cpp]::UpdateEnlightenRuntimeManager(1.763us) SkinnedMeshRenderer::UpdateAllSkinnedMeshes(7.628us) DirectorManager::InitializeClass()::DirectorRenderImage(2.066us) UI::InitializeCanvasManager()::CanvasManagerEmitWorldGeometry(7.787us) UI::InitializeCanvasManager()::EmitScreenSpaceCameraGeometry(3.297us) PlayerRender(3.696ms) Camera::Cull( us) Camera::Render(26us) Camera::Render RenderManager::RenderOffscreenCamera RenderManager::RenderCameras Camera::Cull Camera::Render GfxDeviceContext::BeginFrame(wait for vsync) Camera::DoRender DoRenderLoop Unity::Component::SendMessageAny(here means OnPostRender:29.862us)
110 InputProcess( us) PlayerLoop InputManager::ProcessInput PhysicsManager::InitializeClass PhysicsManager::FixedUpdate( us) Time Settings Fixed Tilmestep Physics2DState::Initialize GUIManager::InitGUIManager InitializeNavMeshManager SpeedTreeWindManager::SpeedTreeWindManager(3.048us) BehaviourManager::Update(7.387ms) AudioModule::Update( us) PhysicsManager::InitializeClass()::PhysicsSkinnedClothUpdate(3.201us) ParticleSystem::InitializeClass()(1.673us) [local to EnlightenRuntimeManager_cpp]::UpdateEnlightenRuntimeManager(1.763us) SkinnedMeshRenderer::UpdateAllSkinnedMeshes(7.628us) DirectorManager::InitializeClass()::DirectorRenderImage(2.066us) UI::InitializeCanvasManager()::CanvasManagerEmitWorldGeometry(7.787us) UI::InitializeCanvasManager()::EmitScreenSpaceCameraGeometry(3.297us) PlayerRender(3.696ms) Camera::Cull( us) Camera::Render(26us) Camera::Render RenderManager::RenderOffscreenCamera RenderManager::RenderCameras Camera::Cull Camera::Render GfxDeviceContext::BeginFrame(wait for vsync) Camera::DoRender DoRenderLoop Unity::Component::SendMessageAny(here means OnPostRender:29.862us)
111 Physx Time Settings Fixed TimeStep fps 30fps
112 InputProcess( us) PlayerLoop InputManager::ProcessInput PhysicsManager::InitializeClass PhysicsManager::FixedUpdate( us -> ns) Physics2DState::Initialize GUIManager::InitGUIManager InitializeNavMeshManager SpeedTreeWindManager::SpeedTreeWindManager(3.048us) BehaviourManager::Update(7.387ms) AudioModule::Update( us) PhysicsManager::InitializeClass()::PhysicsSkinnedClothUpdate(3.201us) ParticleSystem::InitializeClass()(1.673us) [local to EnlightenRuntimeManager_cpp]::UpdateEnlightenRuntimeManager(1.763us) SkinnedMeshRenderer::UpdateAllSkinnedMeshes(7.628us) DirectorManager::InitializeClass()::DirectorRenderImage(2.066us) UI::InitializeCanvasManager()::CanvasManagerEmitWorldGeometry(7.787us) UI::InitializeCanvasManager()::EmitScreenSpaceCameraGeometry(3.297us) PlayerRender(3.696ms) Camera::Cull( us) Camera::Render(26us) Camera::Render RenderManager::RenderOffscreenCamera RenderManager::RenderCameras Camera::Cull Camera::Render GfxDeviceContext::BeginFrame(wait for vsync) Camera::DoRender DoRenderLoop Unity::Component::SendMessageAny(here means OnPostRender:29.862us)
113 Camera::Cull system call Input VSync
114 InputProcess( us) PlayerLoop InputManager::ProcessInput PhysicsManager::InitializeClass PhysicsManager::FixedUpdate( us) Physics2DState::Initialize GUIManager::InitGUIManager InitializeNavMeshManager SpeedTreeWindManager::SpeedTreeWindManager(3.048us) BehaviourManager::Update(7.387ms) AudioModule::Update( us) PhysicsManager::InitializeClass()::PhysicsSkinnedClothUpdate(3.201us) ParticleSystem::InitializeClass()(1.673us) [local to EnlightenRuntimeManager_cpp]::UpdateEnlightenRuntimeManager(1.763us) SkinnedMeshRenderer::UpdateAllSkinnedMeshes(7.628us) DirectorManager::InitializeClass()::DirectorRenderImage(2.066us) UI::InitializeCanvasManager()::CanvasManagerEmitWorldGeometry(7.787us) UI::InitializeCanvasManager()::EmitScreenSpaceCameraGeometry(3.297us) PlayerRender(3.696ms) Camera::Cull( us) Camera::Render(26us) Camera::Render RenderManager::RenderOffscreenCamera RenderManager::RenderCameras Camera::Cull Camera::Render GfxDeviceContext::BeginFrame(wait for vsync) Camera::DoRender DoRenderLoop Unity::Component::SendMessageAny(here means OnPostRender:29.862us) ( SystemCall )
115 Camera::Cull Occlusion Culling Camera Occlusion Culling
116 AudioSource.PlayOneShot clip AudioClip AudioSource Play AudioSource FMOD MainThread AudioClip AudioSource FMOD
117
118 InputProcess( us) PlayerLoop InputManager::ProcessInput PhysicsManager::InitializeClass PhysicsManager::FixedUpdate( us) Physics2DState::Initialize GUIManager::InitGUIManager InitializeNavMeshManager SpeedTreeWindManager::SpeedTreeWindManager(3.048us) BehaviourManager::Update(7.387ms) AudioModule::Update(2.262ms-> us) PhysicsManager::InitializeClass()::PhysicsSkinnedClothUpdate(3.201us) ParticleSystem::InitializeClass()(1.673us) [local to EnlightenRuntimeManager_cpp]::UpdateEnlightenRuntimeManager(1.763us) SkinnedMeshRenderer::UpdateAllSkinnedMeshes(7.628us) DirectorManager::InitializeClass()::DirectorRenderImage(2.066us) UI::InitializeCanvasManager()::CanvasManagerEmitWorldGeometry(7.787us) UI::InitializeCanvasManager()::EmitScreenSpaceCameraGeometry(3.297us) PlayerRender(3.696ms) Camera::Cull( us) Camera::Render(26us) Camera::Render RenderManager::RenderOffscreenCamera RenderManager::RenderCameras Camera::Cull Camera::Render GfxDeviceContext::BeginFrame(wait for vsync) Camera::DoRender DoRenderLoop Unity::Component::SendMessageAny(here means OnPostRender:29.862us) ( SystemCall )
119 IL2CPP
120 Main Thread
121 IL2CPP update Δt
122
123 AnotherThread
Java (7) Lesson = (1) 1 m 3 /s m 2 5 m 2 4 m 2 1 m 3 m 1 m 0.5 m 3 /ms 0.3 m 3 /ms 0.6 m 3 /ms 1 1 3
Java (7) 2008-05-20 1 Lesson 5 1.1 5 3 = (1) 1 m 3 /s 1 2 3 10 m 2 5 m 2 4 m 2 1 m 3 m 1 m 0.5 m 3 /ms 0.3 m 3 /ms 0.6 m 3 /ms 1 1 3 1.2 java 2 1. 2. 3. 4. 3 2 1.3 i =1, 2, 3 V i (t) 1 t h i (t) i F, k
More information2016 VOCALOID Group, Yamaha Corporation 2
2016 VOCALOID Group, Yamaha Corporation 2016 VOCALOID Group, Yamaha Corporation 2 2016 VOCALOID Group, Yamaha Corporation 3 #if UNITY_EDITOR_WIN UNITY_STANDALONE_WIN using Yamaha.VOCALOID.Windows; #elif
More information3 m/sec 8.35 39.06 3.22 2.15 13.72 52.78 15.00 2.12 2.69 12.62 27.62 3 m/ 772 79 68 263 410 1,182 3 m/sec 3.87 0.63 8.00 3.12 1.38 12.50 12.50 2.00 2.50 1.00 5.50 5.50 m/ 105 122 20 247 247 3 m/sec 0.23
More information学校では教えてくれないアセットバンドル
Unity Technologies Japan Developer Relationship Engineer Yusuke Ebata Unity 5.3 Unity ICON:designed by Freepik 1 AssetBundle.CreateFromMemory AssetBundle.CreateFromFile WWW.LoadFromCacheOrDownload LoadFromCacheOrDonwload
More informationしずおかアプリ部 Unity はじめるよ すごいよサウンド機能 実践編 統合開発環境を内蔵したゲームエンジン いろんな職業の が る資料なので説明を簡単にしてある部分があります 正確には本来の意味と違いますが上記理由のためです ご了承ください この
Unity はじめるよ すごいよサウンド機能 実践編 統合開発環境を内蔵したゲームエンジン http://japan.unity3d.com/ いろんな職業の が る資料なので説明を簡単にしてある部分があります 正確には本来の意味と違いますが上記理由のためです ご了承ください この資料内の 部の画像 部の 章は Unity 公式サイトから引 しています AudioMixer のサンプルアプリを作る
More information3.1 stdio.h iostream List.2 using namespace std C printf ( ) %d %f %s %d C++ cout cout List.2 Hello World! cout << float a = 1.2f; int b = 3; cout <<
C++ C C++ 1 C++ C++ C C++ C C++? C C++ C *.c *.cpp C cpp VC C++ 2 C++ C++ C++ [1], C++,,1999 [2],,,2001 [3], ( )( ),,2001 [4] B.W. /D.M.,, C,,1989 C Web [5], http://kumei.ne.jp/c_lang/ 3 Hello World Hello
More informationusing UnityEngine; using System.Collections; namespace Monolizm { /// /// フェイスアニメーション管理クラス. /// public class FaceAnimationController : MonoBehaviour { #region public enumerate -----------------------------------------------------------------
More information1_cover
BetweenAS3 Updater Spark Project #APMT 2009.9.11 TAKANAWA Tomoaki ( http://nutsu.com ) http://www.libspark.org/svn/as3/betweenas3/tags/alpha-r3022/ public static function tween(...):iobjecttween { var
More information10/ / /30 3. ( ) 11/ 6 4. UNIX + C socket 11/13 5. ( ) C 11/20 6. http, CGI Perl 11/27 7. ( ) Perl 12/ 4 8. Windows Winsock 12/11 9. JAV
tutimura@mist.i.u-tokyo.ac.jp kaneko@ipl.t.u-tokyo.ac.jp http://www.misojiro.t.u-tokyo.ac.jp/ tutimura/sem3/ 2002 12 11 p.1/33 10/16 1. 10/23 2. 10/30 3. ( ) 11/ 6 4. UNIX + C socket 11/13 5. ( ) C 11/20
More information3.2. Unity Unity の画面構成 Unity を起動すると以下の図 1 のような画面が表示される 図 1 Unity のインターフェース Unity の画面は主に以下のように分けられる ① Scene View Game View Scene View には作成するゲーム内
1. 研究の背景と目的 本研究は当初 RealSense3D カメラのジェスチャー認証を用いたアプリ開発を行っていた Intel の推奨する RealSense3D カメラの開発プラットフォームを一通り試してみたいと考え学習を 進めるうちに Unity による開発に興味を持った Unity にはオブジェクトに物理演算を付加するこ とができるので 物理シミュレーションを製作するのに適したプラットフォームであることに気
More information第26回_プレゼン資料_菅原(Unityはじめるよ~NavMesh基礎~)
Unity はじめるよ NavMesh 基礎 統合開発環境を内蔵したゲームエンジン http://japan.unity3d.com/ いろんな職業の が る資料なので説明を簡単にしてある部分があります 正確には本来の意味と違いますが上記理由のためです ご了承ください この資料内の 部の画像 部の 章は Unity 公式サイトから引 しています NavMeshって ナビゲーションシステムによって
More informationC#JobSystem_Intel
Unity のマルチスレッドプログラミング ユニティ テクノロジーズ ジャパン合同会社 エバンジェリスト 伊藤周 諸注意 今回紹介するC# Job Systemはまだ発展段階 リリースでは多少の差異が出る可能性がある C# Job Systemの概念を知ってほしい プログラマ以外は理解不能 アジェンダ 従来のマルチスレッドプログラミング C# Job System の概要 Let s read codes.
More information: : : TSTank 2
Java (8) 2008-05-20 Lesson6 Lesson5 Java 1 Lesson 6: TSTank1, TSTank2, TSTank3 java 2 car1 car2 Car car1 = new Car(); Car car2 = new Car(); car1.setcolor(red); car2.setcolor(blue); car2.changeengine(jet);
More informationProgramming-C-9.key
プログラミングC 第9回 例外 スレッド 白石路雄 2 finally try{ ( 例外が発生するかもしれない処理 ) catch(exception のクラス名 e){ ( 例外が発生した時の処理 ) finally{ ( 例外の発生の有無に関わらず 必ず行う処理 ) 3 Integer.parseInt() NumberFormatException
More informationALG ppt
2012 7 5 (sakai.keiichi@kochi-tech.ac.jp) http://www.info.kochi-tech.ac.jp/k1sakai/lecture/alg/2012/index.html (198 ) f(p) p 2 1 2 f 2 53 12 41 69 11 2 84 28 31 63 97 58 76 19 91 88 53 69 69 11 84 84 63
More information17 1. strucr Potter ( ) Harry Potter and the Philosopher s Stone 1997 English Title : Harry Potter and the Philosopher s Stone : : 1997 #include<stdio
17 1. strucr Potter ( ) Harry Potter and the Philosopher s Stone 1997 English Title : Harry Potter and the Philosopher s Stone : : 1997 #include typedef struct Potter{ Potter; int main(void){
More informationr3.dvi
00 3 2000.6.10 0 Java ( 7 1 7 1 GSSM 1? 1 1.1 4 4a 4b / / 0 255 HTML X 0 255 16 (0,32,255 #0020FF Java xclock -bg #0020FF xclock ^C (Control C xclock 4c 1 import java.applet.applet; import java.awt.*;
More information226
226 227 Main ClientThread Request Channel WorkerThread Channel startworkers takerequest requestqueue threadpool WorkerThread channel run Request tostring execute name number ClientThread channel random
More informationPowerPoint プレゼンテーション
Unity はじめるよ ~AssetBundle 基礎 ~ 統合開発環境を内蔵したゲームエンジン http://japan.unity3d.com/ いろんな職業の方が見る資料なので説明を簡単にしてある部分があります 正確には本来の意味と違いますが上記理由のためです ご了承ください この資料内の一部の画像 一部の文章は Unity 公式サイトから引用しています アセットバンドルって? アセットバンドルって?
More informationRT300/140/105シリーズ 取扱説明書
REMOTE & BROADBAND ROUTER RT300i/RT140p/RT140f/RT140i RT140e/RT105p/RT105i/RT105e 2 3 4 5 6 7 8 9 10 Bold face Enter Ctrl Tab BS Del Console RT105i RT300i RT140p RT140f RT140i RT140e RT105p RT105i RT105e
More informationJava (5) 1 Lesson 3: x 2 +4x +5 f(x) =x 2 +4x +5 x f(10) x Java , 3.0,..., 10.0, 1.0, 2.0,... flow rate (m**3/s) "flow
Java (5) 1 Lesson 3: 2008-05-20 2 x 2 +4x +5 f(x) =x 2 +4x +5 x f(10) x Java 1.1 10 10 0 1.0 2.0, 3.0,..., 10.0, 1.0, 2.0,... flow rate (m**3/s) "flowrate.dat" 10 8 6 4 2 0 0 5 10 15 20 25 time (s) 1 1
More informationr2.dvi
2002 2 2003.1.29 1 2.1-2.3 (1) (2) 2.4-2.6 (1)OO (2)OO / 2.7-2.10 (1)UML (2) Java 3.1-3.3 (1) (2)GoF (3)WebSphere (4) 3.4-3.5 3.6-3.9 Java (?) 2/12( ) 20:00 2 (2 ) 3 Java (?)1 java.awt.frame Frame 1 import
More informationLocal variable x y i paint public class Sample extends Applet { public void paint( Graphics gc ) { int x, y;... int i=10 ; while ( i < 100 ) {... i +=
Safari AppletViewer Web HTML Netscape Web Web 13-1 Applet Web Applet init Web paint Web start Web HTML stop destroy update init Web paint start Web update Event Driven paint Signature Overwriting Overriding
More informationSafari AppletViewer Web HTML Netscape Web Web 15-1 Applet Web Applet init Web paint Web start Web HTML stop destroy update init Web paint start Web up
Safari AppletViewer Web HTML Netscape Web Web 15-1 Applet Web Applet init Web paint Web start Web HTML stop destroy update init Web paint start Web update Event Driven paint Signature Overwriting Overriding
More informationMicrosoft Word - ランチョンプレゼンテーション詳細.doc
PS1-1-1 PS1-1-2 PS1-1-3 PS1-1-4 PS1-1-5 PS1-1-6 PS1-1-7 PS1-1-8 PS1-1-9 1 25 12:4514:18 25 12:4513:15 B PS1-1-10 PS1-2-1 PS1-2-2 PS1-2-3 PS1-2-4 PS1-2-5 PS1-2-6 25 13:1513:36 B PS1-2-7 PS1-3-1 PS1-3-2
More information明解Javaによるアルゴリズムとデータ構造
21 algorithm List 1-1 a, b, c max Scanner Column 1-1 List 1-1 // import java.util.scanner; class Max3 { public static void main(string[] args) { Scanner stdin = new Scanner(System.in); Chap01/Max3.java
More informationRT300i/RT140x/RT105i 取扱説明書
2 3 4 5 6 7 8 9 10 Bold face Enter Ctrl Tab BS Del Typewriter face RT105i RT300i RT140p RT140f RT140i RT140e RT105i RT300i 11 RARP 9600 bit/s 8 http://www.rtpro.yamaha.co.jp/ ftp.rtpro.yamaha.co.jp 12
More informationC# ++ MASA C# ( ) XNA 1.1 C# ( ) VisualStuio XNA 4.0 VisualStuio XNA 3.1 * * *3 2.1 VisualStuio Windows ( TextGam
C# ++ MASA 2011 8 1 C# ( ) XNA 1.1 C# ( ) VisualStuio 2010 + XNA 4.0 VisualStuio 2008 + XNA 3.1 *1 1.2 1 *2 1.3 2 *3 2.1 VisualStuio Windows ( TextGame2 ) OK *1 XNA 3.1 4.0 *2 *3 1 TextGame2 ( Ship ) 32*32
More informationやさしいJavaプログラミング -Great Ideas for Java Programming サンプルPDF
pref : 2004/6/5 (11:8) pref : 2004/6/5 (11:8) pref : 2004/6/5 (11:8) 3 5 14 18 21 23 23 24 28 29 29 31 32 34 35 35 36 38 40 44 44 45 46 49 49 50 pref : 2004/6/5 (11:8) 50 51 52 54 55 56 57 58 59 60 61
More information2 1 Web Java Android Java 1.2 6) Java Java 7) 6) Java Java (Swing, JavaFX) (JDBC) 7) OS 1.3 Java Java
1 Java Java 1.1 Java 1) 2) 3) Java OS Java 1.3 4) Java Web Start Web / 5) Java C C++ Java JSP(Java Server Pages) 1) OS 2) 3) 4) Java Write Once, Run Anywhere 5) Java Web Java 2 1 Web Java Android Java
More information解きながら学ぶC++入門編
!... 38!=... 35 "... 112 " "... 311 " "... 4, 264 #... 371 #define... 126, 371 #endif... 369 #if... 369 #ifndef... 369 #include... 3, 311 #undef... 371 %... 17, 18 %=... 85 &... 222 &... 203 &&... 40 &=...
More informationA B 1: Ex. MPICH-G2 C.f. NXProxy [Tanaka] 2:
Java Jojo ( ) ( ) A B 1: Ex. MPICH-G2 C.f. NXProxy [Tanaka] 2: Java Jojo Jojo (1) :Globus GRAM ssh rsh GRAM ssh GRAM A rsh B Jojo (2) ( ) Jojo Java VM JavaRMI (Sun) Horb(ETL) ( ) JPVM,mpiJava etc. Send,
More information2 ColorSpace DepthSpace CameraSpace Kinect V2 Kinect V2 BOdyIndex 3. NtKinect Kinect V2 C++ NtKinect [4] NtKinect = Kinect SDK + + STL(C++) + OpenCV +
NtKinect: C++ Class Library for Kinect V2 1,a) Kinect for Windows V2 C++ NtKinect NtKinect DLL Kinect V2 Kinect V2, C++, DLL, Unity NtKinect: C++ Class Library for Kinect V2 Nitta Yoshihisa 1,a) Abstract:
More informationThread
14 2013 7 16 14.1....................................... 14 1 14.2 Thread................................... 14 1 14.3............................. 14 5 14.4....................................... 14 10
More informationJava プログラミング Ⅰ 3 回目変 数 今日の講義講義で学ぶ内容 変数とは 変数の使い方 キーボード入力の仕方 変 数 変 数 一時的に値を記憶させておく機能 変数は 型 ( データ型 ) と識別子をもちます 2 型 ( データ型 ) 変数に記憶する値の種類変数の型は 記憶できる値の種類と範囲
Java プログラミング Ⅰ 3 回目変 数 今日の講義講義で学ぶ内容 変数とは 変数の使い方 キーボード入力の仕方 変 数 変 数 一時的に値を記憶させておく機能 変数は 型 ( データ型 ) と識別子をもちます 2 型 ( データ型 ) 変数に記憶する値の種類変数の型は 記憶できる値の種類と範囲を決定します 次の型が利用でき これらの型は特に基本型とよばれます 基本型 値の種類 値の範囲 boolean
More informationJAVA H13 OISA JAVA 1
JAVA H13 OISA JAVA 1 ...3 JAR...4 2.1... 4 2.2... 4...5 3.1... 5 3.2... 6...7 4.1... 7 4.2... 7 4.3... 10 4.4...11 4.5... 12 4.6... 13 4.7... 14 4.8... 15 4.9... 16...18 5.1... 18 5.2...19 2 Java Java
More information解きながら学ぶJava入門編
44 // class Negative { System.out.print(""); int n = stdin.nextint(); if (n < 0) System.out.println(""); -10 Ÿ 35 Ÿ 0 n if statement if ( ) if i f ( ) if n < 0 < true false true false boolean literalboolean
More information新・明解Java入門
537,... 224,... 224,... 32, 35,... 188, 216, 312 -... 38 -... 38 --... 102 --... 103 -=... 111 -classpath... 379 '... 106, 474!... 57, 97!=... 56 "... 14, 476 %... 38 %=... 111 &... 240, 247 &&... 66,
More informationMicrosoft Word - keisankigairon.ch doc
1000000100001010 1000001000001011 0100001100010010 1010001100001100 load %r1,10 load %r2,11 add %r3,%r1,%r2 store %r3,12 k = i + j ; = > (* 1 2 3 4 5 6 7 8 9 10) 3628800 DO 3 I=1,3 DO3I=1.3 DO3I 1.3
More informationVB.NETコーディング標準
(C) Copyright 2002 Java ( ) VB.NET C# AS-IS extremeprogramming-jp@objectclub.esm.co.jp bata@gold.ocn.ne.jp Copyright (c) 2000,2001 Eiwa System Management, Inc. Object Club Kenji Hiranabe02/09/26 Copyright
More informationJava演習(4) -- 変数と型 --
50 20 20 5 (20, 20) O 50 100 150 200 250 300 350 x (reserved 50 100 y 50 20 20 5 (20, 20) (1)(Blocks1.java) import javax.swing.japplet; import java.awt.graphics; (reserved public class Blocks1 extends
More informationScalaFukuoka 2017 Backlog.key
[T] => -> Option Optional val & var let & var for implicit class Foo(val a: String) { def foo: Int = 3 * a.toint } 9.foo extension String { var foo: Int { return 3 * Int(self)! } } 9.foo struct Foo
More informationJavaプログラミングⅠ
Java プログラミング Ⅰ 3 回目変数 今日の講義で学ぶ内容 変数とは 変数の使い方 キーボード入力の仕方 変 数 変 数 一時的に値を記憶させておく機能です 変数は 型 ( データ型ともいいます ) と識別子をもちます 2 型 変数に記憶できる値の種類です型は 値の種類に応じて次の 8 種類があり これを基本型といいます 基本型値の種類値の範囲または例 boolean 真偽値 true または
More information10K pdf
#1 #2 Java class Circle { double x; // x double y; // y double radius; // void set(double tx, double ty){ x = tx; y = ty; void set(double tx, double ty, double r) { x = tx; y = ty; radius = r; // Circle
More information…E…B…U†[…h‡ðŠp‡¢‡½‚ΟbfiI…v…“…O…›…•‡Ì’¶’¬‡Ì™ñ‹Ä
26 1111164 2015 1 28 1,,..,., Microsoft.NET GUI, Mustache.,..NET 2 3 4 5 1 1.1., [1].,,. 1.2 Visual Programming Language,,.,,.,,. 1.3,.,. 1.4.,,. 2,. 3,. 4,. 1 6 5,. 6,. 7 2, 2.1 Visual Programming Language
More informationPowerPoint プレゼンテーション
Java J2EE Spring Spring Dependency Injection AOP Java J2EE 2 4 Application Java Enterprise API 5 6 mod_jk2 AJP13 Coyote/JK2 Connector Session Apache2 Tomcat5-a AJP13 Coyote/JK2 Connector Session Tomcat5-b
More informationアルゴリズムとデータ構造1
1 2007 6 26 26 (sakai.keiichi@kochi sakai.keiichi@kochi-tech.ac.jp) http://www.info.kochi-tech.ac.jp/k1sakai/lecture/alg/2007/index.html tech.ac.jp/k1sakai/lecture/alg/2007/index.html FIFO (46 ) head,
More informationMicrosoft PowerPoint - 04.pptx
初期化 コールバック関数の登録 glutmainloop() 描画関数 マウス処理関数 キーボード処理関数などの関数ポインタを登録する イベント待ちの無限ループ 再描画? no マウス入力? no キーボード入力? no yes yes yes 描画関数の呼び出し マウス処理関数の呼び出し キーボード処理関数の呼び出し void keyboard(unsigned char key, int x,
More information< F2D82B682E182F182AF82F12E6A7464>
3 人のじゃんけん [Java アプレット ] [Java アプリケーション ] 1. はじめに A 君 B 君 C 君の 3 人でじゃんけんを 1 回するときの勝ち負けを考えてみましょう あいこの場合は A 君 B 君 C 君の順に グー グー グー チョキ チョキ チョキ パー パー パー グー チョキ パー グー パー チョキ チョキ グー パー チョキ パー グー パー グー チョキ パー
More informationTopLink å SampleClient.java... 5 Ò readallsample() querysample() cachesample() Ç..
lê~åäé= qçéiáåâ= NMÖENMKNKPF Volume2 Creation Date: Mar 04, 2005 Last Update: Aug 22, 2005 Version 1.0 ...3... 3 TopLink å...4 1... 4... 4 SampleClient.java... 5 Ò... 8... 9... 10 readallsample()... 11
More informationJava (9) 1 Lesson Java System.out.println() 1 Java API 1 Java Java 1
Java (9) 1 Lesson 7 2008-05-20 Java System.out.println() 1 Java API 1 Java Java 1 GUI 2 Java 3 1.1 5 3 1.0 10.0, 1.0, 0.5 5.0, 3.0, 0.3 4.0, 1.0, 0.6 1 2 4 3, ( 2 3 2 1.2 Java (stream) 4 1 a 5 (End of
More informationALG ppt
2012 6 21 (sakai.keiichi@kochi-tech.ac.jp) http://www.info.kochi-tech.ac.jp/k1sakai/lecture/alg/2012/index.html 1 l l O(1) l l l 2 (123 ) l l l l () l H(k) = k mod n (k:, n: ) l l 3 4 public class MyHashtable
More informationMPI MPI MPI.NET C# MPI Version2
MPI.NET C# 2 2009 2 27 MPI MPI MPI.NET C# MPI Version2 MPI (Message Passing Interface) MPI MPI Version 1 1994 1 1 1 1 ID MPI MPI_Send MPI_Recv if(rank == 0){ // 0 MPI_Send(); } else if(rank == 1){ // 1
More informationtry catch Exception Java try catch try { } catch ( Exception e ) { } e 16-1 try catch 0 try { int x = 0; int y = 10 / x; } catch ( Exception e ) { Sys
try catch Exception Java try catch catch ( Exception e ) { e 16-1 try catch 0 int x = 0; int y = 10 / x; catch ( Exception e ) { System.err.println( " " ); Copyright by Tatsuo Minohara 2004 Rev. C on Dec.
More informationJava3D
Java3D 00251586 2004 2 12 Java3D 00251586 Java3D Java Java3D Java3D, 2004 2 12. i 1 1 2 Java3D 2 2.1 Java............................... 2 2.2 Java3D.............................. 2 2.3 Java3D.........................
More informationK227 Java 2
1 K227 Java 2 3 4 5 6 Java 7 class Sample1 { public static void main (String args[]) { System.out.println( Java! ); } } 8 > javac Sample1.java 9 10 > java Sample1 Java 11 12 13 http://java.sun.com/j2se/1.5.0/ja/download.html
More informationuntitled
2011 6 20 (sakai.keiichi@kochi-tech.ac.jp) http://www.info.kochi-tech.ac.jp/k1sakai/lecture/alg/2011/index.html tech.ac.jp/k1sakai/lecture/alg/2011/index.html html 1 O(1) O(1) 2 (123) () H(k) = k mod n
More informationUnity for PlayStationMobile (Public) Japanese
Unity for PlayStation Mobile Erik Hemming Unity Technologies Mobile Mechanic / PlayStation Protégé & Lead Developer of Strategic Technology PlayStation Mobile? Unity for PSM? Build & Run / Input / API
More information「Android Studioではじめる 簡単Androidアプリ開発」正誤表
Android Studio Android 2016/04/19 Android Studio Android *1 Android Studio Android Studio Android Studio Android Studio Android PDF : Android Studio Android Android Studio Android *2 c R TM *1 Android
More information18 (1) US (2) US US US 90 (3) 2 8 1 18 108 2 2,000 3 6,000 4 33 2 17 5 2 3 1 2 8 6 7 7 2 2,000 8 1 8 19 9 10 2 2 7 11 2 12 28 1 2 11 7 1 1 1 1 1 1 3 2 3 33 2 1 3 2 3 2 16 2 8 3 28 8 3 5 13 1 14 15 1 2
More informationPageScope Box Operator Ver. 3.2 Box Operator !. - - 2! - - 2 - 2 - - - - - - - - - - - - - 2 2-2 2-2 - - - 1 2 3 4 2 - 2 - - - - - - - - - - 2 - - - - - - - - - 2 0 - - 2 0 - - 2 0 - -
More informationWinHPC ppt
MPI.NET C# 2 2009 1 20 MPI.NET MPI.NET C# MPI.NET C# MPI MPI.NET 1 1 MPI.NET C# Hello World MPI.NET.NET Framework.NET C# API C# Microsoft.NET java.net (Visual Basic.NET Visual C++) C# class Helloworld
More informationアルゴリズムとデータ構造1
1 2005 7 22 22 (sakai.keiichi@kochi sakai.keiichi@kochi-tech.ac.jp) http://www.info.kochi-tech.ac.jp/k1sakai/lecture/alg/2005/index.html tech.ac.jp/k1sakai/lecture/alg/2005/index.html f(0) = 1, f(x) =
More informationJava演習(9) -- クラスとメソッド --
Java (9) Java (9) Java (9) 3 (x, y) x 1 30 10 (0, 50) 1 2 10 10 (width - 10, 80) -2 3 50 10 (width / 2, 110) 2 width 3 (RectMove4-1.java) import javax.swing.japplet; import javax.swing.timer; import java.awt.graphics;
More informationVuzix M100 SDKインストールガイド
Vuzix M100 SDK Vuzix Corporation. 2015-12-24 1 SDK Vuzix M100 SDK Android Studio 1.1 Add-on Vuzix M100 1.1.1 Android Studio Configure SDK Manager SDK Update Sites Name Vuzix M100 SDK URL URL *1 * http://vuzix.com/k79g75yxos/addon.xml
More information1
DVC512/DVC512GOLD 日本語取扱説明書 1 3 3 3 USB/DMX 4 6 6 SETUP 7 8 9 9 10 11 11 12 12 12 13 13 14 15 AUTO/LTP/HTP 16 17 17 18 19 19 Scene Audio BPM Sync 20 Audio BPM Sync21 21 22 22 23 24 Tricks & Tips25 3 XLR
More informationcpp1.dvi
2017 c 1 C++ (1) C C++, C++, C 11, 12 13 (1) 14 (2) 11 1 n C++ //, [List 11] 1: #include // C 2: 3: int main(void) { 4: std::cout
More information< F2D825282CC947B909482CC A815B83682E6A>
3 の倍数のトランプカード 1. はじめに [Java アプレット ] [Java アプリケーション ] ここにトランプが 1 組あります ジョーカー 2 枚を除いて 52 枚を使います 3 の倍数は スペード クローバ ダイヤ ハートに それぞれ 3 と 6 と 9 と 12 の 4 枚ずつあるので 4 4=16 枚あります この 52 枚のトランプから 1 枚引いたとき そのカードが 3 の倍数である確率を考えます
More information** 平成 16 年度 FE 午後問題 Java** 示現塾プロジェクトマネージャ テクニカルエンジニア ( ネットワーク ) など各種セミナーを開催中!! 開催日 受講料 カリキュラム等 詳しくは 今すぐアクセス!! 平成 16
平成 16 年度春期 FE 午後問題 Java 問 8 次の Java プログラムの説明及びプログラムを読んで, 設問に答えよ プログラムの説明 このプログラムは, 数量の単位変換を行う共通機能を提供するクラス群と, それらのテストプログラムからなる テストプログラムでは, セルシウス温度 ( セ氏温度, ) 及びカ氏温度 ( F ) の変換を行うクラスを利用する (1) インタフェース Converter
More information< F2D834F838C A815B A CC>
グレゴリー ライプニッツの公式 [Java アプレット ] [Java アプリケーション ] 1. はじめに 次のグレゴリー ライプニッツの公式を用いて π の近似値を求めてみましょう [ グレゴリー ライプニッツの公式 ] π 4 =1-1 3 + 1 5-1 7 + 1 9-1 + 11 シミュレーションソフト グレゴリー ライプニッツの公式による π の近似 を使って π の近似値が求まる様子を観察してみてください
More information< F2D82518CC282CC D2E6A7464>
2 個のさいころ 1. はじめに [Java アプレット ] [Java アプリケーション ] 2 個のさいころを同時に投げたときの目の出方を考えてみましょう この 2 個のさいころをそれぞれ さいころ Ⅰ さいころ Ⅱ とすると その目の出方は順に 1 1 2 1 3 1 4 1 5 1 6 1 1 2 2 2 3 2 4 2 5 2 6 2 1 3 2 3 3 3 4 3 5 3 6 3 1 4
More informationcaimmetal03.key
import UIKit // ID let ID_VERTEX:Int = 0 let ID_PROJECTION:Int = 1 // 1 struct VertexInfo : Initializable { var pos:vec4 = Vec4() var uv:vec2 = Vec2() var rgba:caimcolor = CAIMColor() // struct Particle
More informationy a y y b e
DIGITAL CAMERA FINEPIX F1000EXR BL01893-100 JA http://fujifilm.jp/personal/digitalcamera/index.html y a y y b e 1 2 P 3 y P y P y P y P y P Q R P R E E E E Adv. SP P S A M d F N h Fn R I P O X Y b I A
More information< F2D B838A835882CC8CF68EAE2E6A7464>
ウォーリスの公式 [Java アプレット ] [Java アプリケーション ] 1. はじめに 次のウォーリスの公式を用いて π の近似値を求めてみましょう [ ウォーリスの公式 ] π=2{ 2 2 4 4 6 6 1 3 3 5 5 7 シミュレーションソフト ウォーリスの公式による π の近似 を使って π の近似値が求まる様子を観察してみてください 2.Java アプレット (1) Javaプログラムリスト
More information$ java StoreString abc abc ed abced twice abcedabced clear xyz xyz xyz bingo! abc bingo!abc ^Z mport java.io.*; ublic class StoreString { public static void main(string[] args) throws IOException{ BufferedReader
More informationデジタル表現論・第4回
デジタル表現論 第 4 回 劉雪峰 ( リュウシュウフォン ) 2016 年 5 月 2 日 劉 雪峰 ( リュウシュウフォン ) デジタル表現論 第 4 回 2016 年 5 月 2 日 1 / 14 本日の目標 Java プログラミングの基礎 出力の復習 メソッドの定義と使用 劉 雪峰 ( リュウシュウフォン ) デジタル表現論 第 4 回 2016 年 5 月 2 日 2 / 14 出力 Systemoutprint()
More information「東京こどもネット・ケータイヘルプデスク(こたエール)」平成22年度相談実績の概要
734, 35% 62, 11% 84, 16% 530, 26% 235, 11% PC) 396, 73% 579, 28% ) (21 ) 2 3 4 5 6 7 8 9 10 11 12 13 200 150 100 22 182 200 150 100 22 50 54 PC 49 52 PC 50 41 14 17 1 1 4 16 3 6 14 180 250 200 150 235
More information6 30 2005 10 1 65 2,682 00 21.9 481 1 2,776 21.0 15 1,740 00 5.8 107 13.6 40 2025 24.2-0 - -1 - -2 - -3 - -4 - -5 - -6 - -7 - -8- -9 - - 10 - -11 - - 12 - - 13-10 11 59 4 59 3 10 17 - 14 - - 15 - - 16
More information2014-11.key
2014-11 1 2 3 4 5 7 8 9 10 11 12 PC 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 45 46 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68
More informationJavaプログラミングⅠ
Java プログラミング Ⅰ 12 回目クラス 今日の講義で学ぶ内容 クラスとは クラスの宣言と利用 クラスの応用 クラス クラスとは 異なる複数の型の変数を内部にもつ型です 直観的に表現すると int 型や double 型は 1 1 つの値を管理できます int 型の変数 配列型は 2 5 8 6 3 7 同じ型の複数の変数を管理できます 配列型の変数 ( 配列変数 ) クラスは double
More informationN 体問題 長岡技術科学大学電気電子情報工学専攻出川智啓
N 体問題 長岡技術科学大学電気電子情報工学専攻出川智啓 今回の内容 天体の運動方程式 天体運動の GPU 実装 最適化による性能変化 #pragma unroll 855 計算の種類 画像処理, 差分法 空間に固定された観測点を配置 観測点 ( 固定 ) 観測点上で物理量がどのように変化するかを追跡 Euler 型 多粒子の運動 観測点を配置せず, 観測点が粒子と共に移動 Lagrange 型 観測点
More information< F2D8EA CE909482CC92EA82852E6A7464>
自然対数の底 e [Java アプレット ] [Java アプリケーション ] 1. はじめに 対数は 17 世紀にネイピアやビュルギといった数学者たちが生み出した関数である 円周率 πと自然対数の底 eとは密接な関係があり どちらも無理数で超越数 ( 整数係数の代数方程式の解にならない実数 ) である 1737 年 オイラーは eが無理数であることを示した 1873 年 フランスの数学者エルミートは
More informationcaimmetal03.key
import UIKit import simd // ID let ID_VERTEX:Int = 0 let ID_PROJECTION:Int = 1 // 1 struct Vertex { var pos:float2 = Float2() var uv:float2 = Float2() var rgba:float4 = Float4() // struct Particle { var
More informationジョインポイント写像に基づく ドメイン特化AO機構の開発手法
X Aspect Aspect Aspect Aspect Aspect Aspect Aspect Aspect Aspect Aspect Aspect in out in out in out in out in out in in out out in out in out in out in in out out in out in out in out in in out
More information