Re: [osg-users] Newbie questions...

2010-04-05 Thread Ulrich Hertlein
Hi,

On 1/04/10 20:47 , Ku Krapox wrote:
> Callbacks My problem is : I can get back the nodes of a geode if it's a 
> loaded model
> (like the tank), but I can't do the same for my own objects, such as simple 
> osg::Sphere
> loaded in an osg::Geode. What I do is I set the Geode's name to "earth" and I 
> call :
> 
> Code: _earthNode = dynamic_cast \< osgSim::DOFTransform* \> 
> (findEarth.getFirst());
> 
> ... which results in a NULL value in _earthNode. I've found out that the 
> dynamic_cast
> fails when the returned named object is a geode, but I don't know what object 
> should be
> named in my hierarchy to be handled sucessfully by a DOFTransform? Or should 
> I use
> something else than a DOFTransform??

If the node you found isn't derived from DOFTransform then the dynamic_cast 
will fail.
Since you mention osg::Geode maybe you should cast to that instead, if that is 
what it is?

> Code: _KEH->addFunction(' ', buildGraph);
>... 
> Im doing exactly what is in the tutorial, except that everything is in a 
> class, but it
> fails to build with the following error :
> 
>> 1>.\CGraph.cpp(49) : error C3867: 'graphs::CGraph::buildGraph': function 
>> call missing
>> argument list; use '&graphs::CGraph::buildGraph' to create a pointer to 
>> member

Is 'addFunction' an osg function or is it from your framework?  I can't find 
any reference
to that in the soruce.

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


Re: [osg-users] Bizzare setViewMatrixAsLookAt behavior !!

2010-04-05 Thread John Galt
Hi,

What is happening is that the eye instead of being fixed at say (X1,Y1,Z1) is 
revolving around that point in a small circle while pointing to the correct 
center!

Thank you!

Cheers,
John

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





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


Re: [osg-users] 2.8.3 released!

2010-04-05 Thread Tomlinson, Gordon
Nice work Paul and all ...



Gordon Tomlinson
Product Manager 3d Technology & Project Wyvern
Overwatch(r)
An Operating Unit of Textron Systems

-Original Message-
From: osg-users-boun...@lists.openscenegraph.org
[mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Paul
Martz
Sent: Monday, April 05, 2010 3:39 PM
To: OpenSceneGraph Users
Subject: [osg-users] 2.8.3 released!

Hi all -- The OSG v2.8.3 final release has just been tagged.
Congratulations and 
many thanks to everyone in the community who pitched in and helped me
get this 
out the door. The community effort really caught a lot of issues that I
would 
never have caught on my own, so again, thanks!

It's hard to believe it's been 6 months since 2.8.2. The 2.8.3 release
takes new 
functionality, long available on trunk and in developer releases, and
makes 
those features available in a stable release for developers to use in
production 
releases of their OSG-based apps.

I don't have write access to the downloads page, so I've made a source
ZIP 
available here, until it can be moved to the OSG server:
   http://www.skew-matrix.com/osg283/OpenSceneGraph-2.8.3.zip
Robert, if you could move that, I'd appreciate it.

Does anyone want to volunteer to build binaries? Preferably, someone who
has 
done it in the past, so that the packages remain consistent from release
to release.

After the downloads page is in shape, I'll push the press release out to

opengl.org and khronos.org.

Use this URL to svn checkout the 2.8.3 final release tag:
 
http://www.openscenegraph.org/svn/osg/OpenSceneGraph/tags/OpenSceneGraph
-2.8.3

The release status page serves as the release notes:
   http://www.openscenegraph.org/projects/osg/wiki/Support/283release

And the press release is still located here:
   http://www.openscenegraph.org/projects/osg/wiki/News/Press/OSG2.8.3

The only issue I'm aware of with 2.8.3 at this point is a problem I
discovered 
with the 3DS exporter handling certain MatrixTransforms, possibly an
issue with 
how the matrix decomposition handles corner-case matrices. The behavior
is the 
same on svn trunk and not a show stopper in my opinion. I've exchanged
offline 
emails with Sukender and supplied him with a reproducer .osg model.

Again, thanks to all for the assistance with v2.8.3.
-- 
   -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.or
g
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] WriteImageFile black

2010-04-05 Thread David Glenn

