Re: [osg-users] [ANN] The book OpenSceneGraph Design and Implementation is published

2009-11-26 Thread Andrea Negri
Hi Wang, any chance to see an english version of your book in the near future? Congratulation for your work, indeed. :) Regards, Andrea Negri Wang Rui wrote: Hi all, After 3 months of long waiting (from the SIGGRAPH to present), I am very pleased to announce that, the book /OpenSceneGraph

Re: [osg-users] VBO's - lifetime.

2009-11-26 Thread Robert Osfield
Hi Nico, osgcamera -r Tetra.osg is failing due to issue with clean up of the buffer object pool. I have already tracked down a bug in the clean up of the texture object pool, and found the same problem in the buffer object pool and applied the same fix, but alas still the problem persists so ther

Re: [osg-users] [osgOcean] Wake effects?

2009-11-26 Thread Kim Bale
Hi Peter, Well this is really what the many weird and wonderful configurable options are for in OceanScene, nearly every effect can be turned off an on to suit the graphics card configuration. I think it's probably better to do it this way, rather than grouping them together to give the low,medium

Re: [osg-users] [build] How to properly use the OSG_GL3_AVAILABLE CMake option?

2009-11-26 Thread Robert Osfield
Hi John, On Wed, Nov 25, 2009 at 9:02 PM, John Price wrote: > My project is still in development and has a long term objective. My view is > forward looking, so I am interested in embracing gl3 as development > progresses. I am primarily developing for nVidia hardware, and am > particularly i

Re: [osg-users] Custom code in OSG core

2009-11-26 Thread Robert Osfield
Hi Sukender, So what you are after is a proxy Image class :-) One possible tweak would be to enable th OSG to carry osg::Image which have their FileName field set, but have their data set to null so they contain no data. This is the easy part as you can do this right now - the next bit is gettin

[osg-users] question on status of dae (collada) plugin

2009-11-26 Thread Frederic Marmond
Hello world, I'm trying to load some collada files from osg, using osgviewer, recent trunk version on msvc8. I tried on those found on the collada-dom package (collada-dom/dom/test/1.4/data/*.dae ), but only one (cube.dae) is really loading. Some crash (segfault), some display an empty scene, and

Re: [osg-users] help me with osg::Imagestream and osg::Image

2009-11-26 Thread Robert Osfield
On Thu, Nov 26, 2009 at 5:57 AM, Ivan Salguero wrote: > yes yes but i execute osgmovie and it say me that i need a pluging what kind > of pluging i need?? so it's weird because when i compile the code some libs > las image and imagestream doesn't have some functions but .exe it's work > correct

Re: [osg-users] IntersectVisitor does not recognize Nodes on different Projection

2009-11-26 Thread Peter Hrenka
Hi Thorsten, Thorsten Werner schrieb: Hi, I've got a loaded model which is a child of the root. the second child of the root node is a ortho2d projection, which i use for the GUI. Now i've taken the example osgkeyboardmouse from the osg site and my problem is that it only catches intersection

Re: [osg-users] how to suspend rendering context thread

2009-11-26 Thread Jakob Ruhe
Hi Forest. Your question fits better in a forum for MFC or Windows programming. You can use the Win32 API function GetForegroundWindow to see which window has the focus or you can use GetWindowPlacement to get the state about a specific window. You should also consider using "on-demand rendering"

Re: [osg-users] [ANN] The book OpenSceneGraph Design and Implementation is published

2009-11-26 Thread Ümit Uzun
Thanks Wang, But is there anyone who is OSG user and knows Chinese and wants to translate this book to english in the future? :) Or will you translate it to make it more universe? Regards. Ümit Uzun 2009/11/26 Andrea Negri > Hi Wang, > > any chance to see an english version of your book in t

Re: [osg-users] [osgOcean] Wake effects?

2009-11-26 Thread Tian Ma
Hi Kim: Thanks for your helpful work! Does the information inf file "ocean_output.txt" help? Regards, Tian Kim Bale wrote: > Hi Peter, > > Well this is really what the many weird and wonderful configurable > options are for in OceanScene, nearly every effect can be turned off > an on to suit

