[osg-users] geometry shader example?

2010-03-22 Thread Yanling Liu
Hello, please forget me if this is a dummy question. Is there OSG geometry shader example available? Didn't find such an example in OSG 2.8.2 source tree examples folder (or I missed it). Thanks, Yanling ___ osg-users mailing list

[osg-users] Scalar bar warning message

2010-03-17 Thread Yanling Liu
Hello, When using the osgSim::ScalarBar on a linux machine, I keep getting warning messages like Warning: font file fonts/arial.ttf not found. Is there a way to turn off such warning message? After all fonts/arial.ttf may only be valid on windows. Yanling

[osg-users] OpenGL B-spline support?

2009-12-21 Thread Yanling Liu
Hello, Do we have OpenGL B-spline support in OSG already? Or do we still need to subclass drawable like osgTeapot example? Thanks, ___ osg-users mailing list osg-users@lists.openscenegraph.org

Re: [osg-users] Funding

2008-12-09 Thread Yanling Liu
Maybe a little bit off topic... Is OSG certificate a good idea? Just like Sun Java certificate, cisco certificate and/or microsoft certificates. On Tue, Dec 9, 2008 at 4:45 PM, Sukender [EMAIL PROTECTED] wrote: Hi all, hi Robert, As requested (and as expected), I start another thread about

Re: [osg-users] You have three guess...

2008-11-17 Thread Yanling Liu
Hi, 1. OSG based 3D screen saver 2. Framework for OSG based 3D desktop/browser 3. Two quads with texture mapping Have fun...:-) On Mon, Nov 17, 2008 at 11:08 AM, Robert Osfield [EMAIL PROTECTED]wrote: For a bit of fun see if you can explain the attached screenshot... If if you get that

Re: [osg-users] You have three guess...

2008-11-17 Thread Yanling Liu
That's my question too. Such capabilities are quite cool but seems far away from the name OpenSceneGraph... Are we going to see OSG based operation system eventually? On Mon, Nov 17, 2008 at 1:03 PM, Ed [EMAIL PROTECTED] wrote: I may sound ignorant by asking this, but it won't be the first

[osg-users] OSG on overlapping screen wall

2008-09-02 Thread Yanling Liu
Hello, I am using OSG with a overlapping screen wall (two projecters overlapped to create a large display). A problem is that osgViewer won't use all display area: Two projectors display two sub-screens overlapping together for a large screen. But osgViewer only use one sub-screen. I have tried to

Re: [osg-users] OSG on overlapping screen wall

2008-09-02 Thread Yanling Liu
On Tue, Sep 2, 2008 at 5:11 PM, Yanling Liu [EMAIL PROTECTED] wrote: Hello, I am using OSG with a overlapping screen wall (two projecters overlapped to create a large display). A problem is that osgViewer won't use all display area: Two projectors display two sub-screens overlapping together

[osg-users] osg::Camera::getViewMatrixAsLookAt

2008-09-02 Thread Yanling Liu
Hi, can I call osg::Camera::getViewMatrixAsLookAt to get the current eye position right after frame() call? Is the retrieved eye position in world space? Many thanks, Yanling ___ osg-users mailing list osg-users@lists.openscenegraph.org

Re: [osg-users] QUAD_BUFFER stereo in embedded window

2008-08-26 Thread Yanling Liu
Hi, Robert, Turns out I just need to create Fox visual with VISUAL_STEREO! I should always dig deeper into documents before asking..:) Thanks! Yanling On Tue, Aug 26, 2008 at 9:30 AM, Robert Osfield [EMAIL PROTECTED]wrote: On Tue, Aug 26, 2008 at 1:45 PM, Yanling Liu [EMAIL PROTECTED] wrote

[osg-users] QUAD_BUFFER stereo in embedded window

2008-08-25 Thread Yanling Liu
Hi, I was trying to enable QUAD_BUFFER stereo in my OSG based application but failed. OSG reports error message saying error reported in OpenGL after Renderbin:draw(). I am using osgViewer::setUpViewerAsEmbeddedInWindow() to use OSG with fox-toolkit: //parepare fox OpenGL canvas m_pGLVisual =

[osg-users] glClearDepth

2008-05-16 Thread Yanling Liu
Hi, what is the substitution for glClearDepth in OSG? I have tried ClearNode and Depth but none of them allows me to set the clear value for the depth buffer. Thanks, Yanling ___ osg-users mailing list osg-users@lists.openscenegraph.org

[osg-users] scene update

2008-04-17 Thread Yanling Liu
Hi, just a simple question. Is there any pre-draw-callback function in osgViewer available so that I can update my scene at the beginning of each frame? Is the setPreDrawCallback in osg::Camera the right place to do scene update? What if I have multiple cameras but just want to udpate scene only

Re: [osg-users] How to integrate osg and VTK?

2008-04-16 Thread Yanling Liu
If you could get current GL content then you could just call VTK rendering modules to draw on screen. Or you could extract geometry information from vtkPolyData and draw it use OSG. On Tue, Apr 15, 2008 at 9:25 PM, playzj [EMAIL PROTECTED] wrote: hi All, Who can tell me how to

[osg-users] stereo projector support in OpenSceneGraph

2008-01-16 Thread Yanling Liu
Hi, our lab get a new stereo projector connects to two video outputs on one Quadro FX 5500. Does OpenSceneGraph support such stereo display? I used to do stereo display using two machine and now I have no idea how to do it using one single video card. Any information will be appreciated. Yanling

Re: [osg-users] access frame buffer when using osgViewer::Viewer

2007-12-31 Thread Yanling Liu
Thanks Robert. That's what I need. On Dec 31, 2007 12:40 PM, Robert Osfield [EMAIL PROTECTED] wrote: On Dec 28, 2007 8:30 PM, Javier Taibo [EMAIL PROTECTED] wrote: You can do it just calling glReadPixels after viewer.frame() This *only* works when you have a single window, and run

[osg-users] creating a light following camera

2007-12-30 Thread Yanling Liu
Hi, could you please help me to create a light following camera, such as a head light? Thanks! Yanling ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

[osg-users] access frame buffer when using osgViewer::Viewer

2007-12-28 Thread Yanling Liu
Hello, is there an easy to access frame buffer when using osgViewer::Viewer? I need to save each frame as image file for later process. Thanks advance for your response! Yanling ___ osg-users mailing list osg-users@lists.openscenegraph.org

[osg-users] OSG-2.2 osgViewer-frame() access violation

2007-10-24 Thread Yanling Liu
Hello, don't know whether this has been reported or not. In OSG-2.2, osgViewer-frame() get access violation if there is no data in scene (didn't call setSceneData()). This doesn't happen in OSG-2.0. Do I must give something to osgViewer, even an empty Geode, before I can call osgViewer-frame()?