Re: [osg-users] vrml plugin for 2.9.14

2011-05-27 Thread Robert Osfield
Hi Keith,

Could you please post the changes you've made as a full modified file
to osg-submissions.

Thanks,
Robert.

On Tue, May 17, 2011 at 8:17 PM, Keith Parkins
kpark...@cs.rochester.edu wrote:
 Hi all,

 I was playing around with the dev release 2.9.14 on Windows (not the
 latest svn) and had to play around with some build files to get it to
 compile. I'm no guru on cmake by any stretch, but to compile the plugin I
 had to edit one of the cmake files. First though, I downloaded openvrml
 0.17.12 and used my existing boost build (1.44.0 the plugin readme says
 to use an older version of boost, but I think this version works too). I
 noticed that cmake wanted to find openvrml _antlr and _regex libraries,
 but both are no longer used in openvrml. I commented out the following
 lines in  src/osgPlugins/vrml/CMakeLists.txt:

 #    FIND_LIBRARY(OPENVRML_ANTLR_LIBRARY
 #        NAMES antlr.lib
 #        PATHS $ENV{OPENVRML_DIR}/lib)
 #    FIND_LIBRARY(OPENVRML_ANTLR_LIBRARY_DEBUG
 #        NAMES antlrd.lib
 #        PATHS $ENV{OPENVRML_DIR}/lib)
 #    FIND_LIBRARY(OPENVRML_REGEX_LIBRARY
 #        NAMES regex.lib
 #        PATHS $ENV{OPENVRML_DIR}/lib)
 #    FIND_LIBRARY(OPENVRML_REGEX_LIBRARY_DEBUG
 #        NAMES regexd.lib
 #        PATHS $ENV{OPENVRML_DIR}/lib)


 and

    SET(TARGET_LIBRARIES_VARS
    #        OPENVRML_ANTLR_LIBRARY
    #        OPENVRML_REGEX_LIBRARY
            OPENVRML_LIBRARY
            JPEG_LIBRARY
            PNG_LIBRARY
            ZLIB_LIBRARY)

 Then I was able to run cmake without a problem.

 The last thing I had to do was to set one of the use/build macros
 defined in the openvrml library file openvrml-config.h. You need
 to choose either OPENVRML_USE_DLL or OPENVRML_USE_LIB depending on
 whether you are linking to dynamic or static libs. In VisualStudio, you
 just open up the properties window, find the Preprocessor menu under
 Configuration Properties-C/C++. Then click Preprocessor Definitions
 and add eitherOPENVRML_USE_DLL or OPENVRML_USE_LIB.

 I didn't notice any mention of this in the osg-users list, so I thought
 I'd send this out in case anyone else had this problem. If there is a
 cleaner solution that I missed, please do correct me.

 Thanks,
 -K

 Keith Parkins                    U of R Center for Visual Science
 ___
 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] vrml plugin for 2.9.14

2011-05-20 Thread Jan Ciger
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 05/17/2011 09:17 PM, Keith Parkins wrote:
 Hi all,

Hi Keith,

Could you, please, send your modified files to the osg-submissions list
so that they can be merged? Robert will likely miss them here. Also,
make a note that this requires recent OpenVRML version because of break
in compatibility. It would be ideal if you could modify the CMake files
to check for the version and either look for the extra libs or not,
depending on the version the user has.

Thanks,

Jan
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mandriva - http://enigmail.mozdev.org/

iD8DBQFN1rudn11XseNj94gRAuDiAJ9XTe9484Np/8pA7yFi6R9tVo9GpgCeIagP
+/B6JJQ32tYcJzMMyRlNV1o=
=x+Bk
-END PGP SIGNATURE-
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] vrml plugin for 2.9.14

2011-05-17 Thread Keith Parkins

Hi all,

I was playing around with the dev release 2.9.14 on Windows (not the
latest svn) and had to play around with some build files to get it to
compile. I'm no guru on cmake by any stretch, but to compile the plugin I
had to edit one of the cmake files. First though, I downloaded openvrml
0.17.12 and used my existing boost build (1.44.0 the plugin readme says
to use an older version of boost, but I think this version works too). I
noticed that cmake wanted to find openvrml _antlr and _regex libraries,
but both are no longer used in openvrml. I commented out the following
lines in  src/osgPlugins/vrml/CMakeLists.txt:

