Turned out, I used non-centered box to display the bounding box. Fixed it.
2015-08-21 8:04 GMT+07:00 michael kapelko :
> Hi.
> I want to convert bounding box to position and scale of a box.
> I tried to do it, but I couldn't get it right. Can anyone share the
> formula?
>
> Thanks.
>
Hi.
I want to convert bounding box to position and scale of a box.
I tried to do it, but I couldn't get it right. Can anyone share the formula?
Thanks.
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo
This might be simply a driver limitation. Not all hardware and drivers support
multisampling. For example, I'm using OSG on Mesa + Intel HD Graphics which
doesn't support multisampling at all.
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=64858#6
Hi,
I am wanting to do a dust cloud when an entity (helicopter) lands on a terrain.
Ideally, would like the color of the dust cloud to be similar to the
material/texture that the entity is on. Is there a way to do a
"material/texture color" query based on an entity position, kind of like an LOS
Hi,
In the meanwhile, I was working further on the topic - and cracked it this
time, I think. First and foremost, I use OpenSceneGraph 3.3.8 (still) and
compile it for Android, while having the necessary 3rdParty-folder inside the
OpenSceneGraph root folder (little suggestion: at some point thi
Hello,
I'v been having trouble using optirun with the virtualgl rendering bridge, and
an osg app utilizing multi-sampling.
using this simple example(attached also):
#include
#include
#include
#include
osg::Node* createScene()
{
osg::Geode* geode = new osg::Geode();
geode->addDr
Hi Robert,
Thanks again. "You da man".
Erik
robertosfield wrote:
> HI Erik,
>
>
> The constructor takes a reference not a pointer so try:
>
> osg::ref_ptr < osg::Vec3Array > pCopy = new osg::Vec3Array(*pVertexArray,
> osg::CopyOp::DEEP_COPY_ALL);
>
>
> Noe the *.
>
>
>
> Or use osg::c
HI Erik,
The constructor takes a reference not a pointer so try:
osg::ref_ptr < osg::Vec3Array > pCopy = new osg::Vec3Array(*pVertexArray,
osg::CopyOp::DEEP_COPY_ALL);
Noe the *.
Or use osg::clone() i.e.
pCopy = osg::clone(pVertexArray->get());
Robert.
On 20 August 2015 at 18:30, Erik He
Hi everyone!
I have a simple question but I just can't figure it out. What is the proper way
to copy a Vec3Array? The code below is not right:
Code:
osg::ref_ptr < osg::Vec3Array > pVertexArray = new osg::Vec3Array;
...
osg::ref_ptr < osg::Vec3Array > pCopy = new osg::Vec3Array(pVertexArray,
Aaron, this sounds a lot like something I've worked with recently. If you
want to get in touch with me privately and share more details on the format
you are working with, I might be able to assist you more.
On Sun, Aug 16, 2015 at 3:11 PM, Aaron Andersen wrote:
> Hello,
>
> I'm planning to rend
Hi,
recently I updated my apps from OSG 3.2.0 to OSG 3.4.0 and I noticed that the
MultiTouchTrackballManipulator behaves differently. Specifically while single
touches are working almost the same (for instance to rotate the view), the
pinch gesture is quite different because even if I try to mak
Hello dear OSG-community,
I've upgraded OpenSceneGraph to the newest version and
refined cmake scripts to suit the newest version of cmake.
https://github.com/kctan0805/vdpm
Best regards,
Jim
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=64849#6
12 matches
Mail list logo