Re: [osg-users] Strange error with opening osg, osgt, osgb type files - ive files work ok.

2012-06-15 Thread Robert Osfield
Hi Maia, On 14 June 2012 17:26, Maia Randria veneree.randrianari...@crulrg.ulaval.ca wrote: I have the same problems: I can display *.osg or *.obj files with osgviewer or viewer. run() but not all *.osgt file. Some work and some not. Is this a bug of OSG (as reported in these discussions) ?

Re: [osg-users] Strange error with opening osg, osgt, osgb type files - ive files work ok.

2012-06-14 Thread Maia Randria
Hi, I have the same problems: I can display *.osg or *.obj files with osgviewer or viewer. run() but not all *.osgt file. Some work and some not. Is this a bug of OSG (as reported in these discussions) ? How to correct this ? Thank you, Maia -- Read this topic online here:

Re: [osg-users] Strange error with opening osg, osgt, osgb type files - ive files work ok.

2011-09-08 Thread Sanat Talmaki
Hi Wang, Sorry for my late response. I was away for sometime. Your catch was perfect. It was erroneous data that was causing it. I made the necessary changes to the source data and it works for the osg formats as well. Thanks for your clear explanation of why it was not working for osg with

Re: [osg-users] Strange error with opening osg, osgt, osgb type files - ive files work ok.

2011-09-01 Thread Wang Rui
Hi Sanat, Now I can figure out where the problem is, after some tests. :-) I print out the graph data when different kinds of files (ive, osg, osgb) are read into the scene and find that the processing of the questionable matrix (with all NAN values) are different. IVE plugin will directly read

[osg-users] Strange error with opening osg, osgt, osgb type files - ive files work ok.

2011-08-31 Thread Sanat Talmaki
Hi, I am creating a 3d geometry model and saving it out to osg, osgb, osgt and ive formats. I tried to view the saved files in osgviewer and strangely, I can only view the ive file. The others (osg, osgb, osgt) are not visible in viewer as only the background clear_color is seen. As can be

Re: [osg-users] Strange error with opening osg, osgt, osgb type files - ive files work ok.

2011-08-31 Thread Wang Rui
Hi Sanat, Unfortunately I didn't find the attached osg file in the mail, so I can't figure out why osgb and osgt files fail to load. Could you please send the file again? Wang Rui 2011/9/1 Sanat Talmaki sanat.sch...@gmail.com: Hi, I am creating a 3d geometry model and saving it out to osg,

Re: [osg-users] Strange error with opening osg, osgt, osgb type files - ive files work ok.

2011-08-31 Thread Sanat Talmaki
Hi Wang, Sure, I'm attaching the files with this post. I was having trouble attaching them in the morning, guess they didn't get attached after all. Thanks, Sanat -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=42352#42352 Attachments:

Re: [osg-users] Strange error with opening osg, osgt, osgb type files - ive files work ok.

2011-08-31 Thread Wang Rui
Hi Sanat, After taking a quick glance at the osg file, I've found that there are questionable matrix values setting in the MatrixTransform node. For example, you have a transformation node with such invalid matrix: Matrix { 1.#QNAN 1.#QNAN 1.#QNAN 1.#QNAN 1.#QNAN 1.#QNAN 1.#QNAN

Re: [osg-users] Strange error with opening osg, osgt, osgb type files - ive files work ok.

2011-08-31 Thread Sanat Talmaki
Hi Wang, The large translation values are intended as they are UTM coordinate values which can get pretty large. I'm not sure whether these are reasonable in your application or there is something wrong while saving to osg files. But these will cause the bound of the entire graph too large