Unity VFX Graph : 3d obj -> 2D texture map(position, color)/ SDF?
참고 : https://note.com/fuqunaga/n/n8095638b6b14#DZKZw
VFX Graph の可能性を探る!PointCache動的生成、VAT拡張|fuqunaga|note
こちらは【unityプロ技②】 Advent Calendar 2019 24日の記事になります。 本記事では2つ VFX Graph で使えそうな拡張技術について検証してみました。VFX Graph 自体の使い方にはあまり触れていない
note.com
SDF 는 Signed Distance Field 의 약자이다.
https://www.youtube.com/watch?v=UOrsOO9QmUc&t=18s
https://github.com/xraxra/SDFr.git
GitHub - xraxra/SDFr: a signed distance field baker for Unity
a signed distance field baker for Unity. Contribute to xraxra/SDFr development by creating an account on GitHub.
github.com
오류 1
https://wonilmax.tistory.com/285
Unity 3D 오류: Getting Deterministic compilation failed
Getting Deterministic compilation failed After Reinstalling unity and open old project. Error : Deterministic compilation failed. You can disable Deterministic builds in Player Settings Library\Pack..
wonilmax.tistory.com
오류
cmd.SetComputeBufferData(m_GPUConstantBuffer, m_Data);
해결 오류난 스크립트에 유징 추가
using System;
using System.Runtime.InteropServices;
using Sirenix.OdinInspector;//Used to create an easy [Button]
using Unity.Collections;
using UnityEngine;
using UnityEngine.Rendering;
오류 error CS0246: The type or namespace name 'VFXOutputEventArgs' could not be found
bake
sdf
2019 버전으로 유니티 열면 해결됨
다른 방법
keijiro *****
ply unity import
https://github.com/keijiro/Pcx
GitHub - keijiro/Pcx: Point cloud importer & renderer for Unity
Point cloud importer & renderer for Unity. Contribute to keijiro/Pcx development by creating an account on GitHub.
github.com
git down
pcx
ply 파일
포지션맵 컬러맵으로 변환가능.
https://blog.naver.com/qkryewon/222542283310
[Point Cloud] ply파일 Unity로 변환.
https://github.com/keijiro/Pcx 1. manifest.json 파일 수정하기. 2. 원하는 ply파일 임포트. https://sk...
blog.naver.com