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,
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
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
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
--
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
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
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,
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
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
Solved!
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=27314#27314
___
osg-users mailing list
osg-users@lists.openscenegraph.org
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:
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:
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
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
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:
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
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)
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
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
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
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
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?
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
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])
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
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:
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],
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
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
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
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
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
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
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:
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
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?
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
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
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
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
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;
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
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
nothing?
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=37290#37290
___
osg-users mailing list
osg-users@lists.openscenegraph.org
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 =
solved.
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=37627#37627
___
osg-users mailing list
osg-users@lists.openscenegraph.org
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
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:
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
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
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,
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
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:
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
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
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
56 matches
Mail list logo