[osg-users] computing triangles?

2012-10-12 Thread Akilan Thangamani
Hi I got a basic doubt on osg terrain construction. When I create a virtual earth with the base layer using bluemarble of 1000m resolution, how many triangular polygons are created and what is computation basis for it? Is the number varies(computed) to different LOD? -- Read

Re: [osg-users] Releasing Graphics context?

2012-09-13 Thread Akilan Thangamani
Robert, Actually I m creating new context and assigning to already existing camera. I use CompositeViewer. I tried removing camera from the view but the error stands still. Let me try out the second one and get back. In case of having just Viewer, is there any other way to do it? Thanks

Re: [osg-users] Releasing Graphics context?

2012-09-13 Thread Akilan Thangamani
Hi Robert My OSG version is 3.0.1. Is close() the right call to release the context completely? -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=50038#50038 ___ osg-users mailing list

[osg-users] Releasing Graphics context?

2012-09-12 Thread Akilan Thangamani
Hi, My application renders on multiple screens and each attached with seperate graphics context. The apps demands addition/removal of any graphics context dynamically. Suppose when the context is removed and added subsequently for the same screen, it throws msg like unable to

Re: [osg-users] Releasing Graphics context?

2012-09-12 Thread Akilan Thangamani
Robert I have 2 screens to be rendered with texture2D. I created context to each screen with appropriate screen id such a way, osg::ref_ptrpsg::GraphicsContext::Traits traits = new .; traits-x = 0; traits-y = 0; traits-screenNum = 0; //1 for other screen trait-width = screen_width;

[osg-users] Best way of adding more models?

2012-08-29 Thread Akilan Thangamani
Hi I was trying an application which renders some models on android phone using osg. The application requires more number of models to be loaded. As the number of models increases the rendering gets slowed down drastically as expected. The way I do is that under a group node all other nodes

[osg-users] Geographic earth in OSG?

