Re: [osg-users] can't remove all PrimitiveSet

2008-05-27 Thread IceSharK
Paul , thank you. Yes, the right way is : *geometry->removePrimitiveSet( 0 , geometry->getNumPrimitiveSets() );* The problem is caused by my another code. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/list

[osg-users] can't remove all PrimitiveSet

2008-05-21 Thread IceSharK
mitiveSet()" or "clear()" //---- thanks. ---IceSharK ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

[osg-users] OpenSceneGraph\osgUtil\StateGraph error C2593: 'operator !=' is ambiguous

2008-04-09 Thread IceSharK
Hi~All error C2593: 'operator !=' is ambiguous OpenSceneGraph\osgUtil\StateGraph 217 271 for(std::vector::reverse_iterator itr=return_path.rbegin(); *itr!=return_path.rend();* ++itr) IceSharK ___ osg-users mailing list

Re: [osg-users] ScalarBar bug (Robert Osfield)

2008-03-24 Thread IceSharK
se local font. ----- And IceSharK is my nickname, you can call me steven. : ) - Hi "What

[osg-users] ScalarBar bug

2008-03-24 Thread IceSharK
Hi~ All scalarBar->setTitle( ) /** Set the title for the ScalarBar, set "" for no title. */ void setTitle(const std::string& title); why not support osgText::String ? ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.o

[osg-users] SmoothVisitor bug

2008-03-24 Thread IceSharK
Hi~ All when using osg::Vec3 , smoothingVisitor.smooth( *geometry ); goes well. when using osg::Vec3d , smoothingVisitor.smooth( *geometry ); can not work. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/lis

Re: [osg-users] about compass

2008-03-11 Thread IceSharK
Hi~ scene have a model and a compass which using camere hud. how to rotate compass follow model's rotation making by user input ? On 3/4/08, IceSharK <[EMAIL PROTECTED]> wrote: > > Hi~ All > > who have a compass demo using OSG

[osg-users] about compass

2008-03-04 Thread IceSharK
Hi~ All who have a compass demo using OSG ? Thanks a lot. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

[osg-users] warning C6246 UpdateVisitor

2008-03-02 Thread IceSharK
Hi~ warning *C6246*: Local declaration of hides declaration of same name in outer scope. Additional Information: See previous declaration at . This warning indicates that two declarations have the same name at local scope. The name at outer scope is hidden by the declaration at the inner scope.

[osg-users] 请问如何在osg调用中嵌 入OpenGL语句?

2008-02-27 Thread IceSharK
Hi~ -- ref_ptr primitiveSet = new DrawArrays( PrimitiveSet::POINTS , first , 1 ); glPointSize( 10 ); geometry->addPrimitiveSet( primitiveSet.get() ); 类似上述意图的代码如何实现? 需要在callback里搞吗? -- p.s 有中文的OSG邮件组吗?

Re: [osg-users] about Plugins freetype

2008-02-21 Thread IceSharK
and the break point is at free.c 109 retval = HeapFree(_crtheap, 0, pBlock); if (retval == 0) { errno = _get_errno_from_oserr(GetLastError()); } } On 2/21/08, IceSharK <[EMAIL PROTECTED]> wrote: > > Hi,all &

[osg-users] about Plugins freetype

2008-02-21 Thread IceSharK
Hi,all osg 2.3.4 freetype 235 vs2005 sp1 - osgdb_freetype.dll do not exist , the app is ok. but osgdb_freetype.dll exist , when the app exit , vs2005 out : HEAP[