Re: [osg-users] OpenSceneGraph-3.6 branch made, please test in prep for stable 3.6.0 release

2018-03-20 Thread Robert Osfield
Hi Alberto,

On 20 March 2018 at 15:02, Alberto Luaces  wrote:
> Hi, it cross-compiles and runs the viewer (loading some obj and ive
> files) just fine with mingw-64 on linux.

Thanks for the testing.

> By the way, is the CDash system still working?

I haven't looked at the old CDash system, if it is working it isn't
down to me :-)

> I was unable to find it,
> and maybe it is of use for this task.  The CI available at github seems
> to be choking on the fact that OSG takes more than 50 minutes to build
> on the systems they are using, so the process is interrupted before
> it finishes.

Travis Cl used to be pretty solid but these days it either seems to
race through builds in a couple of minutes or timeouts.  I presume the
Travis servers are being overloaded at times.  I've had to disable the
OSX build completely as it was failing almost all the time due to
timeouts.  With timeout failures you get a totally false picture of
the build status so there might be a point where we just have to give
up with Travis C;/

These automated build systems are no match for real people compiling
the OSG on their build platforms and testing against their own
applications.

Robert.
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] OpenSceneGraph-3.6 branch made, please test in prep for stable 3.6.0 release

2018-03-20 Thread Alberto Luaces
Hi, it cross-compiles and runs the viewer (loading some obj and ive
files) just fine with mingw-64 on linux.

By the way, is the CDash system still working?  I was unable to find it,
and maybe it is of use for this task.  The CI available at github seems
to be choking on the fact that OSG takes more than 50 minutes to build
on the systems they are using, so the process is interrupted before
it finishes.

-- 
Alberto

___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] Problems with osgText::Text internal transformations and LineSegmentIntersector

2018-03-20 Thread Robert Osfield
Hi Brian,

I checked into some fixes to osgText to improve the bounding box
calculations, these will have been after 3.5.6. Could you try the
OpenSceneGraph-3.6 branch as this is will be the source of the up
coming 3.6.0 stable release and contains lots of fixes since 3.5.6.

FYI, the whole 3.5.x series are developer releases that were building
up to the 3.6 branch that I made this morning, developer releases are
just snapshots of the development work, they are supported releases
like the stable releases.

Cheers,
Robert.

On 20 March 2018 at 10:46, Brian Hutchison  wrote:
> Hi,
>
> When I use any of the following methods to reposition osgText::Text the 
> picking fails when used with LineSegmentIntersector.
>
>
> Code:
>
> text->setPosition() // anything other than {0.0,0.0,0.0}
> text->setRotation() // anything other than osg::Quat(0.0, osg::Z_AXIS)
> text->setAlignment() // anything other than LEFT_BOTTOM
>
>
>
>
> As far as I can work out from debugging, the bounds are being correctly 
> calculated and "intersectAndClip" is returning true.  The problem seems to be 
> when "drawable->accept" is called in the "intersect" method, the 
> IntersectFunctor does not have the transformations that Text is using and the 
> vertices passed to it are not transformed.
>
> The only way I can find around this is to place the text inside 
> PositionAttitudeTransform's and do the positioning myself.  Unfortunately, 
> since I do not know the eventual dimensions of the text, doing a 
> CENTER_CENTER alignment is practically impossible.
>
> If I leave the alignment to be done by Text then a CENTER_CENTER alignment 
> means that you can only pick the top left quarter of the text.
>
> I have tried placing the text inside either a Geode or a Group but it makes 
> no difference.
>
> I would be very happy if I was simply not calling something I should be to 
> initalise the Text or its container correctly.
>
> We are using OSG 3.5.6 statically linked via VCPKG.
>
> Any help gratefully received,
>
> Thanks,
>
> Brian[/code]
>
> --
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=73137#73137
>
>
>
>
>
> ___
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] Problems with osgText::Text internal transformations and LineSegmentIntersector

2018-03-20 Thread Brian Hutchison
Hi,

When I use any of the following methods to reposition osgText::Text the picking 
fails when used with LineSegmentIntersector.


Code:

text->setPosition() // anything other than {0.0,0.0,0.0}
text->setRotation() // anything other than osg::Quat(0.0, osg::Z_AXIS)
text->setAlignment() // anything other than LEFT_BOTTOM




As far as I can work out from debugging, the bounds are being correctly 
calculated and "intersectAndClip" is returning true.  The problem seems to be 
when "drawable->accept" is called in the "intersect" method, the 
IntersectFunctor does not have the transformations that Text is using and the 
vertices passed to it are not transformed.

The only way I can find around this is to place the text inside 
PositionAttitudeTransform's and do the positioning myself.  Unfortunately, 
since I do not know the eventual dimensions of the text, doing a CENTER_CENTER 
alignment is practically impossible.

If I leave the alignment to be done by Text then a CENTER_CENTER alignment 
means that you can only pick the top left quarter of the text.

I have tried placing the text inside either a Geode or a Group but it makes no 
difference.

I would be very happy if I was simply not calling something I should be to 
initalise the Text or its container correctly.

We are using OSG 3.5.6 statically linked via VCPKG.

Any help gratefully received,

Thanks,

Brian[/code]

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=73137#73137





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] OpenSceneGraph-3.6 branch made, please test in prep for stable 3.6.0 release

2018-03-20 Thread Robert Osfield
Hi All,

I have create a OpenSceneGraph-3.6 branch from master, this will now
be the base for an up coming series of release candidates in prep for
3.6.0 stable release.

With the creation of the OpenSceneGraph-3.6 branch we are now in a
feature freeze for the 3.6.0, so further changes will be focused on
bug and build fixes.  To achieve the best quality of stable release
we'll need to test out the 3.6 branch and/or the release candidates
that I tag in the run up to 3.6.0 release.

Before I tagged 3.6.0-rc1 I would appreciate build and runtime testing
of the 3.6 branch across as many platforms that you have available.

Thanks in advance for you help,
Robert.
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org