Hi Andre,
There is nothing I or anyone else can do to suggest how you fix your
problem as there really isn't any where near enough information in
your emails to help us even guess at what the problem. It's like me
telling you I have a piece of string in my hand and telling you that
while I don't
Hi David,
I really don't know what is up with your usage, there really isn't
enough info about how you set up things to know where things are going
astray.
A window being black suggest to be that rendering itself hasn't
started yet, just that the window has been realized. The osgViewer
doesn't
I've checked the source code about this,
and after using the nodepath to unproject the 2D coordinates and retrieve the
3d start and end points of the line-intersector, the visit is called like this:
osgUtil::IntersectionVisitor iv(picker);
iv.setTraversalMask(traversalMask);
You may also find that DIVERSE can fill your needs. It's a virtual reality
controller that can be used with osg.
See: http://diverse-vr.org/index.php?page=documentation/introduction
-Eric
On Tue, Aug 12, 2008 at 12:35 PM, Jan Ciger [EMAIL PROTECTED] wrote:
-BEGIN PGP SIGNED MESSAGE-
Hi all,
Since Qt 4.4, we are able to mix OpenGL and Qt in a way which provides
more possibility than the osgViewerQT do by using QGraphics framework,
especially for HUD display.
I joint the example I write to do this.
The main function loads a model a display into my QGraphicsScene
Hi Robert,
Here is code that produces the problem.
I'm building/running on Ubuntu 8.04 with osg 2.4
#include iostream
#include vector
#include string
#include osg/Node
#include OpenThreads/Thread
#include osgDB/ReadFile
#include osgViewer/Viewer
#include osgViewer/ViewerEventHandlers
class
I've tried a different series of entering view one or more times,
followed by closing one or more of the shown windows and repeating. But
I've not seen any black windows yet. What is the sequence that
reproduces the problem for you?
This is on Linux, nVidia 96.43.01 driver
Paul
David
Hi Paul,
type view 2 times to get 2 views.
close the first window, i always press 'f' to get out of fullscreen,
type view again.. turns up black.
Maybe this is my driver?
I'm using the default ubuntu Nvidia driver. Also, running Compiz in
the background..
Regards,
David Johansson
On Thu,
Hi Judd,
I have done some work on osgUtil::IntersectionVisitor to add proper
support for Billboards. Could you try out the attached
IntersectionVisitor header/source files and let me know how you get
on. This builds against OSG-2.6/OSG-SVN, but might also compile
against 2.4.
In my own testing
David Johansson wrote:
Hi Paul,
type view 2 times to get 2 views.
close the first window, i always press 'f' to get out of fullscreen,
type view again.. turns up black.
No problems here with that sequence...
Maybe this is my driver?
It could be
I'm using the default ubuntu Nvidia
Paul Melis wrote:
David Johansson wrote:
Hi Paul,
type view 2 times to get 2 views.
close the first window, i always press 'f' to get out of fullscreen,
type view again.. turns up black.
No problems here with that sequence...
This was with 2.4 btw
Paul
Maybe this is my driver?
It
Hi Paul,
output of : cat /proc/drivers/nvidia/version
NVRM version: NVIDIA UNIX x86_64 Kernel Module 169.12 Thu Feb 14
17:51:09 PST 2008
GCC version: gcc version 4.2.3 (Ubuntu 4.2.3-2ubuntu7)
Also running on GeForce 7950 GX2 (http://www.nvidia.com/page/geforce_7950.html)
It has 2 GPU's maybe
David Johansson wrote:
Hi Paul,
output of : cat /proc/drivers/nvidia/version
NVRM version: NVIDIA UNIX x86_64 Kernel Module 169.12 Thu Feb 14
17:51:09 PST 2008
GCC version: gcc version 4.2.3 (Ubuntu 4.2.3-2ubuntu7)
Also running on GeForce 7950 GX2
Hi Robert,
This does nothing i'm afraid.
nvidia-xconfig --sli=Off followed by a restart of X..
David
On Thu, Aug 14, 2008 at 4:02 PM, Robert Osfield
[EMAIL PROTECTED] wrote:
On Thu, Aug 14, 2008 at 2:56 PM, David Johansson [EMAIL PROTECTED] wrote:
output of : cat /proc/drivers/nvidia/version
Hi all,
I recently updated our product to use the --terrain flag in
VirtualPlanetBuilder to increase the speed of our database creation and
things are working wonderfully except for on the machines that have the
Intel 945GM chipset which are crashing.
I've narrowed the problem down to the fact
HI Jason,
You could try disabling the vertex array extension for Intel via the
the osg::setGLExtensionDisableString()
From include/osg/GL
/** Set a list of extensions to disable for different OpenGL
renderers. This allows
* OSG applications to work around OpenGL drivers' bugs which are due
to
It seems to work just fine in my application. Thanks for the support.
Judd
Robert Osfield wrote:
Hi Judd,
I have done some work on osgUtil::IntersectionVisitor to add proper
support for Billboards. Could you try out the attached
IntersectionVisitor header/source files and let me know how
Hi Robert,
Thanks for much for your quick response, I'll take a look at this and see
how things go.
After your suggestion and doing a quick Google I saw this post from Rafa
that looks to be close to the same issue I have.
Hi Robert,
could you please just confirm the this is the way the function is meant to
work??
If so, any idea on how to have my modified osgpick example to work?
Thanks a lot!
Ricky
-Original Message-
From: [EMAIL PROTECTED] on behalf of Riccardo Corsi
Sent: Thu 14/08/2008 10.39
To:
Thanks for the responses.
I'm not sure what stopping the frame loop refers to, since something like
while(!viewer-done())
{
if (viewer-getFrameStamp()-getFrameNumber() == 500)
{
rootNode-addChild(
osgDB::readNodeFile(some_animation.flt));
}
viewer-frame();
}
would
David Johansson wrote:
Hi Robert,
This does nothing i'm afraid.
nvidia-xconfig --sli=Off followed by a restart of X..
Not sure if this helps or not, but you have to use the multigpu option
with the 7950GX2, not the sli option. multigpu is for SLI with two
GPU's on one card, while sli
Hi Max,
My guess is that your Viewer's SimulationTime is up and running by the
time the new model is loaded, rather than starting off at 0.0 which is
causing the problems.
The actual implementation details of osg::Sequence is something that
community members have working on over the years,
On Thu, Aug 14, 2008 at 4:25 PM, Riccardo Corsi [EMAIL PROTECTED] wrote:
Hi Robert,
could you please just confirm the this is the way the function is meant to
work??
If so, any idea on how to have my modified osgpick example to work?
Can't confirm this as really don't know what this might
Robert
I have added a method called set (did not know what to call it) that
allows you to set the start and end points for the LinSegmentIntersector
using the CooridnateFrame and the x, y values like one of the
constructors does. It just makes it easier to reset the start and end
points
Hi Jason,
Setting multigpu did nothing either.
You don't happen to have the same card and can test my code posted earlier?
Regards,
David Johansson
On Thu, Aug 14, 2008 at 6:02 PM, Jason Daly [EMAIL PROTECTED] wrote:
David Johansson wrote:
Hi Robert,
This does nothing i'm afraid.
Hi Robert,
let me sum it up shortly then:
I'm trying to do some picking only in a specific subgraph, using the version of
computeIntersections which include a nodepath option.
To test it, I modified the osgpick example (attached) to pick, for instance,
only the rectangles in the HUD.
What I do
Hi Judd,
Could you post your ammendments to osg-submissions.
Cheers,
Robert.
On Thu, Aug 14, 2008 at 5:11 PM, Judd Tracy [EMAIL PROTECTED] wrote:
Robert
I have added a method called set (did not know what to call it) that allows
you to set the start and end points for the
I would like to get some feedback from users that might be rendering OSG
terrain built with osgdem on Windows XP. Based on previous discussions, I
understand that the terrain rendering on Windows does not have as good of
performance as on Linux, however, I'm seeing abysmal frame rates when I'm
We have found that the paged database's performance is quite sensitive the
settings used in the database pager. If you look at the pager, you can set a
number of environment variables to tweak things. We were able to more than
double our framerate and work around frame hiccups just by
David Johansson wrote:
Hi Jason,
Setting multigpu did nothing either.
You don't happen to have the same card and can test my code posted earlier?
I can probably do that. I'm not sure when I'll get the time, but I
should be able to find some this week. It might take a little while
Have you tried setting it to using display lists instead of vertex arrays? If
they don't suit, then you may be able to figure out what card you are using,
or make some sort of configuration check in an installer then set the
environment variable?
On Thursday 14 August 2008 10:42:42 am Jason
HI Shayne,
Most modern machines regarless of OS should performance pretty well on
osgdem generated databases. However, you must compile the OSG under
release mode. Could this be the problem?
Robert.
On Thu, Aug 14, 2008 at 6:07 PM, Tueller, Shayne R Civ USAF AFMC 519
SMXS/MXDEC [EMAIL
We had similar issues with terrain recently. On windows it was single
digit framerates and the same database on Linux was 30 fps but %100 on 2
cores. Rebuilding our terrain without the -terrain flag solved the
issue. Framerates on windows jumped up to 30 fps, Linux to 60 fps with
%30 on 1 core.
David Johansson wrote:
Hi Jason,
Setting multigpu did nothing either.
You don't happen to have the same card and can test my code posted earlier?
Hi David,
I gave it a quick try with OSG 2.2, and I'm definitely seeing problems.
After I open the second viewer, if I alt-tab back to the
Hi Jason, Robert
I have tested 2.6 where it still seems to be a problem.
There is no hurry with this, but it would be really nice to make sure
that the problem is with the graphics card.. I'll probably try to
build on WindowsXP64 later this week and see what happens, don't have
the environment
That's odd. If you set it to use Display lists, it should override the
settings on the database pager so that it only uses display lists, and not
VBO's. Do you thing they are broken for the 945 too?
On Thursday 14 August 2008 02:53:44 pm Jason Beverage wrote:
hi David
I set the environment
My thought is that the override only applies to nodes that are paged
in. The root node of the scene is still using vbos as far as I
understand since of doesn't have to be paged in.
I'll take a look at the code tommorow morning at work, I'm currently
driving and checking email. Only when I stop
Hi Shayne
We too have had some problems with the terrain, but at the moment it seams
to work fine. I have rearly seen any problems with osgviewer but in my
actual application i have had studders etc.
What sort of hardware are you using, I have a 40 gig 12 level database that
renders perfectly on
Hi Robert,
well, the good samaritan took pity on his neighbour actually =)
Joking aside, let me just state that I wasn't looking for custom support nor
code analysis at all.
Before posting I searched intensively through the list archive and the osg
examples, but I saw no traces of the
39 matches
Mail list logo