Re: [osg-users] OpenVRML and Windows

2008-12-09 Thread John F. Richardson
Hello Jan,

Just exactly what makes COLLADA a better data format?

OSG has a native format and a runtime. COLLADA does not seem to have a
runtime. Oh and what are the ones that you left out (...).

John F. Richardson

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jan Ciger
Sent: Monday, December 08, 2008 2:31 PM
To: OpenSceneGraph Users
Subject: Re: [osg-users] OpenVRML and Windows

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

John F. Richardson wrote:
 Hello Jan,
 
 Thanks for the correction.
 
 What is the recommended method for loading VRML97 and X3D files...without
 translation to another format before import.

VRML should work quite OK with the existing plugin. However, it will
load only the meshes, textures and few simple primitives, e.g. at the
level as exported by 3DS Max. It was intended as a stop gap solution for
loading old assets while migrating away from VRML to a better data
format (osg, Collada, ... ) when the Coin3D plugin stopped working properly.

It is *not* and was not intended to be a full VRML loader/viewer. That
would be a huge task and some of the VRML features do not have a
meaningful mapping to OSG (protos, scripts, interaction, etc.)

Regarding X3D I do not know - I have never used that.

Regards,

Jan


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

iD8DBQFJPaAen11XseNj94gRAgDLAKDR7KHrVZCSrGA0LDwrzGfHDgoO9gCgpG4s
1oKLZNBaWWGLEk0/nVVHIwc=
=wWWM
-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] OpenVRML and Windows

2008-12-08 Thread John F. Richardson
Hello Jan,

Thanks for the correction.

What is the recommended method for loading VRML97 and X3D files...without
translation to another format before import.

John F. Richardson

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jan Ciger
Sent: Thursday, December 04, 2008 3:16 PM
To: OpenSceneGraph Users
Subject: Re: [osg-users] OpenVRML and Windows

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

John F. Richardson wrote:
 
 
 Hello,
 
  
 
 Your version is outdated. Here is an announcement on the latest version
 from the openvrml mailing list.
 
  
 
 OpenVRML 0.17.9 is now available.  The distribution can be obtained from

Hello,

The OpenVRML plugin will not build with anything later than 0.14.3 due
to changed API and dependency on Boost. This is intentional. Upgrading
to 0.17.9 will *not* help.

The compilation issues with 0.14.3 are described here (minor updates for
 modern compilers):

http://www.openscenegraph.org/projects/osg/wiki/Support/PlatformSpecifics/Li
nux

It is described for Linux, but that patch should make OpenVRML compile fine.

Regards,

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

iD8DBQFJOGSkn11XseNj94gRAusxAJ96ZatpgKjQK0YROtV32oHb2koVugCg7fZq
P17ecXWiDA2OAyXC0Ljp+fk=
=IRoo
-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] OpenVRML and Windows

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

John F. Richardson wrote:
 Hello Jan,
 
 Thanks for the correction.
 
 What is the recommended method for loading VRML97 and X3D files...without
 translation to another format before import.

VRML should work quite OK with the existing plugin. However, it will
load only the meshes, textures and few simple primitives, e.g. at the
level as exported by 3DS Max. It was intended as a stop gap solution for
loading old assets while migrating away from VRML to a better data
format (osg, Collada, ... ) when the Coin3D plugin stopped working properly.

It is *not* and was not intended to be a full VRML loader/viewer. That
would be a huge task and some of the VRML features do not have a
meaningful mapping to OSG (protos, scripts, interaction, etc.)

Regarding X3D I do not know - I have never used that.

Regards,

Jan


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

iD8DBQFJPaAen11XseNj94gRAgDLAKDR7KHrVZCSrGA0LDwrzGfHDgoO9gCgpG4s
1oKLZNBaWWGLEk0/nVVHIwc=
=wWWM
-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] OpenVRML and Windows

2008-12-05 Thread Serge Lages
Thanks for the tip, I'll try this patch today and let you know if it works
for Windows.

On Fri, Dec 5, 2008 at 12:15 AM, Jan Ciger [EMAIL PROTECTED] wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 John F. Richardson wrote:
 
 
  Hello,
 
 
 
  Your version is outdated. Here is an announcement on the latest version
  from the openvrml mailing list.
 
 
 
  OpenVRML 0.17.9 is now available.  The distribution can be obtained from

 Hello,

 The OpenVRML plugin will not build with anything later than 0.14.3 due
 to changed API and dependency on Boost. This is intentional. Upgrading
 to 0.17.9 will *not* help.

 The compilation issues with 0.14.3 are described here (minor updates for
  modern compilers):


 http://www.openscenegraph.org/projects/osg/wiki/Support/PlatformSpecifics/Linux

 It is described for Linux, but that patch should make OpenVRML compile
 fine.

 Regards,

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

 iD8DBQFJOGSkn11XseNj94gRAusxAJ96ZatpgKjQK0YROtV32oHb2koVugCg7fZq
 P17ecXWiDA2OAyXC0Ljp+fk=
 =IRoo
 -END PGP SIGNATURE-




