Re: [osg-users] About osgVolume example

2009-01-27 Thread sicong he
with google didn't pick up on links to these, I'll populate a wiki page with links once I track them down. Robert. On Sun, Jan 25, 2009 at 11:05 AM, sicong he hesicong2...@gmail.com wrote: Hi, Robert, I'm very glad to see the volume support of OSG. The osgVolume example should be a good

[osg-users] default font not loaded by osgViewer::StatsHandler

2008-10-14 Thread sicong he
Hi, all, I'm now using osgViewer::StatsHandler to measure my scene, the program runs OK under windows system. But under my Ubuntu 8.04 the the console output the following message: *Warning: font file fonts/arial.ttf not found. *And the stats font is very very small. I just think it load another

Re: [osg-users] default font not loaded by osgViewer::StatsHandler

2008-10-14 Thread sicong he
Thank you Robert, it works now! 2008/10/14 Robert Osfield [EMAIL PROTECTED] Hi HeSiciong, On Tue, Oct 14, 2008 at 12:51 PM, sicong he [EMAIL PROTECTED] wrote: Hi, all, I'm now using osgViewer::StatsHandler to measure my scene, the program runs OK under windows system. But under my

Re: [osg-users] PDF rendering inside OSG

2008-10-12 Thread sicong he
Hi, Alessandro, Try rendering them to a texture and bind them to OSG geometry. That should work. 2008/10/12 alessandro terenzi [EMAIL PROTECTED] I would like to read pdf documents, process them in some way, and finally render them inside my osg application. How can I do it in osg? Thank

[osg-users] GL_MAX_3D_TEXTURE_SIZE not define under VC8 windows

2008-08-30 Thread sicong he
Hi, Robert: osgVolume Example can't compile under VC8 windows. The error comes from the undefined GL_MAX_3D_TEXTURE_SIZE symbol. Windows does not update the glext.h as Linux does. So we may add a define: #define GL_MAX_3D_TEXTURE_SIZE 0x8073 to fix this problem. This define is found from

Re: [osg-users] About the DICOM loader

2008-08-28 Thread sicong he
- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] En nombre de sicong he Enviado el: jueves, 28 de agosto de 2008 6:22 Para: OpenSceneGraph Users Asunto: Re: [osg-users] About the DICOM loader Hi, Robert, Thanks for reply. I'm going on with the loader and if I create one, I'll contribute

Re: [osg-users] About the DICOM loader

2008-08-27 Thread sicong he
Hi, Robert, Thanks for reply. I'm going on with the loader and if I create one, I'll contribute it! 2008/8/27, Robert Osfield [EMAIL PROTECTED]: Hi Hesicong, On Wed, Aug 27, 2008 at 3:57 AM, sicong he [EMAIL PROTECTED] wrote: I just get the lastest version from SVN and see the DICOM loader

[osg-users] About the DICOM loader

2008-08-26 Thread sicong he
Hi, Robert: I just get the lastest version from SVN and see the DICOM loader is implemented. A lot of changes has made to osgVolume example, so is there a schedual developping the volume rendering node for OSG? I've also noticed that DICOM loader require ITK. I use ITK rencently to do

Re: [osg-users] osgmanipulator example questions

2007-09-30 Thread sicong he
-- Forwarded message -- From: sicong he [EMAIL PROTECTED] Date: 2007-9-10 下午6:49 Subject: Re: [osg-users] osgmanipulator example questions To: Public OpenSceneGraph Users discussion list. osg-users@lists.openscenegraph.org I tried by best and I found a way to solve thi problem

Re: [osg-users] limitation ?

2007-09-13 Thread sicong he
I think it should be the OpenGL limit. Try to set the clip panel to a very far panel. 2007/9/13, christophe loustaunau [EMAIL PROTECTED]: Hello, I wan't to display the earth and the sun. The sun is in ( 0, 0, 0 ) and the Earth in ( 1.5e11, 0, 0 ). With these values, the Earth isn't display,

Re: [osg-users] Please test SVN version of OpenSceneGraph

2007-09-11 Thread sicong he
I get latest version and build under VS2005. But in these line: TextureRectangle.cpp Line 561, TextureCubeMap.cpp Line 387, Texture3D.cppLine 459, Texture2DArray.cpp Line 467, Texture2D.cpp Line 411, Texture1D.cpp Line 417 These lines VS2005 reports: error C3861: log2 can't find symbol Is there

Re: [osg-users] Please test SVN version of OpenSceneGraph

2007-09-11 Thread sicong he
It seems that VS2005 c++ library do not have log2() function defined. So I change log2() function to log()/log(2.0), I don't know if it is slower than log2() but it really works. 2007/9/11, sicong he [EMAIL PROTECTED]: I fixed this by change all log2(x) to: log((double)maximum(...))/log(2.0

Re: [osg-users] Please test SVN version of OpenSceneGraph

2007-09-11 Thread sicong he
It should be the bad VS2005 problem 2007/9/11, sicong he [EMAIL PROTECTED]: My VS2005 report me: Compiler Error C2668. 'log' : ambiguous call to overloaded function. I see in VS2005, function log have only works with double or float: double __cdecl log(__in double _X); So you should

Re: [osg-users] osgmanipulator example questions

2007-09-10 Thread sicong he
I tried by best and I found a way to solve thi problem. The idea is: First see the scene structure: SceneRoot Teapot01 Box01 Teapot01 and Box01 are the children of SceneRoot. When I select Teapot01, the osgManipulator::selection (I call it in my program Selection) set Teapot01 as one if its

Re: [osg-users] Difference between Viewer+SlaveCamera and CompositeViewer

2007-09-10 Thread sicong he
Please see osgViewer application. The osgGA::StateSetManipulator() may help you~ 2007/9/10, Felix Bwire [EMAIL PROTECTED]: Hi all, has anyone produced code that outputs a graph with just points(nodes) and links (edges) to these nodes. If so, you code please let me know how to do it.