[osg-users] memory leak about osgMFC example

2008-05-12 Thread heishuijing_2000
hello, My osg version is 2.4,and i use VS2005 in windowsXP. When i run the osgMFC example in debug mode,i found that there are memory leak when the window is closed,the message in the VS2005 is below: Detected memory leaks! Dumping objects - {3078} normal block at 0x02054A28, 32 bytes

[osg-users] Problems about draw Complex polygons

2008-06-18 Thread heishuijing_2000
hi everyone, Recently,i have some troubles with drawing complex polygon.These polygons contains Convex polygon ,concave polygon.Sometimes the polygon contains holes in it. I only know how to draw them using Opengl,there two methods: 1 using glEdgeFlag() 2 using gluTessCallBack

[osg-users] problem with dragging in Osg

2008-07-03 Thread heishuijing_2000
Hi, Recently,i have a problem about dragging in Osg. I want to drag one surface of a box and make the box modified. During i am dragging,i modify the box constantly.Here what i do. 1. I define a class as this: class ModifyClass : public osgGA::GUIEventHandler 2. In this function

[osg-users] memory leak about osg MFC project AGAIN

2008-07-14 Thread heishuijing_2000
hi, I am sorry to ask about this topic again,:). I have asked the same question before. That's about osgMFC example. Somebody in this email List have help me with it. And that's perfect. There is a known issue/BUG with MFC, were MFC makes a call to _CrtDumpMemoryLeaks() in the destructor

[osg-users] Texture Problem with osg Collada Plugin

2010-03-01 Thread heishuijing_2000
hi everyone, I have just found several problems about osgCollada Plugin.I don't know how to deal with them. I use osg 2.8.2 and i have compiled successfully the dae plugin with collada-dom1.4. Yes ,the plugin works and i can use it to write some dae files. Unfortunately,the dae files i

Re: [osg-users] [osgPlugins] Texture Problem with osg Collada Plugin

2010-03-02 Thread heishuijing_2000
Hi Roland, Thank you for your reply,I have look into code in osg SVN.I found there is no update with the collada plugin writer. Anyone can help me with this ploblem? 在2010-03-02?16:13:41,Roland?Smeenk?roland.sme...@tno.nl?写道: Hi?LiYang,

[osg-users] Problem with CompositeViewer in osg2.8 static libs

2009-04-15 Thread heishuijing_2000
hello everyone, Recently,i had a problem with Osg 2.8. I have write a very simple program to test a bug with osg 2.8 static libs and VS2008.The test program is below: #include osgViewer/CompositeViewer #include osgViewer/GraphicsWindow #include osg/ref_ptr

[osg-users] Crash when osgstaticviewer example exit with static lib

2009-04-16 Thread heishuijing_2000
hello everyone, Recently,i had a problem with Osg 2.8 static lib in VS2008. My test example is osgstaticviewer.When the program exit,there is a crash. The stack trace is below: MyTest.exe!OpenThreads::Mutex::lock() + 0xa 字节 C++ MyTest.exe!osg::StateSet::removeParent() + 0x1f 字节

[osg-users] About Depth_bound_Test

2011-03-03 Thread heishuijing_2000
Hi, I just want to know how to use Opengl Depth_Bound_Test in Osg.I have read through all the examples in Osg,but i can't find anything which can help me. Any help in this matter would be great! (If my explanation has not been clear, I would be happy to re-post) Thanks in advance. Sincerely,

Re: [osg-users] About Depth_bound_Test

2011-03-06 Thread heishuijing_2000
the EXT_depth_bounds_test. It wouldn't be difficult to implement as a custom osg::StateAttribute. Have a look at how other extensions are implemented in the OSG, such as src/osg/TextEnvCombine.cpp. Robert. 2011/3/4 heishuijing_2000 heishuijing_2...@126.com: Hi, I just want to know how to use Opengl