Re: [osg-users] Billbord zooming

2010-10-11 Thread Rahul Jain
Nitin , You can use autotransform node for doing this. Cheers RJ -- Rahul Jain rah...@darshan3d.com +91-98109-83697 Manager, Application Engineering, VizExperts India Pvt. Limited, Gurgaon, Haryana - 122001 www.vizexperts.com Sent from BlackBerry® on Airtel -Original Message- From

Re: [osg-users] Newb looking for tutorial

2009-08-10 Thread Rahul Jain
Hi David, Did you check out this link http://www.openscenegraph.org/projects/osg/wiki/Support/Tutorials. cheers RJ David Goering wrote: Hey, I have been fooling arround with OpenSceneGraph and OSGART the last few weeks, and have very much benefited from your help so far, so thank you ;) Any

[osg-users] Problem with osgpdf on windows

2009-07-01 Thread Rahul Jain
Hi Guys, I am having trouble with running osgpdf example. I have compiled the pdf plugin, but it seems there is some problem while loading the pdf from cairo. Has any one tested the osgpdf example successfully on Windows? If Yes please share the sources of cairo and other dependencies used fo

[osg-users] Using osgWidget Only On one display In Multiple Display Setup

2009-04-27 Thread Rahul Jain
Hi All, I am running my application on multiple displays (0.0 & 0.1). I am using two slave cameras for rendering on to both the displays. The GUI of the application is written using osgWidget. When I run my application the same menu is replicated on both the displays. Is it possible to render

Re: [osg-users] Dinamic Line Drawing

2009-04-09 Thread Rahul Jain
Hi Sergey, You must be creating a osg::Geometry, Right ? If yes then you can use function osg::Vec3Array* vertexData = geom->getVertexArray(). Ones you have vertexData you can add your new vertex as vertexData->push_back(newVertex); cheers RJ Sergey wrote: [quote="Rahul Jain

Re: [osg-users] Dinamic Line Drawing

2009-04-09 Thread Rahul Jain
Hi Sergey, You need to add your new vertices to the geometry vertex data and update the first and size of your primitive set which is drawing the line. For example osg::Geometry* geom // is your geometry osg::DrawArrays* drawArrayLines = new osg::DrawArrays(osg::PrimitiveSet::LINE_

[osg-users] Best mechanism for creating characters ?

2009-01-26 Thread Rahul Jain
Hi All, What is the best mechanism to create the characters to be used with osgAnimation ? cheers RJ ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Re: [osg-users] osgEarth - terrain on demand

2009-01-26 Thread Rahul Jain
and it is > working fine for me in both Windows and Linux now. Can you see if > your test works after an SVN update? > > Thanks! > > PS. The Yahoo Maps and Google Traffic example is my favorite too;) > > Jason > > On Sat, Jan 24, 2009 at 6:43 AM, Rahul Jain <mailto

Re: [osg-users] osgEarth - terrain on demand

2009-01-24 Thread Rahul Jain
HI Glenn, Great work ! I am testing your project and the results are phenomenal. The best example i like is traffic.earth, combining data from google and yahoo is simply awesome :) But i am facing problem while loading local data through osgEarth. I created a simple boston.earth file containi

