Re: [osg-users] OSG, bullet physics, collada and sketchup models on Ubuntu

2010-11-05 Thread Sébastien Barthélemy
Hello,

On Tue, Nov 2, 2010 at 3:32 PM, Axel Spirtaat loginv...@gmail.com wrote:
 However, i also tried to build collada, but there are a lot of bugs for linux 
 and seem to be no more supported...  i fixed some of them but not all.

If you're using ubuntu, you can find on this ppa packages for
collada-dom and osg 2.9.9 with collada support.

https://launchpad.net/~barthelemy/+archive/collada

It's not much tested, but the shared library version of collada-dom
works for me. (I never tested the static version.)
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] OSG, bullet physics, collada and sketchup models on Ubuntu

2010-11-04 Thread Axel Spirtaat
Hi all,
for completeness i share here a site [¹] that allows to convert sketchup models 
into 3ds, obj and other formats. I found and tried it yesterday evening and 
sees to work well.
I hope this post can help those who had my own doubts and problems.

Thanks again to all, best regards,


Axel


[1] http://www.babel3d.com

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





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


Re: [osg-users] OSG, bullet physics, collada and sketchup models on Ubuntu

2010-11-03 Thread Axel Spirtaat
Hi Jordi and Jan,
thank you for support. After reading Jordi's post i thought to install a i386 
arch of Ubuntu hoping to solve the problem... but then, reading Jan's post i 
changed idea...
i have to model in linux a calcio balilla table (i don't know if there's an 
english translation for calcio balilla, i'm sorry!), using a sketchup model 
[1] and and some animation and/or interaction. So, my teacher suggested me to 
use osgBullet. osgBullet depends on osg, bullet and osgWorks, but to load hte 
model i need collada-dom. This morning i  found that google sketchup free can 
convert skp in dae (as Jordi supposed)...
At the end... what do you both advise me? To change project or to continue  
trying to install collada-dom + osg + bullet physics on a 32-arch of Ubuntu?
Please, let me know your opinion.. i need the advise of experts like you two :)

Thank you very much
Cheers,

Axel

[1] 
http://sketchup.google.com/3dwarehouse/details?mid=6f7074fb94c1f777bb1356f47c7f12bb
[/url]

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





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


Re: [osg-users] OSG, bullet physics, collada and sketchup models on Ubuntu

2010-11-03 Thread Jan Ciger
Hi,

On Wed, Nov 3, 2010 at 11:38 AM, Axel Spirtaat loginv...@gmail.com wrote:
 Hi Jordi and Jan,
 thank you for support. After reading Jordi's post i thought to install a i386 
 arch of Ubuntu hoping to solve the problem... but then, reading Jan's post i 
 changed idea...
 i have to model in linux a calcio balilla table (i don't know if there's an 
 english translation for calcio balilla, i'm sorry!),

Table football? Just guessed my Italian is non-existent :)

using a sketchup model [1] and and some animation and/or interaction. So, my 
teacher suggested me to use osgBullet. osgBullet depends on osg, bullet and 
osgWorks, but to load hte model i need collada-dom. This morning i  found that 
google sketchup free can convert skp in dae (as Jordi supposed)...
 At the end... what do you both advise me? To change project or to continue  
 trying to install collada-dom + osg + bullet physics on a 32-arch of Ubuntu?
 Please, let me know your opinion.. i need the advise of experts like you two 
 :)

If you are just using the Sketchup/COLLADA model for the table, you do
not really need Collada support in Bullet - turn that off. The
Sketchup model will not have anything for the physics in it anyway.
Then you will need to build the collision meshes for Bullet yourself,
but that is what osgBullet/osgWorks should be able to help you with.
And making a ball and passing it to Bullet should be fairly trivial.

If you want to avoid the hassle of dealing with COLLADA, try to take
the exported model, import it into 3D Studio Max (or Blender if you do
not have Max) and re-export as .osg file or .obj file. Problem solved
...

To be honest, COLLADA is a pain to use because there are several
incompatible versions of the DOM in use and I have yet to find a tool
that actually supports it properly. E.g. 3DS Max can import/export
COLLADA but I haven't managed to get Blender, OSG nor Bullet to load
the result. Blender supports two versions, Bullet loads one, OSG also
one out of that. Max doesn't load whatever Blender produces,
regardless of version, etc. I have no idea about Maya or Sketchup,
perhaps that has a bit better support.