#FIND_LIBRARY(OPENVRML_ANTLR_LIBRARY
#NAMES antlr.lib
#PATHS $ENV{OPENVRML_DIR}/lib)
#FIND_LIBRARY(OPENVRML_ANTLR_LIBRARY_DEBUG
#NAMES antlrd.lib
#PATHS $ENV{OPENVRML_DIR}/lib)
#FIND_LIBRARY(OPENVRML_REGEX_LIBRARY
#NAMES regex.lib
#PATHS $ENV{OPENVRML_DIR}/lib)
#FIND_LIBRARY(OPENVRML_REGEX_LIBRARY_DEBUG
#NAMES regexd.lib
#PATHS $ENV{OPENVRML_DIR}/lib)


and

SET(TARGET_LIBRARIES_VARS
#OPENVRML_ANTLR_LIBRARY
#OPENVRML_REGEX_LIBRARY
OPENVRML_LIBRARY
JPEG_LIBRARY
PNG_LIBRARY
ZLIB_LIBRARY)

Then I was able to run cmake without a problem.

The last thing I had to do was to set one of the use/build macros
defined in the openvrml library file openvrml-config.h. You need
to choose either OPENVRML_USE_DLL or OPENVRML_USE_LIB depending on
whether you are linking to dynamic or static libs. In VisualStudio, you
just open up the properties window, find the Preprocessor menu under
Configuration Properties-C/C++. Then click Preprocessor Definitions
and add eitherOPENVRML_USE_DLL or OPENVRML_USE_LIB.

I didn't notice any mention of this in the osg-users list, so I thought
I'd send this out in case anyone else had this problem. If there is a
cleaner solution that I missed, please do correct me.

Thanks,
-K

Keith ParkinsU of R Center for Visual Science
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] VRML plugin working in iPhone / iOS?

2011-03-30 Thread Robert Osfield
Hi Ryan,

I can't comment on the issues of getting external dependencies to
compile under iOS, this I'd have to defer to those who have worked
under iOS and with these 3rd party libraries.

What I would add is that my expectation for mobile and embedded
application develop is that the constraints of the system would be
tight enough that you'd want to minimize the number of dependencies
your application has to keep the runtime memory footprint as well as
use of space and bandwidth on the device.  Secondy you would typically
want to optimize the databases to work within the constraints of the
device, either the GL target or simply the number textures, fillrate
and vertices per second that the database can handle.

Combine all these constraints together and you would naturally lean
towards using native binary formats like .osgb and offline
pre-processing all databases for the target.  The pre-processing of
database would be done on a workstation with all the 3rd party
dependencies you'd need to enable import of the data you need.   Once
could potentially do this procesing in the cloud at runtime too.

Robert.

On Tue, Mar 29, 2011 at 2:37 PM, Ryan Atkins ryatk...@gmail.com wrote:
 Has anyone had success getting the VRML plugin to work in iPhone / iOS?

 I see that it requires OpenVRML which from their website has depends on Boost 
 and some other optional libraries like libpng  libjpeg.

 Also, has anyone have any luck with these other formats?
 DAE
 OBJ
 FBX
 3DS


 Thanks,
 Ryan

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





 ___
 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] VRML plugin working in iPhone / iOS?

2011-03-30 Thread Ryan Atkins

robertosfield wrote:
 Combine all these constraints together and you would naturally lean
 towards using native binary formats like .osgb and offline
 pre-processing all databases for the target.  The pre-processing of
 database would be done on a workstation with all the 3rd party
 dependencies you'd need to enable import of the data you need.   Once
 could potentially do this procesing in the cloud at runtime too.


Hi Robert,
This is definitely a possibility I'd like to explore, especially in the 
cloud.  I have a managed VPS that runs CentOS RedHat.  Is this something I 
could use to get a version of OSG running to batch convert file formats to 
.osgb?   

Also, have you heard of anyone doing this type of thing on a service like 
Amazon?

Thanks,
Ryan

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





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


Re: [osg-users] VRML plugin working in iPhone / iOS?

2011-03-30 Thread Thomas Hogarth
Hi Ryan

Forgot the Vrml plugin :) I don't think OpenVrmls dependencies are a
problem, but OpenVrml itself probably will be as it uses OpenGL.

I think Roberts advise is very true here (as usual), even if you get
OpenVrml compiling it's going to add a lot of bloat to your app due to all
the extra dependencies.

The conversions seem like hassle, but once you have a work flow going it
only takes an extra click or two.

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


Re: [osg-users] VRML plugin working in iPhone / iOS?

2011-03-30 Thread Ryan Atkins
The writing seems to be on the wall about VRML.

Can OSG be used reliably as a batch conversion tool to get models from VRML to 
.osgb?

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





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