Skylark wrote:
> Hi David,
> 
> 
> > I was looking at how you modified that ScreenCaptureHandler. I was just 
> > wondering if anyone has tried to make a video capture handler yet?
> > 
> 
> At work we've done video output using ffmpeg and the 
> ScreenCaptureHandler. We derived a 
> ScreenCaptureHandler::CaptureOperation that passes the captured frames 
> to ffmpeg to be encoded into a video.
> 
> J-S
> -- 
> __
> Jean-Sebastien Guay
> http://www.cm-labs.com/
> http://whitestar02.webhop.org/
> ___
> osg-users mailing list
> 
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
> 
>  --
> Post generated by Mail2Forum


Yea! That’s similar to what I had in mind.

Capture it to a loop buffer (file or memory), then convert the images from the 
back of the loop, forward and save them as a image sequence. 

That way, the capture function can run at its pace and the converter function 
can run at it's own slower pace. 

I crammed a sequence of bmp files and maid an avi movie file way back when I 
was learning to do animation with a digital camera on windows 3.1 platform. 

Yep! All that art school and its funny how I wound up hacking code for a 
living!   |-) 

I guess, that the concept hasn't changed all that much! Right? Sequence one 
image after another in a file and you have your basic raw movie!

D Glenn


D Glenn (a.k.a David Glenn) - Join the Navy and See the World ... from your 
Desk!

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





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


Re: [osg-users] 2.8.3 released!

2010-04-05 Thread Jean-Sébastien Guay

Hi Paul, all,


Hi all -- The OSG v2.8.3 final release has just been tagged.


Congrats to Paul and all who worked hard to get this release out the 
door. The list of improvements is impressive and I think it was high 
time to have another stable release.


Thanks for your hard work!

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] WriteImageFile black

2010-04-05 Thread Jean-Sébastien Guay

Hi David,


I was looking at how you modified that ScreenCaptureHandler. I was just 
wondering if anyone has tried to make a video capture handler yet?


At work we've done video output using ffmpeg and the 
ScreenCaptureHandler. We derived a 
ScreenCaptureHandler::CaptureOperation that passes the captured frames 
to ffmpeg to be encoded into a video.


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


[osg-users] 2.8.3 released!

2010-04-05 Thread Paul Martz
Hi all -- The OSG v2.8.3 final release has just been tagged. Congratulations and 
many thanks to everyone in the community who pitched in and helped me get this 
out the door. The community effort really caught a lot of issues that I would 
never have caught on my own, so again, thanks!


It's hard to believe it's been 6 months since 2.8.2. The 2.8.3 release takes new 
functionality, long available on trunk and in developer releases, and makes 
those features available in a stable release for developers to use in production 
releases of their OSG-based apps.


I don't have write access to the downloads page, so I've made a source ZIP 
available here, until it can be moved to the OSG server:

  http://www.skew-matrix.com/osg283/OpenSceneGraph-2.8.3.zip
Robert, if you could move that, I'd appreciate it.

Does anyone want to volunteer to build binaries? Preferably, someone who has 
done it in the past, so that the packages remain consistent from release to release.


After the downloads page is in shape, I'll push the press release out to 
opengl.org and khronos.org.


Use this URL to svn checkout the 2.8.3 final release tag:
  http://www.openscenegraph.org/svn/osg/OpenSceneGraph/tags/OpenSceneGraph-2.8.3

The release status page serves as the release notes:
  http://www.openscenegraph.org/projects/osg/wiki/Support/283release

And the press release is still located here:
  http://www.openscenegraph.org/projects/osg/wiki/News/Press/OSG2.8.3

The only issue I'm aware of with 2.8.3 at this point is a problem I discovered 
with the 3DS exporter handling certain MatrixTransforms, possibly an issue with 
how the matrix decomposition handles corner-case matrices. The behavior is the 
same on svn trunk and not a show stopper in my opinion. I've exchanged offline 
emails with Sukender and supplied him with a reproducer .osg model.


Again, thanks to all for the assistance with v2.8.3.
--
  -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] Suggesting Forum Category and Wiki for osgAnimation

2010-04-05 Thread Roland Smeenk

ParticlePeter wrote:
> Uh, I did not know that this one can be extended by users.


That's what a Wiki is for.