Regards,

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


Re: [osg-users] OSG, bullet physics, collada and sketchup models on Ubuntu

2010-11-03 Thread Jean-Sébastien Guay

Hi Axel,


(i don't know if there's an english translation for calcio balilla, i'm 
sorry!)


Here in Quebec we call that baby foot

:-)

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] OSG, bullet physics, collada and sketchup models on Ubuntu

2010-11-03 Thread Paul Martz

On 11/3/2010 7:26 AM, Jan Ciger wrote:

using a sketchup model [1] and and some animation and/or interaction. So, my 
teacher suggested me to use osgBullet. osgBullet depends on osg, bullet and 
osgWorks, but to load hte model i need collada-dom. This morning i  found that 
google sketchup free can convert skp in dae (as Jordi supposed)...
At the end... what do you both advise me? To change project or to continue  
trying to install collada-dom + osg + bullet physics on a 32-arch of Ubuntu?
Please, let me know your opinion.. i need the advise of experts like you two :)


If you are just using the Sketchup/COLLADA model for the table, you do
not really need Collada support in Bullet - turn that off. The
Sketchup model will not have anything for the physics in it anyway.
Then you will need to build the collision meshes for Bullet yourself,
but that is what osgBullet/osgWorks should be able to help you with.
And making a ball and passing it to Bullet should be fairly trivial.


I concur with Jan on this. If the COLLADA file originated as a SketchUp file, 
then clearly it doesn't contain any physics information. Build OSG with the 
COLLADA plugin, load the file in OSG, then use the osgBullet tools to create the 
collision shapes and rigid bodies under programmatic control. osgBullet contains 
example programs that show many different ways for how to do this.


--
  -Paul Martz  Skew Matrix Software
   http://www.skew-matrix.com/
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] OSG, bullet physics, collada and sketchup models on Ubuntu

2010-11-03 Thread Axel Spirtaat
Thank you all for your suggestions, since i had so many problems 
building/installing collada-dom i decide to convert sketchup model in the 3ds 
format which is loadable by osg.
I had already installed osgBullet to obtain physics... on next coming days i'll 
study how to use those libraries :-)
I'm sorry to have lost 4 days trying to fix collada-dom's bugs. 

However, thanks again for your help :-)
Cheers,


Axel

PS: @Jean-Sebastian: the name baby foot makes me feel like a kid! LOL

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





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


Re: [osg-users] OSG, bullet physics, collada and sketchup models on Ubuntu

2010-11-03 Thread Tomlinson, Gordon
Thats not quite true Sketchup files can contain physics, you can find many 
files in the wharehouse with physics


Gordon Tomlinson
3D Technology
System Engineering Consultant
Overwatch®
An Operating Unit of Textron Systems
__
WARNING: Documents that can be viewed, printed or retrieved from this E-Mail 
may contain technical data whose export is restricted by the Arms Export 
Control Act (Title 22, U.S.C., Sec 2751, et seq,) or the Export Administration 
Act of 1979, as amended, Title 50, U.S.C., App. 2401 et seq. and which may not 
be exported, released or disclosed to non-U.S. persons (i.e. persons who are 
not U.S. citizens or lawful permanent residents [green card holders]) inside 
or outside the United States, without first obtaining an export license.  
Violations of these export laws are subject to severe civil, criminal and 
administrative penalties.


