OpenSceneGraph Forum Forum Index OpenSceneGraph Forum
Official forum which mirrors the existent OSG mailing lists. Messages posted here are forwarded to the mailing list and vice versa.
 
   FAQFAQ    SearchSearch    MemberlistMemberlist    RulesRules    UsergroupsUsergroups    RegisterRegister 
 Mail2Forum SettingsMail2Forum Settings  ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
   AlbumAlbum  OpenSceneGraph IRC ChatOpenSceneGraph IRC Chat   SmartFeedSmartFeed 

osgconv osgjs bug file not found


 
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> Plugins [osgPlugins]
View previous topic :: View next topic  
Author Message
memory_thrasher
Newbie


Joined: 31 Jul 2018
Posts: 2

PostPosted: Tue Jul 31, 2018 5:21 pm    Post subject:
osgconv osgjs bug file not found
Reply with quote

Hi,

Apologies if this is not the right place for bug reports.

I am trying to convert a model in osgjs format with an external, merged binary file to obj. Textures, transparency, vertex colors etc. are irrelevant; all I care about is the shape. Unfortunately, osgconv reports "file not found." I reproduced this issue with the cow sample from the OpenSceneGraph-Data git repo (after converting it to osgjs, bouncing off of obj because osg to osgjs is also apparently broken).

Code:

$ ls
cow.osg Images

$ osgconv -O 'useExternalBinaryArray mergeAllBinaryFiles' cow.osg cow.frosg.osgjs
options useExternalBinaryArray mergeAllBinaryFiles
Fatal nb colors 1 != 7772
can't save osgjs file
Unable to write to output stream

$ osgconv -O 'useExternalBinaryArray mergeAllBinaryFiles' cow.osg cow.obj
Data written to 'cow.obj'.

$ osgconv -O 'useExternalBinaryArray mergeAllBinaryFiles' cow.obj cow.osgjs
options useExternalBinaryArray mergeAllBinaryFiles
TypedArray Uint16Array cow.bin 34.0078 kb
TypedArray Float32Array cow.bin 38.5195 kb
TypedArray Float32Array cow.bin 25.6797 kb
TypedArray Float32Array cow.bin 38.5195 kb
Use a merged binary file 4096 mb
Data written to 'cow.osgjs'.

$ ls
cow.bin cow.frosg.osgjs cow.mtl cow.obj cow.osg cow.osgjs Images

$ osgconv cow.osgjs cow_out.osg
Error reading file cow.osgjs: file not found
Error no data loaded.

$ osgconv cow.osgjs cow_out.ogj
Error reading file cow.osgjs: file not found
Error no data loaded.

$


Since you do not distribute binary releases, I can only test my local compilation, so it could theoretically be a problem with my build environs. I get identical results in two test environs: cygwin on win7 x64 and gcc on ubuntu 16 x64.

Thank you!

Cheers,
Sid
Back to top
View user's profile Send private message
memory_thrasher
Newbie


Joined: 31 Jul 2018
Posts: 2

PostPosted: Mon Aug 20, 2018 6:47 am    Post subject:
osgconv osgjs bug file not found
Reply with quote

Hi,

Apologies if this is not the right place for bug reports.

I am trying to convert a model in osgjs format with an external, merged binary file to obj. Textures, transparency, vertex colors etc. are irrelevant; all I care about is the shape. Unfortunately, osgconv reports "file not found." I reproduced this issue with the cow sample from the OpenSceneGraph-Data git repo (after converting it to osgjs, bouncing off of obj because osg to osgjs is also apparently broken).


Code:

$ ls
cow.osg Images

$ osgconv -O 'useExternalBinaryArray mergeAllBinaryFiles' cow.osg cow.frosg.osgjs
options useExternalBinaryArray mergeAllBinaryFiles
Fatal nb colors 1 != 7772
can't save osgjs file
Unable to write to output stream

$ osgconv -O 'useExternalBinaryArray mergeAllBinaryFiles' cow.osg cow.obj
Data written to 'cow.obj'.

$ osgconv -O 'useExternalBinaryArray mergeAllBinaryFiles' cow.obj cow.osgjs
options useExternalBinaryArray mergeAllBinaryFiles
TypedArray Uint16Array cow.bin 34.0078 kb
TypedArray Float32Array cow.bin 38.5195 kb
TypedArray Float32Array cow.bin 25.6797 kb
TypedArray Float32Array cow.bin 38.5195 kb
Use a merged binary file 4096 mb
Data written to 'cow.osgjs'.