Re: [osg-users] VPB: Moon sources (was Re: vpb: Spherical terrains?

2008-11-22 Thread Rahul Jain
amotherlode.net/catalog/moon.php > > The better ones are from NASA and the USGS. Google moon has links here > http://www.google.com/moon/about.html > > I'd like to know about your progress with these models. > > Regards, > > -- A. > > On Sat, Nov 22, 2008 at 2:34 AM

Re: [osg-users] vpb: Spherical terrains?

2008-11-22 Thread Rahul Jain
Hi Guys, I also want to create the moon model for my project. But I am not able to find any data sources till now. Glenn, can you tell me the source of the imagery you have used for generating the terrain. Are there any free data sources for the moon imagery ? RJ Alejandro Aguilar Sierra wrote:

Re: [osg-users] VNC client done in 3D

2008-11-16 Thread Rahul Jain
Hi all, Have any body tested it on Windows. I am having trouble compiling it using cygbin. Rahul Robert Osfield wrote: > Hi J-S. > > On Mon, Nov 3, 2008 at 6:08 PM, Jean-Sébastien Guay > <[EMAIL PROTECTED]> wrote: > >> Hi Robert, >> >> >>> osgvnc --host 10.0.0.1 --host 10.0.0.2 >>>

Re: [osg-users] RenderBuffer Use case scenario

2008-11-14 Thread Rahul Jain
: > Hi RJ, > > The RenderBuffer is just a component of a FrameBufferObject, and yes > it is supported by the OSG. And FBO's are used for off screen > rendering and render to texture effects. > > Robert. > > On Fri, Nov 14, 2008 at 8:01 AM, Rahul Jain <[EMAIL PROTECT

[osg-users] RenderBuffer Use case scenario

2008-11-14 Thread Rahul Jain
Hi All, What are the different scenarios in which OpenGL RenderBuffer can be used ? Do we use them in OSG ? Regards RJ ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Re: [osg-users] controlling swap

2008-11-09 Thread Rahul Jain
Hi Ed, I would also recommend to use osgViewer::CompositeViewer from the starting. The reason is that osgViewer::Viewer can be mimicked by osgViewer::CompositeViewer containing a single osgViewer::View RJ Jean-Sébastien Guay wrote: > Hi Ed, > >> After reading "osgViewer::Viewer vs osgViewer

Re: [osg-users] How to speed up osg:Shapedrawable with many instances

2008-10-10 Thread Rahul Jain
HiMike, First of all you should analyze the bottleneck in your application, osgViewer::StatsHandler will give you the time spent in each traversal. >From the problem you are facing it seems you are draw limited(rendering a lot number of triangles). One option will be to create LOD(level of detail

[osg-users] OverlayNode : Proble setting render target implementation

2008-09-11 Thread Rahul Jain
or "cv = 0". I am using OSG 2.6. Am i missing something or this might be a bug. Best regards, Rahul -- Rahul Jain, Member of Technical Staff, Visualization Experts Limited. www.vizexperts.com +91-98109-83697 (M) ___ osg-users ma

[osg-users] Problem rendering Overlay node

2008-09-10 Thread Rahul Jain
ayBaseHeight(0.0); olNode->setTexEnvMode(GL_BLEND); olNode->setOverlayClearColor(osg::Vec4(1.0, 0.0, 0.0, 0.0)); osg::ref_ptr grpNode = new osg::Group; olNode->addChild(cylNode); Can someone tell me what am i doing wrong ? -- Rahul Jain, Member of Technical Staff, Visualiz

[osg-users] Linking error : OpenThread

2008-09-04 Thread Rahul Jain
Hi all, While compiling my application with OSG2.6 I am getting following linking error "*undefined reference to `OpenThreads::Atomic::operator--()*". The same application is linked properly with OSG2.4. Since i am not using Atomic operation in my application, i am not able to find the reas

[osg-users] problem using overlay node

2008-08-07 Thread Rahul Jain
Hi all, I am trying to overlay a shape file on a terrain using overlay node. But the two textures are not blending, instead the overlay texture has replaced the terrain texture. I am attaching the final rendered image for you to ponder upon. I am using the code of osgsimulation example wh

Re: [osg-users] Problem using osg::ColorMatrix

2008-07-29 Thread Rahul Jain
Hi Ulrich, Thanks for the reply, you are absolutely right, color matrix is part of imaging subset which is used during pixel transfer operation. The concept just slipped out of my mind ;) thanks for the correcting my thoughts cheers RJ Ulrich Hertlein wrote: > Hi Rahul, > > Rahul J

Re: [osg-users] Problem using osg::ColorMatrix

2008-07-28 Thread Rahul Jain
: > Having never used a ColorMatrix in OpenGL or OSG > > What effect is this supposed to produce ? > > Do you have screen grabs of what it should look like if done in raw Opengl ? > > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]

[osg-users] Problem using osg::ColorMatrix

2008-07-28 Thread Rahul Jain
Hi all, I am trying to use OpenFL color matrix functionality through osg::ColorMatrix but not able to do so. When i apply this to a node |(cessna.osg) i do not see any effect. I am pasting the code below for you guys to have a look. I don't know what am i doing wrong in this simple piece of code .

[osg-users] Running OSG application in Firefox

2008-07-24 Thread Rahul Jain
Hi all , I want to write a plugin so that i can embed my OSG application in Firefox browser. Have any one tried this before ? Please suggest me some pointers to start with . cheers RJ ___ osg-users mailing list osg-users@lists.openscenegraph.org http:/

[osg-users] Building curl plugin on Linux

2008-07-23 Thread Rahul Jain
Hi all, I want to build curl plugin for OSG.2.5.5, but when i hit ccmake I do not find any option to specify the curl include and libs. So the question is how to build the curl plugin. cheers RJ ___ osg-users mailing list osg-users@lists.openscenegraph.o