2012-05-15 Thread Akilan Thangamani
Hi, I created virtual earth as follows, osg::Node* createEarth() { osg::TessellationHints* hints = new osg::TessellationHints; hints-setDetailRatio(5.0f); osg::ShapeDrawable* sd = new osg::ShapeDrawable(new

Re: [osg-users] Geographic earth in OSG?

2012-05-15 Thread Akilan Thangamani
Hi, True. There is no problem with osgearth as it has well wrapped with projection information. I did not face any issue with that. But the samething when tried with OSG alone, i observed some issues. I put the pbm this way, suppose for given latitude and longitude as 11.0 and 77.0 (to be

[osg-users] IllegalArgumentException?

2012-05-04 Thread Akilan Thangamani
Hi I compiled osg3.0.1 for android for GLES1. I seleceted avd of Android2.2 with API level of 8. There is no problem in starting the emulator.fine. I also compiled osgAndroidExampleGLES1 without any issue on eclipse. Running the application throws the following error, 05-04 05:38:01.375:

Re: [osg-users] [build] [Tutorial] Building osgAndroidExampleGLES1/2 on Ubuntu 11.10

2012-05-04 Thread Akilan Thangamani
Hi I compiled osg3.0.1 for android for GLES1. I seleceted avd of Android2.2 with API level of 8. There is no problem in starting the emulator.fine. I also compiled osgAndroidExampleGLES1 without any issue on eclipse. Running the application throws the following error, 05-04 05:38:01.375:

[osg-users] X11 link for osg compile?

2012-04-22 Thread Akilan Thangamani
Hi I tried to compile osg 3.0.1. with cygwin. Almost all the dependencies installed during cygwin setup including necessary libs of X11. But the compilation of osgviewer throws the following linker error, Linking CXX shared library ../../bin/cygosgViewer-80.dll Creating library file:

[osg-users] Android on windows?

2012-04-21 Thread Akilan Thangamani
Hi I gone through many installation procedures of osg with android. All emphasized on linux. Nowhere I could find for windows. Can android be configured with X-windows system only? Thanks -- Read this topic online here:

[osg-users] loading to texture memory?

2012-04-11 Thread Akilan Thangamani
Hi, I have GPU of having 1GB texture memory. I like to load large volume of data into texture memory( using SetImage()), but less than 1GB, and render part by part of the data for every frame. Does OSG contains any function call to transfer only portion of texture memory to the display? To my

[osg-users] .ive acronym?

2012-04-06 Thread Akilan Thangamani
hi I could not find the acronym of .ive. Every where it is said that it is OSG truncated binary format. But from where these three letters have been taken?? -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=46906#46906

[osg-users] geometry indexes?

2012-01-16 Thread Akilan Thangamani
Hi Is there any easy way to find vertices's index for the shapes like Cone, Cube etc., in osg::shape? Otherwise, should it be done thru graph note book only? Thanks -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=44869#44869

[osg-users] osgQt Multiscreen crashes?

2011-08-19 Thread Akilan Thangamani
Hi, I have installed osg3.0 on Linux system connected with two monitors thru separate graphics cards, say screen1 and screen2. On screen2 I have my GUI using qt. In the GUI, one of the widgets is made based on osgQt to show an osg modal. That model is set with the camera attached with the

[osg-users] CullDrawthreading on multicards?

2011-06-02 Thread Akilan Thangamani
Hi, I am rendering textures on 8 graphics cards, each connected to one monitor. The cards, ATI Firestream 9250 series, are connected to system through PCI extension slots. If I set CullDrawThreadPerContext to composite viewer, the application crashes down. Its working with SingleThreaded

[osg-users] North compass

2010-10-04 Thread Akilan Thangamani
; } ... ... ... For every FRAME: ... .. osg::Vec3d newpos=viewer.getCameraManipulator()-getViewPoint(); osg::Matrixd rot=calculatePositionMatrix(ellip_model, newpos, oldpos); compassMT-preMult(rot); oldpos=newpos; . Thanks, A. Akilan -- Read this topic online here: http

[osg-users] context on different graphics cards?

2010-08-25 Thread Akilan Thangamani
for nVidia card which is connected to another 3rd monitor. createGraphicsContext() fails. I m not sure what needs to be done. Thank you! Cheers, Akilan -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=31027#31027

Re: [osg-users] context on different graphics cards?

2010-08-25 Thread Akilan Thangamani
yes. I m trying it out on windows 7 only. -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=31033#31033 ___ osg-users mailing list osg-users@lists.openscenegraph.org

[osg-users] synchronizing multi rendering?

2010-07-10 Thread Akilan Thangamani
are not getting synchronized with each other. Means that one is going bit ahead of another one. Even though I set my composite viewer with single threaded, I dnt understand why this happens so? I m not sure what needs to be done. Akilan -- Read this topic online here: http

[osg-users] Texture rendering performance issue

2010-07-02 Thread Akilan Thangamani
Hi, My system is connected with AMD Firestream 9250 having 1GB of card memory. I do some of GPGPU computations on the card. At the same time, using OSG I do texture rendering as a stream, in parallel. The rendering of texture effects performance down for GPGPU computation.

[osg-users] osgwidget with texture setting?

2010-05-11 Thread Akilan Thangamani
). I m not sure how to set the widgets as foreground and textures behind it? Akilan -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=27752#27752 ___ osg-users mailing list osg-users

[osg-users] Transformation on osgWidget?

2010-05-09 Thread Akilan Thangamani
Hi, I had installed osg2.9.6. osgWidget::Box is being used in my application. It provides, by default, transformation functionalities. Regarding rotation, it provides setRotation(osgWidget::matrix_type) to do that. But I am not sure how to specify the axis about which rotation to be done. I

Re: [osg-users] openGL error with osgEarth?

2010-04-28 Thread Akilan Thangamani
beyond that it throws the openGL error. Have a look at my code. Is there any other way to do the same. Akilan. A Code: class monitorCallback : public osg::NodeCallback { public: monitorCallback(osgEarth* map) { _map=map; } virtual void operator()(osg

Re: [osg-users] osgEarth fading effect?

2010-04-21 Thread Akilan Thangamani
blending/fading layers is not happening. Pls let me understand the problem. Akilan. A -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=27057#27057 ___ osg-users mailing list osg-users

Re: [osg-users] osgEarth fading effect?

2010-04-21 Thread Akilan Thangamani
Hi zonk, To say straghtly, same region has been constituted by multi resolution tiles. The transition from coarser to better resolution tile will take place based on the height we are. As u said, exactly I like to know about the LOD popping by fadding only. Akilan

[osg-users] osgEarth fading effect?

2010-04-15 Thread Akilan Thangamani
by changing alpha values of the tiles? Akilan. A -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=26886#26886 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org

Re: [osg-users] osgEarth fading effect?

2010-04-15 Thread Akilan Thangamani
values of the tiles? Akilan -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=26887#26887 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg

Re: [osg-users] osgEarth fading effect?

2010-04-15 Thread Akilan Thangamani
akilan wrote: Hi robert true. My imagery tiles have been constructed as layers such a way coarser resolution images lies at the top and higher resolution images at bottom.When my scene is zoomed-in, I like to have the appearance of higher resolution tiles like fading

[osg-users] osgEarth fading effect?

2010-04-14 Thread Akilan Thangamani
Hi, Similar to osgEarth which provides to set fading effect to the terrain tiles, could it be is possible to get the same effect directly from osg alone and how? Bcoz, to exploit that feature from osgEarth, it puts some constraints like the terrainDB should be generated with --terrain

Re: [osg-users] Multicard memory allocation?

2010-04-13 Thread Akilan Thangamani
Hi robert, Thanks for ur clarification. In our setup, all powerwall displays are of 1280*1024. I m rendering a texture of 1280*1024 with the cameras viewport set in such a way it will be projected on big screen as 1280*1024. That means, as 512*1024 I m creating 3 textures(last

[osg-users] Multicard memory allocation?

2010-04-09 Thread Akilan Thangamani
to render my scene. Akilan -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=26629#26629 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users

[osg-users] osgText and Texture

2010-04-01 Thread Akilan Thangamani
Hi, I created a texture and set to a camera. Another camera was set to a text. Text and the texture are in different views. Always the text goes behind the texture. What needs to be done to make the text appear always in front? I tried by setting the texture state's rendering hint as

Re: [osg-users] osgText and Texture

2010-04-01 Thread Akilan Thangamani
Hi robert, True. I do follow the osgHud example. But I am trying to display lat, lon values as text on mouse move over texture set from buffer. Anyway we use our own tranformation. But I couldn 't set the transparency. Have a look @ my code and let me get the mistake i do. Code:

[osg-users] Setting camera to texture

2010-03-26 Thread Akilan Thangamani
Hi, My screen resolution is 1920*1200 and I rendered a texture with the geometry as top_left(0.0,1.2), top_right(1.92, 1.2), bottom_left(0.0, 0.0) and bottom_right(1.92, 0.0). Camera is set as, ... .. camera-setViewPort(0,0, 1920, 1200);

Re: [osg-users] Setting camera to texture

2010-03-26 Thread Akilan Thangamani
Hi, The code written is, . int numCameras=2; int numScreens=2; int width=1920 * numScreens; int height=1200; void setView(osgViewer::View* view, int screen_no) { double aspectRatioScale = 1.0; osg::ref_ptrosg::GraphicsContext::Traits traits = new

Re: [osg-users] Setting camera to texture

2010-03-26 Thread Akilan Thangamani
Hi Nick Find my code below to compile, Code: #include osg/Node #include osg/Geometry #include osg/Notify #include osg/MatrixTransform #include osg/Texture2D #include osg/DrawPixels #include osg/PolygonOffset #include osg/Geode #include osgDB/Registry #include osgDB/ReadFile #include

[osg-users] GraphicsContext on Multiple Graphics cards?

2010-03-24 Thread Akilan Thangamani
Hi, 4 graphics cards have been installed in my system thru PCI extension board. In my application I want to associate individual camera with each context created on each card. I wud like to know how to create context for specific graphics card/display. -- Read this topic

[osg-users] positioning osg model at lat, lon

2010-03-23 Thread Akilan Thangamani
Hi, I tried to place cessna model at given latitude and longitude on a earth model created by geotiff earth file warped over sphere (similar to the example osgSimulation). But the model is positioned at some strange place. The way I do placing is, ... .

Re: [osg-users] Multi screen display issue

2010-03-16 Thread Akilan Thangamani
Hi, Actually I like to display a big video stream in original resolution, 3840 * 1 (width * height). The video will run contiguously upward covering the width resolution as it is. We don't want to configure Xinerama due to some other reasons. But when we run osgviewer to display some of

Re: [osg-users] Display from buffer

2010-03-15 Thread Akilan Thangamani
Hi, Thanks. It's working fine. -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=25643#25643 ___ osg-users mailing list osg-users@lists.openscenegraph.org

[osg-users] Multi screen display issue

2010-03-15 Thread Akilan Thangamani
Hi, I connected 2 monitors to my graphics card in such a way dat my desktop resolution is expanded doubly( width wise). My osg application renders a texture on both the screen contiguously by setting 2 seperate cameras for each screen, in the same way specified in osgCamera example.

[osg-users] Display from buffer

2010-03-10 Thread Akilan Thangamani
Hi, For displaying any .jpg/.tif file, we create texture and then doing so. Using OSG how to display pixels from a buffer straightaway as it could be done using openGL? Is it possible to by-pass osgDB::readImageFile(..) to read image content from buffer instead of from file?

Re: [osg-users] Display from buffer

2010-03-10 Thread Akilan Thangamani
Thanks. Yes. I m using osg::Image to set my pixel buffer. I set GL_LUMINANCE as internal pixel format. But I m getting only black image. My code looks like this, .. unsigned char* data; int width, height; width=4200; //source_image width height=4710;//source_image height long size = width

[osg-users] [3rdparty] Config url compile error?

2010-02-23 Thread Akilan Thangamani
Hi, I have just started working on osgEarth. I wrote my first code with osg2.8.2 to load a map something like ... #include osgEarth/Config ... Config conf; conf[url]=../data/world.tif; . Compiling the program gives an error saying dat ther s no predefinition for url.

[osg-users] GL_COLOR_MATERIAL setting problem?

2010-02-22 Thread Akilan Thangamani
Hi, I installed osg 2.8.2 by compiling all 3rd party sources including glut. I tried to run one of example, osgblendequation, it throws the following error, Error: Setting mode 'GL_COLOR_MATERIAL' via osg::StateSet::setMode(mode,value) ignored. The mode 'GL_COLOR_MATERIAL' is set by

[osg-users] [osgPlugins] png, tif 3ds files reading problem

2010-02-17 Thread Akilan Thangamani
Hi, Recently I installed osg2.8.2. I compiled the sources (from .svn) successfully. But viewer is saying couldn't find plugin to read .png, tif of 3ds files even if osgdb_freetype.dll is in path and created from compilation. What needs to be done? Thank you! -- Read this

[osg-users] Geotiff rendering?

2010-02-11 Thread Akilan Thangamani
Hi, Suppose when we add ive tiles to a group and render the group, all the tiles are placed at corresponding places according to their lat and lon. But when I m trying to do the same using just tif files it s not happening so. Instead, multiple tif tiles are overlaid one over other. Anyway tif

Re: [osg-users] Setting fading property to node

2009-12-04 Thread Akilan Thangamani
, Akilan -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=20859#20859 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

[osg-users] Setting fading property to node

2009-12-03 Thread Akilan Thangamani
Hi, In my terrain I wud like to display the tiles with fading fashion as is available in osgText.Is it possible to do? Thank you! Cheers, Akilan -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=20799#20799

[osg-users] smooth layer transistion?

2009-11-11 Thread Akilan Thangamani
tile disappears and next layer is brought up. I would like it to happen so smoothly. Whether do I have to set mipmap filter to acquire such smooth transition? Thank you! Cheers, Akilan -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=19468#19468

[osg-users] Transforming on coordinate system

2009-09-11 Thread Akilan Thangamani
::rotate(osg::DegreesToRadians(90.),osg::Vec3f(1.0,0.0,0.0)); .. Thank you! Cheers, Akilan -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=17275#17275 ___ osg-users mailing list osg-users

Re: [osg-users] problem in camera rotation

2009-09-10 Thread Akilan Thangamani
)); viewer.getCameraManipulator()-setHomePosition(eye,center,up); viewer.home(); viewer.realize(); while(!viewer.done()) viewer.frame(); return 0; } Cheers, Akilan -- Read this topic

Re: [osg-users] problem in camera rotation

2009-09-10 Thread Akilan Thangamani
Hi, I changed the order of matrix manipulations and put everything in a single transformation only. But the result I m getting is same. The geometry is going out of view. I dont understand the problem. Pls anyone correct me. Thank you! Cheers, Akilan -- Read this topic

[osg-users] problem in camera rotation

2009-09-08 Thread Akilan Thangamani
(45.),osg::osg::Vec3f(1.,0.,0.)); g_camera-setViewMatrix(vmat); .} viewer.frame(); } } I dont understand how my geometry is not getting rotated? What is the problem in this? } } Thank you! Cheers, Akilan -- Read this topic online here: http