> 
> How can I add stuff there, and who gives me the permission to do this ?
> 


See http://www.openscenegraph.org/projects/osg/wiki/About/WikiEditing
for instructions.

Roland

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





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


Re: [osg-users] WriteImageFile black

2010-04-05 Thread David Glenn
Hi, J-S!

I was looking at how you modified that ScreenCaptureHandler. I was just 
wondering if anyone has tried to make a video capture handler yet?


... 

Thank you!

Thinking out Loud,
D Glenn


D Glenn (a.k.a David Glenn) - Join the Navy and See the World ... from your 
Desk!

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





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


[osg-users] osgAnimation : 02AE6A28 RigTransformSoftware::UniqBoneSetVertexSet no bones found

2010-04-05 Thread Peter Wrobrl
Hi,

The change in the bone class was on my feature request list for osgAnimation 
:-) as its quite confortable to get the inverseBindMatrix from Maya, especially 
if the Charecter is animated and not in bindPose.

But in any case, the issue that I have is still there with your trunk. I 
created a minimal scengraph to demostrate missing UniqueIDs. Notice that if 
animationManager is not a ref_ptr, the UniqueIDs don't get written into files. 
The same is true for skeletton and bone. With unique IDs I get no error. 
Isn't this wrong behaviour ?


// UniqueIDs
// --
#include osgDB/WriteFile
#include osgAnimation/BasicAnimationManager

int main ( int argc, char * argv[] )
{
osg::Group * scene = new osg::Group ;
osg::ref_ptr< osgAnimation::BasicAnimationManager > manager = new 
osgAnimation::BasicAnimationManager ;
scene -> setUpdateCallback( manager.get() ) ;
osgDB::writeNodeFile(  * (  scene  ) , "osgAnimationSkinning.osg"  )  ;
return 0 ;
}


// No UniqueIDs
// --
#include osgDB/WriteFile
#include osgAnimation/BasicAnimationManager

int main ( int argc, char * argv[] )
{
osg::Group * scene = new osg::Group ;
osgAnimation::BasicAnimationManager * manager = new 
osgAnimation::BasicAnimationManager ;
scene -> setUpdateCallback( manager ) ;
osgDB::writeNodeFile(  * (  scene  ) , "osgAnimationSkinning.osg"  )  ;
return 0 ;
}

Thank you!

Cheers, PP

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





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


Re: [osg-users] 2.8.3 press release

2010-04-05 Thread Paul Martz

Jean-Sébastien Guay wrote:

Hi Paul,

You changed the sentence I pointed out to:

"numerous commercial and open source academic application software 
projects"


I would have rather said:

"numerous commercial, open source and academic application software 
projects"


Easily fixed, thanks.

--
  -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] Suggesting Forum Category and Wiki for osgAnimation

2010-04-05 Thread Peter Wrobrl
Hi,

Uh, I did not know that this one can be extended by users. How can I add stuff 
there, and who gives me the permission to do this ?

Thank you!

Cheers, searching for the Pivot of my Soul, PP !!!

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





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


Re: [osg-users] 2.8.3 press release

2010-04-05 Thread Jean-Sébastien Guay

Hi Paul,

You changed the sentence I pointed out to:

"numerous commercial and open source academic application software projects"

I would have rather said:

"numerous commercial, open source and academic application software 
projects"


Sorry for nitpicking...

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] 2.8.3 press release

2010-04-05 Thread Paul Martz

Thanks for the suggestions and changes. The Wiki version is now up:
  http://www.openscenegraph.org/projects/osg/wiki/News/Press/OSG2.8.3

--
  -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] WriteImageFile black

2010-04-05 Thread Jean-Sébastien Guay

Hi Tomas,


- I tried to use the ScreenCaptureHandler, but this doesn't allow me to achieve 
what I want (I want to record several frames during a given period) because of 
the fact that it only takes screenshots when you press a key.


First of all, in the SVN version of the ScreenCaptureHandler, it has a 
mode that allows continuous capture (with a way to stop it of course). 
In osgviewer you can even try it out, pressing 'c' (lowercase) will 
capture a single frame and pressing 'C' will start/stop continuous capture.


If you're not using the SVN OSG and can't upgrade, then you can override 
the ScreenCaptureHandler class and make the changes I made (look at the 
code in SVN and do the same in your overridden class). I think the basic 
idea was, in the overridden handle() method, on FRAME events, call 
addCallbackToViewer(). But look at the code in SVN to be sure, it's been 
a while.



