Re: [osg-users] ATI cards and openscenegraph
Hi, Peted I have worked with an ATI card for months, and I have found only one issue: If you add shadows to the scene, they may be inverted. Cheers, Rodrigo -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=14005#14005 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] Inverse shadow
Hi! I'm trying to work with osgShadow. After lots of tries, I achieved to see some shadows in the scene, but they're inverse. I don't know how to fix it, because in the osgShadow example I see troubles close to this one. Please, see the attachment. The objects on the left of the light pole have their shadows project on the right of it, and vice-versa. I'm using osg 2.6.1. Thanks in advance. Cheers, Rodrigo Salvador -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=12545#12545 attachment: inverse shadow.bmp___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Inverse shadow
Hi, Guay Yes, I'm using an ATI card. In fact, I've searched for past discussions, but didn't find answers, that's why I've posted a new topic. Maybe my search wasn't that good! Thanks for the hint, I'll try with a NVidia card. If it still bad, I'll post again. The ShadowTechnique is ShadowMap. Even because the others have failed. With ShadowVolume, for example, looks like the scene is merged in a green lake, its all distorced. By the way, another question: The application only works fine if I add shadowedScene-addChild(root.get()) inside the viewer's loop; if not, it crashes. But it become heavier, the frame rate decrease a lot. Is there another way to do it? The optmize functions didn't make any difference either. Thank you a lot! Cheers, Rodrigo -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=12552#12552 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Inverse shadow
Hi J-S (Sorry for the last post, I tought you wouldn't mind calling you by the last name) You might want to search the mailing list archives instead of just the forum disucssions, it's only fairly recently that we've started using forum+mailing list integration. Oh, I thought everything was integrated. Thanks a lot, I'll pay more attention to the mailing list. Note that in general, OSG gets less testing on ATI cards than on nVidia. So I wouldn't necessarily suggest you switch to nVidia, but at least expect some things not to work at 100%, and maybe help us with testing on ATI :-) Sure I'll be happy to help. I'll try to answer why this is happening only in this card. You mean that you can't do shadowedScene-addChild() outside the frame loop? That's weird... The osgShadow example doesn't do it that way - does it work for you? I would suspect a driver problem if it doesn't. Perhaps try updating your drivers? In general, shadows will double the cull/draw times (depending on the shadow technique you use). So the frame rate drop you see might be normal / expected, depending on the scene and your hardware. If I do, the application render as it has to do, but if I try to move the camera, it crashes. Doing the line I mentioned inside the loop, it moves normally, but not so fast. It makes sense, because a child is added in each frame the application render, witch is expensive. If I run osgShadow example, the shadow is inverse in some positions, probably caused by the ATI card. But it runs ok, not crashing if I try to move it. Weird, isn't it? I really really appreciate your support. It helped a lot. I'll run the application with the nVidia card tomorrow to see if it works. Thanks a lot Rodrigo Salvador -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=12565#12565 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Shadows MinGW Enviroment on Windows
Hi I'm facing the same troubles. I'm using Visual Studio, and my application crashes when I try to move the scene. Is it a bug, or something? Thanks in advance Rodrigo Salvador -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=12137#12137 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] RecordCameraPathHandler where is the saved_animation.path file?
Felix, did you achieve to replay the animation? I recorded a animation in a saved_animation.path file, but what I want is to play it in a external player. Does OSG save the animation with another kind of file, like .wmv? -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=10678#10678 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org