[osg-users] Regarding Lod problem in osg

2017-04-27 Thread Rambabu Repaka
Hi,Iam loading the terrain with buildings,trees,roads etc using lod (level of 
detail ) in run time using osg.

Buildings - Reading from shapefile,textures,xml file ,iam able to placing in 
the terrain using vpb tool.
Roads  - same process as buildings loaded.
terrain - using imagery(image tiles) and elevation files again using vpb tool.

What my problem is upon launching the application buildings,road etc taking 
much time to appear on the screen,how can i load buildings,road etc 
instantly(immediately) using lod concept (at run time) in osg ?

Iam using osg 3.4.0 version,windows 8.1,vpb tool.

Any Help is Appreciated.
... 

Thank you!

Cheers,
Rambabu

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





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


[osg-users] About Shapefiles and .dbf files in osgearth

2017-04-24 Thread Rambabu Repaka
Hi,Iam Changing the .dbf file of bridges but it is not updating in the shape 
file i.e(.shp file).How to make changes in the shape file(.shp file) according 
to changes made in the .dbf file in osg.


Any Help is Appreciated.


... 

Thank you!

Cheers,
Rambabu

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





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


Re: [osg-users] My cow.osg just become different in a hello world pragram

2017-04-24 Thread Rambabu Repaka
Hi,Jiechang instead of cow.osg give the full path of osg model for cow.osg 
I think problem will solve.

... 

Thank you!

Cheers,
Rambabu

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





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


Re: [osg-users] Regarding Culling in osg

2017-04-23 Thread Rambabu Repaka
Hi,Julien Thanks for the reply and Iam having another doubt in CullCallback.cpp 
which iam mentioning below

