Hi Paul,
depending on what you are trying to achieve, you've got to update the
planes every frame in the way you mentioned.
If your matrix is somehow connected to the View or Modeling matrices,
you need to update them.
You can use a updateCallback or look into the samples for TexGenNode IIRC.
-Message d'origine-
De : [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] De la
part de Bob Huebert
Envoyé : jeudi 24 avril 2008 02:40
À : OpenSceneGraph Users
Objet : Re: [osg-users] Active stereo support in OSG?
Hi Jon,
On Thu, 24 Apr 2008, Jon Newell wrote:
Hi Bob,
We
Hi Robert,
I build fine on Win32 XPsp2 MSVS8sp1. Now deleteing the CMake cache to
see if I can build it fresh.
Mattias
On 4/23/08, Robert Osfield [EMAIL PROTECTED] wrote:
Hi All,
So... once again I have a ask, with a pretty please, for more testing,
this time of the SVN version of the OSG.
Emerald Fox Software, LLC. schrieb:
Not sure if this is the correct way to submit a bug report so please
let me know if I need to submit this somewhere else.
I am getting an the following error messages when I build v2.3.10
under OSX 10.5 using cmake.
switch the option
Hi Robert, all,
Quick note while I'm building after starting fresh after delete of
cmake cache. It didn't find the curllib in Mike's 3rdParty since
Find3rdPartyLibraries only searches for libcurl and not culrlib.
Posting my cmake mod on osg-sub in a minute
cheers,
Mattias
On 4/24/08, Mattias
Hi Linh,
VPB/osgdem decorates databases with a CoordinateSystemNode which will
record the cooridnate system it uses. VPB does default to using WGS84
when working geocentric, but you haven't mentioned any of the osgdem
options so I can't really say whether this will have been applied.
I must
Hi Eric,
Thanks for chiming in.
Looks like I'll have to revert the header change then... and leave
resolution of the problems that Stephan has seen to a later CMake
OSG revision.
Robert.
On Wed, Apr 23, 2008 at 11:06 PM, E. Wing [EMAIL PROTECTED] wrote:
Hi, sorry, I've been really busy with
Robert Osfield schrieb:
Hi All,
Hiccups under OSX/Cmake and Windows/FreeType builds have held back
making 2.4 today, I haven't yet received any update on the
Windows/FreeType but on the OSX/Cmake side we may have a bit of
progress. However, this progress was made via tweaks to the core osg
Hi Paul,
Hi,Just a small one -
Are the gl_EyePlanes automatically setup when calling
texgen-setPlanesFromMatrix(...)?
I'm trying to replicate simple Projective texturing using glsl.
I am not sure what you mean by automatically... It will be applied to OpenGL
in draw phase.
When used with
Hi Stephan,
The CMake makefile build used to work not long ago, and very little
has changed since then to the OSG itslef, it it simply the the various
SDK's that come from Apple are breaking things? Is it a CMake version
issues?
Given there are a number of unresolved issues under OSX with the
Hi OSG developers!
I'm trying to draw antialiased lines with OSG ver .2.2, but I'm having
problems.
This is my code:
osg::ref_ptrosg::Hint antialiasHint = new
osg::Hint(GL_LINE_SMOOTH_HINT, GL_NICEST);
StateSet-setAttributeAndModes(antialiasHint.get(),
osg::StateAttribute::ON);
Robert Osfield schrieb:
Hi Stephan,
The CMake makefile build used to work not long ago, and very little
has changed since then to the OSG itslef, it it simply the the various
SDK's that come from Apple are breaking things? Is it a CMake version
issues?
No, I don't think that the SDKs
Hi Gianluca,
The OSG just passes state along to the OpenGL, the glHint support is
just another means to setting OpenGL state. How the OpenGL driver
responds to the that State is down to the driver/hardware. In the
case of line smoothing I believe that you still need to enable
GL_LINE_SMOOTH
HI Stephan,
On Thu, Apr 24, 2008 at 11:28 AM, Stephan Maximilian Huber
[EMAIL PROTECTED] wrote:
The CMake makefile build used to work not long ago, and very little
has changed since then to the OSG itslef, it it simply the the various
SDK's that come from Apple are breaking things? Is
Hi All,
I have just reverted yesterdays changes that I made to the various
CMakeLists.txt files, and also merged a fix the Windows 3rd party
checking sent in my Mattias, these changes are all now in SVN. So...
Could you please do another svn update and build to make sure that
things are still
Hi Robert,
Robert Osfield schrieb:
Something must have changed though, as only a couple of months ago I
witnessed first hand the CMake Makefille working perfectly on an OSX
box.
With 10.4 or 10.5? All my reported issues are for 10.5. On 10.4
everything should work as expected. I did even
Hi Stephan,
On Thu, Apr 24, 2008 at 12:18 PM, Stephan Maximilian Huber
[EMAIL PROTECTED] wrote:
Something must have changed though, as only a couple of months ago I
witnessed first hand the CMake Makefille working perfectly on an OSX
box.
With 10.4 or 10.5? All my reported issues are
Ciao Gialluca,
you absolutely need to enable GL_LINE_SMOOTH and GL_BLEND and to setup
a blending function like for example osg::BlendFunc(GL_SRC_ALPHA,
GL_ONE_MINUS_SRC_ALPHA). The same goes for GL_POINT_SMOOTH.
Michele
On Thu, Apr 24, 2008 at 12:20 PM, Gianluca Natale
[EMAIL PROTECTED] wrote:
Hi Wojeciech,
What issues were you seeing at your end? Also how did you monitor the
race condition? Did problems still occur after you added the
DataVariance setting?
Robert.
On Thu, Apr 24, 2008 at 12:01 PM, Wojciech Lewandowski
[EMAIL PROTECTED] wrote:
Hi Everyone,
Is it normal to see
I think the problem with recent changes not showing headers in
VisualStudio, is related to a typo:
the ELSEIF in this context is bad:
so, instead of reverting patches, at least under visualstudio, one can
substitute
ELSEIF(APPLE) with ELSE(APPLE)
so
IF(APPLE)
SET(ADD_LIBRARY_HEADERS )
The Bio-imaging and Vision group at the Electronics, Computer Sciences and
Systems department , University of Bologna invites application for a
job/position. The successful candidate will work on an international and
multidisciplinary project funded under the FP6 programme.
Minimum
Rick,
Can you post an image of what you are seeing? I ran your code (without the
setBoundaryOnly line) and it seems to render correctly. Screenshot is
attached.
Glenn
On Wed, Apr 23, 2008 at 3:34 PM, R Schwantes [EMAIL PROTECTED] wrote:
Hi list,
I've been a long time lurker. Finally have
Thank you.
So, the filter specified via osg::Hint
can be set only from OSG ver. 2.0, isn't it?
Gianluca
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Robert
Osfield
Sent: Thursday, April 24, 2008 12:35 PM
To: OpenSceneGraph Users
Subject: Re:
Hi Luigi,
Thanks for the note, its nice to know why what I did din't work. I've
gone ahead a reverted the change as it looks like the build problem
under OSX due to the headers is most likely a CMake bug, and for
frameworks these headers will actually be needed, so once the CMake
side is fixed
Hi Robert,
Small suggestion: is it possible to remove references to freetype219
from FindFreeType.cmake?
This version does not works with 2.3.10 anyway (and helps generate my
error...)
That's a good idea, would help remove these errors.
J-S
--
Hello Mario,
Downloaded and installed FreeType 2.3.5 from
http://gnuwin32.sourceforge.net/downlinks/freetype-bin-zip.php
Updated FREETYPE_LIBRARY AND FREETYPE_LIBRARY_DEBUG in Cmake (my fault:
I was pointing to the wrong library)
So maybe it is better for 2.4 to upgrade the 3rdParty Zip
Hello
I just read that libungif is no longer supported and that giflib is taking
its place.
Will giflib work in place of libungif with the osg plugin gif?
Thanks
LeRetha
___
osg-users mailing list
osg-users@lists.openscenegraph.org
Hi LeRetha,
On Thu, Apr 24, 2008 at 2:25 PM, LeRetha Childress
[EMAIL PROTECTED] wrote:
I just read that libungif is no longer supported and that giflib is taking
its place.
What is your source for this information? I'd like to found out the situation.
Will giflib work in place of libungif
Hi Robert,
What issues were you seeing at your end? Also how did you monitor the
race condition?
Did problems still occur after you added the DataVariance setting?
I have some time now, and I decided to investigate what is the context of
these Windows/multimonitor/multithread/FBO crashes.
I have a osg objects (Drawables, StateAttributes ( Texture2D) Image, Arrays)
that need frequent update's, do I have to set datavariance DYNAMIC on all of
those objects?
For example a Geode has Geometry of type DrawArrays and Vec3Array, do i set
DYNAMIC on all four objects in addition to set
Do SceneView-Camera create a own thread / using multiple threads when drawing
and culling? If so is it possible to use a single threaded model?
Erlend
___
osg-users mailing list
osg-users@lists.openscenegraph.org
yes, since the patent expired, the project expanded to cover both gif
creation extraction,rather than just extraction. If you are
targeting win32, have a look at the 3rdParty binary repo.
-- mew
On Thu, Apr 24, 2008 at 8:25 AM, LeRetha Childress
[EMAIL PROTECTED] wrote:
Hello
I just read
In OSG2.2 I'd like to find the 'real' x,y location of the mouse cursor. If my
window is 640x480, then the value for x should be between 0 and 639, while y
should be from 0 to 479. I need the x,y values in this form so that it can be
injected into CEGUI correctly.
The GUIEventAdapter has protected
Hi Erland,
For StateSet and Drawable that are dynamically updated (or their
contents are dynamically updated) you'd should set the DataVariance
to DYNAMIC on them to ensure that when using a multi-threaded viewer
you don't have updates and rendering happening at the same time.
Robert.
On Thu,
Hi Erland,
I don't know what part of the OSG you are refering to when you say
SceneView-Camera.
SceneView doesn't do any threading whatsoever.
Its only osgViewer that added threading, and here SceneView is just an
implementation details, its not something
you'll typically interact with.
I
osgWidget does this, and converts the origin to the upper-left instead
of lower-left in the WindowManager object just using getX/getY. They
have never returned normalized coordinates in my usage... but perhaps
I've been benefiting from a bug all along...?
On Thu, 2008-04-24 at 13:56 +, Andrew
How about:
float fMouseX = ((ea.getX() + 1.0)*0.5) * (float)ea.getWindowWidth();
float fMouseY = ((ea.getY() + 1.0)*0.5) * (float)ea.getWindowHeight();
- Donny
On Thu, Apr 24, 2008 at 8:56 AM, Andrew Lett [EMAIL PROTECTED] wrote:
In OSG2.2 I'd like to find the 'real' x,y location of the
Hi Robert,
I mean the osgUtil::SceneView, which has a osg::Camera, which has a method
setCameraThread(OperationsThread *gt). Whats the point of OperationsThread in
camera then? Im using osg as a scenegraph now with a other renderer which calls
cull/draw in it's own thread So I was concerned
Hi Wojtek,
On Thu, Apr 24, 2008 at 3:10 PM, Wojciech Lewandowski
[EMAIL PROTECTED] wrote:
I will try to create a simpler example that clearly shows the issue. I hope
this issue its not Windows only and you will be able to repeat it.
Thanks for pursuing this. I wouldn't have thought this is
Hi Erland,
osg::Camera has threading support, but this is in support of
osgViewer, and isn't used at all by SceneView. SceneView simple
knows nothing about threading, it really just existing for backwards
compatibility for old apps, and temporarily within osgViewer as an
implementation detail,
Thanks for the input.
I realized this before and made the correction but it still seems to
ignore the shader when it is applied to a slave camera's state set.
Do slave cameras ignore their state sets?
I'm running OSG 2.2
-Steve
Hi Steven,
You're using the logical or operator ||
Robert Osfield wrote:
Hi All,
Hiccups under OSX/Cmake and Windows/FreeType builds have held back
making 2.4 today, I haven't yet received any update on the
Windows/FreeType but on the OSX/Cmake side we may have a bit of
progress. However, this progress was made via tweaks to the core osg
libs'
Jean-Sébastien Guay wrote:
Hello Mario,
Downloaded and installed FreeType 2.3.5 from
http://gnuwin32.sourceforge.net/downlinks/freetype-bin-zip.php
Updated FREETYPE_LIBRARY AND FREETYPE_LIBRARY_DEBUG in Cmake (my fault:
I was pointing to the wrong library)
So maybe it is better for 2.4
Hi Wojtek,
Thanks for the explanation. I don't see any crashes here
unfortunately, it's typically a relief when I can as it gives a chance
of debugging first hand. I've done of a review of the ViewerBase.cpp
and Renderer.cpp codes that are responsible for set up the threading
and running the
Hi,
If there are any files or docs I can put in the 3rdParty repo that
would've helped avoid any confusion, pls let me know. I strongly
believe a repo should be self-documenting, and users (rather than
authors) are the best judges of what constitutes sufficient
documentation.
The 7.1 binaries
I'm experiencing some weird problems with my point cloud.
I have a fairly large terrain and a point cloud that expands the whole
terrain. When I build the point cloud and look around the environment
whole sections of the point cloud disappear when they aren't centered
within the camera's view.
Hello
it is just an idea, but maybe your camera's frustrum is not good...
Regard,
Vincent.
2008/4/24 Steven Powers [EMAIL PROTECTED]:
I'm experiencing some weird problems with my point cloud.
I have a fairly large terrain and a point cloud that expands the whole
terrain. When I build
HI Steve,
It's much more likely that near plane clipping is at fault than
culling, unless your bounding volume for the point clouds is not
correct.
Robert.
On Thu, Apr 24, 2008 at 4:11 PM, Steven Powers [EMAIL PROTECTED] wrote:
I'm experiencing some weird problems with my point cloud.
On Thu, Apr 24, 2008 at 4:22 PM, Robert Osfield
[EMAIL PROTECTED] wrote:
HI Steve,
It's much more likely that near plane clipping is at fault than
culling, unless your bounding volume for the point clouds is not
correct.
I should clarify, when I said near plane clipping is at fault I
Thanks for the input. I first tried using GL_TRIANGLES, incorrect
output was 2 triangles. Then I read Glenn's response and tried my
code on a different computer, and it worked fine.
So now I'm left wondering what is wrong with my computer? I deleted
osg and rebuilt ver 2.2.0, updated the driver
Thanks for the reply.
I thought the near clippling plane might have been the problem but its
not clipping the terrain adjacent to the points.
It also makes me wonder why this would only happen if the terrain is
visible.
I've set my near clipping plane to .1 and the far to 1000.
The camera I'm
Hi Rick,
On Thu, Apr 24, 2008 at 4:31 PM, R Schwantes [EMAIL PROTECTED] wrote:
So now I'm left wondering what is wrong with my computer? I deleted
osg and rebuilt ver 2.2.0, updated the driver for my Nvidia GeForce
8600GTS, still no success. Are their any known issues simialr to
this?
Mike Weiblen wrote:
Hi,
If there are any files or docs I can put in the 3rdParty repo that
would've helped avoid any confusion, pls let me know. I strongly
believe a repo should be self-documenting, and users (rather than
authors) are the best judges of what constitutes sufficient
Hi All long suffering testers! ;-)
I have just tagged 2.3.11, the release candidate 3 for OSG-2.4,
details can be found at:
http://www.openscenegraph.org/projects/osg/wiki/Downloads/DeveloperReleases
* OpenSceneGraph-2.3.11, released on 24th April 2008.
OpenSceneGraph-2.3.11 is the 3rd
from a quick look, it appears your geometry is just two adjacent quads
(ie 4 triangles), no?
No need to invoke a tesselator for a concave polygon.
Just use 3 verts for each of the 4 triangles (12 verts total) and draw
as GL_TRIANGLES.
cheers
-- mew
On Wed, Apr 23, 2008 at 2:34 PM, R Schwantes
Hi Robert,
Attached is a modified version of prerender.cpp.
Waving flag geometry has commented /*setSupportsDisplayLists( false )*/ to
actually allow display list compilation on it.
Without display list compilation, race condition existed but did not cause
obvious visual problems in this
I should mention that perfect square sections of the point cloud will be
missing.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Steven
Powers
Sent: Thursday, April 24, 2008 11:39 AM
To: OpenSceneGraph Users
Subject: Re: [osg-users] Point cloud
Hi all,
Not being familiar w/ that plugin, what's the basic method of
operation for testing? I'd like to see it (or at least hear about it)
actually working.
I'd also like a test case for the curl plugin. I noticed that CMake
picked up Mike's curllib, and the plugin is being compiled, but
Hi
Sounds like it could be a bounding sphere/box issue
How are you loading and creating the point cloud ?
You might possibly have one or more errant points that are out side the
range/volume of all the other points of a geode
Depending on how your loading/creating the geodes, you should
Hi Robert,
I have just tagged 2.3.11, the release candidate 3 for OSG-2.4,
Built fine here (Vista 32bit, VS2005). All tested examples run fine.
Still would like to see a command line to test the curl support, as it's
pretty much the only new feature I haven't tested yet.
J-S
--
Hello Donald,
I actually tried something along the lines of what you wrote:
int my_x = (int) ( ((ea.getX() + 1.0) / 2.0) * 640.0 );
int my_y = 480 - (int)(((ea.getY() + 1.0) / 2.0) * 480.0);
Your lines basically do the same thing (except flip the y axis). However, my
problem is that the
Currently I'm entering all points as 0,0,0 and update them with values
within the render loop.
Except for these:
addPoint(PCPoint(9, 0, 0), PCColor(0,0,0,0));
addPoint(PCPoint(-9, 0, 0), PCColor(0,0,0,0));
addPoint(PCPoint(0, 9, 0),
Hi J-S,
On Thu, Apr 24, 2008 at 5:16 PM, Jean-Sébastien Guay
[EMAIL PROTECTED] wrote:
Still would like to see a command line to test the curl support, as it's
pretty much the only new feature I haven't tested yet.
I haven't yet uploaded a paged database to openscenegraph.org, but I
guess we
On Thu, Apr 24, 2008 at 5:12 PM, Andy Skinner
[EMAIL PROTECTED] wrote:
The latest SVN reports version 2.3.11, and builds on our solaris, mac,
win32, and linux 64 systems.
Thanks for the feedback Andy, its good to hear things working.
What version of Mac/build system are you using?
HI Steven,
Are you calling _geometry-dirtyBound() anywhere in your update code??
If not then there's your problem.
Robert.
On Thu, Apr 24, 2008 at 5:28 PM, Steven Powers [EMAIL PROTECTED] wrote:
Currently I'm entering all points as 0,0,0 and update them with values
within the render
Hi J-S,
well after a little experimenting, I've answered my own question. the
new curl plugin seems to work just fine for a couple small testcases
I've put at http://mew.cx/testing/
Try for youself...
a simple model, completely contained in 1 file:
osgviewer
I cant seem to turn off cullface on the geometry.
I am doing the following:
_stateSet = new osg::StateSet;
_cullFaceState = new osg::CullFace;
_stateSet-setAttributeAndModes(_cullFaceState.get(), osg::StateAttribute::OFF
| osg::StateAttribute::OVERRIDE);
_someGeometry-setStateSet(_stateSet);
We use cmake for everything, and don't treat the mac differently than
unix at this point.
andy
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Robert
Osfield
Sent: Thursday, April 24, 2008 12:30 PM
To: OpenSceneGraph Users
Subject: Re: [osg-users] Please
Hello Robert,
I haven't yet uploaded a paged database to openscenegraph.org, but I
guess we could just reference the SVN repository directly:
osgviewer
http://www.openscenegraph.org/svn/osg/OpenSceneGraph-Data/trunk/cow.osg
set OSG_FILE_PATH=
echo OSG_FILE_PATH
OSG_FILE_PATH
Steve,
Verify that your bounding sphere is what you think it should be. Print out
the point cloud's bounding sphere every frame and check that it's correct.
osg::BoundingSphere bs = pointcloud-getBound():
std::cout Ctr bs.center() rad bs.radius() \n;
Brian
[EMAIL PROTECTED] wrote:
Robert Osfield wrote:
I have just tagged 2.3.11, [...]
Would you mind putting the ZIP file onto the web site ?
Martin.
--
Unix _IS_ user friendly - it's just selective about who its friends are !
--
I've added a _geometry-dirtyBound() to be called each visit but that
didn't help.
I printed out the bounding sphere data and as it does change slightly it
looks correct even when the square sections of the point cloud disappear
and reappear.
Any other ideas? Could this have something to do with
Jeremy Moles [EMAIL PROTECTED] writes:
Again, I never get the normalized values in osgWidget (and haven't since
I began writing it). This has to have something to do with the kind of
camera the event appears within, as looking through the code I see that
the event{X,Y} values are calculated
Hi J-S,
I haven't yet uploaded a paged database to openscenegraph.org, but I
guess we could just reference the SVN repository directly:
osgviewer
http://www.openscenegraph.org/svn/osg/OpenSceneGraph-Data/trunk/cow.osg
set OSG_FILE_PATH=
echo OSG_FILE_PATH
OSG_FILE_PATH
heh
Hi Mike,
echo OSG_FILE_PATH
OSG_FILE_PATH
heh perhaps instead, but your point taken:
echo %OSG_FILE_PATH%
Of course you're right... D'oh. :-)
J-S
--
__
Jean-Sebastien Guay[EMAIL PROTECTED]
Hi Robert,
I didn't use any options except:
osgdem -d DEM_1m_VictoriaCrater_1.tif -l 4 -o test.ive -a test.osga
DEM_1m_VictoriaCrater_1.tif was generated using OpenEV from the data set on:
http://webgis.wr.usgs.gov/download/VictoriaCrater_HiRISE/VictoriaCrater_HiRISE.zip
After you unzip it,
I found a workaround to my problems, my thanks to Jeremy for pointing a few
things out.
If I make the following setting:
camera-setAllowEventFocus(false);
Then in Viewer::eventTraversal() this will avoid setCameraWithFocus(camera);
code.
As to the reasoning of why there is separate
Hi Robert,
Builds of OSG svn trunk @ r8221 in both Release and Debug configs on
VS2005sp1/WinXPsp2 succeeded without issue, just some mild warnings in
osgIntrospection.
will continue w/ spot testing...
-- mew
-Original Message-
From: [EMAIL PROTECTED] [mailto:osg-users-
[EMAIL
All,
I was able to use the osgprerender example to obtain most of what I need
- the rendering of a scene into an osg::Image. As that's ALL I want, I
need help with a tweak to it. It uses a viewer.run() to do the work.
I've replaced this with a viewer.frame(). This produces a flicker on
the
On Thu, 2008-04-24 at 15:48 -0500, Tessier, Philip wrote:
All,
I was able to use the osgprerender example to obtain most of what I
need - the rendering of a scene into an osg::Image. As that's ALL I
want, I need help with a tweak to it. It uses a viewer.run() to do
the work. I've
I compiled the svn version on gentoo linux, and ran some test, it did
not notice issue
Cedric
Robert Osfield wrote:
Hi All long suffering testers! ;-)
I have just tagged 2.3.11, the release candidate 3 for OSG-2.4,
details can be found at:
After installed,my app is all ok on no-installed .Net Framework machine ,
but on installed .Net Framework machine ,it doesn't works.use DEPENDS.exe
to find mpr.dll have Error and Warning, no ways at all recently!!!
who can give a help?
在2008-04-23,Mike Weiblen [EMAIL PROTECTED] 写道:
to
82 matches
Mail list logo