[EMAIL PROTECTED] wrote:
Also, what are the plans for the plugin now that 2.0's out?
I plan on submitting a patch to bring OSG up to using DOM 2.0. That
should be sometime this month.
Steve
I think I'll wait for that then. Thanks for your reply.
Hi all,
When I copied my application (OpenSceneGraph libraries, DLLs and application)
to another folder, the application will not load any flt or ive files. A
warning message Warning: Could not find plugin to read objects from file
F:/OpenSceneGraph-2.0/Tutorials/JoeDirt/JoeDirt.flt will be
HI Robert,
Thanks again:). Now I noticed the problem may caused by TexEnvCombine.The
following code works well in 1.2 and draw a pure white model. But in 2.33 it
draws a gray one . no codes changed. And I am also sure that vertex color and
materials has been set to white.
and the result of
Hi Robert,
we've been looking at clustering too. I've added the extension querying
to the GraphicsWindowWin32 and GraphicsWindowX11 and a joinSwapGroup
method to the GraphicsWindow.
I had this code waiting for submission for a few weeks now, but due to
this thread I feel urged to get the code
Hi Jason Robert,
Sorry for not getting back to you sooner.
Many thanks for the info. I guess I'm going to have to just suck-and-see. The
occluder route looks to have the greatest gains for me.
Once again, many thanks to yourselves and the forum.
Kind regards
Neil.
Hi all,
No one have any idea ? Because I'm a little bit lost on how to get the
Delaunay Triangles..
Thanks.
Regards,
Vincent.
2008/4/14, Vincent Bourdier [EMAIL PROTECTED]:
Hi All,
Using osgUtil::DelaunayTriangulator, I'm looking for obtaining the
triangle list... but for the moment,
Hi Jason,
Cursor support in osgViewer is still in it's early days and certainly open
to revision to help make it more flexible. Make a suggestion (i.e. modified
code) on what would work for you and we can discuss it further. Whichever
route we take we'll need to make sure that it works
Hi Neil,
When you start to deal with really large datasets that paging and culling
are tools that you'll need to use effectively, you'll need to understand
load balancing of the system. Primarily what you'll be doing is building an
appropriate database rather than optimizing at the code level,
HI CG,
Set the path to the parent directory that contains the plugins. The
OpenScneeGraph-2.x uses osgPlugins-soversion/pluginname.dll to make sure
that it picks up the correct version of plugins for the applications version
of the OSG. This avoids problems with mixing dll's between versions of
Hi Alex,
On Tue, Apr 15, 2008 at 2:00 AM, Pecoraro, Alexander N
[EMAIL PROTECTED] wrote:
What version of the OSG API and the VPB do I need to use in order to
take advantage of the new osgTerrain functionality and optimizations?
SVN right now. I'll be making the next dev releases very soon
Thank you, Robert :)
Date: Tue, 15 Apr 2008 09:50:54 +0100From: [EMAIL PROTECTED]: [EMAIL
PROTECTED]: Re: [osg-users] Deploying ApplicationHI CG,Set the path to the
parent directory that contains the plugins. The OpenScneeGraph-2.x uses
osgPlugins-soversion/pluginname.dll to make sure that it
Hi Art,
If you want to remove a mode or attribute you simply one of use:
stateset-removeMode(..);
stateset-removeAttribute(..);
stateset-removeTextureAttribute(unit,..);
This will make the StateSet inherit from above.
As for the default set, OpenGL defaults are almost always used,
Hi Roland,
Thanks for the submission. I've just reviewed it, but won't merge anything
yet. What I may do is merge parts of your changes, such as the extensions
support.
The API parts will need further thought/discussion, items such as hardwiring
the swap group id and swap barrier id to 1 is
Hi Vincent,
osgUtil::DelaunayTriangulation just generated osg::Geometry it doesn't
generates a pure triangular mesh.
The OSG stores primitives in osg::Geometry in the same form as OpenGL
handles primitives, the same interface is used for all primitive types,
triangles aren't anything that gets
Hi All,
I would like to make the OpenSceneGraph-2.4 stable release in the coming two
weeks, for this I need your help in testing the build and runtime across
platforms.
In support of this I'll up the rate at which dev releases go out. Today
I'll tag 2.3.8, and make 2.3.9 towards the end of this
Hi Art,
One can't remove state from OpenGL, its a state machine, you only modify its
current state. The OSG manages this by using osg::State which maintains a
stack of StateSet that are currently applied, and stacks for the individual
modes and attributes that are applied. When a stateset is
If it's not a Geode, it's probably a Group. Look for the Geode among your Node's
children. This approach may be easier if you always load the same model.
Jacob Huckaby wrote:
Hi,
Quick question (at least I hope it is.) I am trying to find the Drawable
inside a Node that I read from a file,
Hi Robert,
One can't remove state from OpenGL, its a state
machine, you only modify its
current state. The
Yes, I know.
OSG manages this by using
osg::State which maintains a
stack of StateSet that are currently applied, and
stacks for the individual
modes and attributes that are
I have tried to enable multi sampling, but it has no effect. This is how I try
to activate it:
modelView = new osgViewer::View;
modelView-setUpViewInWindow
(400, //x
0, //y
640, //width
480); //height
Great news.
The OpenFlight export feature has some inefficiencies still, but all crashes
reported to me have now been fixed, so I'm comfortable calling this 2.4,
then I'll fix the inefficiencies later.
Go for it.
-Paul
_
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
From example/osgthirdpersonview/osgthirdpersonview.cpp
osgViewer::CompositeViewer viewer( arguments );
// Turn on FSAA, makes the lines look better.
osg::DisplaySettings::instance()-setNumMultiSamples( 4 );
...
Perhaps that example can help you further along
Paul
Per
Hi Paul,
On Tue, Apr 15, 2008 at 12:51 PM, Paul Martz [EMAIL PROTECTED] wrote:
Great news.
I'm pleased to make your so happy :-)
The OpenFlight export feature has some inefficiencies still, but all
crashes reported to me have now been fixed, so I'm comfortable calling this
2.4, then
Try this code sample :
int main(int argc, char** argv) {
osgViewer::Viewer viewer;
osg::DisplaySettings::instance()-setNumMultiSamples(8);
viewer.setSceneData(buildMyScene());
return viewer.run();
}
Per Rosengren a écrit :
I have tried to enable multi sampling, but it has no
Hello,
I can only give you my implementation for image background, but I use
it with a static image. I guess if you dig into the osgmovie example and
use it together with my implementation for static image you could get
what you ask for.
So here is how it's done: (it's pretty simple)
1. Add a
Thank you (both)! It works!
I'm still a bit confused. I thought that this would be done by setting some
property of the viewer or the camera. This solution seems to change some global
setting for the osg application, or maybe the graphics card.
How long does this setting last? Will it be active
Hi Robert,
Issues outstanding that I'm aware of are:
(...)
If you can think of anything else please speak up.
No one replied to my message about using CMake 2.7.x on Windows/Visual
Studio with the current OSG CMake config files. I'm still having
problems because it seems that around CMake
Hi J-S et. al,
Thanks for the reminder about outstanding CMake issues. So to update my
list of outstanding issues.
Issues outstanding that I'm aware of are:
1) libcurl plugin in Windows 3rd party dependencies (dynamic vs static
libs, vista vs xp issues) and support in Cmake side.
2)
Hi Mike,
I haven't been following your CMake thread, there seems to be several
CMake versions being mentioned.
Could you advise exactly which single CMake version I should use? Pls
keep in mind I'm not a CMake expert, I'm looking for stability and
results, not pushing the vanguard of
TriangleFunctor is not very easy to understand just with examples from OSG
sources...
It is a class Template, so what class can be the template data ?
I've understood the obligation to implement T::operator(), but how to apply
the TriangleFunctor to a drawable or something near ?
Thanks for
This is the new code I use to create my multi sampled windows:
ref_ptr DisplaySettings displaySettings = new DisplaySettings;
displaySettings-setNumMultiSamples(16);
modelView-setDisplaySettings( displaySettings.get() );
modelView-setUpViewInWindow...
I can now mix multisampled
Hi J-S,
I haven't been following your CMake thread, there seems to be several
CMake versions being mentioned.
Could you advise exactly which single CMake version I should use? Pls
keep in mind I'm not a CMake expert, I'm looking for stability and
results, not pushing the vanguard of CMake
Robert Osfield wrote:
Hi Neil,
When you start to deal with really large datasets that paging and
culling are tools that you'll need to use effectively, you'll need to
understand load balancing of the system. Primarily what you'll be
doing is building an appropriate database rather than
Hi All,
I have an earth model with Earth Center Earth Fixed (ECEF).
And I want to use this earth coordinate system to find target coordinate which
in decimal degrees.
I mean when I type the latitute : 35.0 longtitute : 38.0 and height : 40.0,
I want to go this location on this earth model. So
Hi Robert
We are using the 2.4 release as our full move from 1.2 so we are pushing
things hard and will certainly be able to test 4) Collada hard among other
things
G.
_
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Robert
Osfield
Sent: Tuesday, April 15, 2008 10:10
Here's some code I use, I'm still not quite sure what you are asking though.
void CViewScenario::convertLLHtoLocal(double Lat_deg, double Long_deg,
double Alt, double x, double y, double z)
{
double ecefx, ecefy, ecefz;
mEllipse-convertLatLongHeightToXYZ(
Hi JP,
where are you getting these CMake packages from? On the CMake site it
says latest version is 2.4.8?
Interesting, I thought the fact they had started making 2.7 snapshots
meant that at least the 2.6 stable release was out... But it appears it
isn't.
See
cool, thanks. 2.4.7 is what I've been using. tho complete agree that
we do need to keep moving fwd.
-- mew
On Tue, Apr 15, 2008 at 9:28 AM, Jean-Sébastien Guay
[EMAIL PROTECTED] wrote:
Hi Mike,
I haven't been following your CMake thread, there seems to be several
CMake versions being
Hi J-S,
where are you getting these CMake packages from? On the CMake site it
says latest version is 2.4.8?
jp
Jean-Sébastien Guay wrote:
Hi Robert,
Issues outstanding that I'm aware of are:
(...)
If you can think of anything else please speak up.
No one replied to my message about
El Martes 15 Abril 2008ES 16:26:21 Vincent Bourdier escribió:
Thanks for ideas and help, because It looks unused and complicated for
me...
I don't think it is nor unused nor complicated. I use it heavily for my
projects and I find it very useful. It's the best way to retrieve back the
Hello,
I have no suggestion to solve the problem, but if the functionality to
set the default cursor will be added, it should support a 3D cursor too.
That means, hiding the operating system cursor and moving 3D object on
the screen space according to the mouse movements.
By the way, isn't
Hi Robert,
Alrighty, I can try to code something up and submit it. From what I can
tell, Win32 is the only windowing API currently supported that will have the
problems I'm seeing. X11 and Carbon both only deal with setting the cursor
in the actual setCursor method, so if that method is never
On Tue, 2008-04-15 at 18:04 +0200, Guy wrote:
Hello,
I have no suggestion to solve the problem, but if the functionality
to set the default cursor will be added, it should support a 3D cursor
too.
That means, hiding the operating system cursor and moving 3D object on
the screen space
Hi all,
I've put my 3rdParty TODO list in osgtoy svn at:
http://osgtoy.svn.sourceforge.net/viewvc/osgtoy/3rdParty/branches/3rdParty_win32binaries_vs80sp1/TODOs.txt?revision=488view=markup
let me know if I've missed anything. Even better, feel free to
contribute build clues!
(The policy of the
Hi,
For several years after existing the workstation graphics market,
3Dlabs (now 3DLABS) continued to host a collection of useful GLSL
applications and sourcecode. The time has come, and they've taken
down those webpages. Many thanks to 3DLABS for hosting them as long
as they did.
Randi Rost,
Hello,
I don't follow completely your meaning but I guess if you have an array
with {GL_COLOR_ATTACHMENT0} and call glDrawBuffers(1, arr) (forgive the
syntax errors) you will Dis the DrawBuffer attribute. That means you
will need to have the array of attachments and it's length as Attribute
in
Hi Mike,
Randi Rost, author of the GLSL Orange Book has taken up hosting
those resources at http://www.3dshaders.com/home/ so please update
your links. I'm also mirroring them at http://mew.cx/glsl/
Good news, those are indeed very useful resources. Thanks for the heads up.
J-S
--
Thanks,
Guy.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jeremy
Moles
Sent: Tuesday, April 15, 2008 5:17 PM
To: OpenSceneGraph Users
Subject: Re: [osg-users] Using Custom Mouse Cursor
On Tue, 2008-04-15 at 18:04 +0200, Guy wrote:
Hello,
I have
Hi JP,
where are you getting these CMake packages from? On the CMake site it
says latest version is 2.4.8?
Interesting, I thought the fact they had started making 2.7 snapshots
meant that at least the 2.6 stable release was out... But it appears it
isn't.
See
On Tue, Apr 15, 2008 at 11:47 AM, Jean-Sébastien Guay
[EMAIL PROTECTED] wrote:
Hi JP,
where are you getting these CMake packages from? On the CMake site it
says latest version is 2.4.8?
Interesting, I thought the fact they had started making 2.7 snapshots
meant that at least the 2.6
Hi J-S,
On Tue, Apr 15, 2008 at 4:47 PM, Jean-Sébastien Guay
[EMAIL PROTECTED] wrote:
Just to make it clear, I agree, I was getting ahead of myself by getting
the CVS snapshot and assuming that CMake 2.6 was current. So we can
probably ignore what I said about the change in library directory
Hello Philip,
The change in library directory semantics is fairly low-key. You can
see an example of the differences below. The big difference is that
DLLs will be placed in CMAKE_RUNTIME_OUTPUT_DIRECTORY. I'm not sure how
this affects the PREFIX target property that CMake uses now for
Hi Robert,
My ideal is that the OSG build system would work with 2.4 and 2.6 - if
that's possible, if not then run with the present CMake version.
If we can't get CMake2.6 compatibility right away then perhaps should
drop this from a must have for OSG-2.4.
OK, I'll keep trying to work
Attempting to build the latest and greatest osg...
Didn't have libcurl on my system, so grabbed a fresh copy from haxx.se
Curl build went fine.
osg's cmake setup isn't finding CURLConfig.cmake. I'm not able to find it
either - should this be within curl? osg?
Help locating CURLConfig.cmake
Hi All,
I have just tagged the OpenSceneGraph-2.3.8 developer release.
Details can be found at:
http://www.openscenegraph.org/projects/osg/wiki/Downloads/DeveloperReleases
o OpenSceneGraph-2.3.8, released on 15th April 2008. Changes include
: support for multiple render targets
extension
Hi, everyone.
I begun reading a thread by Guy in which he talked about disabling
mouse cursor, and so I did it: I've instantiated an
osgViewer::GraphicsWindow object, gw, and used gw.useCursor(false), but
nothing happened. I've also tried some other operations, like resizing the
window,
Hi Renan,
I begun reading a thread by Guy in which he talked about disabling
mouse cursor, and so I did it: I've instantiated an
osgViewer::GraphicsWindow object, gw, and used gw.useCursor(false), but
nothing happened. I've also tried some other operations, like resizing
the
Hi Robert,
That totally makes sense, I can see the difference now between
setCursor(NoCursor) and useCursor(false).
Thanks!
Jason
On Tue, Apr 15, 2008 at 3:23 PM, Robert Osfield [EMAIL PROTECTED]
wrote:
Hi Jason,
I've already merged your submission, so this rather belated reply (I'm
I have an additional issue...
Configure/make/make install works fine without running wxWidgets/make
install.
When I install wxWidgets using make install the configure step in OSG
fails like so:
cmake-2.4.7-Linux-i386/bin/cmake ../ -DDYNAMIC_OPENSCENEGRAPH=ON
-DDYNAMIC_OPENTHREADS=ON
Hi Robert, Jason,
I have built 2.3.8 almost successfully on Win32/vc2005. I think Jason
may have missed to pass his GraphicsWindowWin32 header to you in a
recent submission regarding cursor handlingon Windows. I had to add:
MouseCursor _mouseCursor;
to it or GraphicsWindowWin32.cpp fails in
Hi Robert,
I had to add in some buffer group nodes ahead of the ones I wanted to
apply a state change to and so now it works great.
Thanks,
Judie
On Apr 14, 11:54 am, Robert Osfield [EMAIL PROTECTED]
wrote:
Hi Judia,
What you are trying to do should work, but without the code for setting
Judie wrote on Tuesday, April 15, 2008 4:58 PM:
I had to add in some buffer group nodes ahead of the ones I wanted to
apply a state change to and so now it works great.
Out of curiosity, why couldn't you just add the state change to NodeC instead
of adding buffer group nodes?
On Apr 14,
In my code I have an OSG tree with the following global state
attributes defined:
osgUtil::CullVisitor *pCullVisitor = m_sceneView-
getCullVisitor();
osgUtil::RenderBin *pRenderBin = pCullVisitor-getCurrentRenderBin();
Because in the osg implementation (that I have anyway), it looks like
the parent of the node is used for setting the state. This seems to be
true in my experimenting. If I just applied the state change to the
node I wanted affected by the state change, it did not seem to work.
void
Hi JP;
Thanks for your awesome simple help.
ÜMİT UZUN
Date: Tue, 15 Apr 2008 12:14:15 -0400
From: [EMAIL PROTECTED]
To: osg-users@lists.openscenegraph.org
Subject: Re: [osg-users] Going for OpenSceneGraph-2.4 within the next two
weeks
On Tue, Apr 15,
Hi all;
I try to save my aircraft simulation screen when I was flying with using ;
// add the record camera path handler
viewer.addEventHandler(new osgViewer::RecordCameraPathHandler);
I can save the animation with using z and shift + z buttons and result of I
can get
Judie wrote on Tuesday, April 15, 2008 5:17 PM:
Because in the osg implementation (that I have anyway), it looks like
the parent of the node is used for setting the state. This seems to be
true in my experimenting. If I just applied the state change to the
node I wanted affected by the state
Hi Robert and Mattias,
I sent along GraphicsWindowWin32 in my original submission, looks like it
missed the commit. The only change to the header was the addition of the
_mouseCursor member variable as you pointed out.
Thanks,
Jason
On Tue, Apr 15, 2008 at 5:57 PM, Mattias Helsing [EMAIL
hi All,
Who can tell me how to integrate osg and VTK?For example, how to show
the result calculated by VTK algorithm (e.g.,contourLine ) in OSG scene.
thanks you in advance!
zhujun
___
osg-users mailing list
I don't want to dive into a huge discussion over this issue,
I just think that even that one can get the result wanted in many ways,
it is more comprehend to have similar conceptual functionality under
similar if not the same APIs, and not scatter around many APIs/Toolkits.
But I agree that the
69 matches
Mail list logo