Re: [osg-users] osganimationhardware example

2018-10-25 Thread Giuseppe Donvito
Nope, the same result sorry. Do you have a chance to test the example on your side? Thanks G mp3butcher wrote: > You'reright, > there is a diff between my git and the release 3.6 > > the problem seams to be in osgAnmiation/BoneMapVisitor > by removing apply(Node&) function make all work > If

Re: [osg-users] osganimationhardware example

2018-10-25 Thread Julien Valentin
Mmmh I compiled 3.6 only to pr and checked the results... Are you sure you apply the hack to avoid ss sharing? You need both the correction AND the in order this to work donvito wrote: > Nope, the same result sorry. > Do you have a chance to test the example on your side? > Thanks > G > > >

Re: [osg-users] osganimationhardware example

2018-10-25 Thread Julien Valentin
You'reright, there is a diff between my git and the release 3.6 the problem seams to be in osgAnmiation/BoneMapVisitor by removing apply(Node&) function make all work If you can validate this change, i would make a pr to fix it donvito wrote: > Uhmm, actually it seems not enough. > As you can

Re: [osg-users] Osgdem created terrains not displaying textures on MacOS

2018-10-25 Thread D.J. Caldwell
Thanks for the advice. Remo, it appears we are having some success with OSG 3.6.3. We still need to build and test our main project, but it looks like osgviewer is able to show both the terrain and the texture on a Mac. Chris: we were not able to immediately see anything meaningful in the OSG

[osg-users] Adding Constraints to Draggers

2018-10-25 Thread Max Power
Hi, I'm quite new to OpenSceneGraph. I actually just finished to read the book "OpenSceneGraph 3.0 Beginner's Guide" and now I want to go a bit further. Currently, I try to move objects via the mouse. I already saw, that I can use the class osgManipulator::Dragger for this. Here I wrote my own

Re: [osg-users] osganimationhardware example

2018-10-25 Thread Julien Valentin
I have checked and it seals to work. you also must launch the example in a directory containing skinning.vert Did you do that? check error outputs ... donvito wrote: > sure I made both changes of course. > Please run the example by yourself and you will see the same issue. > G > > > >

Re: [osg-users] Adding Constraints to Draggers

2018-10-25 Thread Robert Osfield
Hi Max, On Thu, 25 Oct 2018 at 17:20, Max Power wrote: > But how is the situation currently? Are osgmanipulator and especially the > dragger classes are still used today? Or do most people rather write > everything from scratch instead of using osgmanipulator? > As far as I'm aware

Re: [osg-users] Adding Constraints to Draggers

2018-10-25 Thread Max Power
Hi Robert, ah okay, I understand. Thank you for your fast reply. I saw OpenSceneGraph/examples/osgmanipulator/osgmanipulator.cpp and I noticed, that it also uses the Constraint class. However, I don't quite understand it unfortunately. All constrain methods of the class are set to true here

Re: [osg-users] Adding Constraints to Draggers

2018-10-25 Thread Robert Osfield
Hi Max, I'm afraid the original author of osgManipulator has moved company, where he developed it, over a decade ago so to know exactly how to use it we all just have to look at the code an figure it out. I haven't personally use osgManipulator in the way you are wanting to use it so can't

Re: [osg-users] osganimationhardware example

2018-10-25 Thread Giuseppe Donvito
sure I made both changes of course. Please run the example by yourself and you will see the same issue. G mp3butcher wrote: > Mmmh I compiled 3.6 only to pr and checked the results... > Are you sure you've applied the hack to avoid ss sharing? > You need both the source correction AND the

Re: [osg-users] osganimationhardware example

2018-10-25 Thread Julien Valentin
Hi In fact the mapvisitor was not involves, I react to soon to a maybe-bug. i closed the pr... The answer to your problem is my first post ...or that you forgot the shader... Cheers mp3butcher wrote: > I have checked and it seems to work. > you also must launch the example from a directory

Re: [osg-users] Adding Constraints to Draggers

2018-10-25 Thread Garfield Pig
Hi Max?? Robert is right,add constraint to dragger. You can find the constraint work on command in dispatch method of class Dragger. As for the example,you can see the class GridConstraint inherited from class Contraint. Just add breakpoint,and follow the code,you can know how it

Re: [osg-users] Compute line numbers for Glyphs in Text class

2018-10-25 Thread Robert Osfield
Hi Ferran, On Wed, 24 Oct 2018 at 18:58, Ferran Pallarès wrote: > Any hint on how I could achieve this in the latest release? > It should be possible to use GlyphQuads::_coords to work out where the glyphs are. They will be aligned on the XY plane, and the Text::CharacterSize should enable

Re: [osg-users] osganimationhardware example

2018-10-25 Thread Giuseppe Donvito
Uhmm, actually it seems not enough. As you can see in this screenshot the nathans are still in T-pose while playing... Thanks Giuseppe mp3butcher wrote: > Hi, > It comes from a know bug: > HardwareTransform doesn't support RigGeometry sharing StateSet. > One day, I may correct the exampple