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
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
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
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
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
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_
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
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
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
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
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:
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
>>>
:
> 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
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
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
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
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
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
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
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
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
:
> 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]
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 .
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:/
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
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
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
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
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
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
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
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
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
==
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
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
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
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
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.
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:
>
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
>
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
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
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
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
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
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
___
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
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
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,
>
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
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
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
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
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
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
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
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
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
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
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
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
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
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
63 matches
Mail list logo