Re: [osg-users] VRML plugin working in iPhone / iOS?

2011-03-30 Thread John F. Richardson
Hello,

The Communications Research Center of Canada is working on an X3D [VRML
follow on] version of FreeWRL for the iPhone and Android.

Try the Web3D consortium web site and see if there is a convertor.

John F. Richardson

-Original Message-
From: osg-users-boun...@lists.openscenegraph.org
[mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Ryan Atkins
Sent: Wednesday, March 30, 2011 5:45 PM
To: osg-users@lists.openscenegraph.org
Subject: Re: [osg-users] VRML plugin working in iPhone / iOS?

The writing seems to be on the wall about VRML.

Can OSG be used reliably as a batch conversion tool to get models from VRML
to .osgb?

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





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


smime.p7s
Description: S/MIME cryptographic signature
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] VRML plugin working in iPhone / iOS?

2011-03-30 Thread Ryan Atkins

John F. Richardson wrote:
 
 The Communications Research Center of Canada is working on an X3D [VRML
 follow on] version of FreeWRL for the iPhone and Android.

I'm working with them and have been contributing some code to the project.

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





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


Re: [osg-users] VRML plugin working in iPhone / iOS?

2011-03-30 Thread John F. Richardson
Fantastic. Sorry about the bandwidth but I like to applaud. The CRC people
are excellent.

-Original Message-
From: osg-users-boun...@lists.openscenegraph.org
[mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Ryan Atkins
Sent: Wednesday, March 30, 2011 6:25 PM
To: osg-users@lists.openscenegraph.org
Subject: Re: [osg-users] VRML plugin working in iPhone / iOS?


John F. Richardson wrote:
 
 The Communications Research Center of Canada is working on an X3D [VRML
 follow on] version of FreeWRL for the iPhone and Android.

I'm working with them and have been contributing some code to the project.

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





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


smime.p7s
Description: S/MIME cryptographic signature
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] VRML plugin working in iPhone / iOS?

2011-03-29 Thread Ryan Atkins
Has anyone had success getting the VRML plugin to work in iPhone / iOS?

I see that it requires OpenVRML which from their website has depends on Boost 
and some other optional libraries like libpng  libjpeg.

Also, has anyone have any luck with these other formats?
DAE
OBJ
FBX
3DS


Thanks,
Ryan

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





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


Re: [osg-users] VRML plugin working in iPhone / iOS?

2011-03-29 Thread Thomas Hogarth
hi Ryan

Has anyone had success getting the VRML plugin to work in iPhone / iOS?
Also, has anyone have any luck with these other formats?
DAE
OBJ
FBX
3DS

Some of those formats are fine others i'm not sure about.

DAE, if you can find the dependencies built for IOS then no probs as I think
you build OpenCollada yourself
OBJ, this plugin has no dependancies so should be fine (I think i've used it
in fact and just built fine on my machine)
FBX, i'm pretty sure this is a no show as you have to use prebuilt libs,
which at the moment don't include IOS
3DS, again no dependancies so should be fine (just built fine on my machine)

For features like skinning etc which you might be using DAE or FBX for, I
have been converting them to osgb to avoid having to build the plugins on
every platform. Works fine for me.

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


Re: [osg-users] VRML plugin working in iPhone / iOS?

2011-03-29 Thread Ryan Atkins
Thanks, Tom.

Any thoughts on VRML and OpenVRML dependencies?

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





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


Re: [osg-users] VRML plugin working in iPhone / iOS?

2011-03-29 Thread Jan Ciger
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi Ryan,

On 03/29/2011 05:46 PM, Ryan Atkins wrote:
 Thanks, Tom.
 
 Any thoughts on VRML and OpenVRML dependencies?
 
 --
 Read this topic online here:
 http://forum.openscenegraph.org/viewtopic.php?p=38018#38018
 

I am quite sure OpenVRML will not work on iOS out of the box. There are
lots of dependencies that would have to be ported for it to work and I
am sure nobody did that. Furthermore, the renderer included in OpenVRML
is pretty much standard OpenGL 2.x, it certainly does not support OpenGL
ES needed on iOS and thus the code will fail to compile. However, feel
free to contact authors and ask them directly.

On the other hand, I would stay away from VRML as a plague - it is a
long obsolete format, the plugin doesn't support every VRML feature and
parsing it is very expensive. You will be far better off using one of
the binary formats, especially when you are on an embedded device with
limited memory and CPU power. Most likely you need to only export some
meshes and materials, VRML is a a huge overkill for that.

If your data are in VRML, convert them on the desktop and use only the
converted files on the device.

Regards,

Jan
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mandriva - http://enigmail.mozdev.org/

iD8DBQFNkiyyn11XseNj94gRAlzRAJ9+/BnaehGDe3tg1/HfYcz2BjLh9QCfRsds
7zP21LWpP03AiBElvM3gbTg=
=fdgo
-END PGP SIGNATURE-
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] VRML plugin working in iPhone / iOS?

2011-03-29 Thread John F. Richardson
Try posting this to openvrml-deve...@lists.sourceforge.net

-Original Message-
From: osg-users-boun...@lists.openscenegraph.org
[mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Ryan Atkins
Sent: Tuesday, March 29, 2011 8:47 AM
To: osg-users@lists.openscenegraph.org
Subject: Re: [osg-users] VRML plugin working in iPhone / iOS?

Thanks, Tom.

Any thoughts on VRML and OpenVRML dependencies?

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





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


smime.p7s
Description: S/MIME cryptographic signature
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] VRML plugin

2010-08-08 Thread Jan Ciger
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 08/04/2010 09:53 PM, Alex (software) wrote:
 
 What a pity. Thank you for your help.
 
 The point is do not want to replicate the whole tree. I only want some 
 surfaces i.e. triangle meshes to be exported to vrml. AFAIK I will have to 
 implement this myself now.

Well, if you only want the data and VRML is not hard requirements, you
can always save the node in osg format and parse the relevant part out
of it.

Regards,

Jan
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mandriva - http://enigmail.mozdev.org/

iD8DBQFMX07rn11XseNj94gRAsPEAJ0YhznsUUb6/sPhwXzdKeeMblkeUACgkpDM
nV4K90L+W2f14jDlspOl5h8=
=3jUF
-END PGP SIGNATURE-
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] VRML plugin

2010-08-04 Thread Alex (software)
p, li { white-space: pre-wrap; }Hi, 
I am trying to save some vrml file, however I get an error message similar to 
the following



 Warning: dynamic library '/usr/local/lib64/osgPlugins-2.8.3/osgdb_vrml.so'
 exists, but an error occurred while trying to open it:
 libopenvrml.so.4: Could not open: File or directory not found
 Error writing file /tmp/saved.wrl: Warning: Could not find plugin to write 
 nodes to file /tmp/saved.wrl.



If I set the the ld_library_path correctly it reduces to 


 Error writing file /tmp/saved.wrl: Warning: Could not find plugin to write 
 nodes to file /tmp/saved.wrl.



... and that's where I am stuck.



I use OpenSceneGraph-2.8.3 with openvrml-0.14.3



Any suggestions?



Cheers,
Alex


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


Re: [osg-users] VRML plugin

2010-08-04 Thread Jan Ciger
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 08/04/2010 05:52 PM, Alex (software) wrote:

 Error writing file /tmp/saved.wrl: Warning: Could not find plugin to write 
 nodes to file /tmp/saved.wrl.
 
 
 
 ... and that's where I am stuck.
 
 
 
 I use OpenSceneGraph-2.8.3 with openvrml-0.14.3
 
 
 
 Any suggestions?

Hello Alex,

Unfortunately, the VRML plugin does not support writing VRML files, only
reading. There is no good mapping between OSG data structures and VRML,
because OSG model is a lot more advanced.

I suggest that you use a different format for saving your data.

Best regards,

Jan
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mandriva - http://enigmail.mozdev.org/

iD8DBQFMWajQn11XseNj94gRAqRWAJ9yeY15jbh+oXleFEFOJzhSSa0DwwCgpgEG
yCs9BU3Vzm9rO9i/iqLjWfI=
=ZxDm
-END PGP SIGNATURE-
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] VRML plugin

2010-08-04 Thread Alex (software)
Hello Jan

 Unfortunately, the VRML plugin does not support writing VRML files, only
 reading. There is no good mapping between OSG data structures and VRML,
 because OSG model is a lot more advanced.

What a pity. Thank you for your help.

The point is do not want to replicate the whole tree. I only want some surfaces 
i.e. triangle meshes to be exported to vrml. AFAIK I will have to implement 
this myself now.

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


[osg-users] VRML plugin

2009-05-15 Thread Philip Lamb

Hi all,

Given that the VRML plugin is a bit of work to compile due to the  
dependence on a very old version of OpenVRML, I've built a binary  
packages of OpenVRML-0.14.3 for Win32 Visual Studio .NET 2003 and  
Visual Studio 2005, and Mac OS X 10.4 32-bit universal.


The binaries are here for your pleasure:
http://www.artoolworks.com/dist/openvrml/0.14.3/

I also note that previous discussion about why the VRML plugin  
couldn't be updated to a newer version of OpenVRML centred on the  
boost dependency. I'm sure that thats much less of an issue now that  
we have boost binaries for most Linux distros, plus Windows and Mac.

http://www.boostpro.com/download
http://pdb.finkproject.org/pdb/browse.php?summary=boost

Of course, the bigger issue with the VRML plugin is that it doesn't  
support any sort of animation. OpenVRML 0.14.3 supports animation  
including animated textures. Does anyone here have a good knowledge of  
the VRML, good enough to add support for importing VRML animations  
from OpenVRML nodes?


Regards,

Philip Lamb



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


Re: [osg-users] VRML plugin

2009-05-15 Thread Jean-Sébastien Guay

Hi Philip,

I also note that previous discussion about why the VRML plugin couldn't 
be updated to a newer version of OpenVRML centred on the boost 
dependency. I'm sure that thats much less of an issue now that we have 
boost binaries for most Linux distros, plus Windows and Mac.


That, and the fact that OSG now supports a newer version of the COLLADA 
plugin which also has a dependency on boost, so there's precedent... I'm 
not sure the argument is valid anymore, and I'm pretty sure that if 
someone wanted to update the plugin and build scripts to be able to use 
a newer version of OpenVRML it would be accepted.


J-S
--
__
Jean-Sebastien Guayjean-sebastien.g...@cm-labs.com
   http://www.cm-labs.com/
http://whitestar02.webhop.org/
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] VRML plugin

2009-05-15 Thread Jan Ciger
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Jean-Sébastien Guay wrote:

 That, and the fact that OSG now supports a newer version of the COLLADA
 plugin which also has a dependency on boost, so there's precedent... I'm
 not sure the argument is valid anymore, and I'm pretty sure that if
 someone wanted to update the plugin and build scripts to be able to use
 a newer version of OpenVRML it would be accepted.
 
 J-S

The patch for newer VRML actually exists already, it was contributed to
me some time ago. I didn't merge it because Robert didn't want the boost
dependency in there.

Robert, do I have a green light for updating the plugin, including the
boost issue? If yes, I will sent an updated version soon.

Regards,

Jan
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mandriva - http://enigmail.mozdev.org

iD8DBQFKDbN2n11XseNj94gRAg4yAJ9FnWVsIxzmM62CydKikQckx756DgCgiEwm
1ns2sY/9jacrXH+oUwcCywY=
=07rW
-END PGP SIGNATURE-
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] VRML plugin

2009-05-15 Thread Jan Ciger
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Philip Lamb wrote:
 Hi all,
...
 Of course, the bigger issue with the VRML plugin is that it doesn't
 support any sort of animation. OpenVRML 0.14.3 supports animation
 including animated textures. Does anyone here have a good knowledge of
 the VRML, good enough to add support for importing VRML animations from
 OpenVRML nodes?

That plugin has much larger issues than lack of animation support :)
It was never intended as a comprehensive VRML loader/viewer, the
original purpose was a loader of legacy 3D models created in 3DS Max -
basically only textured meshes were supported, nothing else. It is quite
a bit further than that now thanks to the work of many people on this
list, but it is still very far from loading any VRML you can throw at it.

If you need a lot more than that, you should likely use OpenVRML
directly or some other tools (COLLADA?). However, code contributions are
certainly welcome.

Regards,

Jan



-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mandriva - http://enigmail.mozdev.org

iD8DBQFKDbVTn11XseNj94gRAu0kAKCHcjoeVyyv4fPtKSeJFD5hf5m7sQCg2CWh
2xDybMzxD3jKoQlCeJ7G+E0=
=+5Dq
-END PGP SIGNATURE-
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] VRML plugin

2009-05-15 Thread Todd J. Furlong
We worked on an animation-capable version of the VRML plugin back when 
Coin was the library used for that plugin.  I don't know if it would 
work with OpenVRML, but I can share it if there is any interest in 
re-vamping that plugin.


-Todd

On 5/15/2009 2:32 PM, Jan Ciger wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Philip Lamb wrote:

Hi all,

...

Of course, the bigger issue with the VRML plugin is that it doesn't
support any sort of animation. OpenVRML 0.14.3 supports animation
including animated textures. Does anyone here have a good knowledge of
the VRML, good enough to add support for importing VRML animations from
OpenVRML nodes?


That plugin has much larger issues than lack of animation support :)
It was never intended as a comprehensive VRML loader/viewer, the
original purpose was a loader of legacy 3D models created in 3DS Max -
basically only textured meshes were supported, nothing else. It is quite
a bit further than that now thanks to the work of many people on this
list, but it is still very far from loading any VRML you can throw at it.

If you need a lot more than that, you should likely use OpenVRML
directly or some other tools (COLLADA?). However, code contributions are
certainly welcome.

Regards,

Jan



-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mandriva - http://enigmail.mozdev.org

iD8DBQFKDbVTn11XseNj94gRAu0kAKCHcjoeVyyv4fPtKSeJFD5hf5m7sQCg2CWh
2xDybMzxD3jKoQlCeJ7G+E0=
=+5Dq
-END PGP SIGNATURE-
___
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] VRML plugin

2009-05-15 Thread Todd J. Furlong

Actually, what I mentioned is referred to here (Andrew Fischer's plugin):
http://www.openscenegraph.org/projects/osg/wiki/Community/Plugins

-Todd

On 5/15/2009 2:39 PM, Todd J. Furlong wrote:

We worked on an animation-capable version of the VRML plugin back when
Coin was the library used for that plugin. I don't know if it would work
with OpenVRML, but I can share it if there is any interest in re-vamping
that plugin.

-Todd

On 5/15/2009 2:32 PM, Jan Ciger wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Philip Lamb wrote:

Hi all,

...

Of course, the bigger issue with the VRML plugin is that it doesn't
support any sort of animation. OpenVRML 0.14.3 supports animation
including animated textures. Does anyone here have a good knowledge of
the VRML, good enough to add support for importing VRML animations from
OpenVRML nodes?


That plugin has much larger issues than lack of animation support :)
It was never intended as a comprehensive VRML loader/viewer, the
original purpose was a loader of legacy 3D models created in 3DS Max -
basically only textured meshes were supported, nothing else. It is quite
a bit further than that now thanks to the work of many people on this
list, but it is still very far from loading any VRML you can throw at it.

If you need a lot more than that, you should likely use OpenVRML
directly or some other tools (COLLADA?). However, code contributions are
certainly welcome.

Regards,

Jan



-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mandriva - http://enigmail.mozdev.org

iD8DBQFKDbVTn11XseNj94gRAu0kAKCHcjoeVyyv4fPtKSeJFD5hf5m7sQCg2CWh
2xDybMzxD3jKoQlCeJ7G+E0=
=+5Dq
-END PGP SIGNATURE-
___
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

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


Re: [osg-users] VRML plugin

2009-05-15 Thread Robert Osfield
On Fri, May 15, 2009 at 7:24 PM, Jan Ciger jan.ci...@gmail.com wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Jean-Sébastien Guay wrote:

 That, and the fact that OSG now supports a newer version of the COLLADA
 plugin which also has a dependency on boost, so there's precedent... I'm
 not sure the argument is valid anymore, and I'm pretty sure that if
 someone wanted to update the plugin and build scripts to be able to use
 a newer version of OpenVRML it would be accepted.

 J-S

 The patch for newer VRML actually exists already, it was contributed to
 me some time ago. I didn't merge it because Robert didn't want the boost
 dependency in there.

 Robert, do I have a green light for updating the plugin, including the
 boost issue? If yes, I will sent an updated version soon.

Yes, green light to porting across to the latest version of OpenVRML
at all it's dependencies...

Hopefully it'll have the use the same version of boost

I believe I gave the thumbs up to moving to the latest version of
OpenVRML during the last discussion of the topic of VRML support.
Easy to miss this amongst the many thousands for post that wiz by...

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


Re: [osg-users] VRML plugin

2009-05-15 Thread Jan Ciger
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Robert Osfield wrote:
 Yes, green light to porting across to the latest version of OpenVRML
 at all it's dependencies...

OK, great!


 Hopefully it'll have the use the same version of boost

OpenVRML uses only little from Boost - mostly the smart pointers stuff.
For the record, I have 1.38.

 I believe I gave the thumbs up to moving to the latest version of
 OpenVRML during the last discussion of the topic of VRML support.
 Easy to miss this amongst the many thousands for post that wiz by...

Indeed, I had to miss it. Sorry for bothering you again! :)
I will try to dig up the patch and merge it with the current code as
soon as I can.

Regards,

Jan
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mandriva - http://enigmail.mozdev.org

iD8DBQFKDcVyn11XseNj94gRAraUAJ48f4wFpTWO9UAzwK+7aQD7XmzQ0ACcDlRp
2Rpo7ndN7+/c2hkwHEPfWHY=
=eLvB
-END PGP SIGNATURE-
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] vrml plugin problems

2008-09-18 Thread Jan Ciger

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Ben Axelrod wrote:
| I am trying to load a VRML file, but I get the error message:
|
| Warning: Could not find plugin to read objects from file foo.wrl.
|
| I tried this in OSG code, as well as with osgconv and osgviewer.  I
| have the OSG lib and osgPlugins directories in my LD_LIBRARY_PATH.
|
| I compiled OSG 2.6.0 from src on Debian Etch.  I am using OpenVRML
| version 0.14.3.  Do I need a newer version of OpenVRML?

Nope. Newer versions use Boost and different API - the plugin will not
compile.

| I had VRML files working with OSG 2.4 a long time ago.  Back then I
| also set up the Inventor library during the install.  But I forgot
| what that library does, why it's needed, and even where to get it.
| Do I need it here too?

No, if you have the VRML plugin, you do not need the Inventor, unless
you want to load also the Inventor  (.iv) files.

I suspect that if your plugin is compiled correctly but doesn't load,
most likely either the OpenVRML library or some of its dependencies
cannot be loaded at runtime (make sure it is either in one of the
standard lib directories or in the LD_LIBRARY_PATH)

Set export OSG_NOTIFY_LEVEL=DEBUG and try to run the viewer. Then look
for any unresolved symbols while it is trying to load the VRML file.
Most likely the dynamic linker cannot find something.


Regards,

Jan
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mandriva - http://enigmail.mozdev.org

iD8DBQFI0iIJn11XseNj94gRApcAAKDS9aYrLCpVpFNFgRj9OlIe7r5DYQCgu510
NWD2xMubySXsDj1+07U/Jm0=
=BEMl
-END PGP SIGNATURE-
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] vrml plugin problems

2008-09-17 Thread Jean-Sébastien Guay

Hi Ben,


I am trying to load a VRML file, but I get the error message:

Warning: Could not find plugin to read objects from file “foo.wrl”.


[...]

I compiled OSG 2.6.0 from src on Debian Etch.  I am using OpenVRML 
version 0.14.3.  Do I need a newer version of OpenVRML?  (I set the path 
to the OpenVRML includes as well as libopenvrml.so during the CMake 
configuration).


Did you verify that the osgdb_wrl.so plugin was compiled and can be 
found? You can enable verbose debugging messages by setting 
OSG_NOTIFY_LEVEL=DEBUG before running osgviewer, and that might show if 
something is wrong there. It will print out where it looks for the 
plugin, whether it finds it, and whether it loads it correctly or not.


If the plugin is there, is loaded (as printed in the debug messages) but 
it still says that it can't find a plugin, it might mean that the plugin 
depends on some other dynamic library which isn't being found at 
runtime. This might depend on where OpenVRML is installed and whether 
your LD_LIBRARY_PATH includes the right directory to find its dynamic 
libraries (if any) - note I'm on Windows most of the time so I can't 
really help more than that.


I had VRML files working with OSG 2.4 a long time ago.  Back then I also 
set up the Inventor library during the install.  But I forgot what that 
library does, why it’s needed, and even where to get it.  Do I need it 
here too?


The Inventor plugin can also read VRML files, so if OSG was using that 
one to read your VRML files before, it might mean that the OpenVRML 
plugin never worked for you but you never knew it... :-)


Hope this helps,

J-S
--
__
Jean-Sebastien Guay[EMAIL PROTECTED]
   http://www.cm-labs.com/
http://whitestar02.webhop.org/
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] vrml plugin problems

2008-09-17 Thread Ben Axelrod
Thank you for the tip.  That environment variable flag helped me see that OSG 
found the osgdb_vrml.so plugin, but then failed when loading the openvrml.so 
library.  I added that dir to my LD_LIBRARY_PATH and all is well!

(I don't seem to have the osgdb_wrl.so plugin by the way, but it does not look 
like I need it).

Thanks,
-Ben

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jean-Sébastien 
Guay
Sent: Wednesday, September 17, 2008 4:34 PM
To: OpenSceneGraph Users
Subject: Re: [osg-users] vrml plugin problems

Hi Ben,

 I am trying to load a VRML file, but I get the error message:

 Warning: Could not find plugin to read objects from file foo.wrl.

[...]

 I compiled OSG 2.6.0 from src on Debian Etch.  I am using OpenVRML
 version 0.14.3.  Do I need a newer version of OpenVRML?  (I set the path
 to the OpenVRML includes as well as libopenvrml.so during the CMake
 configuration).

