Re: [osg-users] [3rd party] autodesk fbx sdk

2017-10-20 Thread Trajce Nikolov NICK
Thanks a bunch Curtis. That will do it. I am on Windows at the moment.

Thanks again. Ping me privately

Cheers

On Fri, Oct 20, 2017 at 10:15 PM, Curtis Rubel  wrote:

> NIck,
>
> I probably have a 2017 SDK around someplace for
> Linux and/or Windows.  If that will do let me know and
> I will look around on Monday when I get in to work...
>
> ...
> Cheers,
> Curtis
>
> --
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=72219#72219
>
>
>
>
>
> ___
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>



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


Re: [osg-users] [3rd party] autodesk fbx sdk

2017-10-20 Thread Curtis Rubel
NIck,

I probably have a 2017 SDK around someplace for
Linux and/or Windows.  If that will do let me know and
I will look around on Monday when I get in to work...

... 
Cheers,
Curtis

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





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


Re: [osg-users] [3rd party] autodesk fbx sdk

2017-10-20 Thread Trajce Nikolov NICK
Hi Curtis,

yea, same finding here. I had talk to their chat support and suddenly they
told me this issue is out of their competence. So let wait I guess

On Fri, Oct 20, 2017 at 4:26 PM, Curtis Rubel  wrote:

> Hi Nick,
>
>I also tried the Autodesk website and the links they provide are broken
> and taking you to a "page not found" default now.   I did send their
> support people and email letting them know that it was broken.  Hopefully
> they will fix it soon.
>
> ...
>
> Cheers,
> Curtis
>
> --
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=72213#72213
>
>
>
>
>
> ___
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>



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


Re: [osg-users] ComputeBoundsVisitor does not consider Billboards

2017-10-20 Thread Guy Volckaert
If I have a chance, I'll try to look at it as well based on your suggestion 
solution. 

Cheers,
Guy

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





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


Re: [osg-users] ComputeBoundsVisitor does not consider Billboards

2017-10-20 Thread Robert Osfield
Hi Guy,

On 20 October 2017 at 15:34, Guy Volckaert 
wrote:

> My investigation led me to review osg::ComputeBoundsVisitor and I found
> that it does not consider billboards - i.e. the 
> osg::ComputeBoundsVisitor::apply(osg::Billboard&
> billboard) is missing. In effect, the osg::ComputeBoundsVisitor does not
> consider the pivot position stored in osg::Billboard::_positionList.
>
> Is this design intentional? If not, then how would you propose fixing this
> issue?
>

This is a design/implementation bug, looking that the implementation it's
clearly too simple and misses the special case of handling osg::Billboard.

To fix the bug a ComputeBoundVisitor::apply(osg::Billboard&) is required,
the implementation of this new method would need to iterator through the
_positionList and the drawables associated with each position and account
for the full rnage of potistions that are possible for each drawables
bounding box given the possible rotation and translation required.  The
easiest way to do this would be to use the diameter of each drawable
child's bounding box for the x,y and z extents.

I am not in a position to be able to write a fix right away as I have other
tasks to complete, but if you can't get to it hopefully next week I'll have
a chance to look at it.

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


Re: [osg-users] Call for assistance: Migrating and updating tutorials

2017-10-20 Thread Eon Strife

SMesserschmidt wrote:
> Hi Eon,
> Do you have issues with any of the tutorials inside the books?
> The only structural changes I recall is the promotion of the 
> geode/drawable hierarchy and some changes regarding the callbacks. But 
> maybe Robert can shed some light on the potential breaking changes.
> 
> The repository coming with the Cookbook [0] seems to get some updates 
> now and there are quite some forks.
> 
> 
> I'd say 99% of the stuff is still relevant, as those books cover the 
> basic API and concepts. There are some topics like pragmatic shader 
> compositon and GL3 shaders the are not really covered.
> 
> Cheers
> Sebastian
> 


Hi Sebastian,
Thanks for the info. So far I do not encounter a lot of problems (other than, 
well, lack of documentation, as some functions do not have explanations in the 
exported doyxgen format). My application right now has just some basic features 
: loading objects, rendering using shader (I disabled the fixed pipeline in 
cmake), selecting/unselecting objects (selected objects are hihglighted with 
wireframe), transformation, undo/redo. If I am not wrong, there was something 
related to Draggers that was deprecated, so I had to searched a bit to find the 
working functions to use.

I started November last year with those two books. Then I pulled and compiled 
the "master" branch (Yeah, I should not have done that) Recently I just 
switched to the more stable version, the one with "OpenSceneGraph-3.5.6" tag.

Thanks :D

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





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


[osg-users] ComputeBoundsVisitor does not consider Billboards

2017-10-20 Thread Guy Volckaert
Hi,

I'm having problem with the osg::ComputeBoundsVisitor and osg::Billboards. In 
essence, the osg::ComputeBoundsVisitor does not consider the pivot position of 
the facing billboard. For example, let say I have a simple model that contains 
a single facing quad billboard (like a tree) located at (20, 20, 0) with a 
dimension of (10, 0, 10). I would expect the osg::ComputeBoundsVisitor to 
calculate a scene bounding box of min(15, 20, 0) max(25, 20, 10). However, what 
I seem to get instead is min(-5, 0, 0 ) max( 5, 0, 10 ). 

My investigation led me to review osg::ComputeBoundsVisitor and I found that it 
does not consider billboards - i.e. the 
osg::ComputeBoundsVisitor::apply(osg::Billboard& billboard) is missing. In 
effect, the osg::ComputeBoundsVisitor does not consider the pivot position 
stored in osg::Billboard::_positionList.

Is this design intentional? If not, then how would you propose fixing this 
issue?

Thank you!

Cheers,
Guy

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





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


Re: [osg-users] [3rd party] autodesk fbx sdk

2017-10-20 Thread Curtis Rubel
Hi Nick,

   I also tried the Autodesk website and the links they provide are broken and 
taking you to a "page not found" default now.   I did send their support people 
and email letting them know that it was broken.  Hopefully they will fix it 
soon.

... 

Cheers,
Curtis

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





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