Re: [osg-users] Strange results from osgviewer

2012-02-23 Thread Chris Blizniak
Hi,

Robert, thank you for your suggestions. I used the svn version and there is no 
difference. Now, when I can add some images to my post I included a screen-shot 
of 'osgviewerQt', when the two 3D models are not displayed correctly, these are 
'cow' and 'dumptruck', left top and right top windows respectively. 

[Image: http://obrazki.elektroda.pl/2590187500_1329991217_thumb.jpg ] 
(http://obrazki.elektroda.pl/2590187500_1329991217.png)

Secondly, after building OSG last night, I have noticed that now I cannot even 
run the examples showing use of textures, I have problem with
'osgtexture2d.exe' - this one crashes, 'osgtexture3d.exe' is fine but it 
doesn't display the texture, it says only that it could not open files.

What is the difference between 3d model of 'cessna' and 'cow', why only one of 
them is displayed ok.

Thank you!

Cheers,
Chris

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=45708#45708





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] Strange results from osgviewer

2012-02-23 Thread Robert Osfield
Hi Chris,

What hardware are you using?  Could you try another system with
different hardware and drivers?

Also could you try running the following in a console:

  osgconv cow.osgt cow_fromosgt.osg

And then post the cow_fromosgt.osg, this might offer some insight in
what might be going amiss.

You could also try:

  osgconv cow.osg cow_fromosg.osgt
  osgviewer cow_fromosg.osgt

And:

  osgconv cow.osg cow_fromosg.osgb
  osgviewer cow_fromosg.osgb


If the binary (.osgb) works and the text (.osgt) version doesn't it
would suggest something wrong with the parsing of the text file.  In
the past we have seen problems with some ascii file loaders with
handling different local settings - i.e ten point 1 being 10.1 vs
1,10.

The only possibility I can think of is that you have an out of date
OpenSceneGraph-Data.

Robert.

On 23 February 2012 10:03, Chris Blizniak bliznia...@hotmail.com wrote:
 Hi,

 Robert, thank you for your suggestions. I used the svn version and there is 
 no difference. Now, when I can add some images to my post I included a 
 screen-shot of 'osgviewerQt', when the two 3D models are not displayed 
 correctly, these are 'cow' and 'dumptruck', left top and right top windows 
 respectively.

 [Image: http://obrazki.elektroda.pl/2590187500_1329991217_thumb.jpg ] 
 (http://obrazki.elektroda.pl/2590187500_1329991217.png)

 Secondly, after building OSG last night, I have noticed that now I cannot 
 even run the examples showing use of textures, I have problem with
 'osgtexture2d.exe' - this one crashes, 'osgtexture3d.exe' is fine but it 
 doesn't display the texture, it says only that it could not open files.

 What is the difference between 3d model of 'cessna' and 'cow', why only one 
 of them is displayed ok.

 Thank you!

 Cheers,
 Chris

 --
 Read this topic online here:
 http://forum.openscenegraph.org/viewtopic.php?p=45708#45708





 ___
 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] Strange results from osgviewer

2012-02-23 Thread Chris Blizniak
Hi,

I tried to convert cow.osg and cow.osgt to .osgt, .osg, and .osgb all possible 
combinations. Using osgviewer, the results are the same. The 3D model is loaded 
only with few vertices, exactly the same as on the screen-shot above.

In terms of the hardware - I'm using a laptop, not too old, and the only 
problem is the Intel's integrated graphics card. To be honest I had a problem 
with video streaming in Qt when I used openGL to display video frames, it was 
incredibly slow. 

Anyway, I think I will stop here as I need to move on with my work. 
Textures work fine in few cases, I can load some simple objects, therefore it 
should be enough. I am not planning to do anything huge at the moment so the 
current setup should be enough. I have different problem but I will post that 
as a new post as it is not related to this one.

Thank you for your time. 


Cheers,
Chris

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=45714#45714





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] Strange results from osgviewer

2012-02-23 Thread Robert Osfield
Hi Chris,

Intel drivers are well known for causing problems and suspect this may
be causing the problems you are seeing.  The Intel drivers under Linux
do appear to be a little more stable than Windows so if you can dual
boot your system it might be worth experimenting with.  Also look to
see if there are any updated drivers for your laptop.

Robert.

On 23 February 2012 11:06, Chris Blizniak bliznia...@hotmail.com wrote:
 Hi,

 I tried to convert cow.osg and cow.osgt to .osgt, .osg, and .osgb all 
 possible combinations. Using osgviewer, the results are the same. The 3D 
 model is loaded only with few vertices, exactly the same as on the 
 screen-shot above.

 In terms of the hardware - I'm using a laptop, not too old, and the only 
 problem is the Intel's integrated graphics card. To be honest I had a problem 
 with video streaming in Qt when I used openGL to display video frames, it was 
 incredibly slow.

 Anyway, I think I will stop here as I need to move on with my work.
 Textures work fine in few cases, I can load some simple objects, therefore it 
 should be enough. I am not planning to do anything huge at the moment so the 
 current setup should be enough. I have different problem but I will post that 
 as a new post as it is not related to this one.

 Thank you for your time.


 Cheers,
 Chris

 --
 Read this topic online here:
 http://forum.openscenegraph.org/viewtopic.php?p=45714#45714





 ___
 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] Strange results from osgviewer