$ ls
cow.bin cow.frosg.osgjs cow.mtl cow.obj cow.osg cow.osgjs Images

$ osgconv cow.osgjs cow_out.osg
Error reading file cow.osgjs: file not found
Error no data loaded.

$ osgconv cow.osgjs cow_out.ogj
Error reading file cow.osgjs: file not found
Error no data loaded.

$




Since you do not distribute binary releases, I can only test my local compilation, so it could theoretically be a problem with my build environs. I get identical results in two test environs: cygwin on win7 x64 and gcc on ubuntu 16 x64.

Thank you!

Cheers,
Sid

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







------------------
Post generated by Mail2Forum
Back to top
View user's profile Send private message
robertosfield
OSG Project Lead


Joined: 18 Mar 2009
Posts: 12145

PostPosted: Mon Aug 20, 2018 1:22 pm    Post subject:
osgconv osgjs bug file not found
Reply with quote

Hi Sid,

The OSG's osgjs plugin exists to convert to .osgjs not to read from
.osgjs. At worst this plugin isn't reporting this lack of support, so
if there is bug it's unhelpful error report.

As a general comment, when reporting issues it's best to specify which
version of the OSG that you are using, as bug tend to only exist with
specific versions.`

Robert.
On Mon, 20 Aug 2018 at 13:44, Sid Kerling <> wrote:
Quote:

Hi,

Apologies if this is not the right place for bug reports.

I am trying to convert a model in osgjs format with an external, merged binary file to obj. Textures, transparency, vertex colors etc. are irrelevant; all I care about is the shape. Unfortunately, osgconv reports "file not found." I reproduced this issue with the cow sample from the OpenSceneGraph-Data git repo (after converting it to osgjs, bouncing off of obj because osg to osgjs is also apparently broken).


Code:

$ ls
cow.osg Images

$ osgconv -O 'useExternalBinaryArray mergeAllBinaryFiles' cow.osg cow.frosg.osgjs
options useExternalBinaryArray mergeAllBinaryFiles
Fatal nb colors 1 != 7772
can't save osgjs file
Unable to write to output stream

$ osgconv -O 'useExternalBinaryArray mergeAllBinaryFiles' cow.osg cow.obj
Data written to 'cow.obj'.

$ osgconv -O 'useExternalBinaryArray mergeAllBinaryFiles' cow.obj cow.osgjs
options useExternalBinaryArray mergeAllBinaryFiles
TypedArray Uint16Array cow.bin 34.0078 kb
TypedArray Float32Array cow.bin 38.5195 kb
TypedArray Float32Array cow.bin 25.6797 kb
TypedArray Float32Array cow.bin 38.5195 kb
Use a merged binary file 4096 mb
Data written to 'cow.osgjs'.

$ ls
cow.bin cow.frosg.osgjs cow.mtl cow.obj cow.osg cow.osgjs Images

$ osgconv cow.osgjs cow_out.osg
Error reading file cow.osgjs: file not found
Error no data loaded.

$ osgconv cow.osgjs cow_out.ogj
Error reading file cow.osgjs: file not found
Error no data loaded.

$




Since you do not distribute binary releases, I can only test my local compilation, so it could theoretically be a problem with my build environs. I get identical results in two test environs: cygwin on win7 x64 and gcc on ubuntu 16 x64.

Thank you!

Cheers,
Sid

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








------------------
Post generated by Mail2Forum
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> Plugins [osgPlugins] All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Similar Topics
Topic Author Forum Replies Posted
No new posts Change color of node read from dxf file dhhabyc General 4 Sat Nov 17, 2018 12:58 pm View latest post
No new posts How to actually play animation in osg... Warren93 General 3 Tue Oct 23, 2018 1:23 pm View latest post
No new posts Load an obj file and mapping a given ... aaa3d General 3 Mon Aug 06, 2018 2:27 pm View latest post
No new posts error while loading .iv file in opens... Rj@123 General 0 Wed Jun 20, 2018 10:52 am View latest post
No new posts DXF file with text crashes on Intersect brianh General 4 Tue May 29, 2018 3:15 pm View latest post


Board Security Anti Bot Question MOD - phpBB MOD against Spam Bots
Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP