Re: [osg-users] What will OSG 3.0.0 be?

2010-07-29 Thread Sunil S Nandihalli
osgQt would be nice .. when is osg 3.0 expected?

On Thu, Jul 29, 2010 at 11:55 AM, Robert Osfield
wrote:

> 2010/7/29 xyc508 :
> > Hi,all osger
> >
> > osg 3.0.0 is coming,Could someone tell What will OSG 3.0.0 be? what's the
> > main changes and revolutionary updates?
>
> The headline features since 2.8.x are:
>
>   OpenGL ES 1.1 and 2.0
>   OpenGL 3.x support
>   New Database serializers and native ascii, binary and xml support
>   osgQt library
>   Shader Composition support.
>
> There are plenty of other changes/improvements.  The vast majority of
> changes will be API compatible to the OSG-2.x series so it should be
> straight forward to port between OSG-2.x to OSG-3.x.   Compiling
> against svn/trunk and the OSG-2.9.x dev series will give you head
> start on this.
>
> Robert.
> ___
> 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


Re: [osg-users] problem linking with osg-2.8.3 static binaries in linux

2010-07-14 Thread Sunil S Nandihalli
I just noticed that there are only linux osg-shared libraries on the web..
is it because we cannot build working static libraries?
Sunil

On Wed, Jul 14, 2010 at 2:40 PM, Sunil S Nandihalli <
sunil.nandiha...@gmail.com> wrote:

> Hello everybody,
>  I have had trouble in linking  with the osg-2.8.3-static libraries that I
> built from source.. I get a lot of linker errors when I try to build. The
> exact same thing works fine when I use the osg-2.8.3-shared libraries which
> were again built by me from source... You can find the sample output of the
> compilation command when I used the static-osg-2.8.3 libraries to build the
> osganimate example in the file at the following link.
> http://dl.dropbox.com/u/7271654/log
>
> Can anybody help?
> Sunil.
>
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] problem linking with osg-2.8.3 static binaries in linux

2010-07-14 Thread Sunil S Nandihalli
Hello everybody,
 I have had trouble in linking  with the osg-2.8.3-static libraries that I
built from source.. I get a lot of linker errors when I try to build. The
exact same thing works fine when I use the osg-2.8.3-shared libraries which
were again built by me from source... You can find the sample output of the
compilation command when I used the static-osg-2.8.3 libraries to build the
osganimate example in the file at the following link.
http://dl.dropbox.com/u/7271654/log

Can anybody help?
Sunil.
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] Swapping ref_ptr

2010-06-30 Thread Sunil S Nandihalli
just pass by reference .. I think that should do the trick ..

On Wed, Jun 30, 2010 at 3:04 PM, Sam Warns  wrote:

> Hi,
>
> I am in a situation where I receive a osg::ref_ptr to which I should
> add a Transform Node (or basically prepend it)
>
> Usually the group I receive is in a hierarchy of nodes, so I was thinking
> about getting parents of this group, removing this group as a child and add
> the Transform instead.
>
> But is there a better way?
> Since I actually do not know anything about the parents of the group it is
> also possible that there is no parent yet so the exchange is getting
> difficult.
>
> Now I am wondering if it is possible and safe to swap the inner pointer of
> the ref_ptr. Basically my functions looks like
>
> Code:
>
> void foo (osg::ref_ptr myGroup)
> {
>  // do something
>  osg::ptr_ref mat = new MatrixTransform;
>  // change
>  myGroup.swap(mat);
> }
>
>
>
>
> Which is called from a parent function like
>
> Code:
>
> void parentFoo()
> {
>  osg::ref_ptr myGroup = new osg::Group;
>  foo(myGroup);
>
>  // now I need myGroup to point to MatrixTransform without noticing it
>
> }
>
>
>
>
> Is this going to work?
> I have no compiler on this maschine to test right now so I am just assuming
> and browsing the docs.
>
>
> Thank you!
>
> Cheers,
> Sam
>
> --
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=29515#29515
>
>
>
>
>
> ___
> 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


Re: [osg-users] How to make sure that both the back and the front side of a polygon are lit...

2010-06-30 Thread Sunil S Nandihalli
*
Hi Tony and Alberto,
 The following is a snippet of the code I have tried .. It continues to
light up only one side of the geometry ...

osg::StateSet* st = topo->getOrCreateStateSet(); *
*osg::Group* topo = new osg::Group;
*
*osg::Material* matirial = new osg::Material; *
*matirial->setColorMode(osg::Material::DIFFUSE); *
*matirial->setAmbient(osg::Material::FRONT_AND_BACK, osg::Vec4(0, 1, 0,
1)); *
*matirial->setSpecular(osg::Material::FRONT_AND_BACK, osg::Vec4(0, 1, 0,
1)); *
*matirial->setEmission(osg::Material::FRONT_AND_BACK, osg::Vec4(0, 1, 0,
1)); *
*matirial->setShininess(osg::Material::FRONT_AND_BACK, 10.0f); *
*st->setAttributeAndModes (matirial,osg::StateAttribute::ON); *
*osg::LightModel* ltModel = new osg::LightModel; *
*ltModel->setTwoSided(true); *
*st->setAttribute(ltModel); *
*/* render the geometry in the children nodes ... */*


If I reverse the normals the opposite side lights up as expected .. Am I
doing something wrong..
Sunil.
On Tue, Jun 29, 2010 at 2:23 PM, Tony Horrobin  wrote:

> Hi Sunil,
>
> Just to be clear, you also need to specify a two-sided light model to make
> OpenGL apply both front and back materials.
> The osg::LightModel class allows this.
>
> Cheers,
>
> -Tony
>
>
> ___
> 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] How to make sure that both the back and the front side of a polygon are lit...

2010-06-28 Thread Sunil S Nandihalli
Hello everybody,
 I would like to have both the front and the back side of the polygons I
draw lit. Right now I have specified the normals and only the side which is
on the same side as that of the normals is being lit.. Should I render the
same-geometry twice and add normals to it so that it is lit on both sides..
I realized this might not be the right way to do it.. Does any of you have
any suggestion?
Thanks for reading this email..
Sunil.
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] drawing a plane- Is the following code-snippet the correct way for creating a plane

2010-06-28 Thread Sunil S Nandihalli
thanks Ulrich ..
Sunil.

On Mon, Jun 28, 2010 at 4:33 PM, Ulrich Hertlein wrote:

> Hello Sunil,
>
> On 28/06/10 19:30 , Sunil S Nandihalli wrote:
> > *  osg::Geode* plane=new osg::Geode;*
> > *osg::InfinitePlane* p = new osg::InfinitePlane;*
> > *p->set(osg::Vec3d(1,0,0),*
> > *   osg::Vec3d(0,0,0));*
> > *plane->addDrawable(new osg::ShapeDrawable(p));*
> >
> > I am unable to see the plane...
> > Can anybody help?
>
> ShapeDrawable(InfinitePlane) is not implemented.
>
> Cheers,
> /ulrich
> ___
> 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] drawing a plane- Is the following code-snippet the correct way for creating a plane

2010-06-28 Thread Sunil S Nandihalli
Hello Everybody,

drawing a plane- Is the following code-snippet the correct way for drawing a
plane

*  osg::Geode* plane=new osg::Geode;*
*osg::InfinitePlane* p = new osg::InfinitePlane;*
*p->set(osg::Vec3d(1,0,0),*
*   osg::Vec3d(0,0,0));*
*plane->addDrawable(new osg::ShapeDrawable(p));*

I am unable to see the plane...
Can anybody help?
Thanks,
Sunil.
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] viewer with ortho-graphic projection

2010-06-25 Thread Sunil S Nandihalli
Hello everybody,
 Is there something in osg that can manipulate(zoom/pan/rotate) an
orthographically projected view? like trackBallManipulator does for a
perspective projection..

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


Re: [osg-users] optimized (compiled with optimization options ..) shows a blank screen while the debug version behave as expected

2010-06-24 Thread Sunil S Nandihalli
Hi Robert,
 I am using ubuntu-8.04. I tried osgviewerQT with both optimized and debug
builds .. it works fine. I will send you the code if I can reproduce what I
am seeing with a simple code ..

Thanks for your reply.
Sunil.

On Thu, Jun 24, 2010 at 3:26 PM, Robert Osfield wrote:

> Hi Sunil,
>
> There isn't really any way for others to know what is wrong given such
> scant details. You'll need to do some more tests and provide more
> information about your hardware/OS/what you app is doing.
>
> Also try standard osg examples such as running "osgviewer cow.osg",
> does this work OK?
>
> Robert.
>
> On Thu, Jun 24, 2010 at 10:43 AM, Sunil S Nandihalli
>  wrote:
> > Hello everybody,
> >  My optimized (compiled with optimization options ..) version shows a
> blank
> > screen while the debug version behaves as expected (shows the loaded
> > geometry).. Can anybody help me with any suggestions ..?
> > Regards,
> > Sunil.
> > ___
> > 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 mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] optimized (compiled with optimization options ..) shows a blank screen while the debug version behave as expected

2010-06-24 Thread Sunil S Nandihalli
Hello everybody,
 My optimized (compiled with optimization options ..) version shows a blank
screen while the debug version behaves as expected (shows the loaded
geometry).. Can anybody help me with any suggestions ..?
Regards,
Sunil.
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] slow rendering of large number of points since each of them is in a geode of its own...

2010-06-23 Thread Sunil S Nandihalli
Thanks Robert,
Sunil.

On Wed, Jun 23, 2010 at 2:24 PM, Robert Osfield wrote:

> Hi Sunil,
>
> I am not at all surprised that performacne is slow.  What you are
> doing is the best way possible to destroy performance - killing CPU
> and GPU efficiency at the same, well done :-)
>
> The right way to do what you want is to implement a custom picking
> route, that enables you to pick the points you want in the they way
> you want.  You should be able to build an osg::KdTree to help you,
> have a look at the exisiting implementation for line intersection
> (osgUtil::LineSegmentIntersection/osgUtil::IntersectionVisitor/osg::KdTree)
> for inspiration.
>
> Robert.
>
> On Wed, Jun 23, 2010 at 9:49 AM, Sunil S Nandihalli
>  wrote:
> > Hello everybody,
> >  I have a large number of points to be displayed ..(about 200,000) .. I
> want
> > to be able to pick each one of them. I have made each point a seperate
> geode
> > ..The rendering is very slow. Possibly if I place all of them in a single
> > geometry/drawable it could improve the performance.. but then I don't
> know
> > how to enable picking of each and every point (via mouse) .. I was
> wondering
> > if any of you had any solution to this problem.
> > Thanks in advance
> > Sunil.
> > ___
> > 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 mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] slow rendering of large number of points since each of them is in a geode of its own...

2010-06-23 Thread Sunil S Nandihalli
Hello everybody,
 I have a large number of points to be displayed ..(about 200,000) .. I want
to be able to pick each one of them. I have made each point a seperate geode
..The rendering is very slow. Possibly if I place all of them in a single
geometry/drawable it could improve the performance.. but then I don't know
how to enable picking of each and every point (via mouse) .. I was wondering
if any of you had any solution to this problem.
Thanks in advance
Sunil.
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] performer to osg help

2010-06-03 Thread Sunil S Nandihalli
Hello Everybody,
 When I googled, I found out that performer and osg are very similar. I feel
the the performer-usermanual is a little more detailed... I wasl wondering
if anybody has any document which kind of tells me what class/feature in OSG
maps to which class/feature in Performer.

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


[osg-users] clipnode

2010-05-07 Thread Sunil S Nandihalli
Hello everybody,
 in the 06_clipnode example...

  //Group:model
// . .
//..
//   .  .
//Subgraph:dumptruck   Transform:pat
//.
//.
// ClipNode

How is the clipnode supposed to influence the dumptruck.. Am I missing
something here. this is the thirdblock of the code in the example ... Here
is how I interpretted and coded it

  osg::ClipNode* n = new osg::ClipNode;
  n->createClipBox(osg::BoundingBox(-2.5,-2.5,-2.5,2.5,2.5,2.5));
  osg::PositionAttitudeTransform* pat = new
osg::PositionAttitudeTransform;
  pat->setPosition(osg::Vec3(0,0,0));
  osg::Group* model = new osg::Group;
  model->addChild(dumptruck);
  model->addChild(pat);
  pat->addChild(n);
  viewer.setSceneData(model);

  The complete code (example program) is pasted in

