분류 전체보기
-
How to calculate mesh tangents for Unity Mesh유니티(Unity Engine) 2014. 9. 30. 19:40
[ 관련링크 ] http://www.terathon.com/code/tangent.html http://forum.unity3d.com/threads/how-to-calculate-mesh-tangents.38984/ http://feedback.unity3d.com/suggestions/recalculatetangents [ 내용 ] 0. 유니티의 Mesh.RecalculateNormals() 함수는 이름 그대로 노멀값만 계산 합니다. 1. 탄젠트 필드에는 알수 없는 값이 있는 듯 합니다. 2. 직접 계산해서 넣어줘야 합니다. 3. 사용자들이 탄젠트 계산함수로 RecalculateTangents() 요구 중 입니다. [ 한줄 요약 ] 내가 필요한 기능은 남들도 필요하고, 잘 찾아보면 역시나 있다.
-
Custom Mesh Importing in Unity - WIP유니티(Unity Engine) 2014. 9. 29. 21:47
[ 관련링크 ] http://docs.unity3d.com/ScriptReference/Mesh.html [ 내용 ] 0. 렌더몽키가 멀티 메시를 지원하지 않음. ㅠ,.ㅠ 1. 셰이더 교육용으로 유니티를 선택함. 2. 아름다운 모델 리소스가 필요해짐. 3. ActorX 의 PSK 파일 로딩. - 테라 리소스 사용할 수 있음. 4. Black Desert 의 PAC 파일 로딩. [ 요약 ] 1. 정점데이터 - 위치벡터 ( .vertices ) - 텍스쳐좌표 ( .uv , .uv2 ) - 법선벡터 ( .normals ) - 탄젠트벡터 ( .tangents ) 2. 인덱스데이터 - 인덱스 리스트 ( .triangles ) 3. 서브메시 - 갯수 설정 ( .subMeshCount ) - 서브메시별 인덱스리스트 ..
-
PSK Importer for RenderMonkeyShader 2014. 9. 23. 13:56
[ 준비물 ] 1. RenderMonkey SDK. 2. Visual Studio C++ 2005. [ 요약 ] 1. Help 메뉴 - PlugIn Wizard - GeometryLoader - PlugIn Name 단계로 생성 2. 파일 포맷에 맞게 다음 함수 구현하면 끝. - virtual void GetSupportedExtensions( RmLinkedList &formatDescriptions, RmLinkedList &formatExtensions ); - virtual bool CanLoadGeometry( const RM_TCHAR *strFileName ); - virtual bool LoadGeometry( const RM_TCHAR *strFileName, RmMeshModelCont..
-
셰이더란?Shader 2014. 9. 22. 15:16
[ 관련링크 ] http://en.wikipedia.org/wiki/Shader http://www.webopedia.com/TERM/S/shader.html http://kblog.popekim.com/2011/11/01-part-1.html [ 요약 ] 1. 정점의 위치와 픽셀의 색상을 계산해주는 GPU에서 실행되는 프로그램. 2. Transform and Lighting 를 해주는 GPU 에서 동작하는 조그마한 프로그램. 3. 화면에 존재하는 각 픽셀의 위치와 색상을 계산하는 함수. [ 구성 ] 1. 정점 셰이더 ( Vertex Shader ) 2. 픽셀 셰이더 ( Pixel Shader ) 3. 기하 셰이더 ( Geometry Shader ) 4. 테셀레이션 셰이더 ( Tessellation Sh..
-
RenderMonkeyShader 2014. 9. 22. 13:36
[ 관련링크 ] http://developer.amd.com/tools-and-sdks/archive/legacy-cpu-gpu-tools/rendermonkey-toolsuite/ http://developer.amd.com/tools-and-sdks/archive/legacy-cpu-gpu-tools/rendermonkey-toolsuite/# [ 요약 ] 0. 무료. 1. 셰이더 개발 툴. 2. 업그래이드 중지. 3. HLSL v3.0 까지 가능. 4. GLSL v2.0 까지 가능. 5. 플러그인 개발 가능.
-
Deffered ShadingDirectX 11 2014. 9. 16. 20:06
[ 관련 링크 ] http://www.catalinzima.com/xna/tutorials/deferred-rendering-in-xna/ http://www.slideshare.net/agebreak/ndc11-deferred-shading http://www.gamedev.net/topic/523567-problem-with-multi-render-targets-mrt-on-directx-hlsl-solved/ http://www.cnblogs.com/rickerliang/archive/2011/05/07/2040062.html http://www.codesampler.com/usersrc/usersrc_7.htm#dx9u_deferred_shading 1. 최근에 검은사막 렌더링이 맘에 들어 연구중..