Re: [osg-users] Problem using osgCal2

2008-07-23 Thread Rahul Jain
Thanks Andrew, I am working on Linux, and osgCalViewer is just working fine. I will try to use Delta3D it seems to me a better option too. RJ Andrew Lett wrote: > Hello Rahul, > > I also gave osgCal2 (I believe 0.3.1) a try with both OSG2.0 and OSG2.4 - and > I > wasn't successful with either rel

[osg-users] Problem using osgCal2

2008-07-22 Thread Rahul Jain
Hi All , I am trying to place some characters (cal3D) on a terrain I created using VPB at a particular location on the terrain using the code shown below. But when i run my program i do not see any thing, using mouse (trackball) functionality i cam locate the terrain but could not locate the model

Re: [osg-users] Sun, moon, clouds. Any recommendations?

2008-07-21 Thread Rahul Jain
Hi Chris , You can have a look at osg Ephemeris for sun , moon and stars at http://www.andesengineering.com/ cheers RJ Dorosky, Christopher G wrote: > Hi all, > > I've gotta add the sun, moon and some 3D clouds to our simulation. > > Any recommendations on osg-friendly examples to follow? > > Than

Re: [osg-users] "esc" key handler

2008-07-17 Thread Rahul Jain
Mike U can look at the code eventTraversal() in Viewer.cpp at line number 501. This is where viewer is set to be done ones you press esc key. RJ Mike Greene wrote: > Where in the osg source code is the "close down" section for when the > user hits the "esc" key? I need to be able to replicate the

Re: [osg-users] OpenSceneGraph-2.5.5 developer release tagged

2008-07-17 Thread Rahul Jain
Hi Robert, Builds fine on suse 10.3 x86_64. But facing some problems running osgWidget examples, Not able to find the images required for running the sample examples. For example "osgWidget: Widget [BorderLeft] cannot find file osgWidget/border-left.tga to set as it's Image." while running osgwidg

[osg-users] DatabsePager::setTargetFrameRate()

2008-07-07 Thread Rahul Jain
Hi All, How does the parameter _targetFrameRate affects the loading of files from disk. I can not find its implementation in the source code (OSG 2.0 and 2.4). cheers RJ ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscene

Re: [osg-users] Finding point of intersection using depth buffer

2008-06-23 Thread Rahul Jain
in peace until we found our mistake :) thanks Rahul & Sumit > Robert. > > > On Mon, Jun 23, 2008 at 7:57 PM, Rahul Jain <[EMAIL PROTECTED]> wrote: > >> Hi, >> I want to find point of intersection with the scene at the location >> pointed by mouse using

[osg-users] Finding point of intersection using depth buffer

2008-06-23 Thread Rahul Jain
Hi, I want to find point of intersection with the scene at the location pointed by mouse using depth buffer. I have attached an image to the camera for getting the depth buffer values per frame using code mentioned below and i am to read the information of the depth buffer properly ==

[osg-users] SceneView::_renderGraph Question

2008-06-06 Thread Rahul Jain
Hi All, I am trying to understand how does OSG create the _renderGraph from the SceneGraph. I am not able to understand where exactly this process is happening in the OSG, I tried to browse the code but not able to get much of the information. Can somebody provide me some pointers in the source

Re: [osg-users] Please test SVN of OpenSceneGraph and VirtualPlanetBuilder in prep for dev releases

2008-05-27 Thread Rahul Jain
Hi Robert, OSG built fine on linux (suse 10.3) with cmake 2.4.7. Checked examples also they are working properly cheers RJ Robert Osfield wrote: > Hi All, > > Today I've begun clearing the osg-submissions back log. I've merged > the majority of the backlog, and will continue tomorrow morning a

Re: [osg-users] New Improved DatabasePager, now with even more threading! Please take a taste today :-)

