[osg-users] Create animation of growing line between points

2015-11-20 Thread Drake Aldwyn
Hi, ladies and gentlemen I humbly ask you for help :3. For example, i have few points and i want to create animation of line that grows from one of the point to all another, like branching tree but cant find so far any information about how to achieve this. Any help will be very appreciated

[osg-users] Strange mouse behavior

2015-01-26 Thread Drake Aldwyn
Hi, all Guys, do you have met this kind of mouse behavior? Thats what I do: Build QTOSG application that add few object in scene (comupositeview). When I highlight object mouse stands exactly at point where it have to be. Like in this picture. [Image: http://i.imgur.com/9bRy3Mj.png ] (word mouse

Re: [osg-users] Store parent matrix inside of child

2015-01-05 Thread Drake Aldwyn
Well, Ill try describe what I'm trying to do. I have scene where I put object with this code: Code: std::string path=models\\; std::string path2=textures\\; osg::Node* scene = osgDB::readNodeFile(path+n); scene-setName(scene); osg::BlendFunc

[osg-users] Store parent matrix inside of child

2015-01-04 Thread Drake Aldwyn
Hi, all Below is my code: is it possible somehow store matrix transform of PAT inside of children (gizmo) ? Code: osg::ref_ptrosg::Switch sw = new osg::Switch; sw-setName(Switch); sw-addChild(scene,true); sw-addChild(getLineCube(pos,11),false);

Re: [osg-users] MatrixTransform

2015-01-02 Thread Drake Aldwyn
-setMatrix(m); Cheers, Rafa. 2014-12-29 14:23 GMT+01:00 Drake Aldwyn (): Hi, guys I've stuck. Please help me get out. I have PositionAttitudeTransform, I use it because i need to know position of node. But for manipulation with it ( i use osggizmo from osg recipes) i

[osg-users] MatrixTransform

2014-12-29 Thread Drake Aldwyn
Hi, guys I've stuck. Please help me get out. I have PositionAttitudeTransform, I use it because i need to know position of node. But for manipulation with it ( i use osggizmo from osg recipes) i need to transform this PAT to matrixTransform. using object-asMatrixTransform(); returns NULL

Re: [osg-users] Adding textures on platonic solid

2014-11-20 Thread Drake Aldwyn
Hi, Thank you a lot! I've got it :3 Cheers, Drake -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=61751#61751 ___ osg-users mailing list osg-users@lists.openscenegraph.org

[osg-users] Adding textures on platonic solid

2014-11-14 Thread Drake Aldwyn
Hi, all! Guys, I need your help! I’ve just start learn OSG so can’t figure it out by myself. I want to add custom textures to loaded models (all model is platonic solid and loaded from .3ds file). Is there any path to apply texture (loaded from custom png file ) to these models properly? I.e.