Re: [osg-users] [ANN] The book OpenSceneGraph Design and Implementation is published

2009-11-26 Thread Pierre Bourdin (gmail)
Hi Wang and felicitations, I've had a very quick look at the sample and they are pretty good. Illustrating each particular point very clearly. I really miss reading Chinese, if you have any chance to translate the book, I'll be interested too. Regards, Pierre. Le jeudi 26 novembre 2009 à 10:17 +

Re: [osg-users] [ANN] The book OpenSceneGraph Design and Implementation is published

2009-11-26 Thread Pierre Bourdin (gmail)
Dear Wang, I just wanted to add a small question off the mailing-list. I've seen in the mail, you have been collaborating with many Chinese Universities among which some people of the Beijing Forestry University... I am just starting a project about Virtual Landscape Visualization with Xavier Pu

Re: [osg-users] [osgOcean] Wake effects?

2009-11-26 Thread Kim Bale
Hi Tian, It did highlight some useful stuff. Unfortunately I won't get round to fixing this immediately. However, if you want to use the version in the trunk you can probably get round it by replacing the uniform booleans one by one with hard coded values in the water shader for the options you w

[osg-users] [3rdparty] osg::Image chosen library

2009-11-26 Thread Ant Kennedy
Hi, hopefully someone will be able to help as this has been doing my head in. Is there any way to force the library which osg::Image uses when opening a file as I am having issues when trying to load a .png file and it is not using osgdb_png. Many Thanks Ant -- Read this topi

[osg-users] OT: GLSL syntax highlighting for VS2008

2009-11-26 Thread Kim Bale
Hello all, The lack of glsl syntax highlighting has always bugged me in visual studio, there were a number of workarounds that sort of worked but they all had their problems. So I thought I'd share this link I found today for pretty decent syntax highlighter plugin for visual studio 2008, I'm sure

Re: [osg-users] question on status of dae (collada) plugin

2009-11-26 Thread Roger James
Frederic Marmond wrote: Hello world, I'm trying to load some collada files from osg, using osgviewer, recent trunk version on msvc8. I tried on those found on the collada-dom package (collada-dom/dom/test/1.4/data/*.dae ), but only one (cube.dae) is really loading. Some crash (segfault), so

Re: [osg-users] VBO's - lifetime.

2009-11-26 Thread Robert Osfield
Hi Nico, I've tracked down issues with both the clean up of the texture object pool and buffer object pool that has required introduction of some new methods for cleanup. I have checked into svn/trunk the initial cut of this code, it enables "osgcamera -r 5 tetra.osg" to work just fine, as well a

Re: [osg-users] CompositeViewer context cleanup and missing textures

2009-11-26 Thread Robert Osfield
Hi J.P, I have done a lot more investigation in the context clean up issues and have checked in a provisional fix for the issues. Could you please do an svn update and then test against your own applications to see if things are fixed. The code I've just checked in still has lots of debug info i

Re: [osg-users] [3rdparty] osg::Image chosen library

2009-11-26 Thread Ant Kennedy
Looks like I found my answer reading through the documentation. In case anyone is interested I just had to specify in the constructor [code]osgDB::Registry::instance()->createLibraryNameForFile("x.png");[/code] Cheers anyway -- Read this topic online here: http://forum.openscene

Re: [osg-users] VBO's - lifetime.

2009-11-26 Thread Nico Kruithof
Sure, I'll do that tonight. Thanks a lot for looking into this. -- Nico On Thu, Nov 26, 2009 at 1:36 PM, Robert Osfield wrote: > Hi Nico, > > I've tracked down issues with both the clean up of the texture object > pool and buffer object pool that has required introduction of some new > methods f

[osg-users] imageio problems and possible solutions on loading some PNG images.