-- 
Serge Lages
http://www.tharsis-software.com
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] OpenVRML and Windows

2008-12-05 Thread Serge Lages
I tried the patch but it doesn't work for Visual Studio.

Anyone have an idea on how to transform a method declaration like that :

float (operator[](size_t index) throw ())[4];

In something similar but VS compliant ?

On Fri, Dec 5, 2008 at 9:49 AM, Serge Lages [EMAIL PROTECTED] wrote:

 Thanks for the tip, I'll try this patch today and let you know if it works
 for Windows.


 On Fri, Dec 5, 2008 at 12:15 AM, Jan Ciger [EMAIL PROTECTED] wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 John F. Richardson wrote:
 
 
  Hello,
 
 
 
  Your version is outdated. Here is an announcement on the latest version
  from the openvrml mailing list.
 
 
 
  OpenVRML 0.17.9 is now available.  The distribution can be obtained from

 Hello,

 The OpenVRML plugin will not build with anything later than 0.14.3 due
 to changed API and dependency on Boost. This is intentional. Upgrading
 to 0.17.9 will *not* help.

 The compilation issues with 0.14.3 are described here (minor updates for
  modern compilers):


 http://www.openscenegraph.org/projects/osg/wiki/Support/PlatformSpecifics/Linux

 It is described for Linux, but that patch should make OpenVRML compile
 fine.

 Regards,

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

 iD8DBQFJOGSkn11XseNj94gRAusxAJ96ZatpgKjQK0YROtV32oHb2koVugCg7fZq
 P17ecXWiDA2OAyXC0Ljp+fk=
 =IRoo
 -END PGP SIGNATURE-




 --
 Serge Lages
 http://www.tharsis-software.com




-- 
Serge Lages
http://www.tharsis-software.com
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] OpenVRML and Windows

2008-12-05 Thread Simon Hammett
2008/12/5 Serge Lages [EMAIL PROTECTED]:
 I tried the patch but it doesn't work for Visual Studio.

 Anyone have an idea on how to transform a method declaration like that :

 float (operator[](size_t index) throw ())[4];

 In something similar but VS compliant ?


If you are trying to get a pointer to member function you need the
class name in front of operator eg

float (AClass::operator[](size_t index) throw())[4];

VC7.1 compiles that, but later versions are more standards compliant.

-- 
The truth is out there. Usually in header files.
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] OpenVRML and Windows

2008-12-05 Thread Serge Lages
I've made it build by adding const to the size_t parameter, don't ask me why
it works like that...

So I've managed to build OpenVRML, I am currently building OSG with the VRML
plugin, if everything work, I'll post a patch for the OpenVRML sources.

On Fri, Dec 5, 2008 at 4:04 PM, Simon Hammett [EMAIL PROTECTED]wrote:

 2008/12/5 Serge Lages [EMAIL PROTECTED]:
  I tried the patch but it doesn't work for Visual Studio.
 
  Anyone have an idea on how to transform a method declaration like that :
 
  float (operator[](size_t index) throw ())[4];
 
  In something similar but VS compliant ?
 

 If you are trying to get a pointer to member function you need the
 class name in front of operator eg

 float (AClass::operator[](size_t index) throw())[4];

 VC7.1 compiles that, but later versions are more standards compliant.

 --
 The truth is out there. Usually in header files.
 ___
 osg-users mailing list
 osg-users@lists.openscenegraph.org
 http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org




-- 
Serge Lages
http://www.tharsis-software.com
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] OpenVRML and Windows

2008-12-05 Thread Serge Lages
Success, I have a working VRML plugin ! :)

Attached is a patch to be able to build OpenVRML 0.14.3 with Visual Studio
2005, feel free to add it to the Wiki if needed.

On Fri, Dec 5, 2008 at 4:08 PM, Serge Lages [EMAIL PROTECTED] wrote:

 I've made it build by adding const to the size_t parameter, don't ask me
 why it works like that...

 So I've managed to build OpenVRML, I am currently building OSG with the
 VRML plugin, if everything work, I'll post a patch for the OpenVRML sources.


 On Fri, Dec 5, 2008 at 4:04 PM, Simon Hammett [EMAIL PROTECTED]wrote:

 2008/12/5 Serge Lages [EMAIL PROTECTED]:
  I tried the patch but it doesn't work for Visual Studio.
 
  Anyone have an idea on how to transform a method declaration like that :
 
  float (operator[](size_t index) throw ())[4];
 
  In something similar but VS compliant ?
 

 If you are trying to get a pointer to member function you need the
 class name in front of operator eg

 float (AClass::operator[](size_t index) throw())[4];

 VC7.1 compiles that, but later versions are more standards compliant.

 --
 The truth is out there. Usually in header files.
 ___
 osg-users mailing list
 osg-users@lists.openscenegraph.org
 http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org




 --
 Serge Lages
 http://www.tharsis-software.com




