Re: [osg-users] parameters

2010-08-10 Thread Ricky Flintoff
Hi Robert, So there is no way I can capture focal length effects in OSG using the Prespective projection matrix? Thank you! Cheers, Ricky -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=30680#30680

Re: [osg-users] parameters

2010-08-08 Thread Ricky Flintoff
Hi, I am a little confused now. I was wondering if I can do this now: http://www.opengl.org/discussion_boards/ubbthreads.php?ubb=showflatNumber=211014 Thank you! Cheers, Ricky -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=30633#30633

[osg-users] parameters

2010-08-05 Thread Ricky Flintoff
Hi, I wanted help with setting these five camera parameters: focal length, f, the location of the image in pixel coordinates (o_x, o_y), the effective pixel size in the horizontal and vertical direction (s_x, s_y)? How can I set these is osg?? Thank you! Cheers, Ricky

[osg-users] Camera intrinsics

2010-07-27 Thread Ricky Flintoff
? Thank you! Cheers, Ricky -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=30318#30318 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg

Re: [osg-users] Camera intrinsics

2010-07-27 Thread Ricky Flintoff
? Keith Parkins wrote: Use camera-setProjectionMatrix(intrinsic_parameter_matrix); Not sure what you are trying to do with respect to the other question you have. On Tue, 27 Jul 2010, Ricky Flintoff wrote: Hi, I have a quick question. I looked up online on setting camera intrinsics (5

Re: [osg-users] Camera intrinsics

2010-07-27 Thread Ricky Flintoff
Hi, Oh wow! Thank you very very much! Thank you! Cheers, Ricky -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=30328#30328 ___ osg-users mailing list osg-users@lists.openscenegraph.org http

Re: [osg-users] Camera intrinsics

2010-07-27 Thread Ricky Flintoff
Hi, Sorry! I have a couple of more questions. Whats _near and _far? Also, is there any reference for these equations? Thank you again for your tremendous help. Cheers, Ricky -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=30330#30330

[osg-users] osg camera : setting view matrix

2010-07-25 Thread Ricky Flintoff
) to (X pointing to the right, Y pointing into the screen, Z pointing up). Thank you! Cheers, Ricky -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=30249#30249 ___ osg-users mailing list osg-users

Re: [osg-users] osg camera location

2010-07-14 Thread Ricky Flintoff
. I am used to transforming the object and keeping the camera fixed (OpenGL way). Any suggestions to what I can do? Thank you! Cheers, Ricky -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=30009#30009

[osg-users] osg camera location

2010-07-11 Thread Ricky Flintoff
, however, osg does it for me. I don't seem to fathom where does it keep the object and the camera. Thank you! Cheers, Ricky -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=29905#29905 ___ osg-users

Re: [osg-users] Screeshots from multiple cameras/views

2010-06-25 Thread Ricky Flintoff
Tom Pearce wrote: Ricky, Based on the code you posted, you're taking a screenshot every frame - and from the same position, no less. You're creating the same matrix each time, and thus setting the view matrix to be identical each frame. Then you're doing file I/O that is the exact

Re: [osg-users] Screeshots from multiple cameras/views

2010-06-25 Thread Ricky Flintoff
Hi Robert, robertosfield wrote: Hi Ricky, On Tue, Jun 22, 2010 at 3:54 AM, Ricky Flintoff wrote: Thank you very very much for your suggestion! I actually ran into another problem with the code. I tend to get segmentation faults. My idea was to take multiple pictures as I changed

Re: [osg-users] Screeshots from multiple cameras/views

2010-06-21 Thread Ricky Flintoff
; rot.makeRotate(angle, osg::Vec3(1, 0., 0.)); angle += 0.01; viewer.getCamera()-setViewMatrix(rot * trans); viewer.frame(); } } Thank you! Cheers, Ricky -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=29188#29188

Re: [osg-users] Screeshots from multiple cameras/views

2010-06-21 Thread Ricky Flintoff
Hi, Thank you very very much for your suggestion! I actually ran into another problem with the code. I tend to get segmentation faults. My idea was to take multiple pictures as I changed the position of my camera. Any way I can get rid of these seg faults? Thank you! Cheers, Ricky

[osg-users] Screeshots from multiple cameras/views

