params->setNamedConstant("farCorner", farCorner);// get the fragment shader parametersparams = pass->getFragmentProgramParameters();// set the projection matrix we needstaticconstOgre::Matrix4CLIP_SPACE_TO_IMAGE_SPACE(0.5,0,0,0.5,0,-0.5,0,0.5,0,0,1,0,0,0,0,1);if(params->_findName...
///Setup shader static valuesprivatevoidgdInit(Xen.Graphics.ShaderSystem.ShaderSystemBase state){// set the graphics IDDrawGraphLine.gd = state.DeviceUniqueIndex;this.GraphicsID = state.DeviceUniqueIndex; DrawGraphLine.cid0 = state.GetNameUniqueID("graphLine"); } 开发者ID:shadarath,项目名称:Wir...
110V ~ 240VHam Amateur Radio GPS Position Multi Bands Receiver CTCSS DCS Detection Color LCD 999CH Intercom 220Mhz 250Mhz Two Way RadiosHandmade Case for iPhone 14 pro max case Cartoon Rabbit DIY Customized phone Cover iP 11 12 13 cream shell Kawaii girl giftHandmade DIY Case for iPhone 11...
world._42 += parameter_.position_.y_; world._43 += parameter_.position_.z_; D3DXMATRIX view, projection, wvp; device->GetTransform(D3DTS_VIEW, &view); device->GetTransform(D3DTS_PROJECTION, &projection); wvp = world * view * projection; shader_->vertex_table()->SetMatrix( device,"...
deformer->pBone->getPosition() + Vector3::UNIT_X * boneLen); } } } 开发者ID:albmarvil,项目名称:The-Eternal-Sorrow,代码行数:54,代码来源:OgreXSISkeletonExporter.cpp 示例3: linkBoneWithParent ▲点赞 3▼ //---voidXsiSkeletonExporter::linkBoneWithParent(DeformerEntry* child, DeformerMap& d...
}// make sure the node is set up for auto-z-update if necessary:configureForAltitudeMode( _mapPosition.altitudeMode() );// and update the node.if( !updateTransforms(_mapPosition) )returnfalse;returntrue; } 开发者ID:ender35,项目名称:osgearth,代码行数:28,代码来源:OrthoNode.cpp ...