He is reading from command line what is the exact meaning of 
--test,test1,test2.. etc means and what i have to give in the command line 
to execute this code? 
if (arguments.read("--test"))
{
osg::ref_ptr root = new osg::Group();
rootnode = root;

osg::Node *test1 = new osg::Node();
test1->setUpdateCallback(new TestNodeUpdateCallback("test1"));
root->addChild(test1);

osg::Drawable *test2 = new osg::Drawable();
test2->osg::Node::setUpdateCallback(new 
TestNodeUpdateCallback("test2"));
root->addChild(test2);

osg::Drawable *test3 = new osg::Drawable();
test3->setUpdateCallback(new TestDrawableUpdateCallback("test3"));
root->addChild(test3);

osg::Geode *test4 = new osg::Geode();
osg::Drawable *drawable1 = new osg::Drawable();
drawable1->osg::Node::setUpdateCallback(new 
TestNodeUpdateCallback("test4"));
test4->addDrawable(drawable1);
root->addChild(test4);

osg::Geode *test5 = new osg::Geode();
osg::Drawable *drawable2 = new osg::Drawable();
drawable2->setUpdateCallback(new TestDrawableUpdateCallback("test5"));
test5->addDrawable(drawable2);
root->addChild(test5);

osg::Geode *test6 = new osg::Geode();
osg::Drawable *drawable3 = new osg::Drawable();
drawable3->setUpdateCallback(new TestDrawableUpdateCallback("test6"));
test6->addChild(drawable3);
root->addChild(test6);

osg::Geode *test7 = new osg::Geode();
osg::Drawable *drawable4 = new osg::Drawable();
drawable4->osg::Node::setUpdateCallback(new 
TestNodeUpdateCallback("test7"));
test7->addChild(drawable4);
root->addChild(test7);

printf("Numchildren with updates %u\n", 
rootnode->getNumChildrenRequiringUpdateTraversal());

Any Help is appreciated.


... 

Thank you!

Cheers,
Rambabu

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





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


[osg-users] Regarding Culling in osg

2017-04-22 Thread Rambabu Repaka
Hi,Can anyone tell me is there any example code (i.e .cpp file )for 
Backfaceculling,face culling and frustum culling in osg.

Any Help is appreciated.

... 

Thank you!

Cheers,
Rambabu

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





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


Re: [osg-users] Regarding Slowing loading of buildings in osg

2017-04-21 Thread Rambabu Repaka
Hi,Thanks for the reply sebestian,Iam loading buildings on the terrain using 
shapefile for reading coordinates ,textures iam adding based on type of 
buildings in run time using lod.But my problem is from one place to another 
place moving on map the buildings are loading slowly how to load the buildings 
fastly(instantly) ?

Iam using osgearth source code 2.8.0,osg version 3.4.0,windows 8.1 and osgearth 
forum members are not responding that why iam asking here,If anyone knows can 
help me.

... 

Thank you!

Cheers,
Rambabu

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





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


[osg-users] Regarding Slowing loading of buildings in osg

2017-04-21 Thread Rambabu Repaka
Hi,Iam Using polygons and drapping the buildings texture on that in the terrain 
using osgearth,Buildings are coming but my problem is loading slowly in the 
output scene,How to load the buildings immediately after launching the output 
scene and upon moving from one place to another place buildings are loading 
slowly how to solve this?

Iam using osgearth 2.8.0,osg 3.4.0,windows 8.1
Any Help is appreciated.

... 

Thank you!

Cheers,
Rambabu

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





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


[osg-users] Limitation of Displaying buildings, roads and trees etc to increase frame rate

2017-04-20 Thread Rambabu Repaka
Hi,Actually iam able to displaying the buildings,roads on the terrain using 
shape files in osgearth,How to display the buildings,roads etc on the desktop 
screen coordinates only and how can i limit the remaining part where 
buildings,roads are loading for the purpose of increase of frame rate ?

Iam using osg 3.4.0,osg earth 2.8.0,windows 8.1 
Any Help is appreciated.

... 

Thank you!

Cheers,
Rambabu

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





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


Re: [osg-users] Related to osg lines

2017-04-18 Thread Rambabu Repaka
Hi, Iam using the following code and drawing the lines in osg and clamping the 
lines to the terrain for the purpose of road drawing

LineSymbol* line = style.getOrCreate();
line->stroke()->color() = Color(Color::Black, 0.5f);
line->stroke()->width() = 8.0f;
line->tessellationSize() = 5;
line->stroke()->widthUnits() = Units::METERS;

   AltitudeSymbol* alt = style.getOrCreate();
alt->clamping() = alt->CLAMP_TO_TERRAIN;

   But for me i want road with texture so what iam 
   adding the quad and applying texture in the below code

   osg::ref_ptr vertices = new osg::Vec3Array;
vertices->push_back(osg::Vec3(-1.0f,0.0f,-2.0f));
vertices->push_back(osg::Vec3(1.0f,0.0f,-2.0f));
vertices->push_back(osg::Vec3(1.0f,0.0f,2.0f));
vertices->push_back(osg::Vec3(-1.0f,0.0f,2.0f));

osg::ref_ptr normals = new osg::Vec3Array;
normals->push_back(osg::Vec3(0.0f,-1.0f,0.0f));

osg::ref_ptr colors = new osg::Vec4Array;
colors->push_back(osg::Vec4(0.0f, 0.0f, 0.0f,0.0f));
   
osg::ref_ptr texcoords = new osg::Vec2Array;
texcoords->push_back(osg::Vec2(0.0f, 0.0f));
texcoords->push_back(osg::Vec2(0.0f, 1.0f));
texcoords->push_back(osg::Vec2(1.0f, 1.0f));
texcoords->push_back(osg::Vec2(1.0f, 0.0f));

osg::ref_ptr geom = new osg::Geometry;
geom->setVertexArray(vertices.get());
geom->setNormalArray(normals.get());
geom->setColorArray(colors.get());
geom->setNormalBinding(osg::Geometry::BIND_OVERALL);
geom->setTexCoordArray(0,texcoords.get());
geom->setColorBinding(osg::Geometry::BIND_OVERALL);
geom->addPrimitiveSet(new osg::DrawArrays(GL_QUADS,0,4));

osg::ref_ptr texture = new osg::Texture2D;
texture->setWrap(osg::Texture2D::WRAP_S,  
osg::Texture2D::CLAMP); 
 
texture->setWrap(osg::Texture2D::WRAP_T, 
osg::Texture2D::CLAMP);
osg::ref_ptr image = 
osgDB::readImageFile("D:/Images/roadPic.jpg");
texture->setImage(image);
   
osg::ref_ptr root = new osg::Geode;
root->addDrawable(geom.get());
  
root->getOrCreateStateSet()->setTextureAttributeAndModes(0,texture.get());

 how to clamp the quad to the terrain  for drawing the road in osgearth  or any 
other way to add the texture to those lines? 




... 

Thank you!

Cheers,
Rambabu

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





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


Re: [osg-users] Related to osg lines

2017-04-18 Thread Rambabu Repaka
Hi,In osgearth project  linesymbol is using  and drawing the road but i want to 
add the texture to those lines,Normally how to add texture to the line in osg ?

... 

Thank you!

Cheers,
Rambabu

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





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


[osg-users] Related to osg lines

2017-04-18 Thread Rambabu Repaka
Hi,Iam drawing lines using the following code in osg 
 LineSymbol* line = style.getOrCreate();
 line->stroke()->color() = Color(Color::Black, 0.5f);
 line->stroke()->width() = 4.5f;
 line->tessellationSize() = 5;
 line->stroke()->widthUnits() = Units::METERS;
How to add texture image to these Lines ?


... 

Thank you!

Cheers,
Rambabu

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





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


[osg-users] Related to memcpy

2017-04-16 Thread Rambabu Repaka
Hi, Iam getting the below error in the memcpy(dst,src,count) in osg.

Unhandled exception at 0x0f75ee38 (msvcr90d.dll) in Partice.exe: 0xC005: 
Access violation reading location 0x.

How to eliminate this error ?
... 

Thank you!

Cheers,
Rambabu

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





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


[osg-users] OsgParticles

2017-04-11 Thread Rambabu Repaka
Hi,Iam using Osgparticleeffects.cpp where smoke particles are generating in the 
top side how to change the direction of smoke particles ?

... 

Thank you!

Cheers,
Rambabu

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





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


Re: [osg-users] Osg Earth

2017-04-04 Thread Rambabu Repaka
Hi,Sebastian I added that dll but it is asking some other dlls i added those 
dlls also but again one error i.e ordinal 1338 not located in the dynamic link 
library for dirapi.dll.

... 

Thank you!

Cheers,
Rambabu

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





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


[osg-users] Osg Earth

2017-04-04 Thread Rambabu Repaka
Hi, Iam loading the tiff image in osg earth then i got this ERROR 6: Unable to 
load PROJ.4 library (proj.dll), creation of OGRCoordinateTransformation 
failed.How to solve this ?


... 

Thank you!

Cheers,
Rambabu

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





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


[osg-users] How to do osg earth in offline

2017-03-30 Thread Rambabu Repaka
Hi,In osgearth he is reading tile images  and elevation data from online,how to 
do in offline?

... 

Thank you!

Cheers,
Rambabu

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





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


[osg-users] releating to osg embedding with QT

2017-02-16 Thread Rambabu Repaka
Hi,

  I am trying to add geode data as group to composite viewer it is giving using 
 addview is not the member of composite viewer,but its working with the  normal 
osg::viewer (code is in sending attachment).how to add geode data as group to 
composite viewer.
(This doubt is releating to osg embedding with QT,if it is possible send any 
doc's releating to this.)

Thank you!

Cheers,
Rambabu

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



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


Re: [osg-users] About LatLonHeight to XYZ Conversion

2017-01-31 Thread Rambabu Repaka
Hi,Iam using below code

osg::EllipsoidModel elipsModelObj;
elipsModelObj.convertLatLongHeightToXYZ(12.9716,77.5946,500,x,y,z);

Output x,y,z is different from online convertor  x,y,z coordinates  ?
How  to solve this  ?
... 

Thank you!

Cheers,
Rambabu

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





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


[osg-users] About LatLonHeight to XYZ Conversion

2017-01-31 Thread Rambabu Repaka
Hi,Iam using the below code
osg::EllipsoidModel elipsModelObj;
elipsModelObj.convertLatLongHeightToXYZ(12.9716,77.5946,500,x,y,z);

But i checked the x,y,z values 

... 

Thank you!

Cheers,
Rambabu

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





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


Re: [osg-users] [vpb] Buildings

2017-01-10 Thread Rambabu Repaka
Hi,Nick Those tools are used only when we the purchase license otherwise trail 
version are not available.Can you provide the link for to download trail 
version of presgis or any other tool to do this ? 

... 


Thank you!

Cheers,
Rambabu

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





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


Re: [osg-users] [vpb] Buildings

2017-01-09 Thread Rambabu Repaka
Hi, Thanks  for the reply and i will be work on this.

Cheers,
Rambabu

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





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


Re: [osg-users] [vpb] Buildings

2017-01-09 Thread Rambabu Repaka
Hi,Sorry Robert and all forum members who helped me a lot to my questions. I 
will properly ask  questions from know onwards.Can anyone tell me about how to 
place the Buildings,Trees etc on the Terrain.Buildings are in .shp 
format,Terrain is in .flt format,Positioning of the Buildings is adjusted by 
the ig data which is in the format of pitch,rolling and Heading using any best 
tool in osg. 

... 


Thank you!

Cheers,
Rambabu

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





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


Re: [osg-users] [vpb] Buildings

2017-01-09 Thread Rambabu Repaka
Hi,Sorry Robert and all forum members who helped me a lot to my questions. I 
will properly questions from know onwards.Can anyone tell me about how to place 
the  Buildings,Trees etc on the Terrain.Buildings are in .shp format,Terrain is 
in .flt format,Positioning of the Buildings is adjusted by the ig data which is 
in the format of pitch,rolling and Heading using any best tool in osg.

... 


Thank you!

Cheers,
Rambabu

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





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


Re: [osg-users] [vpb] Buildings

2017-01-08 Thread Rambabu Repaka
Hi,Robert i Provided all the details u asked to place a building in the 
terrain, help me how to do this  ?

... 


Thank you!

Cheers,
Rambabu

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





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


Re: [osg-users] [vpb] Buildings

2017-01-08 Thread Rambabu Repaka
Hi,

Hi,Actually Iam Working on the placing of Buildings,Trees etc on the 
Terrain.Buildings are in .shp format,Terrain is in .flt format,Positioning of 
the Buildings is adjusted by the ig data which is in the format of 
pitch,rolling and Heading.Can anyone help me how to load the buildings/trees in 
the terrain using any best tool.


... 
Thank you!

Cheers,
Rambabu

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





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


Re: [osg-users] [vpb] Buildings

2017-01-08 Thread Rambabu Repaka

robertosfield wrote:
> On 6 January 2017 at 06:03, Bhanu Chandra <> wrote:
> 
> > which is the best tool for loading buildings on terrain?
> > 
> 
> Pickup truck or lorry would be good for getting the raw materials on
> site. Then hire local builder to make your buildings.
> 
> If you have caravan then just towing it behind you car should work fine.
> 
> If these answers don't sound relevant then ask your question clearly
> rather than ambiguous one line.  Information like what format you
> buildings are in, how you are controlling the position of the
> buildings, information about what type of terrain you are detailing
> with.  All these things are essential for giving a proper answer.  Yes
> this requires you to think a bit about what the problem is before
> posting to the forum but this a GOOD thing.
> 
> Please improve the quality of your questions, ambiguous one line helps no one.
> 
> Robert.
> ___
> osg-users mailing list
> 
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
> 
>  --
> Post generated by Mail2Forum


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





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


Re: [osg-users] [vpb] Buildings

2017-01-08 Thread Rambabu Repaka

robertosfield wrote:
> On 6 January 2017 at 06:03, Bhanu Chandra <> wrote:
> 
> > which is the best tool for loading buildings on terrain?
> > 
> 
> Pickup truck or lorry would be good for getting the raw materials on
> site. Then hire local builder to make your buildings.
> 
> If you have caravan then just towing it behind you car should work fine.
> 
> If these answers don't sound relevant then ask your question clearly
> rather than ambiguous one line.  Information like what format you
> buildings are in, how you are controlling the position of the
> buildings, information about what type of terrain you are detailing
> with.  All these things are essential for giving a proper answer.  Yes
> this requires you to think a bit about what the problem is before
> posting to the forum but this a GOOD thing.
> 
> 
> 
> 
> Hi,Actually Iam Working on the placing of Buildings,Trees etc on the 
> Terrain.Buildings are in .shp format,Terrain is in .flt format,Positioning of 
> the Buildings is adjusted by the ig data which is in the format of 
> pitch,rolling and Heading.Can anyone help me how to load the buildings/trees 
> in the terrain using any best tool.
> 
> 
> Thanks,
> R.Rambabu
> 
> 
> Please improve the quality of your questions, ambiguous one line helps no one.
> 
> Robert.
> ___
> osg-users mailing list
> 
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
> 
>  --
> Post generated by Mail2Forum


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





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


Re: [osg-users] [vpb] Buildings

2017-01-08 Thread Rambabu Repaka
Hi,Actually Iam Working on the placing of Buildings,Trees etc on the 
Terrain.Buildings are in .shp format,Terrain is in .flt format,Positioning  of 
the Buildings is adjusted by the ig data which is in the format of 
pitch,rolling and Heading.Can anyone help me how to load the buildings/trees  
in the terrain using any best tool.

... 


Thank you!

Cheers,
Rambabu

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





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


Re: [osg-users] About VPB

2017-01-05 Thread Rambabu Repaka
Hi,Robert i want to load 3D Buliding Models on the ocean Using any tool ?

... 

Thank you!

Cheers,
Rambabu

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





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


Re: [osg-users] About VPB

2017-01-05 Thread Rambabu Repaka
Hi,Is there Any Other Tool to Load Buildings in osg  ? 

... 

Thank you!

Cheers,
Rambabu

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





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


Re: [osg-users] About VPB

2017-01-05 Thread Rambabu Repaka
Hi,In VPB Commands what is the use of --buildings command ? Using this we can 
load the buildings ? 

... 

Thank you!

Cheers,
Rambabu

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





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


[osg-users] About VPB

2017-01-05 Thread Rambabu Repaka
Hi,Using Virtual Planet Builder(VPB) How to load builidings in osg ?

... 

Thank you!

Cheers,
Rambabu

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





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


Re: [osg-users] osgconv.exe textures getting mangled

2017-01-03 Thread Rambabu Repaka
Hi,How to avoid the Fatal nb colors error in texture images.

... 

Thank you!

Cheers,
Rambabu

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





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


Re: [osg-users] osgconv.exe textures getting mangled

2017-01-03 Thread Rambabu Repaka
Hi,4 Texture images are loading  remaining texture images are not loading to 
the model what i have to do ?

... 

Thank you!

Cheers,
Rambabu

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





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


[osg-users] About raining

2017-01-03 Thread Rambabu Repaka
Hi,How to do Wet on the ground when raining in osg ?

... 

Thank you!

Cheers,
Rambabu

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





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


Re: [osg-users] osgconv.exe textures getting mangled

2017-01-03 Thread Rambabu Repaka
Hi,My Texture image files are in .png and .jpeg format.

... 

Thank you!

Cheers,
Rambabu

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





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


Re: [osg-users] osgconv.exe textures getting mangled

2017-01-03 Thread Rambabu Repaka
Hi,Iam using osg 3.5.1 version Textures are not loading to the model it is 
showing  Warning: [ReaderWriterOBJ::convertElementListToGeometry] Some faces 
from geometry '' were reversed by the plugin.I converted the model into .osgb 
format but textures are not adding to the model.

... 

Thank you!

Cheers,
Rambabu

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





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


Re: [osg-users] About Viewer->updateTraversal()

2016-12-27 Thread Rambabu Repaka
Hi,Hi,Iam using osg 3.5.1 version Viewer->updatetraversal() blocking the output 
means output becomes strucked. How can i eliminate this  ?

... 

Thank you!

Cheers,
Rambabu

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





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


[osg-users] About Viewer->updateTraversal()

2016-12-27 Thread Rambabu Repaka
Hi,Iam using osg 3.5.1 version Viewer->updatetraversal() blocking the output 
means output becomes strucked. 

... 

Thank you!

Cheers,
Rambabu

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





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


[osg-users] About Boat Movement

2016-12-19 Thread Rambabu Repaka
Hi,How to make Boat oscilate whenver water hits in osg ?

... 

Thank you!

Cheers,
Rambabu

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





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


Re: [osg-users] Triton Ocean

2016-12-15 Thread Rambabu Repaka
Hi,Thanks Robert I thought it is not an email id.

... 

Thank you!

Cheers,
Rambabu

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





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


Re: [osg-users] Triton Ocean

2016-12-14 Thread Rambabu Repaka
Hi,Chris hanson where we find the headers in the forum.

... 

Thank you!

Cheers,
Rambabu

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





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


Re: [osg-users] Triton Ocean

2016-12-13 Thread Rambabu Repaka
Hi,Can u give your email id i can ask in mails ? wave swing means like in ocean 
shore part waves raising to some what and in ocean middle part ocean waves are 
normal.I thought swing suits to the wave.

... 

Thank you!

Cheers,
Rambabu

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





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


Re: [osg-users] Triton Ocean

2016-12-13 Thread Rambabu Repaka
Hi,Inside triton osg code is using only thats why i asked if anyone knows tell 
me ?

... 

Thank you!

Cheers,
Rambabu

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





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


[osg-users] Triton Ocean

2016-12-13 Thread Rambabu Repaka
Hi,How to increase Wave swing in triton ocean.

... 

Thank you!

Cheers,
Rambabu

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





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


Re: [osg-users] How to Draw Infinte 3D Grid in osg

2016-12-12 Thread Rambabu Repaka
Hi,Robert i saw the projective texturing and osg::TexGen/TexGenNode files iam 
unable to draw the grid starting trouble ? Can you explain how to start drawing 
the 3d grid.

... 

Thank you!

Cheers,
Rambabu

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





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


[osg-users] About Infinite Grid

2016-12-10 Thread Rambabu Repaka
Hi, Robert can u help me in drawing the grid i read the topics but iam unable 
to draw the 3d grid.can you explain in detail about that grid drawing in the 
osg.

... 

Thank you!

Cheers,
Rambabu

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





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


Re: [osg-users] Detail Texture

2016-12-10 Thread Rambabu Repaka
Hi,Hi,Here we can add texture image by using imageoverlay function i posted the 
code below it explains all about it.

#include 

osg::ref_ptr root = new osg::Group;
ImageOverlay *imageoverlay = NULL;
osg::ref_ptr image = osgDB::readImageFile("Indiaimage.jpg");
imageoverlay = new ImageOverlay(mapNode, image);
imageoverlay->setBounds(Bounds(74.56, 26.21, 77.12, 28.36));
root->addChild(imageoverlay);

Detail texture file is not there in osg earth ? Hope this provide the required 
image on the osgearth with latitude,longitude readings.


... 

Thank you!

Cheers,
Rambabu

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





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


Re: [osg-users] Detail Texture

2016-12-10 Thread Rambabu Repaka
Hi,Here we can add texture image by using imageoverlay function i posted the 
code below it explains all about it.

#include 

osg::ref_ptr root = new osg::Group;
ImageOverlay *imageoverlay = NULL;
osg::ref_ptr image = osgDB::readImageFile("Indiaimage.jpg");
imageoverlay = new ImageOverlay(mapNode, image);
imageoverlay->setBounds(Bounds(74.56, 26.21, 77.12, 28.36));
root->addChild(imageoverlay);

Detail texture file is not there in osg earth ?  Hope this provide the required 
on the earth.




... 

Thank you!

Cheers,
Rambabu

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





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


Re: [osg-users] Offscreen rendering with multisampling

2016-12-09 Thread Rambabu Repaka
Hi,
Use osg::DisplaySettings::instance()->setNumMultiSamples(4); in the first line 
of main function then you will get antialised one.
... 

Thank you!

Cheers,
Rambabu

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





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


Re: [osg-users] Offscreen rendering with multisampling

2016-12-09 Thread Rambabu Repaka

Kris wrote:
> Hello everyone,
> 
> I'm working on a company project that displays navigation maps for ships with 
> OpenSceneGraph.
> The product we develop is a library that generates map images, so a customer 
> (developer)
> can use our library to develop its own navigation system.
> 
> This requires to generate a offscreen image and if possible an antialiased 
> one.
> Unfortunately we can not generate a antialiased offscreen image.
> 
> I already tried 
> > osg::DisplaySettings::instance()->setNumMultiSamples(4);
> 
> and 
> > traits->samples = 4;
>  to create a osg::GraphicsContext
> but this only works with a window generated from OpenSceneGraph or
> with a embedded context (osgViewer::GraphicsWindowEmbedded()).
> 
> I know we can enable "GL_LINE_SMOOTH". This is what we use at this moment and 
> it is
> working with offscreen rendering but we really need multisampling for better 
> results (or any other form of anitaliasing).
> 
> I created a small peace of C++ sourcecode on a Linux system that does 
> offscreen rendering (with a pbuffer)
> into a tga image file (I think you also need OpenSceneGraph plugins for that 
> to work),
> so you can roughly see how we use it at this moment (without GL_LINE_SMOOTH 
> to keep it simple).
> 
> Of course I looked into the examples and this peace of code is based of one 
> of them.
> But I could not spot anything in the examples that could help me.
> I also searched in the forum on this topic but most threads about offscreen 
> rendering don't consider if multisampling is enabled.
> 
> I would really appreciate if someone could help us with this small code in 
> the right direction
> or make any suggestion if there is any other way to solve this if 
> OpenSceneGraph is not able to do this.
> 
> A main.cpp and a CMakeLists.txt should be attached to this post.
> 
> Thank you very much,
>   Kris


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





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


Re: [osg-users] How to Draw Infinte 3D Grid in osg

2016-12-08 Thread Rambabu Repaka
Hi,Thanks robert and iam going step by step.

... 

Thank you!

Cheers,
Rambabu

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





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


Re: [osg-users] How to Draw Infinte 3D Grid in osg

2016-12-08 Thread Rambabu Repaka
Hi,I Want Projected onto to terrain

... 

Thank you!

Cheers,
Rambabu

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





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


Re: [osg-users] How to Draw Infinte 3D Grid in osg

2016-12-08 Thread Rambabu Repaka
Hi,I want 2D planar grid rendering in a 3d scene and infinte means endless like 
osg ocean endless ocean.l

... 

Thank you!

Cheers,
Rambabu

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





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


Re: [osg-users] Detail Texture

2016-12-08 Thread Rambabu Repaka
Hi,Not Excepting #include  error: No file it is 
showing

... 

Thank you!

Cheers,
Rambabu

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





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


[osg-users] How to Draw Infinte 3D Grid in osg

2016-12-07 Thread Rambabu Repaka
Hi,How to draw a Infinte 3D Grid in osg ? 

... 

Thank you!

Cheers,
Rambabu

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





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


[osg-users] Detail Texture

2016-12-07 Thread Rambabu Repaka
Hi,
DetailTexture* detail = new DetailTexture();
detail->setImage(osgDB::readImageFile("mytexture.jpg"));
detail->setIntensity(0.5f);
detail->setImageUnit(4);
mapNode->getTerrainEngine()->addEffect(detail);
   what is the header file for detail texture to work in osg earth ? It is 
showing error at detail texture.

... 

Thank you!

Cheers,
Rambabu

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





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


[osg-users] How to merge osgocean and osgearth

2016-12-07 Thread Rambabu Repaka
Hi,Iam having separately osgocean output and osgearth outputs how to merge both 
in 3.4.0 version visual studio 2013.

... 

Thank you!

Cheers,
Rambabu

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





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


Re: [osg-users] Flat Earth Files

2016-12-06 Thread Rambabu Repaka
Hi,Sorry spelling mistake I Tried with that files but still globe earth is 
coming if we perform zooming in then some part flat.I want flat terrain files.


... 

Thank you!

Cheers,
Rambabu

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





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


Re: [osg-users] Flat Earth Files

2016-12-06 Thread Rambabu Repaka
Hi,I Tried with that files but still global earth is coming if we perform 
zooming in then some part flat.I want flat terrain files.

... 

Thank you!

Cheers,
Rambabu

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





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


[osg-users] Flat Earth Files

2016-12-06 Thread Rambabu Repaka
Hi,In osgearth upon builiding globe output for all examples using .earth files 
.Can anyone have the data files for flat earth.

... 

Thank you!

Cheers,
Rambabu

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





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


Re: [osg-users] Upon Clicking the mouse left button the model should appear there

2016-12-05 Thread Rambabu Repaka
Hi,Model is moving upon clicking mouse button but problem is it is not 
appearing at clicking place,Constantly it is translating.How can i do to 
display the model at exact clicking place.

... 

Thank you!

Cheers,
Rambabu

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





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


Re: [osg-users] Upon Clicking the mouse left button the model should appear there

2016-12-05 Thread Rambabu Repaka
Hi,Model is Loading but requirement is where the mouse button clicks it should 
display there.

... 

Thank you!

Cheers,
Rambabu

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





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


[osg-users] Upon Clicking the mouse left button the model should appear there

2016-12-04 Thread Rambabu Repaka
Hi,
float CenLat = 12.0, CenLon = 77.0;
float MinLat, MaxLat,MinLon,MaxLon;
float Width = 1280, Height = 1024;
float DifLat, DifLon,scale;
float x,y,PrevX,PrevY;
class ModelController : public osgGA::GUIEventHandler
{
public:
ModelController(osg::MatrixTransform* node) : _model(node) {}
virtual bool handle(const osgGA::GUIEventAdapter& ea, 
osgGA::GUIActionAdapter& aa);
protected:
osg::ref_ptr _model;

};

bool ModelController::handle( const osgGA::GUIEventAdapter& 
ea,osgGA::GUIActionAdapter& aa )
{
if ( !_model ) return false;
float msePreLon = MinLon + ((ea.getX())/scale);
float msePresLt = MinLat + ((ea.getY())/ scale);
if (msePreLon > 180){
msePreLon = 180;
}
else if (msePreLon < -180)  {
msePreLon = -180.0;
}
if (msePresLt > 90) {
msePresLt = 90;
}
else if (msePresLt < -90)   {
msePresLt = -90;
}
osg::Matrix matrix   =  _model->getMatrix();
switch ( ea.getEventType() )
{
case osgGA::GUIEventAdapter::LEFT_MOUSE_BUTTON:
{
CenLon = msePreLon;
CenLat = msePresLt ;
if ((CenLon - (DifLon / 2.0)) < -180)   { CenLon = -180 + 
(DifLon / 2.0); }
else if ((CenLon + (DifLon / 2.0)) > 180)   { CenLon =  180 - 
(DifLon / 2.0); }
if ((CenLat - (DifLat / 2.0)) < -90){ CenLat =  -90 + 
(DifLat / 2.0); }
else if ((CenLat + (DifLat / 2.0)) > 90){ CenLat =   90 - 
(DifLat / 2.0); }
MinLon = CenLon - (DifLon / 2.0);
MinLat = CenLat - (DifLat / 2.0);
MaxLon = CenLon + (DifLon / 2.0);
MaxLat = CenLat + (DifLat / 2.0);
//matrix *= osg::Matrix::scale(scale,scale,0.0);
matrix *= osg::Matrix::translate(CenLon, 0.0, CenLat);
}
_model->setMatrix( matrix );

}
return false;
}
int main(int argc, char **argv)
{
osg::DisplaySettings::instance()->setNumMultiSamples(4);
scale = Width;
osg::ref_ptr model = 
osgDB::readNodeFile("D:/RamFolder/OSG/OSG_Binary/OpenSceneGraph-3.0.1-VS9.0.30729-x86-debug-12741/data/cessna.osg");
osg::ref_ptr mt = new osg::MatrixTransform;
mt->addChild(model.get());
osg::ref_ptr projection = new osg::Projection;
projection->setMatrix(osg::Matrix::ortho2D(-Width/2, Width / 2, 
-Height/2, Height / 2));
projection->addChild(mt.get());
if (scale < Width / 2)  {
scale = Width / 2;
}
if (scale > Width * 100){
scale = Width * 100;
}
DifLat = Width / scale;
DifLon = Height / scale;

if ((CenLon - (DifLon / 2.0)) < -180)   { CenLon = -180 + (DifLon / 
2.0); }
else if ((CenLon + (DifLon / 2.0)) > 180)   { CenLon = 180 - (DifLon / 
2.0); }
if ((CenLat - (DifLat / 2.0)) < -90){ CenLat = -90 + (DifLat / 
2.0); }
else if ((CenLat + (DifLat / 2.0)) > 90){ CenLat = 90 - (DifLat / 
2.0); }
MinLon = CenLon - (DifLon / 2.0);
MinLat = CenLat - (DifLat / 2.0);
MaxLon = CenLon + (DifLon / 2.0);
MaxLat = CenLat + (DifLat / 2.0);

osg::ref_ptr ctrler = new ModelController(mt.get());

osgViewer::Viewer viewer;
viewer.setSceneData(projection.get());
viewer.addEventHandler(ctrler.get());
viewer.setUpViewInWindow(500, 500, 500, 500);
return viewer.run();
}

Upon clicking the mouse left button the model should appear there.But it is not 
happening.can anyone help me in finding the solution?

... 

Thank you!

Cheers,
Rambabu

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





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


[osg-users] x and y coordinates

2016-12-02 Thread Rambabu Repaka
Hi,In opengl we can get event->x() and event->y() mouse events are there.For 
osg how to get these events.

... 

Thank you!

Cheers,
Rambabu

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





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


[osg-users] MouseEvents

2016-11-28 Thread Rambabu Repaka
Hi,How to do mouse zoom in and zoom out events using keyboard buttons in osg.

... 

Thank you!

Cheers,
Rambabu

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





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


[osg-users] OsgOcean

2016-11-28 Thread Rambabu Repaka
Hi,In osgocean ocean output part is limited to particular size how to get the 
full screen ocean part,Where i have to change the code.

... 

Thank you!

Cheers,
Rambabu

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





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


Re: [osg-users] [solved] Using KDtree breaks rendering

2016-11-26 Thread Rambabu Repaka
Hi,If anyone have the source code for plain terrain creation share the link ?

... 

Thank you!

Cheers,
Rambabu

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





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


Re: [osg-users] [osgPlugins] Exporting OpenFlight from OSG and DDS textures

2016-11-25 Thread Rambabu Repaka
Hi,In main function camera coordinates are osg::Vec3initialCameraPosition(0.0, 
0.0, 20.0);
How i can change the camera view continuously along with the model movement.
... 

Thank you!

Cheers,
Rambabu

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





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


Re: [osg-users] [osgPlugins] Exporting OpenFlight from OSG and DDS textures

2016-11-24 Thread Rambabu Repaka
Hi,What is the equivalent function for std::max in osg 3.4.0
   deltaMax  = std::max(deltaMax, delta);
  showing error not a member of std.

... 

Thank you!

Cheers,
Rambabu

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





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


Re: [osg-users] [osgPlugins] Exporting OpenFlight from OSG and DDS textures

2016-11-24 Thread Rambabu Repaka
Hi,

dynamic_cast (*_oceanSurface->getCullCallback()) 
(_oceanSurface.get(), );

still showing error .How can i do ?

... 

Thank you!

Cheers,
Rambabu

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





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


Re: [osg-users] [osgPlugins] Exporting OpenFlight from OSG and DDS textures

2016-11-24 Thread Rambabu Repaka
Hi,In osg 3.2.3 
(*_oceanSurface->getCullCallback())(_oceanSurface.get(), ); is working but 
in osg 3.4.0 error is showing 

Error   2   error C2064: term does not evaluate to a function taking 2 
argumentsD:\osgocean-master1\osgocean-master\src\osgOcean\OceanScene.cpp 
884 1   osgOcean

How can i solve this ?

in osg 3.2.3 getcullcallback() is in nodecallback 
in osg 3.4.0 getcullcallback() is in callback


... 

Thank you!

Cheers,
Rambabu

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





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


Re: [osg-users] [osgPlugins] Exporting OpenFlight from OSG and DDS textures

2016-11-23 Thread Rambabu Repaka
Hi,i am not getting silverling sky in osgearth,can anyone explain with examples

... 

Thank you!

Cheers,
Rambabu

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





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


Re: [osg-users] [osgPlugins] Exporting OpenFlight from OSG and DDS textures

2016-11-23 Thread Rambabu Repaka
Hi,separate osg sky source code is available or we have to extract from 
osgearth ?

... 

Thank you!

Cheers,
Rambabu

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





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


Re: [osg-users] [osgOcean] Dose anybody has other learing resources about osgOcean?

2016-11-21 Thread Rambabu Repaka
Hi,Can anyone have the source code of latest version of osg ocean (except osg 
ocean 1.0).

...


Thank you!

Cheers,
Rambabu

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





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


Re: [osg-users] [osgPlugins] Exporting OpenFlight from OSG and DDS textures

2016-11-21 Thread Rambabu Repaka
Hi,Can anyone provide the link for download of jpeg and png plugins for osg 
3.5.1 version.

... 

Thank you!

Cheers,
Rambabu

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





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


Re: [osg-users] [osgPlugins] Exporting OpenFlight from OSG and DDS textures

2016-11-18 Thread Rambabu Repaka
Hi,How to convert the .osg files like cessna.osg to .flt files.

... 

Thank you!

Cheers,
Rambabu

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





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


Re: [osg-users] Rotation of a node starts clockwise and ends counter-clockwise.

2016-11-18 Thread Rambabu Repaka
Hi,Not like that i just asking if anyone used it previous.

... 

Thank you!

Cheers,
Rambabu

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





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


Re: [osg-users] Rotation of a node starts clockwise and ends counter-clockwise.

2016-11-17 Thread Rambabu Repaka
Hi,Can anyone provide the link for the download of t72-tank_des textures.

... 

Thank you!

Cheers,
Rambabu

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





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


Re: [osg-users] Rotation of a node starts clockwise and ends counter-clockwise.

2016-11-17 Thread Rambabu Repaka
Hi,Iam not asking about model rotation.Iam asking about how to rotate the nodes 
in a model.Like in cessna left and right fans rotation. 

... 

Thank you!

Cheers,
Rambabu

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





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


Re: [osg-users] Rotation of a node starts clockwise and ends counter-clockwise.

2016-11-17 Thread Rambabu Repaka
Hi,Where i can get osgtank model for download.If anyone having a model share 
the link down.

... 

Thank you!

Cheers,
Rambabu

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





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


Re: [osg-users] Rotation of a node starts clockwise and ends counter-clockwise.

2016-11-17 Thread Rambabu Repaka
Hi,Can anyone tell how to do the nodes rotation for the osg model like cessna. 

... 

Thank you!

Cheers,
Rambabu

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





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


Re: [osg-users] ECEF Oriented Compass Implementation

2016-11-16 Thread Rambabu Repaka
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 topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=69395#69395





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


Re: [osg-users] ECEF Oriented Compass Implementation

2016-11-16 Thread Rambabu Repaka
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





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


Re: [osg-users] ECEF Oriented Compass Implementation

2016-11-16 Thread Rambabu Repaka
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 setNeedle( osg::MatrixTransform* needle ) {_needleTransform = 
needle; }
void setMainCamera( osg::Camera* camera ) {_mainCamera = camera; }
virtual void traverse( osg::NodeVisitor& nv );
protected:
virtual ~Compass();
osg::ref_ptr _plateTransform;
osg::ref_ptr _needleTransform;
osg::observer_ptr _mainCamera;
};

Compass::Compass( const Compass& copy, osg::CopyOp copyop ):osg::Camera(copy, 
copyop),
_plateTransform(copy._plateTransform),
_needleTransform(copy._needleTransform),
_mainCamera(copy._mainCamera)
{
}

void Compass::traverse( osg::NodeVisitor& nv )
{
if ( _mainCamera.valid() 
&()==osg::NodeVisitor::CULL_VISITOR )
{
osg::Matrix matrix = _mainCamera->getViewMatrix();
matrix.setTrans( osg::Vec3() );
osg::Vec3 northVec = osg::Z_AXIS * matrix;
northVec.z() = 0.0f;
northVec.normalize();
osg::Vec3 axis = osg::Y_AXIS ^ northVec;
float angle = atan2(axis.length(), 
osg::Y_AXIS*northVec);axis.normalize();
if ( _plateTransform.valid() )
_plateTransform->setMatrix( osg::Matrix::rotate(angle, axis) );
}   
_plateTransform->accept( nv );
_needleTransform->accept( nv );
osg::Camera::traverse( nv );
}

compass class created but it is showing linker errors due to missing of 
library.How can i get that library file in osg.

... 

Thank you!

Cheers,
Rambabu

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





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


Re: [osg-users] ECEF Oriented Compass Implementation

2016-11-16 Thread Rambabu Repaka
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





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


Re: [osg-users] World to local coordinates

2016-11-15 Thread Rambabu Repaka
Hi,Robert don't be too angry on me.Iam new to osg little bit of confusion about 
all classes and functions.One doubt how to know screen coordinates of osg.

... 

Thank you!

Cheers,
Rambabu

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





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


Re: [osg-users] World to local coordinates

2016-11-15 Thread Rambabu Repaka
Hi,I got the answer thanks for helping me and iam a beginner in osg learning 
slowly and sorry disturbing all for asking simple questions.

... 

Thank you!

Cheers,
Rambabu

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





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


Re: [osg-users] World to local coordinates

2016-11-15 Thread Rambabu Repaka
Hi,In osgsimulation source code if we comment the rotation of  cessna model 
line the cessna is not viewing,What is the problem can anyone tell.

... 

Thank you!

Cheers,
Rambabu

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





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


Re: [osg-users] World to local coordinates

2016-11-15 Thread Rambabu Repaka
Hi,Iam facing problem in implementing the logic for viewing the osg model using 
latitude,longitude and height readings.Can anyone tell me how to do it.

... 

Thank you!

Cheers,
Rambabu

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





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


Re: [osg-users] World to local coordinates

2016-11-12 Thread Rambabu Repaka
Hi,Sorry for asking number and i will ask doubts in this forum only.

... 

Thank you!

Cheers,
Rambabu

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





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


Re: [osg-users] convertLatLongHeightToXYZ

2016-11-12 Thread Rambabu Repaka
Hi,Can anyone post a code where function converts latitude,longitude,height to 
x,y,z and returns the x,y,z coordinates in osg.

... 

Thank you!

Cheers,
Rambabu

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





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


Re: [osg-users] World to local coordinates

2016-11-11 Thread Rambabu Repaka
Hi,Thanks for your help and robert can u give your number where in whatsapp i 
can ask more doubts about osg.

... 

Thank you!

Cheers,
Rambabu

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





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


Re: [osg-users] World to local coordinates

2016-11-11 Thread Rambabu Repaka
Hi,
Thanks robert and Iam working on the EllipsoidModel.
One Doubt Is it possible to view  the osg model like cessan.osg using latitude 
and longitude readings at exact position.
... 

Thank you!

Cheers,
Rambabu

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





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


Re: [osg-users] osgText setColor problem

2016-11-11 Thread Rambabu Repaka
Hi,Iam new to osg can anyone help me in setting a color to the 2d text.

... 

Thank you!

Cheers,
Rambabu

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





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


Re: [osg-users] World to local coordinates

2016-11-11 Thread Rambabu Repaka
Hi,
I saw the osg/CoordinateSystemNode but iam unable to to locate the model 
according to latitude and longitude readings.Please share code if anybody knows.
... 

Thank you!

Cheers,
Rambabu :)  :)  :)

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





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


Re: [osg-users] World to local coordinates

2016-11-10 Thread Rambabu Repaka
Hi,Iam new to osg can anyone share the code for using latitude and longitude 
readings to view a model.

... 

Thank you!

Cheers,
Rambabu

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





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