2009-11-26 Thread Tatsuhiro Nishioka
Hi there, I have two problems in drawing PNG image using imageio on Mac OS X. One problem is that 16-bit grayscale textures (PNG images) cannot be loaded due to the following errors: : CGBitmapContextCreate: unsupported parameter combination: 8 integer bits/component; 16 bits/pixel; 1-componen

Re: [osg-users] question on status of dae (collada) plugin

2009-11-26 Thread Frederic Marmond
Hi Roger, In fact, I based my build on this 'howto' : http://www.openscenegraph.org/projects/osg/wiki/Support/KnowledgeBase/Collada where it is suggested to rename the .kml to .dae Maybe this doc is wrong or outdated ? (by the way, the page is currently unaccessible...) Ok, reading .dae from othe

Re: [osg-users] Problem with Camera::inheritCullSettings

2009-11-26 Thread Robert Osfield
HI Paul, My inclination would be to add an extra CullSettings inheritance mask value for inheriting the ClearMask - as this would fit the way that other variables are inherited down. As for the naming of inheritCullSettings, I do also feel that it's not perfect for conveying what it does, as ordi

Re: [osg-users] question on status of dae (collada) plugin

2009-11-26 Thread Jan Ciger
Roger James wrote: > Frederic Marmond wrote: > Hello world, > > I'm trying to load some collada files from osg, using osgviewer, > recent trunk version on msvc8. > I tried on those found on the collada-dom package > (collada-dom/dom/test/1.4/data/*.dae ), but only one (cube.dae) is > really load

Re: [osg-users] imageio problems and possible solutions on loading some PNG images.

2009-11-26 Thread Robert Osfield
HI Tat, I don't have a OSX system to test against personally, but for those who do have OSX and wish to help investigate this bug with the imageio plugin it would be worth putting together a small set of test images that you see problems so that they can reproduce the problem themselves. Also if

Re: [osg-users] [ANN] The book OpenSceneGraph Design and Implementation is published

2009-11-26 Thread Wang Rui
Hi guys, I'd like to help translate my book or any other materials into English, at any time. But a major problem is, the copyright holder of this book is Tsinghua University Press, and it may be inappropriate to publish it under CC license or any other free ones again. Do you think that we could

Re: [osg-users] [ANN] The book OpenSceneGraph Design and Implementation is published

2009-11-26 Thread Robert Osfield
Hi Wang Rui, First up, congrats on the new book ;-) On Thu, Nov 26, 2009 at 2:13 PM, Wang Rui wrote: > I'd like to help translate my book or any other materials into English, at > any time. But a major problem is, the copyright holder of this book is > Tsinghua University Press, and it may be in

Re: [osg-users] [ANN] The book OpenSceneGraph Design and Implementation is published

2009-11-26 Thread Jean-Sébastien Guay
Hello Wang Rui, After 3 months of long waiting (from the SIGGRAPH to present), I am very pleased to announce that, the book /OpenSceneGraph Design and Implementation/, which is written by Wang Rui and Qian Xuelei and predicted on the OSG BOF, finally COMES OUT! Great work on getting your boo

Re: [osg-users] [ANN] The book OpenSceneGraph Design and Implementation is published

2009-11-26 Thread Jean-Sébastien Guay
Hi again Wang Rui, I just went to the product page on dangdang.com, and it seems it's out of stock? http://product.dangdang.com/product.aspx?product_id=20732977 http://translate.google.com/translate?js=y&prev=_t&hl=en&ie=UTF-8&u=http%3A%2F%2Fproduct.dangdang.com%2Fproduct.aspx%3Fproduct_id%3D2

Re: [osg-users] [ANN] The book OpenSceneGraph Design and Implementation is published

2009-11-26 Thread Wang Rui
Hi Pierre, Is the project open source? Or just funded by some companies or organizations? I'd like to always work with open source teams with passion and without any price. :) Otherwise, I would be glad to help after ensuring that it won't affect my current work too much. I'm working for Beijing G

Re: [osg-users] [ANN] The book OpenSceneGraph Design and Implementation is published