-Original Message-
From: osg-users-boun...@lists.openscenegraph.org 
[mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Paul Martz
Sent: Wednesday, November 03, 2010 10:33 AM
To: OpenSceneGraph Users
Subject: Re: [osg-users] OSG, bullet physics, collada and sketchup models on 
Ubuntu

On 11/3/2010 7:26 AM, Jan Ciger wrote:
 using a sketchup model [1] and and some animation and/or interaction. So, my 
 teacher suggested me to use osgBullet. osgBullet depends on osg, bullet and 
 osgWorks, but to load hte model i need collada-dom. This morning i  found 
 that google sketchup free can convert skp in dae (as Jordi supposed)...
 At the end... what do you both advise me? To change project or to continue  
 trying to install collada-dom + osg + bullet physics on a 32-arch of Ubuntu?
 Please, let me know your opinion.. i need the advise of experts like you two 
 :)

 If you are just using the Sketchup/COLLADA model for the table, you do
 not really need Collada support in Bullet - turn that off. The
 Sketchup model will not have anything for the physics in it anyway.
 Then you will need to build the collision meshes for Bullet yourself,
 but that is what osgBullet/osgWorks should be able to help you with.
 And making a ball and passing it to Bullet should be fairly trivial.

I concur with Jan on this. If the COLLADA file originated as a SketchUp file, 
then clearly it doesn't contain any physics information. Build OSG with the 
COLLADA plugin, load the file in OSG, then use the osgBullet tools to create 
the 
collision shapes and rigid bodies under programmatic control. osgBullet 
contains 
example programs that show many different ways for how to do this.

-- 
   -Paul Martz  Skew Matrix Software
http://www.skew-matrix.com/
___
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] OSG, bullet physics, collada and sketchup models on Ubuntu

2010-11-03 Thread Tomlinson, Gordon

Whoops I left off, 

but the conversion to COLLADA may well strip that info out ...

I know in our Sketchup read/writer for OSG we strip off things we don't support


-Original Message-
From: osg-users-boun...@lists.openscenegraph.org 
[mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Tomlinson, 
Gordon
Sent: Wednesday, November 03, 2010 3:13 PM
To: OpenSceneGraph Users
Subject: Re: [osg-users] OSG, bullet physics,collada and sketchup models on 
Ubuntu

Thats not quite true Sketchup files can contain physics, you can find many 
files in the wharehouse with physics


Gordon Tomlinson
3D Technology
System Engineering Consultant
Overwatch®
An Operating Unit of Textron Systems
__
WARNING: Documents that can be viewed, printed or retrieved from this E-Mail 
may contain technical data whose export is restricted by the Arms Export 
Control Act (Title 22, U.S.C., Sec 2751, et seq,) or the Export Administration 
Act of 1979, as amended, Title 50, U.S.C., App. 2401 et seq. and which may not 
be exported, released or disclosed to non-U.S. persons (i.e. persons who are 
not U.S. citizens or lawful permanent residents [green card holders]) inside 
or outside the United States, without first obtaining an export license.  
Violations of these export laws are subject to severe civil, criminal and 
administrative penalties.


-Original Message-
From: osg-users-boun...@lists.openscenegraph.org 
[mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Paul Martz
Sent: Wednesday, November 03, 2010 10:33 AM
To: OpenSceneGraph Users
Subject: Re: [osg-users] OSG, bullet physics, collada and sketchup models on 
Ubuntu

On 11/3/2010 7:26 AM, Jan Ciger wrote:
 using a sketchup model [1] and and some animation and/or interaction. So, my 
 teacher suggested me to use osgBullet. osgBullet depends on osg, bullet and 
 osgWorks, but to load hte model i need collada-dom. This morning i  found 
 that google sketchup free can convert skp in dae (as Jordi supposed)...
 At the end... what do you both advise me? To change project or to continue  
 trying to install collada-dom + osg + bullet physics on a 32-arch of Ubuntu?
 Please, let me know your opinion.. i need the advise of experts like you two 
 :)

 If you are just using the Sketchup/COLLADA model for the table, you do
 not really need Collada support in Bullet - turn that off. The
 Sketchup model will not have anything for the physics in it anyway.
 Then you will need to build the collision meshes for Bullet yourself,
 but that is what osgBullet/osgWorks should be able to help you with.
 And making a ball and passing it to Bullet should be fairly trivial.

I concur with Jan on this. If the COLLADA file originated as a SketchUp file, 
then clearly it doesn't contain any physics information. Build OSG with the 
COLLADA plugin, load the file in OSG, then use the osgBullet tools to create 
the 
collision shapes and rigid bodies under programmatic control. osgBullet 
contains 
example programs that show many different ways for how to do this.

-- 
   -Paul Martz  Skew Matrix Software
http://www.skew-matrix.com/
___
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] OSG, bullet physics, collada and sketchup models on Ubuntu

