Re: [osg-users] [osgPlugins] Current state of Collada importer

2009-05-12 Thread daniele argiolas
Hi, I'm a student of informatic engineering at Politecnico di Torino, in Italy. I'm working to my thesis and I need a collada importer for OSG that supports animations. What's the state of your work? I'd like to collaborate, if you want, to realize this part. Please contact me here. Thanks,

Re: [osg-users] [osgPlugins] Current state of Collada importer

2009-05-12 Thread daniele argiolas
Thanks for your reply, can you send me the code of your upgrades? thanks, daniele -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=11915#11915 ___ osg-users mailing list

[osg-users] OSG and osgart problem

2009-05-19 Thread daniele argiolas
Hi, I've a problem with osgart 2.0. In a simple example, with 2 marker and 2 osg object with texture made with osgexp from 3ds max, one object changes lights of other. The first marker added can influence other marker. That's the same also using BuildAR software and adding two object. Do you

[osg-users] Absolute position of an object

2010-04-14 Thread daniele argiolas
Hi, I create a simple scene with osg where I load an osg model. Then I try to position it with PositionAttitudeTransform and setPosition but it remains always in the same position (center of the scene). How can I position objects in absolute way? Thank you! Cheers, daniele --

Re: [osg-users] Absolute position of an object

2010-04-15 Thread daniele argiolas
Systems -Original Message- From: [mailto:] On Behalf Of daniele argiolas Sent: Wednesday, April 14, 2010 12:00 PM To: Subject: Absolute position of an object Hi, I create a simple scene with osg where I load an osg model. Then I try to position

[osg-users] Move object with callback

2010-04-21 Thread daniele argiolas
Hi, in my program I've external inputs that change the position of my object. I do this with setUpdateCallback that call a function that returns osg::NodeCallback*, with osg::AnimationPath* and AnimationPathCallback I set new position and new angle. Is there a way more convenient to do this? I

[osg-users] AnimationPathCallback doesn't work for collada file?