2009-11-26 Thread Wang Rui
Hi Robert, Thanks for your information. Tomorrow I will ask Tsinghua University Press if it possible. Cheers, Wang Rui 2009/11/26 Robert Osfield robert.osfi...@gmail.com > > We currently publish the "Quick Start Guide" using Lulu.com, Lulu > prints books to order, and all you need to do to upl

Re: [osg-users] Custom code in OSG core

2009-11-26 Thread Jean-Sébastien Guay
Hi Robert, Sukender, The issue of proxy image is something that the osg::Texture's UnrefImageAfterApply could do with as it currently discards the whole osg::Image, so later on when you try to save the model there is no Image to provide the FileName to use to write to file you want to write out.

Re: [osg-users] question on status of dae (collada) plugin

2009-11-26 Thread Roger James
Jan Ciger wrote: Roger James wrote: Frederic Marmond wrote: Hello world, I'm trying to load some collada files from osg, using osgviewer, recent trunk version on msvc8. I tried on those found on the collada-dom package (collada-dom/dom/test/1.4/data/*.dae ), but only one (cube.d

Re: [osg-users] Custom code in OSG core

2009-11-26 Thread Sukender
Hi Robert, hi all, Glad to see there's a half-solution. But I must admit I got more questions than before! I guess UnrefImageAfterApply won't be called if I don't even display the scene, so how will writers behave? If they try to read image data, that won't work of course. But will they simply

Re: [osg-users] [ANN] The book OpenSceneGraph Design and Implementation is published

2009-11-26 Thread Wang Rui
Hi J-S, Thank you for the encouragement. Yes, dangdang.com is out of stock temporarily, because of the over 2400 osgChina members waiting for this book. :-D I'd like to help anybody here order this book and post it, or just bring it to the next OSG BOF if possible. Just remind me at the mail list

Re: [osg-users] [ANN] The book OpenSceneGraph Design and Implementation is published

2009-11-26 Thread Jean-Sébastien Guay
Hello Wang Rui, Thank you for the encouragement. Yes, dangdang.com is out of stock temporarily, because of the over 2400 osgChina members waiting for this book. :-D Heh, they underestimated demand, classic :-) I'd like to help anybody here order this book and post it, o

Re: [osg-users] [ANN] The book OpenSceneGraph Design and Implementation is published

2009-11-26 Thread Jean-Sébastien Guay
Hi Wang Rui, Well the next OSG BOF is in August next year - I'll wait to see if dangdang.com has stock soon and try to order it then. Well, I think I was able to register at dangdang.com and sign up to be notified when there is more stock for your book... Yay for Google Translate :-) It sa

Re: [osg-users] [ANN] The book OpenSceneGraph Design and Implementation is published

2009-11-26 Thread Wang Rui
Hi J-S, Really great! So Chinese is not so hard to learn and understand, isn't it? Even Google Translate can do it well. :) Don't worry if this website has no stock. I will try to find if it could be ordered from lulu.com or other online bookstores as well. And I will also keep some myself, and p

Re: [osg-users] Custom code in OSG core

2009-11-26 Thread Robert Osfield
Hi J-S, On Thu, Nov 26, 2009 at 2:09 PM, Jean-Sébastien Guay wrote: > An additional benefit would be when doing runtime creation/destruction of > contexts. Right now, if you do that, you need to turn off > unrefImageAfterApply, or else in the new contexts the textures will be > missing. But this

Re: [osg-users] Custom code in OSG core

2009-11-26 Thread Robert Osfield
Hi Sukender, I feel that just adding an flag into osg::Image or a callback to do the loading, would be better than requiring a whole new osg::Image subclass. This way osg::ImageStream would also benefit from the capability. The real question is how do to wire it all up? Do we just rely on user

Re: [osg-users] [ANN] The book OpenSceneGraph Design and Implementation is published

2009-11-26 Thread Paul Martz
Jean-Sébastien Guay wrote: Hello Wang Rui, After 3 months of long waiting (from the SIGGRAPH to present), I am very pleased to announce that, the book /OpenSceneGraph Design and Implementation/, which is written by Wang Rui and Qian Xuelei and predicted on the OSG BOF, finally COMES OUT! Co

