91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 18KB
    文件類型: .zip
    金幣: 2
    下載: 0 次
    發布日期: 2021-06-01
  • 語言: 其他
  • 標簽: MMD插件??

資源簡介

MMD插件,做初音模型的時候,最需要用到的一個有用的插件。

資源截圖

代碼片段和文件信息

//?DxOpenNI??Version?1.30
//??Dinamic?link?library?of?OpenNI?for?DirectX?named?DxOpenNI.dll
//
//???This?program?is?modified?from?OpenNI?driver.
//???OpenNI?is?written?and?distributed?under?the?GNU?Lesser?General?Public?License
//??so?this?program(dll)?is?redistributed?under?the?terms?of?the?GNU?Lesser?General?Public?License
//??as?published?by?the?Free?Software?Foundation?either?version?3?of?the?License.
//???See?the?GNU?General?Public?License?for?more?details:?.
//?
//???偙偺僾儘僌儔儉偼OpenNI僪儔僀僶傪巊梡偟偰偄傑偡丅OpenNI偼GNU?LGPL儔僀僙儞僗偱偡丅
//???傛偭偰丄偙偺僾儘僌儔儉傕LGPL儔僀僙儞僗偵廬偄丄僜乕僗僐乕僪傪岞奐偡傞偙偲偲偟傑偡丅
//???側偍丄偙偺僾儘僌儔儉偼僟僀僫儈僢僋儕儞僋(dll)偲偟偰巊梡偡傞応崌丄偙偺dll傪棙梡偡傞
//??懠偺僾儘僌儔儉偼LGPL儔僀僙儞僗偵廬偆昁梫偼偁傝傑偣傫丅


//?include?files
#include?
#include?
#include?
#include?
#include?
#include?

//?export?functions
__declspec(dllexport)?bool?__stdcall?OpenNIInit(HWNDboolLPDIRECT3DDEVICE9WCHAR*CHAR*);
__declspec(dllexport)?void?__stdcall?OpenNIClean();
__declspec(dllexport)?void?__stdcall?OpenNIDrawDepthMap(bool);
__declspec(dllexport)?void?__stdcall?OpenNIDepthTexture(IDirect3DTexture9**);
__declspec(dllexport)?void?__stdcall?OpenNIGetSkeltonJointPosition(intD3DXVECTOR3*);
__declspec(dllexport)?void?__stdcall?OpenNIIsTracking(bool*);
__declspec(dllexport)?void?__stdcall?OpenNIGetVersion(float*);


//?include?libraries
#pragma?comment(lib?“openNI.lib“)

//?defines
#define?MAX_DEPTH 10000
#define?NCOLORS 10

//?callbacks
void?XN_CALLBACK_TYPE?User_NewUser(xn::UserGenerator&XnUserIDvoid*);
void?XN_CALLBACK_TYPE?User_LostUser(xn::UserGenerator&XnUserIDvoid*);
void?XN_CALLBACK_TYPE?UserCalibration_Calibrationstart(xn::SkeletonCapability&XnUserIDvoid*);
void?XN_CALLBACK_TYPE?UserCalibration_CalibrationEnd(xn::SkeletonCapability&XnUserIDXnBoolvoid*);
void?XN_CALLBACK_TYPE?UserPose_PoseDetected(xn::PoseDetectionCapability&const?XnChar*XnUserIDvoid*);

//?global?variables
xn::Context g_Context;
xn::DepthGenerator g_DepthGenerator;
XnBool g_bDrawPixels?=?TRUE;
XnBool g_bDrawBackground?=?FALSE;
XnBool g_bQuit?=?FALSE;
int texWidth;
int texHeight;
int TrCount[15];
float g_pDepthHist[MAX_DEPTH];
XnSkeletonJointPosition?BP_Zero;
D3DXVECTOR3 BP_Vector[18];?//?0:center?1:neck?2:head?3:shoulderL?4:elbowL?5:wristL?6:shoulderR?7:elbowR?8:wristR?9:legL?10:kneeL?11?ancleL?12:legR?13:kneeR?14:ancleR?15:torso?16:handL?17:handR
IDirect3DTexture9* DepthTex?=?NULL;
XnBool TrackingF?=?FALSE;
xn::UserGenerator g_UserGenerator;
XnBool g_bNeedPose?=?FALSE;
XnChar g_strPose[20]?=?““;
XnFloat Colors[][3]?={{011}{001}{010}{110}{100}{1.50}{.510}{0.51}{.501}{11.5}{111}};

//?DllMain
BOOL?WINAPI?DllMain(HINSTANCE?hinstDLL?DWORD?fdwReason?LPVOID?lpvReserved)
{
switch(?fdwReason?)
{
case?DLL_PROCESS_ATTACH:
break;

case?DLL_PROCESS_DETACH:
OpenNIClean()

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件???????15405??2011-01-23?23:31??DxOpenNI\DxOpenNI.cpp
?????文件???????22528??2011-01-24?00:15??DxOpenNI\DxOpenNI.dll
?????文件????????7816??2010-12-10?05:22??DxOpenNI\LGPL.txt
?????文件????????1532??2011-01-24?00:29??DxOpenNI\readme.txt
?????文件?????????792??2010-12-15?20:30??DxOpenNI\SamplesConfig.xml

評論

共有 條評論

相關資源