http://pastebin.com/Hs6Q1Wb3

I got the first block to work .. I was trying to get the 3rd block to work
.. but was not very successfull. How is it supposed to clip the dumptruck?
as indicated above.. dumptruck is not a child of the ClipNode.. can anybody
explain?

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


[osg-users] QOSGWidget.cpp qt integration ..

2010-04-28 Thread Sunil S Nandihalli
Hello everybody,
 I am trying to run the osgviewerQT with the option --QOSGWidget .. it fails
to work. It however works without this option (using AdaptedWidget) . I
attached the backtrace when it crashed.. Can anybody see and help me
understand why this is failing . I am also going to attach the log file with
osg-debug_level set to DEBUG_FP. I am using QT4 to build it. I am also
attaching the qt-project file used to compile the program .. I am seeing the
exact same behaviour on the application I am developing following the ideas
suggested by osgviewerQT example. It works with AdaptedWidget but not with
the QOSGWidget..

Thanks and regards,
Sunil.

#0  0xb65dc471 in strncmp () from /lib/tls/i686/cmov/libc.so.6
#1  0xb7d9b7d4 in osg::LightModel::apply () from
/home/sunil/install/osg-2.8.1_shared_debug//lib/libosgd.so.55
#2  0xb7d18dc5 in osg::State::applyAttribute () from
/home/sunil/install/osg-2.8.1_shared_debug//lib/libosgd.so.55
#3  0xb7e09bee in osg::State::applyAttributeList () from
/home/sunil/install/osg-2.8.1_shared_debug//lib/libosgd.so.55
#4  0xb7dfeb34 in osg::State::apply () from
/home/sunil/install/osg-2.8.1_shared_debug//lib/libosgd.so.55
#5  0xb7582904 in osgUtil::RenderLeaf::render () from
/home/sunil/install/osg-2.8.1_shared_debug//lib/libosgUtild.so.55
#6  0xb7577118 in osgUtil::RenderBin::drawImplementation () from
/home/sunil/install/osg-2.8.1_shared_debug//lib/libosgUtild.so.55
#7  0xb75841f7 in osgUtil::RenderStage::drawImplementation () from
/home/sunil/install/osg-2.8.1_shared_debug//lib/libosgUtild.so.55
#8  0xb75768f1 in osgUtil::RenderBin::draw () from
/home/sunil/install/osg-2.8.1_shared_debug//lib/libosgUtild.so.55
#9  0xb7584cda in osgUtil::RenderStage::drawInner () from
/home/sunil/install/osg-2.8.1_shared_debug//lib/libosgUtild.so.55
#10 0xb7587cfc in osgUtil::RenderStage::draw () from
/home/sunil/install/osg-2.8.1_shared_debug//lib/libosgUtild.so.55
#11 0xb7596ea0 in osgUtil::SceneView::draw () from
/home/sunil/install/osg-2.8.1_shared_debug//lib/libosgUtild.so.55
#12 0xb7165a5b in osgViewer::Renderer::cull_draw () from
/home/sunil/install/osg-2.8.1_shared_debug//lib/libosgViewerd.so.55
#13 0xb7160497 in osgViewer::Renderer::operator() () from
/home/sunil/install/osg-2.8.1_shared_debug//lib/libosgViewerd.so.55
#14 0xb7d654f8 in osg::GraphicsContext::runOperations () from
/home/sunil/install/osg-2.8.1_shared_debug//lib/libosgd.so.55
#15 0xb71ba629 in osgViewer::ViewerBase::renderingTraversals () from
/home/sunil/install/osg-2.8.1_shared_debug//lib/libosgViewerd.so.55
#16 0xb71b7ded in osgViewer::ViewerBase::frame () from
/home/sunil/install/osg-2.8.1_shared_debug//lib/libosgViewerd.so.55
#17 0x0805faee in ViewerQOSG::paintEvent (this=0x8c0ab10, event=0xbf914dcc)
at QOSGWidget.cpp:309
#18 0x081276fd in QWidget::event ()
#19 0x080d3bfc in QApplicationPrivate::notify_helper ()
#20 0x080dabe9 in QApplication::notify ()
#21 0x0884bb3b in QCoreApplication::notifyInternal ()
#22 0x0811ef4d in QWidgetPrivate::drawWidget ()
#23 0x0827a112 in QWidgetPrivate::repaint_sys ()
#24 0x08115cfe in QWidgetPrivate::syncBackingStore ()
#25 0x08127ff4 in QWidget::event ()
#26 0x080d3bfc in QApplicationPrivate::notify_helper ()
#27 0x080dabe9 in QApplication::notify ()
#28 0x0884bb3b in QCoreApplication::notifyInternal ()
#29 0x0884ca1b in QCoreApplicationPrivate::sendPostedEvents ()
#30 0x0884cc2d in QCoreApplication::sendPostedEvents ()
#31 0x0887105f in postEventSourceDispatch ()
#32 0xb6b3dcf6 in IA__g_main_context_dispatch (context=0x8bafa40) at
/build/buildd/glib2.0-2.16.6/glib/gmain.c:2012
#33 0xb6b410b3 in g_main_context_iterate (context=0x8bafa40, block=1,
dispatch=1, self=0x8baca58) at
/build/buildd/glib2.0-2.16.6/glib/gmain.c:2645
#34 0xb6b4166e in IA__g_main_context_iteration (context=0x8bafa40,
may_block=1) at /build/buildd/glib2.0-2.16.6/glib/gmain.c:2708
#35 0x088713a1 in QEventDispatcherGlib::processEvents ()
#36 0x081710f5 in QGuiEventDispatcherGlib::processEvents ()
#37 0x0884aa2d in QEventLoop::processEvents ()
#38 0x0884ae4a in QEventLoop::exec ()
#39 0x0884cced in QCoreApplication::exec ()
#40 0x080d3687 in QApplication::exec ()
#41 0x0805f5be in mainQOSGWidget (a...@0xbf915a60, argumen...@0xbf915a3c) at
QOSGWidget.cpp:615
#42 0x080635ff in main (argc=2, argv=0xbf915b14) at osgviewerQT.cpp:52