-- 
Serge Lages
http://www.tharsis-software.com


openvrml-vs8.patch
Description: Binary data
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] OpenVRML and Windows

2008-12-05 Thread Jan Ciger
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Serge Lages wrote:
 Success, I have a working VRML plugin ! :)
 
 Attached is a patch to be able to build OpenVRML 0.14.3 with Visual 
 Studio 2005, feel free to add it to the Wiki if needed.

You can do that yourself, use the 'osg' login. It would be good if you
could describe the changed required - the OpenVRML questions do pop up
fairly frequently and there is a page dedicated to the plugin on Windows
already.

Regards,

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

iD8DBQFJObBBn11XseNj94gRAsPgAKC+DV7y4uAL2n7txUwEQyjr7QHx2wCcDJRG
5H6uuzkqZe2hrVM54NmHohs=
=F3Ru
-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] OpenVRML and Windows

2008-12-04 Thread John F. Richardson
Hello,

 

Your version is outdated. Here is an announcement on the latest version from
the openvrml mailing list.

 

OpenVRML 0.17.9 is now available.  The distribution can be obtained from

 

  http://downloads.sourceforge.net/openvrml/openvrml-0.17.9.tar.gz

 

OpenVRML is a C++ runtime library for VRML97 and X3D worlds.  It is capable
of reading and displaying VRML/X3D; it can be used for creating loaders,
file converters, and VRML/X3D browsers.

 

OpenVRML includes an out-of-process viewer component for use in X11
environments along with hosts for this component in the form of a Mozilla
browser plug-in and a stand-alone player.

 

You can find OpenVRML on the Web at

 

  http://openvrml.org http://openvrml.org/ 

 

 

New in OpenVRML 0.17.9:

 

-Use D-Bus for communication with the OpenVRML XEmbed control.

 

John F. Richardson

 

  _  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Serge Lages
Sent: Monday, December 01, 2008 5:40 AM
To: OpenSceneGraph Users
Subject: [osg-users] OpenVRML and Windows

 

Hi all,

I am currently trying to build the OSG VRML plugin under Windows, so I've
downloaded the 0.14.3 version of OpenVRML and tried to build it with VS8
SP1, and it's a real pain... :/ Maybe I've missed something but this version
really seems to be broken with modern compilers.

That's why I would like to know if anyone already have a compiled version of
this lib (build with VS8 SP1) ? Or at least a modified version of the
sources which build fine ?

Thanks for your help !

-- 
Serge Lages
http://www.tharsis-software.com

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


Re: [osg-users] OpenVRML and Windows

2008-12-04 Thread Jan Ciger
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

John F. Richardson wrote:
 
 
 Hello,
 
  
 
 Your version is outdated. Here is an announcement on the latest version
 from the openvrml mailing list.
 
  
 
 OpenVRML 0.17.9 is now available.  The distribution can be obtained from

Hello,

The OpenVRML plugin will not build with anything later than 0.14.3 due
to changed API and dependency on Boost. This is intentional. Upgrading
to 0.17.9 will *not* help.

The compilation issues with 0.14.3 are described here (minor updates for
 modern compilers):

http://www.openscenegraph.org/projects/osg/wiki/Support/PlatformSpecifics/Linux

It is described for Linux, but that patch should make OpenVRML compile fine.

Regards,

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

iD8DBQFJOGSkn11XseNj94gRAusxAJ96ZatpgKjQK0YROtV32oHb2koVugCg7fZq
P17ecXWiDA2OAyXC0Ljp+fk=
=IRoo
-END PGP SIGNATURE-
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] OpenVRML and Windows

2008-12-01 Thread Serge Lages
Hi all,

I am currently trying to build the OSG VRML plugin under Windows, so I've
downloaded the 0.14.3 version of OpenVRML and tried to build it with VS8
SP1, and it's a real pain... :/ Maybe I've missed something but this version
really seems to be broken with modern compilers.

That's why I would like to know if anyone already have a compiled version of
this lib (build with VS8 SP1) ? Or at least a modified version of the
sources which build fine ?

Thanks for your help !

-- 
Serge Lages
http://www.tharsis-software.com
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org