Re: [osg-users] problem in camera rotation

2009-09-08 Thread Akilan Thangamani
was that rotating the camera would give the feel of geometry rotation. Is it the correct way to do? Thank you! Cheers, Akilan -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=17141#17141 ___ osg-users

Re: [osg-users] Navigation control

2009-09-08 Thread Akilan Thangamani
Hi, That s fine. But I wanted to know about the type of GUI component has been used for navigation. osgWidget is what I have to choose for such design? What type of file is that?? Thank you! Cheers, Akilan -- Read this topic online here: http://forum.openscenegraph.org

[osg-users] Navigation control

2009-08-20 Thread Akilan
Hi, I would like to design a navigation control similar to the one what google earth is using for navigating my terrain DB. I have OSG 2.2 installed. Do I need anything extra to do that? osgWidget is not available in that. How to do that? Thank you! Cheers, Akilan -- Read

Re: [osg-users] Visualizing Terrain DB on web page

2009-08-18 Thread Akilan
Hi, I updated my firefox 3.0 with the patch given in the following link, http://3d.cineca.it/storage/OSG4Web_test/Windows/test.html . Still I couldn't open my osg file on firefox. Should I do anything more? Thank you! Cheers, Akilan -- Read this topic online here: http

Re: [osg-users] Visualizing Terrain DB on web page