2010-06-19 Thread Ricky Flintoff
multiple cameras or a master-slave system?) in the scene and taking screen shots from there. Is there any tutorial that specifically addresses this? I couldn't find it. Any help on this would be great! Thank you! Cheers, Ricky -- Read this topic online here: http

Re: [osg-users] osgShadowMap Problems

2009-03-22 Thread Ricky Do
osgShadow really have problem with my VGA card, I use ati radeon 2400xt and the same problem appeared when I run osgShadow Example. Ricky Do -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=8907#8907

Re: [osg-users] osgShadowMap Problems

2009-03-18 Thread Ricky Do
I moved light source under Shadowed Scene Node but it's still the same: http://i475.photobucket.com/albums/rr113/tek3D/shadow-1.jpg What could I do to fix it? Ricky Do -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=8716

Re: [osg-users] osgShadowMap Problems

2009-03-18 Thread Ricky Do
I tried with many models but the shadow is not exact like in the pic: http://i475.photobucket.com/albums/rr113/tek3D/shadow-2.jpg Is there any problem with my code? Regard! Ricky Do -- Read this topic online here: http://forum.openscenegraph.org

Re: [osg-users] Help with adding a player model

2009-03-08 Thread ricky
Thanks very much, Robert. I set the view matrix of the viewer's camera successfully. But I read some examples, they didn't set the viewer's camera, I saw something like viewer.addSlaveCamera(), what is it for? Which should I use? -- Read this topic online here:

[osg-users] View this page deleted

2008-08-26 Thread Ricky
Please remove all this off this site! ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Re: [osg-users] View this page deleted

2008-08-26 Thread Ricky
I see some porn images on homepage of this group http://groups.google.com/group/osg-users I deleted 1 page, but there're still many left. Could you remove it? On Aug 26, 8:28 pm, Robert Osfield [EMAIL PROTECTED] wrote: On Tue, Aug 26, 2008 at 1:39 PM, Ricky [EMAIL PROTECTED] wrote: Please

[osg-users] osgWidget Input Problem

2008-08-19 Thread Ricky
Hi! I use osgWidget 0.1.8 to design GUI for my program, but it seems having many problems. It has very few reference docs and I don't know how to use it correctly. I want to use a textbox but it doesn't work, when I run the example, this message appeared Input is disabled until someone can help me

Re: [osg-users] Problems with loading model in OSG 2.2

2008-07-05 Thread Ricky
Hi! I updated driver and the error didn't appear anymore. But I only loaded a simple box and the performance's still very low. When I run in debug mode, the frame rate is just 18-30 fps http://i58.photobucket.com/albums/g278/TTFTotti/2-1.png And in release mode, it's much better, about 600 fps

Re: [osg-users] Problems with loading model in OSG 2.2

2008-07-02 Thread Ricky
I still can't solve this problem: Error: [screen #0] ChooseMatchingPixelFormat() - Unable to choose the requested pixel format I just loaded a simple model but the program run really slowly (in debug mode), it's better in release mode. I used osg1.2 and it run so fast, even in debug mode. Please

Re: [osg-users] Problems with loading model in OSG 2.2

2008-07-02 Thread Ricky
Thanks for your supports! I'm using the OSG binaries downloaded from http://www.mew.cx/osg/. I run this program on Windows XP SP2, VS2005 SP1, video card: ATI Mobility Radeon 2400XT 256MB, RAM DDR2 1GB. When I run osgviewer in command line: osgviewer --window 32 32 512 512 cow.osg, I had the same

[osg-users] Problems with loading model in OSG 2.2

2008-06-17 Thread Ricky
I used OSG 1.2 before and didn't meet problems like this. I've just tried OSG 2.2 with VS 2005 SP1, a simple code: loading a model. The code like this: osg::ref_ptrosg::Node m_Node = new osg::Node(); osg::ref_ptrosg::Group root = NULL; osgViewer::Viewer viewer; osg::Vec3 nodePosit;

Re: [osg-users] Problems with loading model in OSG 2.2

2008-06-17 Thread Ricky
Thank Jean-Sébastien and Robert. I've done it. But now my problem is: when I debug, there're many command lines appearing on the console window: Where is it from and can I get rid of it? And the second problem: although I only loaded a model but a program run really slow, with low frame when i

Re: [osg-users] Problems with loading model in OSG 2.2

2008-06-17 Thread Ricky
Here is the command lines appeared on console window: http://i58.photobucket.com/albums/g278/TTFTotti/error1-1.png ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org