2010-11-03 Thread Axel Spirtaat
For completeness, i point out this site [1] which allow to convert sketchup 
files into 3ds, obj and other formats. 
I hope this post can help those who have my own doubts and problems.
Best regards,

Axel

[1] http://www.babel3d.com/

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





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


Re: [osg-users] OSG, bullet physics, collada and sketchup models on Ubuntu

2010-11-02 Thread Jordi Torres
Hi Axel,

OSG can't load .skp files with collada plugin, you must use collada models
(.dae) also downloadables form google wharehouse. About compiling the plugin
you have to pay attention to the dom version used, take a look to [1] to get
collada plugin compiled. We are using collada models on Ubuntu without
problems.

W.r.t. bullet I can't say anything, sorry :(.

[1]
http://www.openscenegraph.org/projects/osg/wiki/Support/KnowledgeBase/Collada

2010/11/2 Axel Spirtaat loginv...@gmail.com

 Hi all,

 i correctly installed osg 2.8.1 (by apt - ubuntu/debian package manager)
 and bullet physics 2.76 building the sources.
 When i tried to  load a sketuchup file (.skp) osgviewer reported an error.
 I read that i need collada-dom to load this kind of model. Is it right?
 However, i also tried to build collada, but there are a lot of bugs for
 linux and seem to be no more supported...  i fixed some of them but not all.
 So i seen that bulet physics 2.75 (an older version) have collada included
 in its sources and i tried to build it too :P (hope successfully).
 Now i think i have to re-installe the osg by sources selecting also the
 collada plugin. Is this right?
 Since i installed in past also osgWorks and osgBullet, and had some problem
 with bullet physics, i think there's a lot of garbage in my libraries and
 maybe i need to reinstall the whole Ubuntu...
 To prevent future problems can anyone answer to next questions?
 1) Does OSG need collada to load sketchup files?
 2) Is there anyone who succesfully installed collada-dom on ubuntu/linux?
 3) can anyone provide me a link to a really good tutorial to install
 collada-dom and load sketchup files using osg?

 I'm quite desperate, i've lost a lot of days... :-(


 Thank you!

 Cheers,
 Axel

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





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




-- 
Jordi Torres Fabra

gvSIG 3D blog
http://gvsig3d.blogspot.com
Instituto de Automática e Informática Industrial
http://www.ai2.upv.es
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] OSG, bullet physics, collada and sketchup models on Ubuntu

2010-11-02 Thread Axel Spirtaat
Thank you jordi,
now i begin to read the link you've suggested. Unluckily on Google warehouse i 
can find only skp files for the model i look for :-(
However, with a quick search i've seen that the is some tool to convert skp 
fines in 3ds format... maybe i could convert skp in 3ds and 3ds in dae :P
I hope to be more lucky now :-)

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





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


Re: [osg-users] OSG, bullet physics, collada and sketchup models on Ubuntu

2010-11-02 Thread Jordi Torres
Hi Axel,

I am not sure, but I think you can convert your .skp model to .dae with
sketch up of google.

Cheers.

2010/11/2 Axel Spirtaat loginv...@gmail.com

 Thank you jordi,
 now i begin to read the link you've suggested. Unluckily on Google
 warehouse i can find only skp files for the model i look for :-(
 However, with a quick search i've seen that the is some tool to convert skp
 fines in 3ds format... maybe i could convert skp in 3ds and 3ds in dae :P
 I hope to be more lucky now :-)

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





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




-- 
Jordi Torres Fabra

gvSIG 3D blog
http://gvsig3d.blogspot.com
Instituto de Automática e Informática Industrial
http://www.ai2.upv.es
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] OSG, bullet physics, collada and sketchup models on Ubuntu

