Hi,
i construct some geometry (with setVertexArray, addPrimitiveSet, ...)
when i call getshape() from this geometry, it return me null pointer ?
could anyone tell me why ?
Thank you!
Cheers,
vincent
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.ph
Hi,
i have 2 transparents spheres, one inside another.
The smallest one (inside) has a texture.
My pb is:
when moving camera, the smallest sphere disappear.
(Spheres et lights have always the same position)
Is there some constraint in osg with transparency? ( maximum number of
transparent obj
Hi,
maybe was it obvious ... maybe not,? so i share a solution ...
(i found after reading AnimationPathCallback source code)
i used ControlPoint constructor with 3 parameter (third is scale) even if scale
doesen't hange from one control point to another :
for each control point i :
ControlPoin
Hi,
i scaled one node et associated an animationPatchCallBack to it.
It seems that AnimationPathCallback cancels the scaling since the node (a pat)
is transformed by the CB but is not scaled anymore. ?
...
ref_ptr apCallBack = new osg::AnimationPathCallback(
animationPath.get() );
noeud->setUpd
Hi,
my question concern setHomePosition of MatrixManipulator and subclasses.
Parameters are quite explicite and in therory first one indicate position of
camera, the seond parametre = target of camera ? Am i wrong... i surely forget
some detail since :
in practice, position and direction of ca
in fact, while i was writing last reply, i found one solution :
void CB_AnimationPonctuelle::operator() (osg::Node *node, osg::NodeVisitor *nv){
if (getPause()) {
traverse(node, nv);
return;
}
osg::AnimationPathCallback::operator()(node,nv);
Hi,
thank you, robert, for the advice.
i actually subclass AnimationPathCallback and rewrite operator as folows :
void CB_AnimationPonctuelle::operator() (osg::Node *node, osg::NodeVisitor *nv){
osg::AnimationPathCallback::operator()(node,nv);// méthode
originale (de la classe
Hi,
i use animation path for moving a geode from one point to another ,(from its
position to a target position acquired by picking)
It works but , once the animation has finished (target position is reached), il
seems that callback is still running ... and the result is i can move anymore
t
8 matches
Mail list logo