2008-05-23 Thread Rahul Jain
Hi All, Looking at the enthusiasm all around new improved DatabasePager I would also like to try my hands on it by reading data from http, but have not much idea about how to do that. Will my node look like this for using http database paging. PagedLOD { DataVariance UNSPECIFIED nodeM

[osg-users] Writing Custom osgTerrain::Layer in .osg file format

2008-05-22 Thread Rahul Jain
Hi all, I have created a new layerosgTerrain::ShpLayer : public osgTerrain:Layer and would like to dump it in ".osg" file as part of my scene graph similar to other layers derived from Layer. How can i do this ? RJ ___ osg-users mailing list osg-us

[osg-users] osgTerrain::GeometryTechnique

2008-05-22 Thread Rahul Jain
Hi All, In the osgTerrain::GeometryTechnique "buffer._transform " is not added to scene graph explicitly using "addChild", can any one tell me how it is then getting rendered. RJ ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.

Re: [osg-users] Texture2DArray shows up black (WARN: A bug in implementation)

2008-05-17 Thread Rahul Jain
n't tested it excesively. > > I will try to prepare a patch, which will solve the problem. Hence, just be > patient and take a look into osg-submissions list ;) > > Best regards, > Art > > > > > --- Rahul Jain <[EMAIL PROTECTED]> schrieb am Sa, 17.5.2008: >

Re: [osg-users] Texture2DArray shows up black

2008-05-16 Thread Rahul Jain
Hi Art, Here is the code. cheers RJ Art Tevs wrote: > Hi Raul, > > is it possible, that you extract that peace of code and post it here. > Maybe I would be able to find then the issue. On my side, texture arrays > seems to work properly ;) > > Best regards, > Art >

Re: [osg-users] Texture2DArray shows up black