2010-11-02 Thread Axel Spirtaat
Excuse me Jordi,
i continue to have the same errors building building collada (also following 
the tutorial you've suggested me). 
Did you have a problem like this building it?

a...@axel-desktop:~/osg/collada-dom$ make os=linux project=minizip
make os=linux project=minizip -C dom
make os=linux project=dom -C dom
make os=linux project=fx -C fx
make os=linux project=rt -C rt
make os=linux project=viewer -C viewer
make[1]: ingresso nella directory «/home/axel/Scrivania/OSG/collada-dom/viewer»
Linking build/linux-1.4/viewer
/usr/bin/ld: skipping incompatible 
../rt/external-libs/bullet/lib/linux/libbulletopenglsupport.a when searching 
for -lbulletopenglsupport
/usr/bin/ld: cannot find -lbulletopenglsupport
collect2: ld returned 1 exit status
make[1]: *** [build/linux-1.4/viewer] Errore 1
make[1]: uscita dalla directory «/home/axel/Scrivania/OSG/collada-dom/viewer»
make: *** [all] Errore 2

a...@axel-desktop:~/osg/collada-dom$ find . -iname libbulletopenglsupport.a
./rt/external-libs/bullet/lib/linux/libbulletopenglsupport.a




I ask this here because on SourceForge the project seems to be inactive...


Thank you[/list]

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





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


Re: [osg-users] OSG, bullet physics, collada and sketchup models on Ubuntu

2010-11-02 Thread Jordi Torres
Hi Axel,

I don't remember exactly what problems we had, but of course we had. The
Skipping incompatible error means that the libraries you are linking are
in the wrong architecture. It seems that you are mixing 32 bits and 64 bits
libraries. We only have built collada-plugin in a static way without bullet
support. You can download our compiled plugin here [1], and release it in
your osgPlugins directory (BTW it is in 32 bits).

Cheers.

[1]
https://svn.forge.osor.eu/svn/gvsig-3d/1.10/tags/gvSIG_3D_Animation_1_10_build_15/binaries/linux/3D/osgPlugins-2.8.3/osgdb_dae.so

2010/11/2 Axel Spirtaat loginv...@gmail.com

 Excuse me Jordi,
 i continue to have the same errors building building collada (also
 following the tutorial you've suggested me).
 Did you have a problem like this building it?

 a...@axel-desktop:~/osg/collada-dom$ make os=linux project=minizip
 make os=linux project=minizip -C dom
 make os=linux project=dom -C dom
 make os=linux project=fx -C fx
 make os=linux project=rt -C rt
 make os=linux project=viewer -C viewer
 make[1]: ingresso nella directory
 «/home/axel/Scrivania/OSG/collada-dom/viewer»
 Linking build/linux-1.4/viewer
 /usr/bin/ld: skipping incompatible
 ../rt/external-libs/bullet/lib/linux/libbulletopenglsupport.a when searching
 for -lbulletopenglsupport
 /usr/bin/ld: cannot find -lbulletopenglsupport
 collect2: ld returned 1 exit status
 make[1]: *** [build/linux-1.4/viewer] Errore 1
 make[1]: uscita dalla directory
 «/home/axel/Scrivania/OSG/collada-dom/viewer»
 make: *** [all] Errore 2

 a...@axel-desktop:~/osg/collada-dom$ find . -iname
 libbulletopenglsupport.a
 ./rt/external-libs/bullet/lib/linux/libbulletopenglsupport.a




 I ask this here because on SourceForge the project seems to be inactive...


 Thank you[/list]

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





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




-- 
Jordi Torres Fabra

gvSIG 3D blog
http://gvsig3d.blogspot.com
Instituto de Automática e Informática Industrial
http://www.ai2.upv.es
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] OSG, bullet physics, collada and sketchup models on Ubuntu

2010-11-02 Thread Jordi Torres
Sorry I did not remeber to say that this plugin is compiled for osg-2.8.3
version. :(

2010/11/2 Jordi Torres jtorresfa...@gmail.com

 Hi Axel,

 I don't remember exactly what problems we had, but of course we had. The
 Skipping incompatible error means that the libraries you are linking are
 in the wrong architecture. It seems that you are mixing 32 bits and 64 bits
 libraries. We only have built collada-plugin in a static way without bullet
 support. You can download our compiled plugin here [1], and release it in
 your osgPlugins directory (BTW it is in 32 bits).

 Cheers.

 [1]
 https://svn.forge.osor.eu/svn/gvsig-3d/1.10/tags/gvSIG_3D_Animation_1_10_build_15/binaries/linux/3D/osgPlugins-2.8.3/osgdb_dae.so

 2010/11/2 Axel Spirtaat loginv...@gmail.com

 Excuse me Jordi,

 i continue to have the same errors building building collada (also
 following the tutorial you've suggested me).
 Did you have a problem like this building it?

 a...@axel-desktop:~/osg/collada-dom$ make os=linux project=minizip
 make os=linux project=minizip -C dom
 make os=linux project=dom -C dom
 make os=linux project=fx -C fx
 make os=linux project=rt -C rt
 make os=linux project=viewer -C viewer
 make[1]: ingresso nella directory
 «/home/axel/Scrivania/OSG/collada-dom/viewer»
 Linking build/linux-1.4/viewer
 /usr/bin/ld: skipping incompatible
 ../rt/external-libs/bullet/lib/linux/libbulletopenglsupport.a when searching
 for -lbulletopenglsupport
 /usr/bin/ld: cannot find -lbulletopenglsupport
 collect2: ld returned 1 exit status
 make[1]: *** [build/linux-1.4/viewer] Errore 1
 make[1]: uscita dalla directory
 «/home/axel/Scrivania/OSG/collada-dom/viewer»
 make: *** [all] Errore 2

 a...@axel-desktop:~/osg/collada-dom$ find . -iname
 libbulletopenglsupport.a
 ./rt/external-libs/bullet/lib/linux/libbulletopenglsupport.a




 I ask this here because on SourceForge the project seems to be inactive...


 Thank you[/list]

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





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




 --
 Jordi Torres Fabra

 gvSIG 3D blog
 http://gvsig3d.blogspot.com
 Instituto de Automática e Informática Industrial
 http://www.ai2.upv.es




-- 
Jordi Torres Fabra

gvSIG 3D blog
http://gvsig3d.blogspot.com
Instituto de Automática e Informática Industrial
http://www.ai2.upv.es
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] OSG, bullet physics, collada and sketchup models on Ubuntu

2010-11-02 Thread Jan Ciger
Hello Axel,

Unfortunately, I have bad news for you. The collada inside Bullet and
the Collada as used by OSG are two different versions. If you try to
link the libraries, it will fail, even after you get the library
problem solved (32bit vs 64bit architecture issue?). The problem gets
worse because it is not possible to just simply port bullet code to
the same Collada OSG has (different API!).

When I was trying to use Collada with Bullet and OSG to load models
including physics, I had to do extensive changes to both Bullet and
osgBullet to make this work :( If you do not absolutely need physics
support for Collada, just disable Collada in Bullet, it will save you
a lot of headaches.

Good luck, you will need it :(

Jan


On Tue, Nov 2, 2010 at 6:01 PM, Axel Spirtaat loginv...@gmail.com wrote:
 Excuse me Jordi,
 i continue to have the same errors building building collada (also following 
 the tutorial you've suggested me).
 Did you have a problem like this building it?

 a...@axel-desktop:~/osg/collada-dom$ make os=linux project=minizip
 make os=linux project=minizip -C dom
 make os=linux project=dom -C dom
 make os=linux project=fx -C fx
 make os=linux project=rt -C rt
 make os=linux project=viewer -C viewer
 make[1]: ingresso nella directory 
 «/home/axel/Scrivania/OSG/collada-dom/viewer»
 Linking build/linux-1.4/viewer
 /usr/bin/ld: skipping incompatible 
 ../rt/external-libs/bullet/lib/linux/libbulletopenglsupport.a when searching 
 for -lbulletopenglsupport
 /usr/bin/ld: cannot find -lbulletopenglsupport
 collect2: ld returned 1 exit status
 make[1]: *** [build/linux-1.4/viewer] Errore 1
 make[1]: uscita dalla directory «/home/axel/Scrivania/OSG/collada-dom/viewer»
 make: *** [all] Errore 2

 a...@axel-desktop:~/osg/collada-dom$ find . -iname libbulletopenglsupport.a
 ./rt/external-libs/bullet/lib/linux/libbulletopenglsupport.a




 I ask this here because on SourceForge the project seems to be inactive...


 Thank you[/list]

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





 ___
 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