Re: [osg-users] flt file not working

2011-03-25 Thread Andreas Ekstrand

Hi Peter,

I think your FLT file is invalid. There doesn't seem to be any push 
record between the header node with its ancillary records and the 
following group node. Where does test.flt come from?


Regards,
Andreas Ekstrand


On 2011-03-25 11:45, Peter Wraae Marino wrote:

Hej osgUsers,

I have attached an flt file which will not load with osgviewer.
I have also tried to convert it to a .osg file and it becomes:
Group {
  name db
  nodeMask 0x
  cullingActive TRUE
}

which is pretty much empty?

we are using osg version 2.8.3 on windows 7
the flt file loads fine in a terravista buildt in viewer and polytrans.

any ideas why it doesn't work with osgviewer?

regards,
Peter

--
Bellinge Gymnasterne: http://www.bellingegymnasterne.dk
Power Tumbling: http://www.powertumbling.dk
OSG-Help: http://code.google.com/p/sigmaosg
Personal Site: http://www.marino.dk


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



--
*__*
*Andreas Ekstrand*
*CEO / Co-founder*
Phone: +46 708 490697
Fax: +46 13 9913093
andreas.ekstr...@remograph.com mailto:andreas.ekstr...@remograph.com

*Remograph AB*
Norrbergavägen 58
SE-590 54 Sturefors
SWEDEN
www.remograph.com http://www.remograph.com/
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] flt file not working

2011-03-25 Thread Peter Wraae Marino
Hej Andreas,

the test.flt comes from TerraVista export :(

regards,
Peter

On Fri, Mar 25, 2011 at 12:28 PM, Andreas Ekstrand 
andreas.ekstr...@remograph.com wrote:

  Hi Peter,

 I think your FLT file is invalid. There doesn't seem to be any push record
 between the header node with its ancillary records and the following group
 node. Where does test.flt come from?

 Regards,
 Andreas Ekstrand



 On 2011-03-25 11:45, Peter Wraae Marino wrote:

 Hej osgUsers,

  I have attached an flt file which will not load with osgviewer.
 I have also tried to convert it to a .osg file and it becomes:
  Group {
   name db
   nodeMask 0x
   cullingActive TRUE
 }

  which is pretty much empty?

  we are using osg version 2.8.3 on windows 7
 the flt file loads fine in a terravista buildt in viewer and polytrans.

  any ideas why it doesn't work with osgviewer?

  regards,
 Peter

 --
 Bellinge Gymnasterne: http://www.bellingegymnasterne.dk
 Power Tumbling: http://www.powertumbling.dk
 OSG-Help: http://code.google.com/p/sigmaosg
 Personal Site: http://www.marino.dk


 ___
 osg-users mailing 
 listosg-users@lists.openscenegraph.orghttp://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org



 --
 *__*
 *Andreas Ekstrand*
 *CEO / Co-founder*
  Phone: +46 708 490697
 Fax: +46 13 9913093
 andreas.ekstr...@remograph.com

  *Remograph AB*
 Norrbergavägen 58
 SE-590 54 Sturefors
 SWEDEN
 www.remograph.com

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




-- 
Bellinge Gymnasterne: http://www.bellingegymnasterne.dk
Power Tumbling: http://www.powertumbling.dk
OSG-Help: http://code.google.com/p/sigmaosg
Personal Site: http://www.marino.dk
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] flt file not working

2011-03-25 Thread Gordon Tomlinson
Hi Jason


I would expect Creator to handle things better than OSG as Creator has a
quite a robust and forgiving FLT file reader ( as it should : ) ) , and it
can handle malformed files quite well, it will skip records it does not know
etc. and try to create  usable structure, you might see issues in things
like the material and color pallets etc. 

If you save the file out from Creator then it will be upgraded to the
version of open flight and written out with the correct records etc. You
lose details that were to malformed for Creator to handle  etc..

Also you might look in the Creator log it may have spit out some warnings or
notices about the original file


Also what version of Open Flight was the original file written by Terra
Vista ,as this may affect the ability of the OSG to read the file, 

Creator will read files in back as far as V12 and maybe even earlier
depending on the file, but some things are no longer supported by Creator so
you can get some oddities on versions earlier the V14