2010-04-27 Thread daniele argiolas
Hi, in my program sometimes I call an setUpdateCallback(); over a node. In this callback I do: Code: osg::AnimationPath* path = new osg::AnimationPath(); path-setLoopMode(osg::AnimationPath::NO_LOOPING); path-insert(0.0,

Re: [osg-users] Move object with callback

2010-04-27 Thread daniele argiolas
up -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=27301#27301 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Re: [osg-users] AnimationPathCallback doesn't work for collada file?

2010-04-27 Thread daniele argiolas
And also if I convert this collada file with osgconv into a .ive o .osg remain the same problem. -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=27306#27306 ___ osg-users mailing list

Re: [osg-users] AnimationPathCallback doesn't work for collada file?

2010-04-27 Thread daniele argiolas
Solved! -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=27314#27314 ___ osg-users mailing list osg-users@lists.openscenegraph.org

Re: [osg-users] AnimationPathCallback doesn't work for collada file?

2010-04-27 Thread daniele argiolas
The problem was that applied the updatecallback directly to the node. Now I make a MatrixTransform object and I add the node as a child. Then I apply the updatecallback over the MatrixTransform object and now it works. -- Read this topic online here:

[osg-users] dimension oh a model

2010-04-28 Thread daniele argiolas
Hi, how can I retrieve the dimension of an OSG model loaded in the scene? I see that with getBound().radius() I can retrieve informations about the BoundingSphere. But I need also the three dimensions.. Thanks! -- Read this topic online here:

Re: [osg-users] dimension oh a model

2010-04-28 Thread daniele argiolas
It works!!! Thank you very much! Daniele -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=27371#27371 ___ osg-users mailing list osg-users@lists.openscenegraph.org

[osg-users] [osgPlugins] Collada Animations Support

2010-05-03 Thread daniele argiolas
Hi, what kind of animations works with Osg Collada Plugin? I try various animation take by collada bank and from collada-dom examples (like astro-boy-walk) but they don't work. Why? I also try to convert with osgconv an OSG model with animation into collada format and then try to reopen with

Re: [osg-users] [osgPlugins] Collada Animations Support

2010-05-03 Thread daniele argiolas
In many collada sample that I try (also a simple animation made with blender) the error message was: Could not locate UpdateCallback for channel target Cube/translate This for a cube translation. -- Read this topic online here:

Re: [osg-users] [osgPlugins] Collada Animations Support

2010-05-03 Thread daniele argiolas
yes, blender to OSG export works fine, it's blender to Collada that doesn't work and also OSG conv from an osg made with blender to Collada. -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=27518#27518

Re: [osg-users] [osgPlugins] Collada Animations Support

2010-05-05 Thread daniele argiolas
Hi, I follow the guide for compiling collada, then I install OpenSceneGraph from trunk. When I try to open astroBoy_walk.dae he's stuck, he doesn't move. I paste the output of osgviewer.exe: Code: processTexture(./file9-sampler) processTexture(./file9-sampler) processTexture(./file9-sampler)

Re: [osg-users] [osgPlugins] Collada Animations Support

2010-05-05 Thread daniele argiolas
Ahhh!!! with osganimationviewer works!!! thank you very much! -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=27559#27559 ___ osg-users mailing list osg-users@lists.openscenegraph.org

[osg-users] Create a simple river

2010-05-05 Thread daniele argiolas
Hi, I have to make a river. What's the simplest way? I think try to import animated textures with ImageSequence class but is it possible to map texture on a curve surface? thanks daniele -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=27560#27560

[osg-users] Strange error only in debug mode

2010-06-08 Thread daniele argiolas
Hi, I've a program with some updateCallbacks of some objects. When I run in in Release mode it doesn't generate any errors but when I try it in Debug mode randomly, without a real sense, this error appears: First-chance exception at 0x102b6ef5 (osg65-osgd.dll) in ARGAME.exe: 0xC005: Access

Re: [osg-users] Strange error only in debug mode

2010-06-09 Thread daniele argiolas
Thank you, I understand but how can I disable this VC errors? Are an OSG bug? Another error that breaks also in NodeCallback function is Access violation reading location 0xcdcdcdcd. -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=28726#28726

Re: [osg-users] Strange error only in debug mode

2010-06-11 Thread daniele argiolas
Thank you. I don't understand where is the error because in my program I simply call sometimes a removeUpdateCallback(nc) then an addUpdateCallback(nc) over my object, where nc is an osgAnimationCallback* object. I never delete my object then it's very strange this output. Can anybody help me?

Re: [osg-users] Strange error only in debug mode

2010-06-14 Thread daniele argiolas
callback for update object's position. Then that's impossible that I call an update callback over an object that's not exists. I never destroy objects. Alberto Luaces wrote: daniele argiolas writes: Thank you. I don't understand where is the error because in my program I simply call

[osg-users] Question about osgAnimation Bezier curves

2010-07-02 Thread daniele argiolas
Hi, I try to understand and modify osg example osganimationmakepath. I want to realize a simple path like the figure. I've the keyframes keys-push_back(osgAnimation::Vec3CubicBezierKeyframe(0, osgAnimation::Vec3CubicBezier(v[0],v[1],v[1])

Re: [osg-users] Question about osgAnimation Bezier curves

2010-07-05 Thread daniele argiolas
What are p, i, o parameters of Vec3CubicBezier template? -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=29667#29667 ___ osg-users mailing list osg-users@lists.openscenegraph.org

Re: [osg-users] Question about osgAnimation Bezier curves

2010-07-06 Thread daniele argiolas
Ok, thank you, I've understood how cubic bezier works. I've another question: I notice that the ball stops when it reachs every point. Is there a simple way to make a continuous animations, without stops? -- Read this topic online here:

Re: [osg-users] Question about osgAnimation Bezier curves

2010-07-13 Thread daniele argiolas
Hi, I've these points: v[0] = osg::Vec3d( -19, 0, -60); v[1] = osg::Vec3d( -20, 0, -102); v[2] = osg::Vec3d( -22, 0, -145); v[3] = osg::Vec3d( 20, 0, -142); v[4] = osg::Vec3d( 63, 0, -139); v[5] = osg::Vec3d( 145, 0, -138); Points v[1],

[osg-users] Curve tangent

2010-07-19 Thread daniele argiolas
Hi, I notice that in bezier curves with method getValueAt() I can get the coordinates of a specified point in a time t. Is there a way to get the angle of curve tangent? -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=30119#30119

[osg-users] Making an addchild in realtime

2010-07-28 Thread daniele argiolas
Hi, I've a program that has a thread running extern to osg viewer. I want to make an addchild (and removechild) into my scene in my extern thread. I try but it nothing appears. After I make the addchild I have to make some particular instruction to show this? Thank you very much Daniele

[osg-users] Animation with Cubic Bezier path

2010-10-19 Thread daniele argiolas
Hi, I tried to understand osganimationmakepath example. I can't understand how to make an animation if I would use simple points like these: v[0] = osg::Vec3(0, 0, 0); v[1] = osg::Vec3(20, 0, 0); v[2] = osg::Vec3(40, 0, 0); v[3] = osg::Vec3(60, 0, 0); I want an animation

Re: [osg-users] Animation with Cubic Bezier path

2010-10-20 Thread daniele argiolas
Thank you, but I know how bezier curves work. I don't understand why in my animation (and also in the standard example osganimationpath) I have not a costant speed. If I create a straight line with bezier I can have no control point (control point equal to main point). thanks daniele

Re: [osg-users] Animation with Cubic Bezier path

2010-10-22 Thread daniele argiolas
I've a pratical case, can anybody help me?? I've 4 keyframes: v[0] = osg::Vec3(0, 0, 0); v[1] = osg::Vec3(20, 0, 0); v[2] = osg::Vec3(40, 0, 0); v[3] = osg::Vec3(60, 0, 0); in times 0,2,4,6 How to move along this keyframes with a constant speed from 0,0 to 60,0??? thanks

Re: [osg-users] Animation with Cubic Bezier path

2010-10-22 Thread daniele argiolas
yes, I've looked all examples. I need a bezier path animation with constant speed from first to last keyframe. Is it more clear? How? thanks robertosfield wrote: Hi Daniele, Have you looked at the osganimation example? Robert. On Fri, Oct 22, 2010 at 12:03 PM, daniele argiolas

[osg-users] Can't find images for osgwidgetprogress.cpp example

2010-11-24 Thread daniele argiolas
Hi, I can't find in OSG Data images for example osgwidgetprogress.cpp in last 2.9.9 development version. Images are progress-outline.png and progress-meter.png but in osgWidget directory I can't find them. thanks daniele -- Read this topic online here:

[osg-users] osgWidget Nutton getData

2011-01-21 Thread daniele argiolas
Hi, I've a for cycle that create various buttons and add to them the callback. I want to pass to button also a string data. I saw some examples and passes it with static string data = test; then in callback addCallback( new

Re: [osg-users] Making an addchild in realtime

2011-02-04 Thread daniele argiolas
Hi, in my application I have an external thread that makes addChild, removeChild (and updateCallback) over the scene. Now I make simple operations and sometimes it happens that the program crashes (in the RenderingTraversal). What means create a command operation that you pass to the viewer?

[osg-users] osgShadow texture problem

2011-02-09 Thread daniele argiolas
Hi, I've a problem with osgShadow. I create the shadowed scene as described in examples. In the scene I've a textured plane, imported (as .ive) and a house over the plane, that makes shadows over that. I've also a single light. When I use ShadowMap, SoftShadowMap and ParallelSplitShadowMap

Re: [osg-users] osgShadow texture problem

2011-02-09 Thread daniele argiolas
I notice that with some models textures works. What could be the problem? thanks!!! -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=36486#36486 ___ osg-users mailing list

Re: [osg-users] osgShadow texture problem

2011-02-09 Thread daniele argiolas
Hi, I put sm-setTextureUnit(1); but it doesn't change. I don't know if it's rendering in Shaders or Fixed, how do I check it? I can't understand why some models works and others not. -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=36496#36496

Re: [osg-users] osgShadow texture problem

2011-02-10 Thread daniele argiolas
I find the problem: some models (made in Maya and exported in Collada then in osg), in osg file have texture 0 empty. Perhaps in shadowed scene this is an important value. If I remove empty texture and I change other texture numbers it works. Have you got some ideas about this? thanks

[osg-users] Using osgShadows I can't see widgets

2011-02-10 Thread daniele argiolas
Hi, when I use osgShadow, when I put enableShadow=true: Code: if(enableShadow) { shadowedScene-setReceivesShadowTraversalMask(ReceivesShadowTraversalMask); shadowedScene-setCastsShadowTraversalMask(CastsShadowTraversalMask); osg::ref_ptrosgShadow::ShadowMap sm = new osgShadow::ShadowMap;

Re: [osg-users] Using osgShadows I can't see widgets

2011-02-11 Thread daniele argiolas
ok, solved! thank you!!! -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=36549#36549 ___ osg-users mailing list osg-users@lists.openscenegraph.org

Re: [osg-users] osgShadow texture problem

2011-02-11 Thread daniele argiolas
In attachment osg file that doesn't work. When I activate osgShadow, I can't see texture. In osg file there's field textureUnit 0 {}. If I remove this and change, texture works. -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=36550#36550

Re: [osg-users] osgShadow texture problem

2011-03-03 Thread daniele argiolas
nothing? -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=37290#37290 ___ osg-users mailing list osg-users@lists.openscenegraph.org

[osg-users] Question about camera 2d

2011-03-14 Thread daniele argiolas
My setup now is: Code: viewer = new osgViewer::Viewer(); shadowedScene = new osgShadow::ShadowedScene(); scene2d = new osg::Group(); root = new osg::Group(); viewer-setUpViewOnSingleScreen(0); windowManager = new osgWidget::WindowManager(viewer,width,height, MASK_2D); osg::Camera* camera =

Re: [osg-users] Question about camera 2d

2011-03-15 Thread daniele argiolas
solved. -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=37627#37627 ___ osg-users mailing list osg-users@lists.openscenegraph.org

[osg-users] Light intensity and color

2011-03-21 Thread daniele argiolas
Hi, when I put a light in my scene I notice that I can set position, direction, attenuation and diffuse, specular and ambient components. The first problem is, how can I set intensity of light? My light with this basic setting is to much strong. The second problem concerns color light. Why I

[osg-users] [osgPlugins] osg Dae plugin error: Texture coordinate set 0 not found

2011-03-25 Thread daniele argiolas
Hi, when I open some collada file, created with maya, in osg 2.9.11 I've this error: osg Dae plugin error: Texture coordinate set 0 not found and the result is that the texture isn't loaded. why?? thanks -- Read this topic online here:

[osg-users] [osgPlugins] Convert DAE animation into IVE (or OSG)

2011-04-04 Thread daniele argiolas
Hi, is there a way to convert DAE animation into IVE (or OSG)? I try with osgconv but it seems that the result isn't animated. Thank you! daniele -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=38196#38196

[osg-users] rewind imported animated model

2011-04-19 Thread daniele argiolas
Hi, in my program I load a file (a collada animation) then like in osganimationviewer example I make a AnimationManagerFinder structure, I set setPlayMode(osgAnimation::Animation::ONCE); and I play animation. This file is referenced by some objects but after I play for the first time the

[osg-users] osg Widget image transparent

2011-05-23 Thread daniele argiolas
Hi, is there a way to put a semitransparent image in a widget? I build my widget as: Code: widget = new osgWidget::Widget(imageSrc,notifySize[0],notifySize[1]); widget-setColor(1.0,1.0,1.0,1.0); widget-setImage(imageSrc); widget-setSize(notifySize); widget-setTexCoord(0.0f, 0.0f,

Re: [osg-users] osg Widget image transparent

2011-05-25 Thread daniele argiolas
thank you very much, solved! :) -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=39703#39703 ___ osg-users mailing list osg-users@lists.openscenegraph.org

[osg-users] Trackball manipulator start position

2011-05-27 Thread daniele argiolas
Hi, I'm trying to modify simple application osgViewer. I want to set the initial position of the camera (trackball manipulator). How? I try to set it with setByMatrix, setByInverseMatrix but nothing. can you explain me? thanks -- Read this topic online here:

Re: [osg-users] Trackball manipulator start position

2011-05-27 Thread daniele argiolas
ok!!! thank you very much! -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=39841#39841 ___ osg-users mailing list osg-users@lists.openscenegraph.org

[osg-users] Manipulator assign screen buttons

2011-06-16 Thread daniele argiolas
Hi, how to assign manipulator movement (drive manipulator) to buttons on the screen? Is there a simple way? I just know how to create buttons and events. thanks in advance -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=40564#40564

Re: [osg-users] Manipulator assign screen buttons

2011-06-20 Thread daniele argiolas
thank you! done! -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=40688#40688 ___ osg-users mailing list osg-users@lists.openscenegraph.org