Re: [osg-users] [ANN] The book OpenSceneGraph Design and Implementation is published

2009-11-26 Thread Paul Martz
Another option here is that Addison-Wesley might be interested in purchasing the English translation rights from Tsinghua University Press. Wang Rui, if there is some way you could email me a PDF of everything up to the end of the 2nd chapter, just as an example, I could pass it on to my editor

Re: [osg-users] imageio problems and possible solutions on loading some PNG images.

2009-11-26 Thread Stephan Maximilian Huber
Hi, Tatsuhiro Nishioka schrieb: > Another problem is that imageio's libpng doesn't properly handle transparency > in PNG file. The problem I have is that the transparency in PNG files are not > at all handled and we see a lot of unexpected black or dark portions. I > strongly recommend the use

Re: [osg-users] Question about osgManipulator::GridConstraint

2009-11-26 Thread Matthias Asselborn
Hello, Robert, did you get the file? Thank you! Cheers, Matthias -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=20445#20445 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://li

Re: [osg-users] Question about osgManipulator::GridConstraint

2009-11-26 Thread Robert Osfield
On Thu, Nov 26, 2009 at 4:19 PM, Matthias Asselborn wrote: > Hello, Robert, > > did you get the file? Yes thanks. I haven't been able to look at it yet though as I've been investigated crashes. I have plenty of tasks to juggle so if you're able to make headway before I get a chance to look at i

Re: [osg-users] Custom code in OSG core