Did you verify that the osgdb_wrl.so plugin was compiled and can be
found? You can enable verbose debugging messages by setting
OSG_NOTIFY_LEVEL=DEBUG before running osgviewer, and that might show if
something is wrong there. It will print out where it looks for the
plugin, whether it finds it, and whether it loads it correctly or not.

If the plugin is there, is loaded (as printed in the debug messages) but
it still says that it can't find a plugin, it might mean that the plugin
depends on some other dynamic library which isn't being found at
runtime. This might depend on where OpenVRML is installed and whether
your LD_LIBRARY_PATH includes the right directory to find its dynamic
libraries (if any) - note I'm on Windows most of the time so I can't
really help more than that.

 I had VRML files working with OSG 2.4 a long time ago.  Back then I also
 set up the Inventor library during the install.  But I forgot what that
 library does, why it's needed, and even where to get it.  Do I need it
 here too?

The Inventor plugin can also read VRML files, so if OSG was using that
one to read your VRML files before, it might mean that the OpenVRML
plugin never worked for you but you never knew it... :-)

Hope this helps,

J-S
--
__
Jean-Sebastien Guay[EMAIL PROTECTED]
http://www.cm-labs.com/
 http://whitestar02.webhop.org/
___
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] vrml plugin problems

2008-09-17 Thread Jean-Sébastien Guay

Hi Ben,


Thank you for the tip.  That environment variable flag helped me see that OSG 
found the osgdb_vrml.so plugin, but then failed when loading the openvrml.so 
library.  I added that dir to my LD_LIBRARY_PATH and all is well!

(I don't seem to have the osgdb_wrl.so plugin by the way, but it does not look 
like I need it).


Oh, sorry, I thought the plugin's name was osgdb_wrl.so since it loaded 
.wrl files. Just a mistake on my part. Good to know things are working 
for you!


J-S
--
__
Jean-Sebastien Guay[EMAIL PROTECTED]
   http://www.cm-labs.com/
http://whitestar02.webhop.org/
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] VRML plugin

2008-04-04 Thread Reint Boer Iwema
Hi Will,

I suspect that you are trying to load VRML 1.0 files. OpenVRML only 
supports VRML97 (VRML 2.0) files. Perhaps, you could convert your WRLs 
to VRML97 (or OBJ, COLLADA, etc) using a conversion tool (3ds Max, 
Blender?).

Cheers,

Gino

Will Dicharry wrote:
 Hi all,
 
 I've been working with the VRML model plugin in an attempt to load a 
 VRML model into OSG.  The plugin loads the sample.wrl model just fine in 
 release mode, although I do have the problems described in this post:  
 http://www.mail-archive.com/[EMAIL PROTECTED]/msg15906.html.  
 When I try and load some of our own models, however, nothing gets 
 loaded.  Enabling the debug messages in the console, I receive the 
 message unrecognized node type Separator for almost all of them, which 
 I believe is coming from the OpenVRML library.  Would porting the plugin 
 to the latest version of the OpenVRML library fix this?
 
 I came across a discussion in the archives from August where the port to 
 the newer OpenVRML library was dismissed due to the Boost dependency.  
 Is this still the consensus?  Also, I would like to know if someone more 
 knowledgeable than I has any ideas in what would be involved in updating 
 the plugin, which may be work that I am willing to do.
 
 Thanks,
 Will
 
 
 
 
 ___
 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


[osg-users] VRML plugin

2008-04-02 Thread Will Dicharry

Hi all,

I've been working with the VRML model plugin in an attempt to load a 
VRML model into OSG.  The plugin loads the sample.wrl model just fine in 
release mode, although I do have the problems described in this post:  
http://www.mail-archive.com/[EMAIL PROTECTED]/msg15906.html.  
When I try and load some of our own models, however, nothing gets 
loaded.  Enabling the debug messages in the console, I receive the 
message unrecognized node type Separator for almost all of them, which 
I believe is coming from the OpenVRML library.  Would porting the plugin 
to the latest version of the OpenVRML library fix this?


I came across a discussion in the archives from August where the port to 
the newer OpenVRML library was dismissed due to the Boost dependency.  
Is this still the consensus?  Also, I would like to know if someone more 
knowledgeable than I has any ideas in what would be involved in updating 
the plugin, which may be work that I am willing to do.


Thanks,
Will

--
Will Dicharry
Stellar Science Ltd Co



smime.p7s
Description: S/MIME Cryptographic Signature
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org