Re: [osg-users] how to judge if an object is in the frustum?

2016-06-26 Thread Trajce Nikolov NICK
Try CullCallback, in there you can get the handle of the CullVisitor and do
something like this in your callback:

CullVisitor* cv = nv->asCullVisitor()
cv->isCulled(node)

On Mon, Jun 27, 2016 at 8:30 AM, John Lee <357059...@qq.com> wrote:

> Hi,
>
> I don't know how to judge if an object is in the frustum? I want to get
> which node is in the frustum.
>
> Thank you!
>
> Cheers,
> John
>
> --
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=67832#67832
>
>
>
>
>
> ___
> 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


[osg-users] how to judge if an object is in the frustum?

2016-06-26 Thread John Lee
Hi,

I don't know how to judge if an object is in the frustum? I want to get which 
node is in the frustum.

Thank you!

Cheers,
John

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





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


Re: [osg-users] Near/Far problem using models with bones.

2016-06-26 Thread Julien Valentin
My fix seams really hacky
I suppose the mess come from your the multiple scaling matrixtransforms of your 
model
You should try to remove them


Paradox wrote:
> Hi,
> 
> Yes, it works!
> 
> Thank you!
> 
> Cheers,
> Dario


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





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


Re: [osg-users] GLFW + OSG

2016-06-26 Thread Nickolai Medvedev
Hi, all!

Well, if nobody responded, it is my test with GLFW3.

Thank you!

Cheers,
Nickolai

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





osgGLFW3.rar
Description: application/rar-compressed
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org