2009-08-17 Thread Akilan
Hi, Yeah, I did in the same way as u said. Wrapped OSG functions into ActiveX control and deployed with IE. It s working fine. But it is not happening so with Firefox. Yes, I need help to deploy using Firefox. Thank you! Cheers, Akilan -- Read this topic online here: http

Re: [osg-users] Visualizing Terrain DB on web page

2009-08-14 Thread Akilan
Hi, I am using Internet Explorer 6.0. And one more thing I have OSG2.2. Is it mandatory to have 2.9.x version to do this. Once the plug-in is added, could we directly see the .ive file on explorer? Thank you! Cheers, Akilan -- Read this topic online here: http

[osg-users] Visualizing Terrain DB on web page

2009-08-08 Thread Akilan
Hi, I would like to visualize my terrain DB constructed using osgdem on web page? Could it be possible? Is there any plug-in to do so? Thank you! Cheers, Akilan -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=16008#16008

[osg-users] How to decode .ive file?

2009-07-19 Thread Akilan
that instead of setting the filename to readNode(), is there any interface to set the buffer directly to construct node in OSG? ... Thank you! Cheers, Akilan -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=15125#15125

[osg-users] Getting the name of the tile being currently loaded?

2009-06-30 Thread Akilan
could it be done?? If the osg::notify could do it, pls tell me the level of notification. ... Thank you! Cheers, Akilan -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=14703#14703 ___ osg-users