__
Gordon Tomlinson 

www.photographybyGordon.com
www.gordontomlinson.com 
www.vis-sim.com 

Self defence is not a function of learning tricks  but is a function of how

quickly and intensely one can arouse one's instinct for survival 
-Master Tambo Tetsura 

-Original Message-
From: osg-users-boun...@lists.openscenegraph.org
[mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Jason Daly
Sent: Friday, March 25, 2011 5:57 PM
To: OpenSceneGraph Users
Subject: Re: [osg-users] flt file not working

On 03/25/2011 07:42 AM, Peter Wraae Marino wrote:
 Hej Andreas,

 the test.flt comes from TerraVista export :(


Weird.  Creator 4.1 loads it fine.  I opened it and saved it back out as
test2.flt (attached).  osgviewer at least shows something with this one (not
sure it's correct).

--J



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


Re: [osg-users] flt file not working

2011-03-25 Thread Jason Daly

On 03/25/2011 03:00 PM, Gordon Tomlinson wrote:

I would expect Creator to handle things better than OSG as Creator has a
quite a robust and forgiving FLT file reader ( as it should : ) ) , and it
can handle malformed files quite well, it will skip records it does not know
etc. and try to create  usable structure, you might see issues in things
like the material and color pallets etc.


Yeah, I know.  I've found the OSG loader to be at least somewhat 
forgiving, too.  I guess I'd just expect it to get something on the 
screen, even if it's not completely correct.




If you save the file out from Creator then it will be upgraded to the
version of open flight and written out with the correct records etc. You
lose details that were to malformed for Creator to handle  etc..

Also you might look in the Creator log it may have spit out some warnings or
notices about the original file


I did check the error log.  Didn't see anything relevant.



Also what version of Open Flight was the original file written by Terra
Vista ,as this may affect the ability of the OSG to read the file,

Creator will read files in back as far as V12 and maybe even earlier
depending on the file, but some things are no longer supported by Creator so
you can get some oddities on versions earlier the V14


Peter's file was 15.8.  The one I sent will be 16.4.

--J

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


Re: [osg-users] flt file not working

2011-03-25 Thread Gordon Tomlinson
Hi Jason

I looked at the file in an older version (3.0)

It had no Material palette and the Color palette look pretty hosed as well
so  I suspect that is malformed as well, 


I think the file is just not really Open Flight compliant and thus why the
OSG reader is struggling


__
Gordon Tomlinson 

www.photographybyGordon.com
www.gordontomlinson.com 
www.vis-sim.com 

Self defence is not a function of learning tricks  but is a function of how

quickly and intensely one can arouse one's instinct for survival 
-Master Tambo Tetsura 


-Original Message-
From: Jason Daly [mailto:jd...@ist.ucf.edu] 
Sent: Friday, March 25, 2011 7:07 PM
To: gor...@gordon-tomlinson.com; OpenSceneGraph Users
Subject: Re: [osg-users] flt file not working

On 03/25/2011 03:00 PM, Gordon Tomlinson wrote:
 I would expect Creator to handle things better than OSG as Creator has 
 a quite a robust and forgiving FLT file reader ( as it should : ) ) , 
 and it can handle malformed files quite well, it will skip records it 
 does not know etc. and try to create  usable structure, you might see 
 issues in things like the material and color pallets etc.

Yeah, I know.  I've found the OSG loader to be at least somewhat forgiving,
too.  I guess I'd just expect it to get something on the screen, even if
it's not completely correct.


 If you save the file out from Creator then it will be upgraded to the 
 version of open flight and written out with the correct records etc. 
 You lose details that were to malformed for Creator to handle  etc..

 Also you might look in the Creator log it may have spit out some 
 warnings or notices about the original file

I did check the error log.  Didn't see anything relevant.


 Also what version of Open Flight was the original file written by 
 Terra Vista ,as this may affect the ability of the OSG to read the 
 file,

 Creator will read files in back as far as V12 and maybe even earlier 
 depending on the file, but some things are no longer supported by 
 Creator so you can get some oddities on versions earlier the V14

Peter's file was 15.8.  The one I sent will be 16.4.

--J



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