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
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
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
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
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;
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
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
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
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:
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:
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:
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:
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
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
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
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
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
;
}
...
...
...
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
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
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
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
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.
). 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
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
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
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
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
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
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
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
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
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
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
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
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:
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);
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
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
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
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,
...
.
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
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
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.
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?
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
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.
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
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
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
,
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
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
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
::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
));
viewer.getCameraManipulator()-setHomePosition(eye,center,up);
viewer.home();
viewer.realize();
while(!viewer.done())
viewer.frame();
return 0;
}
Cheers,
Akilan
--
Read this topic
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
(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
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
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
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
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
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
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
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
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
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
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
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
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
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,
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
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
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
72 matches
Mail list logo