2012-02-22 Thread Chris Blizniak
Hi,

The version of OSG I'm currently using is 3.0.1.
I tried both source code and binaries, the same problems in both cases.

Apart from the issue with displaying some of the 3D models I have noticed that 
I cannot see any textures I use them in my program. Even the examples provided 
with OSG do not display any textures. 

Is it required to have dependencies like 'libpng' and 'libz' etc. present in 
the system before building OSG?

Because this is the only thing I missed when I was setting up OSG on my 
computer.


Thank you!

Cheers,
Chris

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=45685#45685





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] Strange results from osgviewer

2012-02-22 Thread Robert Osfield
Hi Chris,


On 22 February 2012 14:57, Chris Blizniak bliznia...@hotmail.com wrote:
 The version of OSG I'm currently using is 3.0.1.
 I tried both source code and binaries, the same problems in both cases.

Could you try svn/trunk.  There have been a few updates to the
serializers/.osgt/.osgb/.osgx support since 3.0.1 so there is chance
the problem is now resolved, although as I can't spot a specific bug
fix for the type of problem your are seeing this is a bit of long
shot.

One thing of note is that I don't recall other Windows users using
3.0.1 reporting problems as you've described so there is chance there
is something specific about your setup.

Trying out svn/trunk is worth trying out either ways as if it does
turn out there is bug lurking a fix to this will be made against
svn/trunk before it gets rolled out to stable releases.

 Apart from the issue with displaying some of the 3D models I have noticed 
 that I cannot see any textures I use them in my program. Even the examples 
 provided with OSG do not display any textures.

This is likely simply an issue of now having the image plugins that
these models require to handle images in them.


 Is it required to have dependencies like 'libpng' and 'libz' etc. present in 
 the system before building OSG?

This are optional dependencies - you don't need them to build the OSG,
but if you have models that use formats such as png you'll need the
associated dependencies.  You can use the published 3rd party
dependencies to get the most commonly used external dependencies.

Robert.
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] Strange results from osgviewer

2012-02-21 Thread Robert Osfield
Hi Chris,

Which version of the OSG are you using?

Robert.

On 28 January 2012 19:29, Chris Blizniak bliznia...@hotmail.com wrote:
 Hi,

 I've got a strange problem.
 By running osgviewer.exe dumptruck.osgt. The 3D model is not displayed 
 properly. The problem exists with the following models: cow, dumptruck, 
 cessnafire... I haven't tested more. There are no problems with displaying 
 cessna.osg or robot.osg.

 I cannot post a screenshot yet, as I need to have at least two posts.
 The result from osgviewer is quite strange and it looks like only certain 
 number of vertices has been loaded. It simply doesn't display a whole mesh 
 but only few lines.

 Thank you!

 Cheers,
 chris

 --
 Read this topic online here:
 http://forum.openscenegraph.org/viewtopic.php?p=45099#45099





 ___
 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