Hi Robert,
On 16 November 2016 at 11:50, Rambabu Repaka wrote:
Hi,I got the answer for my question.In the compass node creation sample code
two errors are there.
First one: replace Compass(); with
compass(void)
{
}
second one: Replace virtual ~Compass() with
On 16 November 2016 at 11:50, Rambabu Repaka wrote:
> Hi,I got the answer for my question.In the compass node creation sample code
> two errors are there.
>
> First one: replace Compass(); with
> compass(void)
> {
> }
> second one: Replace virtual ~Compass() with
>
Hi,I got the answer for my question.In the compass node creation sample code
two errors are there.
First one: replace Compass(); with
compass(void)
{
}
second one: Replace virtual ~Compass() with
Compass::~Compass(void)
{
}
...
Thank you!
Cheers,
Rambabu
--
Read this
On 16 November 2016 at 11:09, Rambabu Repaka wrote:
> Hi,In Osg3_Cookbook.pdf implementing a compass node example page number
> 74.Problem in compass class linking.
Another tiny bit of info. You should have mentioned this info right
in your first post - give other
Hi, all.
Source file and header in archive.
To use a class a compass:
osg::ref_ptr node = osgDB::readNodeFile("arrow.osgb"); // any node
looking to the north
if(node.valid())
{
node->getOrCreateStateSet()->setMode( GL_LIGHTING,
osg::StateAttribute::OFF );
Hi,In Osg3_Cookbook.pdf implementing a compass node example page number
74.Problem in compass class linking.
...
Thank you!
Cheers,
Rambabu
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=69392#69392
On 16 November 2016 at 10:43, Rambabu Repaka wrote:
> compass class created but it is showing linker errors due to missing of
> library.How can i get that library file in osg.
Still not enough information. The code itself isn't likely to be the
issue so there little
Hi,
class Compass : public osg::Camera
{
public:
Compass();
Compass( const Compass& copy, osg::CopyOp
copyop=osg::CopyOp::SHALLOW_COPY );
META_Node( osg, Compass );
void setPlate( osg::MatrixTransform* plate ) {_plateTransform = plate; }
void
HI Rambabu,
On 16 November 2016 at 09:57, Rambabu Repaka wrote:
> Hi,Iam working with compass creation Linker errors are coming asking the
> compass library file.How can i solve this can anyone tell.
You really need to put more effort in asking questions in a way that
Hi,Iam working with compass creation Linker errors are coming asking the
compass library file.How can i solve this can anyone tell.
...
Thank you!
Cheers,
Rambabu
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=69385#69385
the z-axis
(0,0,1).
-Shayne
-Original Message-
From: osg-users-boun...@lists.openscenegraph.org
[mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of onur
akkaya
Sent: Thursday, June 28, 2012 1:20 AM
To: osg-users@lists.openscenegraph.org
Subject: [osg-users] ECEF Oriented Compass
Hi,
I have an ECEF terrain and I want to implement a compass node to show the true
north to the user.
I tried the code below but at some angles it does not work correctly. When the
camera is vertical (birds eye view) to the terrain, it works perfect but if you
rotate the camera (elevation or
12 matches
Mail list logo