Re: [osg-users] [osgPlugins] Failed to read unsigned int value??

2009-04-29 Thread Akilan
Hi . I am using VPB 0.9.1 only for OSG2.2 -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=11029#11029 ___ osg-users mailing list osg-users@lists.openscenegraph.org

[osg-users] [osgPlugins] Failed to read unsigned int value??

2009-04-26 Thread Akilan
Hi, While adding blumarble's .ive file as a child to a group in my application, I m getting the following warning and error, Warning: Could not find plug-in to read objects from file C:\BlueMarble\output_L0_X0_Y0_Subtile.ive Error reading file: DataInputStream::readUInt():Failed to read

Re: [osg-users] Jerky display?

2009-04-22 Thread Akilan
Hi I bit know about the concept of quad tree. But I want to know applying the concept on OSG construction. Can I get any reference for organizing the scenegraph in quad tree form? Pls help me out. Akilan A -- Read this topic online here: http://forum.openscenegraph.org

Re: [osg-users] Jerky display?

2009-04-21 Thread Akilan
Hi The following is the environment which i am working on, Hardware configuration: HP xw4400 Workstation Intel(R) Core(TM)2 CPU 6700 @ 2.66GHz, 2GB RAM NVIDIA Quadro FX 3500 OS: MS Windows XP Professional Version 2002 Service Pack 3,

Re: [osg-users] [osgPlugins] Warning : Could not find plug-in for reading objects from file .osga?

2009-04-07 Thread Akilan
Hi Yes all the DLLs are in PATH. This problem comes when I try to load multiple osga files together. It is reading first few number of files properly. Later, this warning is thrown. Those warned osga files could seperately be loaded. -- Read this topic online here:

Re: [osg-users] Loading of osga models dynamically?

2009-04-06 Thread Akilan
Hi I got some idea from the previous reply and did something in my application. But I am not sure that the my following code is doing dynamic loading, //On reading each node(osga file) osg::Node *node=osgDB::readNodeFile(argv[i]); osg::PagedLOD *pLOD=findPLOD(node); int

[osg-users] [osgPlugins] Warning : Could not find plug-in for reading objects from file .osga?

2009-04-06 Thread Akilan
Hi, I am using osg2.2(from binary executable) on visual studio 2005. My application loads (readNodeFile) osga files from specified folder. It happens properly when the folder contains less number of osga files. When the number of files exceed certain number (say some 500 or more), it throws

[osg-users] Performing zooming and other navigations on geocentric virtual earch?

2009-03-24 Thread akilan
Hi, I have created geocentric(spherical) virtual earth and wanted to do navigate around the earth using keyboard including zooming-in and out. As I m new to OSG I want to understand dat could it be done by setting viewmatrixAsLookAt of views' cameramanipulator? Plz get me some ideas how it