I really am starting to be in a rush for this project, and getting depressed by 
the complexity of getting a simple shot of the view.


Well, OpenGL and OSG are complex. But you're right, this was a very 
common request, which is why I tried to make the ScreenCaptureHandler 
easy to use and flexible.


Hope this helps,

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] WriteImageFile black

2010-04-05 Thread Chris 'Xenon' Hanson
On 4/5/2010 9:02 AM, Thomas PATTOU wrote:
>  which gives me the result I have now (a black jpg file).

  I think this sounds like an FAQ problem -- something about JPEG not 
supporting the pixel
format you're trying to save. Try saving as a PNG -- it might be something to 
do with an
alpha channel or something that JPEG can't handle.

-- 
Chris 'Xenon' Hanson, omo sanza lettere  Xenon AlphaPixel.com
PixelSense Landsat processing now available! http://www.alphapixel.com/demos/
"There is no Truth. There is only Perception. To Perceive is to Exist." - Xen
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] WriteImageFile black

2010-04-05 Thread Thomas PATTOU
Hi everybody,

First, I want to state that I am aware there is already quite a few posts about 
this. I read most of them, trying to understand what is wrong with my 
application; now that this is said, I can also state that I did not find out 
the solution.

Basically, I am trying to achieve the same thing as a lot of people, taking a 
screenshot of my current view and writing it to file. I really tried a lot of 
ways to get this working, in vain.
:

- I tried to use the ScreenCaptureHandler, but this doesn't allow me to achieve 
what I want (I want to record several frames during a given period) because of 
the fact that it only takes screenshots when you press a key.

- I tried to have a look at osgscreencapture, which is unfortunately too 
complex for me to get it clearly.

- I tried the basic 

Code:
osg::Image* temp = new osg::Image();
temp->readPixels(0, 0, 
viewer->getCamera()->getGraphicsContext()->getTraits()->width, 
viewer->getCamera()->getGraphicsContext()->getTraits()->height, GL_RGB, 
GL_UNSIGNED_BYTE);
osgDB::writeImageFile(*temp, toto.jpg);

 which gives me the result I have now (a black jpg file).

- I also tried to put that code in a handler derived from GUIEventHandler

Code:
bool ScreenshotHandler::handle(const osgGA::GUIEventAdapter& 
ea,osgGA::GUIActionAdapter& aa)
{

osg::View* viewTest = aa.asView();


osg::Image* temp = new osg::Image();
temp->readPixels(0, 0, 
viewTest->getCamera()->getGraphicsContext()->getTraits()->width, 
viewTest->getCamera()->getGraphicsContext()->getTraits()->height, GL_RGB, 
GL_UNSIGNED_BYTE);
osgDB::writeImageFile(*temp, "toto2.jpg");


return true;
}


 that I add to the viewer, but I still get the same problem.

I really am starting to be in a rush for this project, and getting depressed by 
the complexity of getting a simple shot of the view.

Please help!


Thank you!

Cheers,
Thomas[/code]

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





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


Re: [osg-users] [vpb] binaries of osgDem

2010-04-05 Thread issam boughanmi
ok ok ... i will spend more time on this tonight 

anyway thanks a lot


see u tomorrow

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





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


Re: [osg-users] Suggesting Forum Category and Wiki for osgAnimation

2010-04-05 Thread Cedric Pinson
Hi Peter,
there is a small wiki about osgAnimation here
http://www.openscenegraph.org/projects/osg/wiki/Community/NodeKits/osgAnimation
there is not a lot of informations but i guess it can be extended by
users.

Cheers,
Cedric

-- 
Provide OpenGL services around OpenSceneGraph and more
+33 659 598 614 Cedric Pinson mailto:cedric.pin...@plopbyte.net
http://www.plopbyte.net



On Sun, 2010-04-04 at 10:46 +, Peter Wrobrl wrote:

> Hi,
> 
> Would like to suggest an own Categry for osgAnimation in this Forum, and also 
> a user driven Wiki. Examples and Documentation ( if any ) are quite tough to 
> read, so community could share experience, explain functionality, post 
> examples.
> 
> If this already exists, I couldn't find it, so please point me there.  
> 
> Thank you!
> 
> Cheers, searching for the Pivot of my Soul, PP !!!
> 
> --
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=26427#26427
> 
> 
> 
> 
> 
> ___
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
> 


