[osg-users] BUG: RTT camera setClearDepth function doesn't work
Hi, Robert: You added setClearDepth function to camera last few days, it works very fine with ordinary camera. But when I try to setClearDepth with a RTT camera, it does work. To reproduce this BUG, I take latest SVN version of osgprerender.cpp example to show you. I add camera-setClearDepth(0); to line 321. Default depth value is 1,and default depth function is LESS. So if I set the value to 0, camera will render no scene because all the depth value is NOT LESS than 0. But the result scene on the flag is same as before. I also modified the value to any value between 0 and 1, the scene remain the same. So I'm sure setClearDepth() is working for RTT camera. My system configuration: Nvidia Geforce 8800GTS with 174.55 driver. Windows Server 2008 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] osgDB::writeNodeFile with derived node types
On Fri, May 23, 2008 at 9:47 PM, Paul Martz [EMAIL PROTECTED] wrote: Along the same line, what I'd like to see at some point in the future would be an equivalent extension mechanism for .ive. Right now, the only solution is to own your own .ive plugin. More generally, it'd be nice to have an extension mechanism available to all OSG plugins, not just .osg/.ive, that would allow an application to do its own I/O as necessary. For example, in my current project, I need to be able to write physics info to .dae files. Such physics-related application code doesn't belong in OSG and therefore doesn't belong in the OSG DAE plugin, yet there's no way for an app to hook into the OSG DAE plugin so that the app can write this info. Robert -- any thoughts on a design that might allow this? This has to be a per format type extension, for instance getting the Collada DOM instance for an opened .dae would be the way of extending it. One one need a callback mechanism too I guess, something along the lines of the present DotOsgWrapper. The .ive format itself needs to be replaced by an extensible binary .osg format. Robert. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] BUG: RTT camera setClearDepth function doesn't work
Hi Hesicong, Seems I missed adding a few RenderStage::setClear*() to CullVisitor::apply(Camera). These are now added and checked into SVN. Could you let me know if things now work fine for you. Robert. On Sat, May 24, 2008 at 7:32 AM, hesicong2006 [EMAIL PROTECTED] wrote: Hi, Robert: You added setClearDepth function to camera last few days, it works very fine with ordinary camera. But when I try to setClearDepth with a RTT camera, it does work. To reproduce this BUG, I take latest SVN version of osgprerender.cpp example to show you. I add camera-setClearDepth(0); to line 321. Default depth value is 1,and default depth function is LESS. So if I set the value to 0, camera will render no scene because all the depth value is NOT LESS than 0. But the result scene on the flag is same as before. I also modified the value to any value between 0 and 1, the scene remain the same. So I'm sure setClearDepth() is working for RTT camera. My system configuration: Nvidia Geforce 8800GTS with 174.55 driver. Windows Server 2008 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] VPB creating earth model with using GTOPO30 data.
Hi Umit, On Fri, May 23, 2008 at 7:36 PM, ümit uzun [EMAIL PROTECTED] wrote: Sorry for late reply because of my school exams. I have tried gdalinfo E020N90.DEM -mm pattern and result is like this; ... Min=-.000 Max=5483.000 Computed Min/Max=1.000,65535.000 Minimum=-.000, Maximum=5483.000, Mean=-4412.900, StdDev=5088.600 NoData Value=- The result is showing up NoDataValue problem like your approach. How can I fix this problem, only solution is using gdal_vrt? Well it has a NoDataValue, which suggests that VPB should be able to pick on this values and filter them out - this works normally for most data sets. I do wonder of GDAL itself in interpolating values that include the NoDataValue rather than ignoring. I don't really have any answers though, I'd need to try out the problem data first hand. Robert. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Too much support!!!!! (UNCLASSIFIED)
Hi Mike, We moved to Tracs wiki less than a year ago, after considering various possibilities on the replacement of PmWiki. MediaWiki was one that was looked at but discounted. For development projects Tracs adds useful facilities that tools like MediaWiki don't provide. As for editing, you just login, there is anonymous log, just follow the Commuinity WikiLoginDetials link. So it couldn't be more open, it just requires people to be a little observant. Robert. On Fri, May 23, 2008 at 7:28 PM, Dorsett, Mike F AMRDEC/SAIC [EMAIL PROTECTED] wrote: Classification: UNCLASSIFIED Caveats: NONE Searching osg-users: I would say that the size of osg-users and difficulty in searching it is my biggest problem as well. Google groups: I didn't know there was a google groups mirror; I'll have to try that next time. Concerning the wiki: Mostly, it seems to cover just newbie type questions. And, if there is an interface to edit or to add to it, I don't see it. I can understand wanting control over content; but it would be nice to see a more open option available. Besides the obvious wikipedia, the only wikis that spring in my mind are for things like games or entertainment. And, all the decent ones seem to use MediaWiki. But, that is not to say that's because of MediaWiki. It is more about the number of and level of commitment from their contributors. http://www.mediawiki.org/wiki/MediaWiki Not that using MediaWiki requires anonymous usage, see Citizendum for instance. http://en.citizendium.org/wiki/Main_Page Again, I am not saying I believe that MediaWiki to be the best software out there; it is just the most prolific. Obviously there is a lot: http://en.wikipedia.org/wiki/Comparison_of_wiki_software Mike Dorsett - Software Engineer - SAIC -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bob Kuehne Sent: Friday, May 23, 2008 12:47 PM To: OpenSceneGraph Users Subject: Re: [osg-users] Too much support! one reason i think people fire at the list first, perhaps, is that mailman is a bit difficult to use for finding data. i find the mailing list as-is difficult to search, esp for noobs, and sometimes even for oldies like me. hence, that's why i mirror the osg list (as of a year or so ago) on a google group. i think it makes things a lot more accessible, and easy to search and find answers: http://groups.google.com/group/osg-users other things, aside from asking people to rtfm, are to point people to the excellent quickstart guide, or the reference manual, or (shameless plug) get support, books, or a training (shameless plug number two: denver! june 11-13) from paul and me: http://osgbooks.com if all that fails, robert, and nobody on the list answers, then i think you can feel some obligation to answer. but you should lie back and wait for the built-in safeties to fail first. :) have a nice long weekend, peeps in the usa, bob On Fri, May 23, 2008 at 1:22 PM, Paul Martz [EMAIL PROTECTED] wrote: You have many good points. I've seen this topic come up many times in my nearly three decades of using countless online discussion forums. One thing I've learned: no matter how many resources and FAQs you make available, people, by their very nature, are social, and therefore value the interaction and networking more than quickly finding an answer to an issue. -Paul ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph. org -- bob kuehne founder and ceo - blue newt software www.blue-newt.com 734/834-2696 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.or g Classification: UNCLASSIFIED Caveats: NONE ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] BUG: RTT camera setClearDepth function doesn't work
OK, it works. BTW, osgscreencapture.cpp can't compile, it says GL_STREAM_READ not defined! Robert Osfield wrote: Hi Hesicong, Seems I missed adding a few RenderStage::setClear*() to CullVisitor::apply(Camera). These are now added and checked into SVN. Could you let me know if things now work fine for you. Robert. On Sat, May 24, 2008 at 7:32 AM, hesicong2006 [EMAIL PROTECTED] wrote: Hi, Robert: You added setClearDepth function to camera last few days, it works very fine with ordinary camera. But when I try to setClearDepth with a RTT camera, it does work. To reproduce this BUG, I take latest SVN version of osgprerender.cpp example to show you. I add camera-setClearDepth(0); to line 321. Default depth value is 1,and default depth function is LESS. So if I set the value to 0, camera will render no scene because all the depth value is NOT LESS than 0. But the result scene on the flag is same as before. I also modified the value to any value between 0 and 1, the scene remain the same. So I'm sure setClearDepth() is working for RTT camera. My system configuration: Nvidia Geforce 8800GTS with 174.55 driver. Windows Server 2008 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org __ Information from ESET NOD32 Antivirus, version of virus signature database 3128 (20080523) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Too much support!!!!!
Too much support T many replies ;-) Wow 13 messages in a thread within an hour or two of posting the message. It looks like more replies to this thread than to any of the others threads bubbling along on osg-users right now, which perhaps is symptom of the problem. Thanks to those who have chased up on this threads, it's a real help from me getting overloaded. Most of the time the list is busy, it's just a fact of life. As if users not chasing up on all online resources that might help them before they come to the list look for help. As others have observed this might be partly the osg-users lists being an easy route to getting an answer, and also just plain the people are socialable animals. Better online resources will help a bit, but it'll only help so far given that basic human nature is at play. A busy mailing list is just something we have to accept and grow to appreciate - it's one of the key assets of the OpenSceneGraph project. Burn out is a real problem. This time last year I burnout my wrists and ended up being crippled by repetitive strain injury (RSI). At that time it was just plain doing too many hours at the keyboard doing support, doing major work on viewer libraries, build systems, setting up new websites and systems... This year my RSI is on the mend. But... I'm struggling to keep on top of support, both on the mailing list and submissions. What is a struggle is the sheer range of problems that people are requesting assistance on, multi-tasking works for a couple of different topics, but not dozens at one time. The last few weeks has been an example where there has just been way too many complex and long running topics being raised at one time. The long each topic takes to resolve the more likely that it'll overlap with the next involved topic, so all to easily you end up several running concurrently. The problem for me of too many complex topics running concurrently is that I often have to be a full engaged member of the discussion, while the others working on thes topics will be likely only concerning themselves with one or at most two topics that concern them. As the community expands the ability for the community itself to come up with more complex topics to discuss goes up with it, but... since my own input is sought for most of these topics I get further and further stretched. It isn't just a time issue, it's an intellectual issue - the more you multi-task the less mental ability you available for any of the lasts. Stretch your abilities too far and you eventually don't have enough ability to solve the problems in had. I guess what we need is mutex on complex issues, be them bugs, features or just general topics. Once a locks acquired no other complex topics can be raised till the case is closed and the lock is released. Or we thread out responsibilities so I don't need to be in the loop on some many topics, the mutex locks would still be there, but for dispersed over several engineers. Robert. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] website has broken reference guide links
The links with /pmwiki.php in them refer to the previous version of the OSG website (running pmwiki). It's unfortunate that Google still has links to those pages. But it's even more unfortunate that it is still online... Start from www.openscenegraph.org and try to search on your subject their using the search box. Paul Somerville, Andrew wrote: Are there two versions of the website still active? When I go to the page directly I see not frame set... when it get to it via some google links the old format is there. (Complete with previously mentioned broken links). Can the old one be removed completely to avoid problems? Andy -Original Message- From: [EMAIL PROTECTED] on behalf of Somerville, Andrew Sent: Fri 5/23/2008 1:58 PM To: osg-users@lists.openscenegraph.org Subject: [osg-users] website has broken reference guide links Apropos to the Support discussion, Randomly I was looking on the site today for reference stuff and notice that if you try to navigate to them via the left hand tree menu, almost all of the reference guides are broken links. example: http://www.openscenegraph.org/osgwiki/pmwiki.php/ReferenceGuides/OsgDB Andy ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] Remove old wiki from Google?
It seems the old pmwiki is still being indexed by Google. Isn't time to clean this up? Currently searching for openscenegraph download returns as top hit the download page for 2.0 on the previous wiki! I seem to recall that Google has an option to retire a set of URLs from their database. This would at least make sure that nobody can find the old website anymore through Google. After googling a bit on uh google it seems you can place a robots.txt file with some required parameters in it to control how google crawls your site. Another option would be to request the pmwiki URL to be removed from the google index through the Google Webmaster Tools. Paul ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] BUG: RTT camera setClearDepth function doesn't work
On Sat, May 24, 2008 at 9:45 AM, hesicong2006 [EMAIL PROTECTED] wrote: OK, it works. BTW, osgscreencapture.cpp can't compile, it says GL_STREAM_READ not defined! Pesky windows headers... Could you try an svn update to see if the #define's I've added solve things. Robert. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] website has broken reference guide links
Paul Melis schrieb: The links with /pmwiki.php in them refer to the previous version of the OSG website (running pmwiki). It's unfortunate that Google still has links to those pages. But it's even more unfortunate that it is still online... Is there a chance to update the robots.txt file, so all access to /pmwiki.php gets denied? Submitting the modified robots.txt to google will clear these old results from the google cache and prevent reindexing them. cheers, Stephan ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] How to control Animation Speed?
Hello,all I build a model with animation in it use 3ds max,but in osg application(Load the model .ive as a node),the animation's speed is too fast, I want use language to set it's speed down, could anyone tell how to control Animation Speed ?Thanks. Regards Donlin___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] BUG: RTT camera setClearDepth function doesn't work
But, another problem. After fix setClearDepth problem, RTT camera setClearColor doesn't work!!! I modified osgprerender.cpp line 319, from camera-setClearColor(osg::Vec4(0.1f,0.1f,0.3f,1.0f)); to camera-setClearColor(osg::Vec4(1,0,0,1)); but the background color do not change. Please check it, thanks! Robert Osfield wrote: On Sat, May 24, 2008 at 9:45 AM, hesicong2006 [EMAIL PROTECTED] wrote: OK, it works. BTW, osgscreencapture.cpp can't compile, it says GL_STREAM_READ not defined! Pesky windows headers... Could you try an svn update to see if the #define's I've added solve things. Robert. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org __ Information from ESET NOD32 Antivirus, version of virus signature database 3128 (20080523) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] website has broken reference guide links
Stephan Huber wrote: Paul Melis schrieb: The links with /pmwiki.php in them refer to the previous version of the OSG website (running pmwiki). It's unfortunate that Google still has links to those pages. But it's even more unfortunate that it is still online... Is there a chance to update the robots.txt file, so all access to /pmwiki.php gets denied? Submitting the modified robots.txt to google will clear these old results from the google cache and prevent reindexing them. I suggested something like this in a separate post a few hours ago. Paul ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] BUG: RTT camera setClearDepth function doesn't work
I just change line 1308 and 1312 to previous version and things works ok. I don't know why you switch the two lines. I attached my version of CullVisitor. hesicong2006 wrote: But, another problem. After fix setClearDepth problem, RTT camera setClearColor doesn't work!!! I modified osgprerender.cpp line 319, from camera-setClearColor(osg::Vec4(0.1f,0.1f,0.3f,1.0f)); to camera-setClearColor(osg::Vec4(1,0,0,1)); but the background color do not change. Please check it, thanks! Robert Osfield wrote: On Sat, May 24, 2008 at 9:45 AM, hesicong2006 [EMAIL PROTECTED] wrote: OK, it works. BTW, osgscreencapture.cpp can't compile, it says GL_STREAM_READ not defined! Pesky windows headers... Could you try an svn update to see if the #define's I've added solve things. Robert. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org __ Information from ESET NOD32 Antivirus, version of virus signature database 3128 (20080523) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com __ Information from ESET NOD32 Antivirus, version of virus signature database 3128 (20080523) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org __ Information from ESET NOD32 Antivirus, version of virus signature database 3128 (20080523) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com CullVisitor.rar Description: Binary data ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] OSG 2.5 and cmake
On Wed, May 21, 2008 at 10:50 AM, [EMAIL PROTECTED] wrote: Sorry if this has come up before... I'm attempting to compile OSG 2.5 and when I do the ./configure, I get: CMake Error: Error in cmake code at /OSG_PATH/OSG_OP_OT-2.5/OpenSceneGraph-2.5.0/CMakeLists.txt:214: INCLUDE Could not find include file: FindPkgConfig Current CMake stack: /OSG_PATH/OSG_OP_OT-2.5/OpenSceneGraph-2.5.0/CMakeLists.txt;/OSG_PATH/cmake-2.4.6-Linux-i386/share/cmake-2.4/Modules/CMakeCInformation.cmake;/OSG_PATH/cmake-2.4.6-Linux-i386/share/cmake-2.4/Modules/CMakeCXXInformation.cmake;/OSG_PATH/OSG_OP_OT-2.5/OpenSceneGraph-2.5.0/FindPkgConfig CMake Error: Error in cmake code at /OSG_PATH/OSG_OP_OT-2.5/OpenSceneGraph-2.5.0/CMakeLists.txt:216: Unknown CMake command PKG_CHECK_MODULES. -- Configuring done When I look in the cmake 2.4.6 directory, I don't see a file called FindPkgConfig... However, if I look in CMAKE 2.6, I see such a file... The readme for OSG says it needs 2.4.6 or newer.. Did this requirement change. It seems that a change was made to CMakeLists.txt in early May which causes this include to now be used. This is a bug in OSG's build scripts. Since OSG is now using PKG_CHECK_MODULES (which was introduced in CMake 2.4.7) someone should either: 1. Bump CMAKE_MINIMUM_REQUIRED() to 2.4.7 at the top of the root CMakeLists.txt file to provide a more friendly warning for users that they need a newer version, or 2. Add checks around the usage of PKG_CHECK_MODULES. People using the older versions of CMake prior to 2.4.7 would not be able to link against the new dependencies but they would still be able to configure and build without error. FIND_PACKAGE(PkgConfig) IF(PKG_CONFIG_FOUND) # use pkg_check_modules() ENDIF(PKG_CONFIG_FOUND) -- Philip Lowman ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] RE : Re: osg::ref_ptr difficulties
Hi, I have described referenced pointers in depth in my tutorials published on the official wiki. Have a look at the dedicated tutorial and let me know if you are still stuck! Franclin. Peter Hrenka [EMAIL PROTECTED] a écrit : Hi Vincent, Vincent Bourdier schrieb: Hi all, I'm making some function to modify graph after some operation, and so I need to call some simple actions in functions. The problem is about ref_ptr : I need to do this : osg::ref_ptr mygroup; [..] mygroup = NULL; [...] To do that in a function, I use someting like : addonstack(mygroup, NULL); //prototype is : addonstack(osg::ref_ptr caller, osg::Node* arg1); which did this : osg::ref_ptr nd = dynamic_cast(caller.get()); if(nd.get()){ nd =arg1; But, the problem is that it doesn't change anything... I need, without making some modifications in the addonstack prototype, a way to put the ref_ptr to NULL . Any idea ? Thanks. The addonstack function gets its own copy of the ref_ptr, so it cannot modify the original ref_ptr. To change the original ref_ptr you must change the signature to addonstack(osg::ref_ptr caller, osg::Node* arg1); But the code above (with the ref_ptr called nd) will still not work, since this is yet another copy of caller. You use the reference caller directly, e.g. caller = arg1; Regards, Vincent. Hope this helps Peter ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org -- Vorstand/Board of Management: Dr. Bernd Finkbeiner, Dr. Florian Geyer, Dr. Roland Niemeier, Dr. Arno Steitz, Dr. Ingrid Zech Vorsitzender des Aufsichtsrats/ Chairman of the Supervisory Board: Prof. Dr. Hanns Ruder Sitz/Registered Office: Tuebingen Registergericht/Registration Court: Stuttgart Registernummer/Commercial Register No.: HRB 382196 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org __ Do You Yahoo!? En finir avec le spam? Yahoo! Mail vous offre la meilleure protection possible contre les messages non sollicités http://mail.yahoo.fr Yahoo! Mail ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] BUG: RTT camera setClearDepth function doesn't work
But, another problem. After fix setClearDepth problem, RTT camera setClearColor doesn't work!!! I modified osgprerender.cpp line 319, from camera-setClearColor(osg::Vec4(0.1f,0.1f,0.3f,1.0f)); to camera-setClearColor(osg::Vec4(1,0,0,1)); but the background color do not change. Please check it, thanks! Robert Osfield wrote: Hi Hesicong, Seems I missed adding a few RenderStage::setClear*() to CullVisitor::apply(Camera). These are now added and checked into SVN. Could you let me know if things now work fine for you. Robert. On Sat, May 24, 2008 at 7:32 AM, hesicong2006 [EMAIL PROTECTED] wrote: Hi, Robert: You added setClearDepth function to camera last few days, it works very fine with ordinary camera. But when I try to setClearDepth with a RTT camera, it does work. To reproduce this BUG, I take latest SVN version of osgprerender.cpp example to show you. I add camera-setClearDepth(0); to line 321. Default depth value is 1,and default depth function is LESS. So if I set the value to 0, camera will render no scene because all the depth value is NOT LESS than 0. But the result scene on the flag is same as before. I also modified the value to any value between 0 and 1, the scene remain the same. So I'm sure setClearDepth() is working for RTT camera. My system configuration: Nvidia Geforce 8800GTS with 174.55 driver. Windows Server 2008 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org __ Information from ESET NOD32 Antivirus, version of virus signature database 3128 (20080523) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] BUG: RTT camera setClearDepth function doesn't work
But, another problem. After fix setClearDepth problem, RTT camera setClearColor doesn't work!!! I modified osgprerender.cpp line 319, from camera-setClearColor(osg::Vec4(0.1f,0.1f,0.3f,1.0f)); to camera-setClearColor(osg::Vec4(1,0,0,1)); but the background color do not change. I just change line 1308 and 1312 to previous version and things works ok. I don't know why you switch the two lines. I attached my version of CullVisitor. Please check it, thanks! Robert Osfield wrote: Hi Hesicong, Seems I missed adding a few RenderStage::setClear*() to CullVisitor::apply(Camera). These are now added and checked into SVN. Could you let me know if things now work fine for you. Robert. On Sat, May 24, 2008 at 7:32 AM, hesicong2006 [EMAIL PROTECTED] wrote: Hi, Robert: You added setClearDepth function to camera last few days, it works very fine with ordinary camera. But when I try to setClearDepth with a RTT camera, it does work. To reproduce this BUG, I take latest SVN version of osgprerender.cpp example to show you. I add camera-setClearDepth(0); to line 321. Default depth value is 1,and default depth function is LESS. So if I set the value to 0, camera will render no scene because all the depth value is NOT LESS than 0. But the result scene on the flag is same as before. I also modified the value to any value between 0 and 1, the scene remain the same. So I'm sure setClearDepth() is working for RTT camera. My system configuration: Nvidia Geforce 8800GTS with 174.55 driver. Windows Server 2008 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org __ Information from ESET NOD32 Antivirus, version of virus signature database 3128 (20080523) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com CullVisitor.rar Description: Binary data ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] How to control Animation in .ive speed?
Hello,all I build a model with animation use 3ds max,export as a .ive file,loaded in osg application as a node,but the animation is too fast,could any tell how to control it's speed or give any help? Thanks. Regards Donlin___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org