2008-05-16 Thread Rahul Jain
Yes I did but no luck I tried the program sean sent also. RJ Art Tevs wrote: > Hi Raul, > > have you tried the proposed changes by Sean (min/mag filters, at least 2 > layers, ...)? > > Cheers, > Art > > > > >> --- Rahul Jain <[EMA

Re: [osg-users] Texture2DArray shows up black

2008-05-16 Thread Rahul Jain
Hi Sean and all, I am facing the same problem as yours on my G80 card on windows as well as linux. I also tried your code but the results are all same. I am linking with OSG2.4 libs. What can be wrong Cheers RJ Sean Carmody wrote: > Art, > > Thanks a lot, I've made the change you suggested. Also

Re: [osg-users] GDAL plugin functionalities in OSG-2.4 ?

2008-05-13 Thread Rahul Jain
Pattern, or add a > .gdal to the end of the filename so that its osgDB will automatically > load the plugin > and then the GDAL plugin will strip the .gdal extension and then it'll > load the file. > > Robert. > > On Tue, May 13, 2008 at 12:42 PM, Rahul Jain <[EMAIL PROTE

Re: [osg-users] GDAL plugin functionalities in OSG-2.4 ?

2008-05-13 Thread Rahul Jain
iles differently. RJ Robert Osfield wrote: > On Tue, May 13, 2008 at 11:42 AM, Rahul Jain <[EMAIL PROTECTED]> wrote: > >> Hi All, >> What are the functionalities does new gdal plugin in OSG2.4 provides ? >> Can i read all the files which are supported through gda

[osg-users] GDAL plugin functionalities in OSG-2.4 ?

2008-05-13 Thread Rahul Jain
Hi All, What are the functionalities does new gdal plugin in OSG2.4 provides ? Can i read all the files which are supported through gdal. best regards RJ ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listi

[osg-users] Stereo Camera setup

2008-05-08 Thread Rahul Jain
Hi all, I was going through a paper on stereo rendering and there they mentioned two types of camera setup for stereo "Toe-in" and "Off-axis", What kind of setup does OSG used for QuadBuffer stereo rendering and in which file i can find the implementation details. regards RJ ___

[osg-users] Stereo Immersive Effect

2008-05-07 Thread Rahul Jain
Hi all, How does osgUtil::SceneView::setFusionDistance (FusionDistanceMode mode, float value=1.0f) affects the Stereo Rendering. best regards RJ ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/o

Re: [osg-users] how to zoom in and out in orthographic projection

2008-05-05 Thread Rahul Jain
effect of distance and pixel size? > > An object far away (large distance) has a small pixel size on screen. > So you perhaps have to reorder your LOD range. > > regards Ralph > > Rahul Jain schrieb: >> Hi Paul, >> Thanks for the answer and sorry for being so despera

Re: [osg-users] how to zoom in and out in orthographic projection

2008-05-04 Thread Rahul Jain
t;how did you implement the > zoom in your projection"? > What exactly do you mean by "zoom" in an orthographic projection? > > -- mew > > > > > > On Sun, May 4, 2008 at 9:28 AM, Rahul Jain <[EMAIL PROTECTED]> wrote: > >> Hi Paul, >

Re: [osg-users] how to zoom in and out in orthographic projection

2008-05-04 Thread Rahul Jain
Hi Paul, Thanks for the answer and sorry for being so desperate last time. We tried the approach you mentioned by writing a node visitor and setting the range node(PIXEL_SIZE_ON_SCREEN) for LOD nodes. But the effect i am getting is completely opposite, as i zoom in the high resolution data disapp

[osg-users] Alternative to osgCal ?

2008-04-25 Thread Rahul Jain
Hi all, Is any one aware of any open source tool, which can be used instead of osgCal for simulations involving human characters. regards RJ ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-use

[osg-users] Toggling Stereo on/off at run time

2008-04-25 Thread Rahul Jain
Hi all, Is it possible to to toggle the stereo in an OSG application on off using a key at application run time? One idea which i have in mind is to create and add new graphics context to the cameras with stereo configuration and remove the old one, and setup the viewer rendering support again aft

Re: [osg-users] Box transparency.

2008-04-16 Thread Rahul Jain
Hi Nicolas, You need to enable the blending as well for the desired effect. What you need to do is to get the StateSet of the shape drawable and set the mode for blending. You need to do some thing like this. shapeDrawable->getOrCreateStateSet()->setMode(GL_BLEND, osg::StateAttribute::ON); cheer

Re: [osg-users] OpenSceneGraph-2.3.5 and VirtualPlanetBuilder-0.9.6 dev release tagged.

2008-03-17 Thread Rahul Jain
Hi All, Is there any tutorial or document explaining how to use the new features of VPB. Also there are lot many applications shipped with VPB, but I am not able to found any document or thread, where these application have been explained. I also looked at http://www.openscenegraph.org/projects/os

Re: [osg-users] Testing of SVN version please

2008-03-13 Thread Rahul Jain
Hi Robert, I tested OSG and VPB on my linux x86_64 machine and everything compiles fine. RJ Robert Osfield wrote: > Hi All, > > I am now preparing for another developer release of the OpenSceneGraph > and VirtualPlanetBuilder. I'd very much appreciate testing across > platforms, please write if t

Re: [osg-users] Double Click not working on Linux

2008-03-12 Thread Rahul Jain
wrote: > On Wed, Mar 12, 2008 at 10:23 AM, Rahul Jain <[EMAIL PROTECTED]> wrote: > >> Hi All, >> Double Click is not working on my linux x86_64 box with OSG 2.0, I also >> tried it on another system as well but no success so far. Is it a known >&g

[osg-users] VirtualPlanetBuilder + DEM

2008-03-12 Thread Rahul Jain
Hi All, I am not able to understand the "unit" of the height (z value of the point) of the data generated by VPB. For example I have "DEM" data which is in lat/long and i have generated the height-field, each point in the height-field has some finite value. What does this value represents ? height

[osg-users] Double Click not working on Linux

2008-03-12 Thread Rahul Jain
Hi All, Double Click is not working on my linux x86_64 box with OSG 2.0, I also tried it on another system as well but no success so far. Is it a known problem ? If yes what is the fix. best regards RJ ___ osg-users mailing list osg-users@lists.opensceneg

[osg-users] shadow occlusion culling

2008-02-10 Thread Rahul Jain
Hi all, I was walking through osg::CullSetting code and there i find SHADOW_OCCLUSION_CULLING as one of the Culling mode. Can some body tell me where it is used. best regards RJ ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.op

[osg-users] osgPPU compilation on linux

2008-01-20 Thread Rahul Jain
Hi All, I am trying to build osgPPU on linux x86_64 with OSG 2.0 but getting errors. Before i dig in to the errors i would like to konw which version of OSG I should use for osgPPU to work. best regards rj ___ osg-users mailing list osg-users@lists.opensc

[osg-users] OSG + sky

2007-10-31 Thread Rahul Jain
Hi all, I want to integrate enviroment in my application, for example clouds and sky. As far as my knowledge is concerned this is not possible in OSG currenly. Can someone tell me the alternatives. best regards Rahul ___ osg-users mailing list osg-users

Re: [osg-users] osgGauge: Online

2007-09-29 Thread Rahul Jain
Hi Erik, Good to see osgGauge , but there a lot of compilation errors with the svn as well as released code on my linux machine. I can send you the error list in case you want them. best regards RJ On Fri, 2007-09-28 at 13:15 -0700, Erik Johnson wrote: > The Delta3D team at the MOVES Institute a

[osg-users] pbuffer performance

2007-09-25 Thread Rahul Jain
Hi Guys, This question is not directly related to OSG, but I hope the OSG users must have answer to this problem and the reason i am asking this on this forum is that because the OSG has most number of OpenGL experts.;) I am transfering data from one pbuffer to other pbuffer using glCopyPixel and