2009-11-26 Thread Sukender
Hi Robert, JS and all, Ok. So, I suggest: - Image::get/setProxyLoadCallback (but isn't it the same as subloadcallbacks??) - An option for readers to not load textures but define a callback instead - Calls to "if (!data && proxy) (*proxy)();" when accessing pixel data - Image::onApplied(), as descr

Re: [osg-users] question on status of dae (collada) plugin

2009-11-26 Thread Jan Ciger
Hello Roger, Roger James wrote: > The latest version of Sketchup now gets it the right way round. However > that now breaks a fix that I put in some time ago. This fix checks for the > string "Google Sketchup" in the field at the start of the > dae document. So you can defeat it by changing

Re: [osg-users] VBO's - lifetime.

2009-11-26 Thread Nico Kruithof
Hi Robert, Perfect! My application works exits normally again. The glider works as well. Only the tetra file didn't. It crashes after the first viewer. osgcamerad.exe -j 3 d:\tetra.osg: Warning: Could not find plugin to read objects from file "3". GLBufferObjectSet::GLBufferObjectSet _profile._s

Re: [osg-users] imageio problems and possible solutions on loading some PNG images.

2009-11-26 Thread Tatsuhiro Nishioka
Hi Robert and Stephan, I can see the problem using osgviewer. The images I use are available from: http://cvs.flightgear.org/viewvc/data/Textures/Sky/ Here I list some images that show the problems: [Black Edges instead of transparency] broken_n.png: PNG image data, 256 x 256, 8-bit/color RGBA,

Re: [osg-users] VBO's - lifetime.

2009-11-26 Thread Robert Osfield
HI Nico, On Thu, Nov 26, 2009 at 5:16 PM, Nico Kruithof wrote: > Hi Robert, > Perfect! My application works exits normally again. The glider works as > well. Only the tetra file didn't. It crashes after the first viewer. So you still have a crash with tetra.osg then? FYI, I've made a couple of

[osg-users] Slave camera configuration by config file

2009-11-26 Thread Paul Martz
Hi Robert -- How would I create a config file that would tell osgViewer to arrange four slave cameras in a 2x2 configuration? I have a system with four displays arranged as a 2x2 powerwall. If I simply bring up "osgviewer cow.osg", osgViewer seems to think that the four displays are arranged h

Re: [osg-users] Slave camera configuration by config file

2009-11-26 Thread Paul Martz
Paul Martz wrote: OSG_CAMERA_FILE=Configuration/AllScreens.view osgviewer cow.osg ^^ Oops, that's OSG_CONFIG_FILE, of course. -Paul ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/l

Re: [osg-users] Slave camera configuration by config file

2009-11-26 Thread Jean-Sébastien Guay
Hi Paul, I have a system with four displays arranged as a 2x2 powerwall. If I simply bring up "osgviewer cow.osg", osgViewer seems to think that the four displays are arranged horizontally. That seems like a fine default assumption. Yes, I've seen this too. On Windows (and I expect on Linux

[osg-users] [3rdparty] How to configure VPB to start compiling database at random tiles.

2009-11-26 Thread Torben Dannhauer
Hi, I compile a large Database (800GB terraindata) to a single database. so far it is compiling, but besides 2 processes, all other osgdem instances are more or less at idle, waiting for disk. My source data is spreaded above 4 Disks to lower the disk load an consist of the following directori

Re: [osg-users] broken osgconv.exe

2009-11-26 Thread Mattias Helsing
Hi Ted, J-S, all, First - all creds and kudos for the vc90 binary win32 2.8.2 packages to Sukender, not me. Second - did you (Ted) sort this out? Can we drop it or do you still have problems? Mattias On Wed, Nov 25, 2009 at 1:03 PM, Mattias Helsing wrote: > Hi again Ted, > > I can't find any d

[osg-users] normal vectors aren't causing culling

2009-11-26 Thread Jim Brooks
This is very basic This test-code snippet is supposed to create a simple square with a normal vector (or vectors). After rotating it around with the trackball manipulator, the square is never culled. Same behavior on OSG 2.6 and 2.8. Also, having trouble with with a dome composed of squares c

Re: [osg-users] normal vectors aren't causing culling

2009-11-26 Thread Simon Hammett
2009/11/26 Jim Brooks > This is very basic > > This test-code snippet is supposed to create a simple square with a > normal vector (or vectors). > After rotating it around with the trackball manipulator, the square is > never culled. > Same behavior on OSG 2.6 and 2.8. > Culling is not enabl

Re: [osg-users] [osgOcean] Wake effects?

2009-11-26 Thread Tian Ma
Hi Kim: Thank you! By now, I am using the olde version. And I will try more. Regards, Tian Kim Bale wrote: > Hi Tian, > > It did highlight some useful stuff. Unfortunately I won't get round to > fixing this immediately. > > However, if you want to use the version in the trunk you can probab

Re: [osg-users] [build] How to properly use the OSG_GL3_AVAILABLE CMake option?

2009-11-26 Thread John Price
Hi Robert, My understanding of the way bindness graphics actually achieves its speedup is by not requiring CPU dereferencing of graphic object pointers and the likely L2 cache misses this causes. nVidia states: OpenGL has evolved in a way that allows applications to replace many of the origin

[osg-users] [build] problem building OSGOCean in fedora 11

2009-11-26 Thread Aburik Mathnan
Hi, When i try to make OSG Ocean in my fedora 11, i get the following errors [r...@coral osgOcean]# cmake . -- Using FFTSS (LGPL) as FFT library. CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested corr

Re: [osg-users] VBO's - lifetime.

2009-11-26 Thread Nico Kruithof
Aargh. Yes, -r it was. I'll try this tonight or tomorrow. Nico On Thu, Nov 26, 2009 at 7:12 PM, Robert Osfield wrote: > HI Nico, > > On Thu, Nov 26, 2009 at 5:16 PM, Nico Kruithof > wrote: > > Hi Robert, > > Perfect! My application works exits normally again. The glider works as > > well. Only

Re: [osg-users] [vpb] lots of failed tasks: Resuming vpbmaster run

2009-11-26 Thread Torben Dannhauer
Hi, Now an update to my compiling Problem: I have new hardware ( Nehalem architecture ) I installed a fresh system: 64 Bit Kubuntu 9.10 Karmic Koala with OSG 2.8.2 and the corresponding VPB. In constrast to my last setup, local rendering with all source data does not fail. Last night I cancele