|
本帖最后由 archer 于 2009-8-21 10:55 编辑
osgnvcgfx示例代码里面的layers.cgfx文件我找不到,再网上下了其他的cgfx文件,加载后总是出错。
提示“osgNVCg::Effect: Parameter 'WorldITXf' not supported to be loaded now.”
堆栈情况如下
osgNVCgd.dll!std::vector<_CGparameter *,std::allocator<_CGparameter *> >::size() Line 703 + 0x3 bytes C++
osgNVCgd.dll!osg::buffered_object<_CGparameter *>:perator[](unsigned int pos=0) Line 109 + 0x8 bytes C++
osgNVCgd.dll!osgNVCg:arameter::setHandle(osg::State & state={...}, _CGparameter * param=0x0000000f) Line 70 + 0xf bytes C++
osgNVCgd.dll!osgNVCg::Effect::create(osg::State & state={...}) Line 235 C++
osgNVCgd.dll!osgNVCg::Effect::compileGLObjects(osg::State & state={...}) Line 76 + 0xc bytes C++
osg55-osgd.dll!osg::StateSet::compileGLObjects(osg::State & state={...}) Line 1323 + 0x31 bytes C++
请问怎么让osgnv加载cgfx文件呢?
osg2.8 vs2005 xp |
|