log
Description: Binary data


qosg.pro
Description: application/vnd.nokia.qt.qmakeprofile
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] osg::GraphicsContext::createGraphicsContext returns null

2010-04-26 Thread Sunil S Nandihalli
Hello everybody,
 I am trying to get osg work with qt .. So, I basically almost copied
QOSGWidget from the examples ... However, the function
osg::GraphicsContext::createGraphicsContext
returns null..
any ideas as to why this could be happening ..
Regards,
Sunil.
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] unable to link ..

2010-04-23 Thread Sunil S Nandihalli
Hello everybody,
 I am sorry for posting this message .. the mistake I had done was that I
was using wild cards like *.a  which actually didn't behave as expected ...
So it was effectively not adding any archive files to the command line .. I
fixed that .. Thanks though ..

Sunil

On Thu, Apr 22, 2010 at 5:51 PM, Sunil S Nandihalli <
sunil.nandiha...@gmail.com> wrote:

> Hello everybody,
>  I am getting a lot of linker errros .. I was wondering if any of you can
> tell me why.. I attaching the log file which contains the linker errors ...
> Thanks and Regards,
> Sunil
>
> g++ -Wl,-rpath,/home/sunil/install/qt4.6/static/lib -o gp_utilities
> gp_gui_mainwindow.o gp_gui_toolbar.o gp_gui_dockwidget.o
> gp_gui_version_dialog.o gp_gui_mdi_subwindow.o gp_gui_subwindow.o
> gp_gui_glwidget.o gp_gui_base_wrapper.o gp_gui_camera.o gp_gui_scene.o
> gp_gui_camera_group.o gp_gui_topology_wrapper.o gp_gui_topology_corners.o
> gp_gui_surface_wrapper.o QOSGWidget.o gp_utilities.o show_help_messg.o
> parse_options.o execute_command.o feature.o controlnetsurf.o build1block.o
> propertiesToSurfLabels.o fra2tria.o gridSnapIntegrated.o hex2emb.o
> mild_block.o gridmb.o mpoint.o offwallclu.o Polynomial.o vinokur.o refine.o
> gridsmb.o patch.o spoint.o sb2cfl3d.o superblock.o TFIcontrolnetsurf.o
> toCGNS.o topoForTube.o tria2fra.o smoothen_tube.o spline.o TriangulateLoop.o
> surface_ImproveTriangulation.o sqlite3.o gpSqlite.o develop.o lin2tube.o
> lpoint.o lplane.o trim_corner.o trim_edge.o tpoint.o trim.o cutTria.o
> reorient_axes.o gridAsciiToBinary.o corner.o edge.o face.o block.o surface.o
> component.o messg.o pattern_match.o topology.o topology_constr.o
> topology_entity_exchange.o topology_corners.o topology_edges.o
> topology_faces.o topology_blocks.o topology_surfaces.o
> topology_singularities.o topology_output.o topology_groups.o
> topology_operation.o polygonal_surface.o planeSurface.o ellipticSurface.o
> linearSurface.o dataFileSurfaces.o periodicSurface.o fictitiousSurface.o
> tubeSurface.o intersection.o intersectionCurve.o polySurfPlaneIntersection.o
> polySurfEllipsoidIntersection.o polySurfPolySurfIntersectionCurve.o
> PlanePlaneIntersection.o EllipsoidPlaneIntersection.o
> EllipsoidEllipsoidIntersection.o file_handler_utilities.o
> topology_read_utilities.o string_utilities.o vector_utilities.o
> topology_utilities.o vec.o polysurf.o tube.o matrix.o normal.o bilinear.o
> Vector.o FileIO.o curve.o DiscreteCurve.o original_surface_surface.o point.o
> original_surface_edge.o LIC.o triangle.o error.o BestFitPlane.o
> trigonometricFunctions.o StructuredMultiBlockHex.o UnstructuredHex.o
> ellipticSurface_projection.o polysurfWithNPatches.o pattern_match_disjoint.o
> qcheck_fold.o qcheck_warp.o qcheck.o adf_cond.o cgns_error.o
> cgns_internals.o cgnslib.o ADF_interface.o ADF_internals.o cg_ftoc.o
> adf_ftoc.o ADF_fortran_2_c.o moc_gp_gui_mainwindow.o moc_gp_gui_toolbar.o
> moc_gp_gui_dockwidget.o moc_gp_gui_version_dialog.o
> moc_gp_gui_mdi_subwindow.o moc_gp_gui_subwindow.o moc_gp_gui_glwidget.o
> moc_gp_gui_base_wrapper.o moc_gp_gui_camera.o moc_gp_gui_topology_wrapper.o
> moc_gp_gui_topology_corners.o qrc_gui_gp_utilities.o
>  -L/home/sunil/install/qt4.6/static/lib -L/usr/X11R6/lib -lgsl -lgslcblas
> /home/sunil/install/osg-2.8.3_static_release/lib/*.a
> -L/home/sunil/install/osg-2.8.3_static_release/lib/ -lOpenThreads -lQtOpenGL
> -L/home/sunil/install/qt4.6/static/lib -L/usr/X11R6/lib -pthread -pthread
> -pthread -pthread -pthread -pthread -pthread -pthread -lQtGui -pthread
> -pthread -pthread -lpng -lgobject-2.0 -lSM -lICE -lXrender -lfontconfig
> -lfreetype -lXext -lX11 -lQtCore -lz -lm -ldl -pthread -lgthread-2.0 -lrt
> -lglib-2.0 -lGLU -lGL -lpthread
> /home/sunil/install/osg-2.8.3_static_release/lib/libosgDB.a(ReadFile.o): In
> function `osgDB::readNodeFiles(osg::ArgumentParser&,
> osgDB::ReaderWriter::Options const*)':
> ReadFile.cpp:(.text+0x289b): undefined reference to
> `osg::ShapeDrawable::ShapeDrawable(osg::Shape*, osg::TessellationHints*)'
> /home/sunil/install/osg-2.8.3_static_release/lib/libosgDB.a(Registry.o): In
> function
> `osgDB::Registry::createLibraryNameForExtension(std::basic_string std::char_traits, std::allocator > const&)':
> Registry.cpp:(.text+0x286d): undefined reference to `osgGetVersion'
> /home/sunil/install/osg-2.8.3_static_release/lib/libosgDB.a(Registry.o): In
> function `osgDB::Registry::Registry()':
> Registry.cpp:(.text+0x7651): undefined reference to
> `osg::KdTreeBuilder::KdTreeBuilder()'
> /home/sunil/install/osg-2.8.3_static_release/lib/libosgDB.a(Registry.o): In
> function `osgDB::Registry::Registry()':
> Registry.cpp:(.text+0x9ce9): undefined reference to
> `osg::KdTreeBuilder::KdTreeBuilder()'
> /home/

Re: [osg-users] unable to link ..

2010-04-22 Thread Sunil S Nandihalli
The list of libraries that it is linking against ..
*
*
*libosg.a   libosgDB.a  libosgGA.a libosgManipulator.a
 libosgShadow.a  libosgTerrain.a  libosgUtil.alibosgVolume.a*
*libosgAnimation.a  libosgFX.a  libosgIntrospection.a  libosgParticle.a
libosgSim.a libosgText.a libosgViewer.a  libosgWidget.a*
*
*

I included everything .. since I was getting a lot of linker errors .. I am
not sure if even that could cause problems..
Sunil.
On Thu, Apr 22, 2010 at 6:05 PM, Sunil S Nandihalli <
sunil.nandiha...@gmail.com> wrote:

> Dear all,
>  Just to simplify things, I tried to compile the qtosgviewer example files
> ... by defining USE_QT4 to 1 in each of the .cpp files .. I am unable to
> link even these .. can any of see what the problem is ..? I am attaching the
> complete directory with the qt-project file and the generated error log file
> ..
> With best regards,
> Sunil.
>
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] CompositeViewerFLTK CompositeViewerQT CompositeViewerQOSG are not documented .. are these not supposed to be used??

2010-04-12 Thread Sunil S Nandihalli
Hello everybody,
CompositeViewerFLTK CompositeViewerQT CompositeViewerQOSG are left
undocumented .. is there a reason behind it? does it mean it is not supposed
to be used?
Regards,
Sunil.
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] AutoTransform

2010-04-08 Thread Sunil S Nandihalli
Thanks John,
 I had run the example before .. but after you told me the difference .. I
could figure out the difference in the output...
Sunil.

On Thu, Apr 8, 2010 at 11:39 AM, John Vidar Larring
wrote:

> Hi Sunil,
>
>
> >  I would like to know as to what is the difference between
> > /ROTATE_TO_SCREEN/ /ROTATE_TO_CAMERA/ in the AutoTransform class.
>
> ROTATE_TO_SCREEN will rotate the sub-graph to "face" the view plane, while
> ROTATE_TO_CAMERA will rotate the sub-graph to "face" the camera's eye point.
>
> Check out the osgautotransform example:
> http://www.openscenegraph.org/projects/osg/browser/OpenSceneGraph/trunk/examples/osgautotransform/osgautotransform.cpp
>
>
> > I was also wondering if there is some inbuilt feature to place an axis  >
> in the corner of the screen indicating the world axis .. as is common
> > in most cad applications...
>
> Not that i know of, but look at osgautotransform example above:)
>
> Best regards,
> John
>
> Sunil S Nandihalli wrote:
>
>> Hello Everybody,
>>  I would like to know as to what is the difference between
>>
>> /ROTATE_TO_SCREEN/ /ROTATE_TO_CAMERA/ in the AutoTransform class. I was
>> also wondering if there is some inbuilt feature to place an axis in the
>> corner of the screen indicating the world axis .. as is common in most cad
>> applications..
>> Thanks in advance...
>> Sunil.
>>
>> --
>> This email was Anti Virus checked by Astaro Security Gateway.
>> http://www.astaro.com
>>
>>
>> --
>> This message has been scanned for viruses and
>> dangerous content by *MailScanner* <http://www.mailscanner.info/>, and is
>> believed to be clean.
>>
>>
>> 
>>
>> ___
>>
>> 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 mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] AutoTransform

2010-04-07 Thread Sunil S Nandihalli
Hello Everybody,
 I would like to know as to what is the difference between

*ROTATE_TO_SCREEN* *ROTATE_TO_CAMERA*
in the AutoTransform class. I was also wondering if there is some inbuilt
feature to place an axis in the corner of the screen indicating the world
axis .. as is common in most cad applications..
Thanks in advance...
Sunil.
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org