Re: [osg-users] osgmaxexp problems

2012-02-01 Thread Seppo
Hi Laurens and Sergey,

 

Thank for your answers, the problem was what Laurens brought up - I had
compiled (recopiled osgexp also) with VC 2010. I recompiled all (including
osg files) with 2008 and no more errors J

 

Cheers,

Seppo

 

From: osg-users-boun...@lists.openscenegraph.org
[mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Laurens
Voerman
Sent: 31. tammikuuta 2012 17:43
To: OpenSceneGraph Users
Subject: Re: [osg-users] osgmaxexp problems

 

Hi Seppo,
What compiler are you using? I think max 2012 is compiled with VC 2008 SP 1,
(at least the x64 version is; found some hints at autodesk.com that's true
for x86 too). Using a different compiler for osg or osgMaxExp might cause
problems.
Laurens. 


On 1/31/2012 1:51 PM, Sergey Polischuk wrote: 

Hi 

If there were osg interface changes between version which ships with osgexp
and yours, it can cause a crash. You should recompile osgexp with your osg
version.

31.01.2012, 11:13, Seppo  mailto:se...@kuutio.net se...@kuutio.net:

Hi Farshid,

 

Yes, when 3ds max starts up it gives this error. Could it be since I also
use newer OSG version than what was with the current stable release of
osgmaxexp (1.0.1)? I have copied the corresponding dll files there too so it
is not atleast missing any dll files, but I am not sure if that causes the
problem anyway.

 

Thanks,

-Seppo

 

From: osg-users-boun...@lists.openscenegraph.org
[mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Farshid
Lashkari
Sent: 26. tammikuuta 2012 20:02
To: OpenSceneGraph Users
Subject: Re: [osg-users] osgmaxexp problems

 

Hi Seppo,

On Tue, Jan 24, 2012 at 12:37 AM, Seppo se...@kuutio.net wrote:

I have compiled osgmaxexp svn rev 236 without problems, but when using that
I get this error when running 3DS max 2012 (32bit version):

DLL (OSGEXP.dle) failed to initialize. Error code 998 - Invalid access to
memory location.

 

 Are you getting this error when 3ds max starts up or when you try to
export?

 

Cheers,

Farshid

 

 

 


___
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
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] osgmaxexp problems

2012-01-30 Thread Seppo
Hi Farshid,

 

Yes, when 3ds max starts up it gives this error. Could it be since I also
use newer OSG version than what was with the current stable release of
osgmaxexp (1.0.1)? I have copied the corresponding dll files there too so it
is not atleast missing any dll files, but I am not sure if that causes the
problem anyway.

 

Thanks,

-Seppo

 

From: osg-users-boun...@lists.openscenegraph.org
[mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Farshid
Lashkari
Sent: 26. tammikuuta 2012 20:02
To: OpenSceneGraph Users
Subject: Re: [osg-users] osgmaxexp problems

 

Hi Seppo,

On Tue, Jan 24, 2012 at 12:37 AM, Seppo se...@kuutio.net wrote:

I have compiled osgmaxexp svn rev 236 without problems, but when using that
I get this error when running 3DS max 2012 (32bit version):

DLL (OSGEXP.dle) failed to initialize. Error code 998 - Invalid access to
memory location.

 

 Are you getting this error when 3ds max starts up or when you try to
export?

 

Cheers,

Farshid

 

 

 


___
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] osgmaxexp problems

2012-01-26 Thread Seppo
The problem with the using svn rev 236 remains, but about the others:

 

animations needed sequence helper, and at material problem was not the
submaterial, but raytrace-material within the submaterial.

Hope this helps if someone is struggling with same problems.

 

-Seppo

 

From: osg-users-boun...@lists.openscenegraph.org
[mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Seppo
Sent: 24. tammikuuta 2012 10:38
To: 'OpenSceneGraph Users'
Subject: [osg-users] osgmaxexp problems

 

Hi,

 

I have compiled osgmaxexp svn rev 236 without problems, but when using that
I get this error when running 3DS max 2012 (32bit version):

DLL (OSGEXP.dle) failed to initialize. Error code 998 - Invalid access to
memory location.

 

Anyone else had the same problem, with possible solution?

 

Also, how to get multi/sub materials exported correctly? It seems none of
the submaterials exports.

 

And third question, how to get keyframeless animations to get exported?

 

-Seppo

 

 

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


[osg-users] osgmaxexp problems

2012-01-24 Thread Seppo
Hi,

 

I have compiled osgmaxexp svn rev 236 without problems, but when using that
I get this error when running 3DS max 2012 (32bit version):

DLL (OSGEXP.dle) failed to initialize. Error code 998 - Invalid access to
memory location.

 

Anyone else had the same problem, with possible solution?

 

Also, how to get multi/sub materials exported correctly? It seems none of
the submaterials exports.

 

And third question, how to get keyframeless animations to get exported?

 

-Seppo

 

 

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


[osg-users] tutorial FindingNodes missing cpp

2010-05-14 Thread Seppo
Hi,

 

The tutorial about FindingNodes

http://www.openscenegraph.org/projects/osg/wiki/Support/Tutorials/FindingNod
es

 

is missing the link to the cpp file, just above the list of class
definition..

If possible could it be added there?

 

Cheers,

-Seppo

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


[osg-users] OpenVRML include vrml97node.h missing

2010-04-22 Thread Seppo
Hi,

 

I have downloaded and build openvrml 0.18.4  (tied also with versions 18.3
and 18.5)

and included it to osg 2.8.3 but the compile stops as it does not find
openvrml/vrml97node.h

 

As I looked into openvrml folder there was no include dir nor there was
openvrml/vrml97node.h -file anywhere.. where can I download correct openvrml
distribution with those files/dirs? I found them not from openvrml.org nor
the sourceforge one..

 

-Seppo

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


Re: [osg-users] OpenVRML include vrml97node.h missing

2010-04-22 Thread Seppo
Hi Jan,

Thanks for the info! I got mixed up with OSG versions - I was first going to
compile with 2.9 series but then took the new release of 2.8.3 ..

Regards,
Seppo


-Original Message-
From: osg-users-boun...@lists.openscenegraph.org
[mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Jan Ciger
Sent: 22. huhtikuuta 2010 18:43
To: OpenSceneGraph Users
Subject: Re: [osg-users] OpenVRML include vrml97node.h missing

Hello,

That seems that you are using the old VRML plugin. For this version of
OSG you need the old OpenVRML 0.14.3, nothing newer than that. There
was a major change in the API around that time and the libraries are
not compatible. You can get it from SourceForge. There will likely be
a small patch required to get the old library to compile with recent
compilers, you can find that here:
http://www.openscenegraph.org/projects/osg/wiki/Support/PlatformSpecifics/Li
nux

Alternatively you can update to newer OSG, the 2.9.x series has an
updated version of the plugin included.

Regards,

Jan

On Thu, Apr 22, 2010 at 3:14 PM, Seppo se...@kuutio.net wrote:
 Hi,



 I have downloaded and build openvrml 0.18.4  (tied also with versions 18.3
 and 18.5)

 and included it to osg 2.8.3 but the compile stops as it does not find
 openvrml/vrml97node.h



 As I looked into openvrml folder there was no include dir nor there was
 openvrml/vrml97node.h -file anywhere.. where can I download correct
openvrml
 distribution with those files/dirs? I found them not from openvrml.org nor
 the sourceforge one..



 -Seppo

 ___
 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


[osg-users] how to scale whole scene with cameras etc

2010-02-23 Thread Seppo
Hi,

 

How can I scale the scene so that cameras scale along too?

 

If I scale the scene using code similar to following, the models are scaled,
but what happens is that the scene seems to run away as the camera stays
still while all models get smaller. :

 

--

shadowedScene = new osgShadow::ShadowedScene;

_rotateNode = new osg::MatrixTransform;

shadowedScene-addChild(_rotateNode.get());

float val = 0.5f;

 

osg::ref_ptrosg::MatrixTransform tptr = _rotateNode;

if(tptr.valid())

{

osg::Matrix mat =
osg::Matrix::scale(val, val, val);

osg::Matrix oldmat =
osg::Matrix::translate(_rotateNode-getBound().center());

tptr-setMatrix( mat *
oldmat );

// Create a scene stateset

osg::ref_ptrosg::StateSet
sceneState = _parentNode-getOrCreateStateSet();

 

// Set the SceneRoot to
normalise normals when scaling is applied to objects. 

 
sceneState-setMode(GL_NORMALIZE, osg::StateAttribute::ON);

}

--

 

Thanks for any help,

Seppo

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


[osg-users] exporters

2009-07-15 Thread Seppo
Hi,

 

What is the current differences, possibilities and no-can-do's of different
exporters?

Having an up-to-date list in one place could be nice, so if possible could
different exporter developers or users  answer to this message, adding to
list their exporters state, and exporter users could add their findings.
That way it would help checking the current state of different exporters
from one post..

 

To outline some problems  there is:

I have tried exporter for 3D studio max, and it can't export vertex
animations, nor have I been able to export skinning animation (even some
people have said in this list that it is possible) - in other words I have
not been able to export animation about changes in objects geometry. 

Then again, I tried to download and use blender exporter, only finding out
that there is not a complete package available for now, and I had to
download different.py -files separately. And even those, I was not able to
download them just like that, I had to copy paste them with line numbers to
text editor, and then manually delete those line numbers.. there might be
straight way to acquire this exporter but I could not find it now (long time
ago that was possible, but when I tried today, there was not straightforward
way to do this..).

I have not tried maya exporter.

 

Usually the problem is that OSG supports different animation styles,
texturestyles, shaders etc, but it is sometimes difficult to find a way to
get them into osg.  

There is COLLADA exporters also already for many applications, and since
collada supports so many features that might be a good way to load 3D models
to osg - but as I have understood the collada importer is not that far yet,
and it does not support animations for one thing. 

 

So my main question is, what is the best format to import models to osg
nowadays from modern 3D modeling softwares. And what they can / cant do
nowadays (i.e. how to bring those geometrychange -animations to osg)?

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


Re: [osg-users] VRML testing call

2009-06-04 Thread Seppo
Hi,

Might be simple one but I am not getting into it..

I get the following errors (and many more but I guess these few lines
describe  the problem enough) when building Plugins vrml:

1Compiling...
1ReaderWriterVRML2.cpp
1C:\ohj\openvrml-0.17.12\src\libopenvrml\openvrml/basetypes.h(38) : error
C2059: syntax error : 'string'
1C:\ohj\openvrml-0.17.12\src\libopenvrml\openvrml/basetypes.h(38) : error
C2146: syntax error : missing ';' before identifier 'color'

The OpenVRML itself compiled fine, these errors came at OSG..
Any idea of the problem?

Thanks in advance,
-Seppo


-Original Message-
From: osg-users-boun...@lists.openscenegraph.org
[mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Jan Ciger
Sent: 26. toukokuuta 2009 15:10
To: osg-users@lists.openscenegraph.org
Subject: Re: [osg-users] VRML testing call

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Jan Ciger wrote:
 Hello everyone,
 
 I have updated the VRML plugin to use the latest OpenVRML 0.17.12 and
 Boost 1.38. Could the VRML users, test this, once Robert merges it,
please?
 
 It works fine for me on Linux, but I didn't have a chance to test on
 other platforms.
 
 Regards,
 
 Jan


Here is a temporary location of the updated plugin sources before Robert
manages to put them into subversion:

http://www.aaue.dk/~janoc/files/download/vrml.zip

I am interested in people testing this on Windows and Mac - I do not
have these platforms available.

Regards,

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

iD8DBQFKG9wmn11XseNj94gRAvBOAKCRdgrij1E4RJQWRyaM1X9a6RGuTwCdFAHY
8VirDdCoMYuDGFC3H9sXH2M=
=Mmet
-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] compiling 2.4 problems

2008-05-13 Thread Seppo Laukkanen
With Windows XP, I tried to Cmake and then compile with VC 2008 OSG 2.4 but
I get the linking errors:  LNK1104: cannot open file
'..\..\lib\OpenThreadsd.obj'

 

It seems that for some reason it does not look for .libs but for .obj's. How
to create a version that uses libs instead of objs?

 

Thanks in advance!

 

-Seppo

 

 

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