signature.asc
Description: This is a digitally signed message part
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] serializer again: stream sizes an some questions

2010-04-05 Thread Torben Dannhauer
Hi,

I'm working again on my serializer problem and I don't unterstand why my binary 
stream is as long as my ascii stream. binary should be smaller as ascii I 
suppose

My Testcode code is:

Code:

// Writing object to stream
std::stringstream myOstream;
std::string extension = "osgb";
bool compressed = true;
osgDB::ReaderWriter* rw = 
osgDB::Registry::instance()->getReaderWriterForExtension(extension.c_str());
if ( rw )
{
osgDB::ReaderWriter::WriteResult wr;

if (extension == "osgb")
{
if (compressed)
wr = rw->writeObject( *test, myOstream, new 
osgDB::Options("Compressor=zlib") );
else
wr = rw->writeObject( *test, myOstream );
}

if (extension == "osgt")
{
if (compressed)
wr = rw->writeObject( *test, myOstream, new 
osgDB::Options("Ascii Compressor=zlib") );
else
wr = rw->writeObject( *test, myOstream, new 
osgDB::Options("Ascii") );
}

if (extension == "osgx")
{
if (compressed)
wr = rw->writeObject( *test, myOstream, new 
osgDB::Options("XML Compressor=zlib") );
else
wr = rw->writeObject( *test, myOstream, new 
osgDB::Options("XML") );
}


if (!wr.success() ) OSG_NOTIFY( osg::WARN ) << "ERROR: Save 
failed: " << wr.message() << std::endl;
}
else
OSG_NOTIFY( osg::WARN ) << "error getting readerWriter for 
osgt" << std::endl;

// Get size.
stringbuf *pbuf;
pbuf = myOstream.rdbuf();
OSG_NOTIFY( osg::WARN ) << "PBUF Bytes available: " << pbuf->in_avail() 
<< std::endl;
OSG_NOTIFY( osg::ALWAYS ) << "STRING Bytes available: " << 
myOstream.str().length() << std::endl;
OSG_NOTIFY( osg::ALWAYS ) << "STRING content: " << myOstream.str() << 
std::endl;

//Reading Stream to node
if ( rw )
{
osgDB::ReaderWriter::ReadResult rr = rw->readObject( myOstream 
);
osg::ref_ptr test2 = 
dynamic_cast(rr.takeObject());
if (test2)
{
OSG_NOTIFY( osg::WARN ) << "TEST::FrameID is: " << 
test->getFrameID() << std::endl;
}
else
OSG_NOTIFY( osg::WARN ) << "Error converting stream to 
Node" << std::endl;
}





My Question is: What is the real stream size: 
The value pbuf->in_avail() or the value myOstream.str().length()?
Because it always differs up to 60 bytes.

My stream sizes (  myOstream.str().length() ) of my object ot transfer are:

xml: 739 bytes
ASCII: 389 bytes 
binaryy uncompressed: 353 bytes
binary compressed: 176 bytes

Can anyone give me a hint what the problem in my serializer / stream usage, 
that causes my binary stream to be as large as my ascii stream?

Thank you very much!

Cheers,
Torben

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





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


Re: [osg-users] disappearing line

2010-04-05 Thread David Cofer
Awesome! It looks like making the call to dirtybound fixed it. I tested it 
pretty hard and never had the problem come up again. Thanks. I did not know I 
needed to make that call.

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





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


Re: [osg-users] 2.8.3 press release

2010-04-05 Thread Jean-Sébastien Guay

Hi Paul,


Please review and comment, thanks.


Looks great to me. Only thing I'd add, in the sentence:

The global community is constantly improving OSG by contributing 
enhancements, bug fixes, testing, and using it daily in numerous 
commercial and academic application software projects.


I would add ", open source" between "commercial" and "and academic 
application software projects." But that's just for completeness.


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] [vpb] binaries of osgDem

2010-04-05 Thread Jean-Sébastien Guay

Hi Issam,


i think that is an osg version problem
vpb 0.910 require osg 2.8.0
and i am using 2.8.2


