Re: [osg-users] OT: Merry Christmas
Russian: С НОВЫМ ГОДОМ 2009/12/25 Hugo Corrá manoh...@belona.info In Portuguese: Feliz Natal e um Próspero Ano Novo!!! Hugo. On Thu, Dec 24, 2009 at 11:44 AM, Wang Rui wangra...@gmail.com wrote: Merry Christmas, and best wishes for a Happy New Year! In Chinese, Sheng Dan Kuai Le :-) Wang Rui ___ 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 -- Maxim Gammer ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] PBOs for images and textures
Hi all, I was wondering why when there is an image attached to an FBO camera buffer, the data transfer is made by glReadImage from the READ_BUFFER and not by glMapBuffer after copying the READ_BUFFER to PBO? The same question goes in the other direction for updating textures with glTexSubImage. Wouldn't that be faster (using the DMA)? Is there a scenario which it wouldn't be better that I miss. If it is the best way I don't mind trying to help doing so, but I guess I'd need help designing it. My initial approach is: 1. Add PBO object to image. (could be null) 2. Change image readpixels function to the following: If( PBO ) { Copy pixels from READ_BUFFER to PBO Get PBO address Memcopy(data, address) } Else OldImageReadPixels 3. When attaching image to camera buffer automatically allocate PBO to that image. That way there will be no change in render stage or any other part of OSG. For textures there can be something similar. The Texture has PBO object, the function apply will check for the PBO if exists then copy data to the PBO address, then bind it and use glTexSumImage and in similar way change the copyTex to copy to the PBO and then from it's mapped address to a CPU address. In textures maybe part of it could be implemented in subload callback. Is it the correct path? Does it already exists and I missed it? If so I'm sorry for the noise... :) Thanks, Guy. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] DrvCopyContex
Hi all, I profiled my application and found that about 25% of the time is spent in DrvCopyContext. This is an NVidia driver function. Any way to avoid it or reduce it? Does it happens to all? I tried updating the driver and it is still the same. I'm running on windows XP SP3, NVida 8800 driver 195.62 Thanks, Guy. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] 'Unknown node in Group::write()' when writing IVE file but not OSG file
Hi Robert, Abstract: I don't necessarily agree, but I do see your point. The reason I don't agree, is that OSG is pretty much documented by its code. So in such a case, I would expect the code to auto enforce these rules. If not, then I would otherwise expect having that information in the documentation. And I say this in all due respect, as I believe OSG to be a remarkable library and I do am conscious of all the effort you, personally, have put into it. I would, though, think that some documentation improvements, in which I would be glad to participate, would greatly add to the value of OSG and its usability and its further acceptance as the main standard for 3D/OpenGL programming. I am planning to setup myself for collaborating as we (our company) use OSG a lot and see areas where we could be of some help. Code: No, no worries, that was in my code. It is the line that was the source of the error. Merry Christmas to you! J-O Robert Osfield wrote: Hi Jean-Oliver, On Thu, Dec 24, 2009 at 2:04 PM, Jean-Olivier Racine jorac...@humancad.com wrote: Thanks for the quick reply. It is, indeed a node. But if the node was not intended to be used as-is, shouldn't it be abstract? Sometimes in C++ you have to be pragmatic about this stuff as forcing it be abstract causes other issues. I indeed fixed my problem by replacing: new osg::Node(node, osg::CopyOp::DEEP_COPY_ALL); Where was this code? In your app? In one of the OSG plugins? Robert. ___ 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] OT: Merry Christmas
While we are at it ;) In French: Joyeux Noël et bonne année! Dominic Stalder wrote: In Swiss German: Froe(ö)hlechi Wiehnacht und ae(ä)s guets Noe(ö)is! Alex Sierra schrieb: In Spanish: Feliz Navidad y prospero año nuevo! Sent from my iPhone On Dec 24, 2009, at 9:04 AM, Can T. Oguz cto...@gmail.com mailto:cto...@gmail.com wrote: And in Turkish : Mutlu Yıllar ! 2009/12/24 Trajce Nikolov nikolov.tra...@gmail.com mailto:nikolov.tra...@gmail.com Yeah .. Marry Christmas or in czech: Vesele Vanoce, and macedonian: Sreken Bozik Nick http://www.linkedin.com/in/tnick Sent from Devlet, Ankara, Turkey On Thu, Dec 24, 2009 at 3:44 PM, Wang Rui wangra...@gmail.com mailto:wangra...@gmail.com wrote: Merry Christmas, and best wishes for a Happy New Year! In Chinese, Sheng Dan Kuai Le :-) Wang Rui ___ osg-users mailing list osg-users@lists.openscenegraph.org mailto:osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org mailto:osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org mailto: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 mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org