Entries from 2020-01-01 to 1 year
高級フレンチに行くことになった マナー知らないから教えてもらっていい? ナイフとフォークが左右に何本かならんでる 端から使ってく 真ん中からはダメ 店内は静かに、高級店だからね 料理が終わったらフォークとナイフをななめにおく 終わりっていう合図 …
エフェクトA 対象物B カメラ位置C エフェクトAは、複数の時間で撮影された画像から、マップにしたがって、どの時間を選ぶが決めて、1枚の絵にする 対象物B カメラ位置C BとCも重要になってくる。Cは固定がいい、カオスになりすぎ AとBは連動させるとおもし…
消費税の申請 売上1000万円超えなければ消費税をおさめるのは免除。 売上1000万円超えると超えた年の翌年、税務署から「消費税課税事業者届出書」出せって言われる。出さないとダメ。 超えた年の 次の次の年が最初の課税対象になる。1000万円超えてなくても…
便利! AR Foundation Editor Remote | Utilities Tools | Unity Asset Store 入れるとPluginいかにARRemoteInstallerフォルダがある project settingのxrの項目のpcのエディタの設定でremoteにチェック入れる そのフォルダにあるInstallerを選択し、インス…
answers.unity.com
影だけ出すシェーダー //screen mapping //https://light11.hatenadiary.com/entry/2018/06/13/235543 //lighting //http://alfa.hatenablog.jp/entry/2015/08/16/195933 Shader "Unlit/ScreenMappingShadowTrans" { Properties { //camer texture _MainTex …
残像 https://www.youtube.com/watch?v=J2Egalhe4ng スリットスキャン https://www.youtube.com/watch?v=MlSIa-Ady20 スリットスキャン改
swizzle を使う。多分忘れる
単語 意味 表象 一般には、知覚したイメージを記憶に保ち、再び心のうちに表れた作用をいう 象嵌 創発 縮退 3次元の立体を影などの2時現に変換した時形の情報が失われること 捨象 (概念を抽象する作用の反面として)現象の特性・共通性以外を問題とせず、…
「異なった環境に置くこと」を意味するフランス語で、シュルレアリスムの手法の1つ 場所のデペイズマン - 本来の語源的意味。物をそれが本来あるはずがない場所に置くこと。 大きさのデペイズマン - 対象を実際よりもはるかに大きく、あるいは小さく描くこと…
XCodeで、iPhone is not available. please reconnect the device. って出たときの対策。 その1 iPhoneを再起動 その2 macを再起動 その3 betaなど、別のXCodeが入ってたら、そっちでビルドする。 結構うまくいく気がする。これが手軽かも。
画像をforループでいっぱいキャプチャする 文字をRenderTextureにキャプチャしたくて _camera.Renderをforループで回したらいけた using System.Collections; using System.Collections.Generic; using UnityEngine; using TMPro; public class TextsCapture…
シグモイド関数 float y(float x) { float contrast=16.0;//4.0,8.0,16.0 return 1.0/(1.0+exp(-contrast*(x-0.5))); //return 1.0/(1.0+exp(-(x-0.5))); } 参考 シェーダ
fract like triangle wave UVをミラー的に折り返したいとき。 GLSL Grapher で描画 float y(float x) { return abs(2.0*fract(0.5*x-0.5)-1.0); } unityのシェーダーで。 //hlsl float2 sankaku(float2 x) { return abs(2.0*frac(0.5*x-0.5)-1.0); } 参考 gl…
forum.unity.com
qiita.com
mochimoffu.hateblo.jp marupeke296.com
dev.classmethod.jp
note.com using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.Events; // コールバックテスト public class MyCallbackTest : MonoBehaviour { // UnityEventの定義 UnityEvent unityEvent; // スタート時…
answers.unity.com Vector3 lPos; // your local pos Vector3 wPos = transform.TransformPoint(lPos); //is the same as Vector3 wPos = transform.localToWorld * new Vector4(lPos.x, lPos.y, lPos.z, 1f); //or just Vector3 wPos = transform.localToWo…
projectionMatrixかviewMatrixがバグってる.たぶんprojection. _projMat = _camera.projectionMatrix; _viewMat = _camera.worldToCameraMatrix; これをつかってスクリーンスペースのプロジェクションをしようとしたら、なんかおかしい。 ポストエフェクトを…
画像サイズ 公式 https://help.apple.com/app-store-connect/#/dev4e413fcb8 サイズ iPhoneのサイズ 5.5 インチ(iPhone 6など) Video 1080 × 1920 (横:1920 x 1080 ) Image 1242 × 2208 (横:2208 x 1242) 6.5 インチ(iPhone Xなど) Video 886 x 1920 (横…
Split the connected triangles. ポリゴンを分解する gist.github.com
xtrend.nikkei.com
www.jyuko49.com
baba-s.hatenablog.com
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.Rendering; public class SpriteUV { public static Vector4 GetUv(int idx,int numX, int numY){ int splitX = numX; int splitY = numY; int xx = idx…
GameViewのMute Audioのせいでした。わかりづれえ
There is ARKitBackground.shader in Library/PackageCache. Copy and rewrite it. I added it so that you can change the brightness. gist.github.com
抽象と具体という視点を持つといい。 他人に作品のアドバイスする時もその視点を持つ。 抽象 作品コンセプトやアイデア whyの問いから生まれる 具体 作り方やディティール howの問いから生まれる コンセプトが曖昧なものや、弱いものは whyの問いがたりない…