VPB 0.9.1 requires OSG 2.8.0 or higher. 2.8.2 is compatible with 2.8.0 
so VPB 0.9.1 should compile fine with it.


The linker errors really look like the linker paths are not set up right 
in your VPB project. Check them twice, then check them again. But apart 
from that, we can't really help because we don't have your machine in 
front of us, you do.


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] [vpb] binaries of osgDem

2010-04-05 Thread issam boughanmi
ok i will do that 

i think that is an osg version problem

vpb 0.910 require osg 2.8.0 

and i am using 2.8.2

i will try the other version tonight


see u later

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





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


[osg-users] Support vendor specific 3D APIs - any interest here?

2010-04-05 Thread Christian Buchner
Hi,

So quad buffered stereo only works with professional graphics cards,
and I have used that feature with success at my work place. At home I
do not have access to such devices. But I do have a 120 Hz capable
monitor and those nVidia 3D Vision shutter glasses, which
unfortunately only support DirectX gaming and stereo viewing of video
and still images. This is mostly targeted at a gaming audience and
OpenGL is no longer relevant enough to be supported (what a shame!).

But nVidia have created a proprietary API (NVAPI) with which it is
possible to display pretty much anything with shuttered glasses. Would
there be any interest to fit OpenSceneGraph with a capability to
render to 3DVision enabled displays with non-Quadro graphics cards?

Is support for proprietary APIs and extensions frowned upon in this
community? (I hear ATI have a similar vendor specific shutter glasses
API in their latest drivers)

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


Re: [osg-users] osgAnimation : 02AE6A28 RigTransformSoftware::UniqBoneSetVertexSet no bones found

2010-04-05 Thread Cedric Pinson
Hi Peter,
I am not saying the version will resolve your problem, i just have a
quick look to your file and the fileformat looks old. So in order i can
help could you provide your file with the last svn version ?
Then i will be able to dig it

Cheers,
Cedric


-- 
Provide OpenGL services around OpenSceneGraph and more
+33 659 598 614 Cedric Pinson mailto:cedric.pin...@plopbyte.net
http://www.plopbyte.net



On Mon, 2010-04-05 at 12:26 +, Peter Wrobrl wrote:

> Hi,
> 
> but how can this be a version issue ? I have created both the osg files with 
> OpenSceneGraph 2.9.6.
> 
> Figured out something, those Unique_Ids get written only if ref_ptr is used 
> instead of normal pointers ( for e.g. BasicAnimationManager ), can this be 
> this true ?
> 
> I will try your trunk.
> 
> Thank you!
> 
> Cheers, searching for the Pivot of my Soul, PP !!!
> 
> --
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=26446#26446
> 
> 
> 
> 
> 
> ___
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
> 


signature.asc
Description: This is a digitally signed message part
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] Camera Behavior

2010-04-05 Thread John Galt

Alberto Luaces wrote:
> "John Galt" writes:
> 
> 
> > Hi,
> > 
> > I have setup my view as
> > 
> > view->getCamera()->setViewMatrixAsLookAt(eye, center, up);
> > 
> > eye, center and up are osg::Vec3 elements.
> > 
> > I have my eye and up as constant. When I change my center vector, the 
> > Camera's position is changing!
> > 
> > Can anyone explain why? Shouldn't the camera's position (X,Y,Z) be fixed if 
> > the eye vector is constant?
> > 
> 
> John,
> 
> eye and center are not vectors but points. When you use them in
> setViewMatrixAsLookAt, you actually mean "from eye to center".
> 
> --
> Alberto
> ___
> osg-users mailing list
> 
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
> 
>  --
> Post generated by Mail2Forum


Hi Alberto,

Even if that is the case, when my eye is fixed and center is changing, should I 
see the view as a camera that is rotating about a fixed point? Why is it that I 
am seeing the camera rotate about a moving point?

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





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


[osg-users] osgAnimation : 02AE6A28 RigTransformSoftware::UniqBoneSetVertexSet no bones found

2010-04-05 Thread Peter Wrobrl
Hi,

but how can this be a version issue ? I have created both the osg files with 
OpenSceneGraph 2.9.6.

Figured out something, those Unique_Ids get written only if ref_ptr is used 
instead of normal pointers ( for e.g. BasicAnimationManager ), can this be this 
true ?

I will try your trunk.

Thank you!

Cheers, searching for the Pivot of my Soul, PP !!!

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





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


Re: [osg-users] [vpb] binaries of osgDem

2010-04-05 Thread Torben Dannhauer
Hi,

hmm don't know the solutiuon... but instead of building vpb without full osg, 
why don't you download an compile osg full? it works out of a box, just 
downloading, and compiling, and the everything should work!


Thank you!

Cheers,
Torben

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





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


Re: [osg-users] 2.8.3 press release

2010-04-05 Thread Paul Palumbo
Can somebody provide me with a .zip version of 2.8.3. I don't have access to 
SVN (through my firewall) and I believe it will fix one of my problems.

Thanks,
Paul P.

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





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


Re: [osg-users] 2.8.3 press release

2010-04-05 Thread Christian Buchner
There's a typo "oagAnimation" instead of "osgAnimation".

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


Re: [osg-users] osgAnimation : 02AE6A28 RigTransformSoftware::UniqBoneSetVertexSet no bones found

2010-04-05 Thread Cedric Pinson
Hi Peter,
You seem to use an old format of osgAnimation, the trunk of osg has
moved a lot regarding osgAnimation.
Could you have a try with the trunk of osg ?

Cheers,
Cedric

-- 
Provide OpenGL services around OpenSceneGraph and more
+33 659 598 614 Cedric Pinson mailto:cedric.pin...@plopbyte.net
http://www.plopbyte.net



On Sun, 2010-04-04 at 10:37 +, Peter Wrobrl wrote:

> Hi,
> 
> I'm writing a Maya to osg Exporter, so I need to write Animation and Skinning 
> into osg files. I examined the example osgAnimationSkinning and tweaked it so 
> that it writes an osg file as well.
> My osg files look quite similar to that from osgAnimationSkinning ( both 
> attached ) , but still I'm getting this error when running with 
> osgAnimationViewer :
> 
> 02AE6A28 RigTransformSoftware::UniqBoneSetVertexSet no bones found
> 
> repetedly ( 02AE6A28 seems to be the timer ), while the osgAnimationSkinning 
> file works fine with this message :
> 
> Skinning.osg
> LinkVisitor links 0 for "root"
> LinkVisitor links 1 for "right0"
> LinkVisitor links 1 for "right1"
> uniq groups 3 for
> Play
> 
> The only difference I see between the files is that my osg entities omit 
> UniqueID entries ( e.g. UniqueID Bone_4 ). I can't find the piece of code in 
> osgAnimationSkining, which writes those UniqueIDs into an osg file, and I'm 
> also not sure if this is my error source ( my only guess ).
> 
> How can get those IDs into my file ( please point me to the code in 
> osgAnimationSkining ), or how can I fix my Problem ?
> 
> Are there some other simple Examples about osgAnimation skinning ? 
> 
> Thank you!
> 
> Cheers, searching for the Pivot of my Soul, PP !!!
> 
> --
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=26426#26426
> 
> 
> 
> 
> Attachments: 
> http://forum.openscenegraph.org//files/osganimationskinning_911.osg
> http://forum.openscenegraph.org//files/myskinning_252.osg
> 
> 
> ___
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
> 


signature.asc
Description: This is a digitally signed message part
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] disappearing line

2010-04-05 Thread Stephan Huber
Hi David,

Am 05.04.10 05:22, schrieb David Cofer:
> Also, I know the line is still there because if I zoom out a little or rotate 
> a bit then I can see it again.

Do you call dirtyBound on your drawable after updating the endpoints of
your line?

This is a common pitfall for me, when doing dynamic geometries.


cheers,
Stephan

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


Re: [osg-users] Camera Behavior

2010-04-05 Thread Alberto Luaces
"John Galt" writes:

> Hi,
>
> I have setup my view as
>
> view->getCamera()->setViewMatrixAsLookAt(eye, center, up);
>
> eye, center and up are osg::Vec3 elements.
>
> I have my eye and up as constant. When I change my center vector, the 
> Camera's position is changing!
>
> Can anyone explain why? Shouldn't the camera's position (X,Y,Z) be fixed if 
> the eye vector is constant?

John,

eye and center are not vectors but points. When you use them in
setViewMatrixAsLookAt, you actually mean "from eye to center".

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