Re: [osg-users] Lets slowly update extension gl symbols to latest OpenGL specification with each submission.

2010-02-07 Thread Robert Osfield
Hi Paul,

On Fri, Feb 5, 2010 at 8:43 PM, Paul Martz pma...@skew-matrix.com wrote:
  2) Centralized management of extensions via external libs doesn't
 fit well with the ability to
      extend the OSG in 3rd party NodeKits, where the NodeKits support
 extensions that that
      the OSG version didn't support when shipped - these 3rd party
 NodeKits would be forced
      to only use the same version of the extension library that the
 OSG was linked to.

 This is really not an issue. We discussed something similar to this in
 OpenGL capture/logging in OSG and I'll paraphrase what I said there:
 External node kit developers can cook their own extension access solution
 until the extension is available (in core OSG or OSG's external feature
 support dependency).

If the external node kit developers have to cook up their own
extensions then we really aren't any further forward in try to unify
things.  What happens if we merge the 3rd party nodekits with the core
OSG?  Do we then convert across?

The better solution is to make sure that we have an extensions system
that is easily extensible.  A completely centralized system doesn't
achieve this.

  3) We need to be able to disable extensions when they don't work.

 (I'd question whether or not this feature even works in OSG today, given
 that OSG doesn't even query the extension string for many of the extension
 features it uses. But...) This is an interesting and possibly useful
 feature, so it should definitely be in any solution that you endorse before
 we start coding a submission.

 And finally regarding the dependency issue. It doesn't have to be a
 dependency any more than OpenThreads is a dependency. It could be an
 internal self-contained module. I know, I know, you're opposed to
 centralizing this. :-)

An external dependency even if compiled part of the core OSG is still
problematic as I said in my earlier post.  Such an approach will not
be merged with the core OSG as it's a backward step in too many areas.

This doesn't preclude us for coming up with a better way of organizing
extensions.  Whatever system we come up with it has extensionble, a GL
extension system that itself it's extensible rather defeats the whole
point of GL extensions.

Robert.
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] Questions about physic engines.

2010-02-07 Thread PCJohn

Hi Ricardo,
sorry to not go into the details - so just few hints from my friend that 
is going his project on ODE+OSG.

He done the integration like this:
- he loads the scene by OSG
- he converts the scene geometry to ODE geometry and sends it to ODE by 
ODE functions

- he setups the ODE world
- he starts the ODE simulation
- each frame, he reads all required transformations from ODE and updates 
OSG transformations

 (ODE simulation is applied to OSG scene)

Concerning your questions:
- sorry, I have no knowledge about osgPhysics
- friction, mass, etc. - it is always a little bit tricky to put 
additional information to the file (3ds, collada) if the format is not 
designed to carry this information. However, number of formats supports 
additional text info connected to a scene graph node. Maybe, this will 
be the way. My friend is setting this information inside his code after 
loading each particular scene object. It is easy solution for the 
starting...
- simulation steps: yes, you need to do the simulation steps and then 
render. It sometimes happens that you are doing number of simulation 
steps per one rendering step. That is not a problem. But sorry, I did 
not know implementation details. You will need to take a look to doc and 
tutorials.


Sorry, no more knowledge on my side, but hopefully, it helps a little bit,
John


Ricardo Ruiz wrote:

Hi mates.


I have several questions regarding about physics engines in OSG. BTW, I'm a OSG 
beginner.

If I want to use ODE, must I add osgPhysics plugin to my OSG?

How can I load a scene with physics values? Let's say I'm creating a scene in 
3Ds MAX, and I export it to COLLADA (or any other format). Does OSG or 
osgPhysics read these values (mass, friction...)? And the most important, how 
can I tell 3Ds MAX that objets have different physic properties?

And the last one. Usually physics engines requere a fixed (or almost) time 
step, ODE is one of them. How should I manage that inside OSG, I mean, after 
integrating ODE with ODE?

Thank you very much for your time and help.

Cheers,
Ricardo

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=23771#23771





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
  

___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] First attempt at OpenSceneGraph Programming.....

2010-02-07 Thread Ernie Smethurst
Thanks for the reply. I dont think it is a class problem because when i try the 
following in a command prompt window:

Code:

ECHO %OSG_BIN_PATH%
ECHO %OSG_INCLUDE_PATH%
ECHO %OSG_LIB_PATH%
ECHO %OSG_SAMPLES_PATH%
ECHO %OSG_FILE_PATH%




The correct locations are shown, i think then its just that VS2008 cannot seem 
to see my OSG/bin folder which is where the osg55-osgd.dll file is.

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=23774#23774





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] First attempt at OpenSceneGraph Programming.....

2010-02-07 Thread Ernie Smethurst
Thank you very much for your reply, i compiled the program and below is the 
output and it looks like the PATH is setup:


Code:
PATH = 
C:\PHP\;C:\Ruby\bin;C:\Python\Scripts;C:\Python\;C:\Perl\site\bin;C:\Perl\bin;C:\OpenSceneGraph\bin;C:\OpenSceneGraph\share\OpenSceneGraph\bin;C:\OpenSceneGraph\Samples;

OSG_INCLUDE_PATH = C:\OpenSceneGraph\include
OSG_LIB_PATH = C:\OpenSceneGraph\lib




Must just be VS2008 then. No worries, i'll just have to start the programs 
manually after I have compiled them.

Thanks for the input, Much appreciated.

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=23777#23777





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] Displaying elevation values while navigating terrain elevation files

2010-02-07 Thread Chris 'Xenon' Hanson
On 2/6/2010 11:33 PM, Phanindra Talabathula wrote:
 Hi Chris,
 Is it also possible to display latitude, longitude along with elevation 
 values as the user tries to navigate/fly thro' the terrain elevation file in 
 osgviewer?

  It isn't in the basic osgViewer. in the past I've hacked osgviewer's stats 
display to
have those coordinates displayed, but I don't know if I have that code handy 
right now.

 Regards,
 Phanindra

-- 
Chris 'Xenon' Hanson, omo sanza lettere  Xenon AlphaPixel.com
PixelSense Landsat processing now available! http://www.alphapixel.com/demos/
There is no Truth. There is only Perception. To Perceive is to Exist. - Xen
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] Scientific Visualization classes?

2010-02-07 Thread Gerwin de Haan
Hi Andrew,
we have used OSG and VTK together in some data visualization projects.
We don't use any black magic in combining the two, but our software
might contain some handy code that is usable for your purposes. The
software (Virtual Reality eXplorer (VRX) and VRmeer Library Open
Source Edition) can be downloaded here:
http://graphics.tudelft.nl/VRmeer
I'd love to discuss dataviz stuff on OSG, so do contact me if you have
ideas on combining the two.
Gerwin

On Tue, Feb 2, 2010 at 8:12 PM, Andrew Cunningham o...@a-cunningham.com wrote:
 I was looking for some SciVis classes for OSG, along the lines of VTK's very 
 rich collection?

 It is possible to use use VTK as a visualization engine to prepare data for 
 OSG (vtkActorToOSG), and I am prepared to go that way, but that is not 
 particularly efficient in memory and speed as data has to be translated both 
 ways.


 I evaluated using either VTK and OSG for a project , but found the VTK scene 
 graph implementation is, in my experience,  poorly implemented, and 
 performance is not good once a scene graph gets more than a few levels deep. 
 VTK's abstraction from the underlying graphics API also hurts performance. 
 One of  my test cases showed a 20x performance hit over OSG.

 Andrew

 --
 Read this topic online here:
 http://forum.openscenegraph.org/viewtopic.php?p=23553#23553





 ___
 osg-users mailing list
 osg-users@lists.openscenegraph.org
 http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] node names not preserved going from flt to ive/osg

2010-02-07 Thread ted morris
Greetings,

I am having difficulty keeping the node names preserved from open flight
files
(OpenFlight 15.x vintage, I believe) when converted to ive or osg, using
osgconv.exe.

Essentially, the files have a few LOD nodes with different named, group
nodes underneath each of them. Almost all the node names I see in the
ive file (or osg file) are no longer preserved, when I examine them within
my node visitor
in the debugger. When I load the OpenFlight file instead, it is exactly as
expected.

Is this a common problem, and if so, recommendations on a work-around
would be very much appreciated. Loading ive is preferable.

thanks all,

ted
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] Example of geographical position

2010-02-07 Thread Tony Vasile
Hi Shayne,
   Excuse my newbie status so how do I set up the MatrixTransform do I just
use the latitude, longitude and altitude as a translation or do I just set
the position of my vehicle using the latitude, longitude to set the position
of the vehicle some how.
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] node names not preserved going from flt to ive/osg

2010-02-07 Thread Paul Martz
First, make sure you disable the Optimizer with OSG_OPTIMIZER=OFF before 
you run osgconv. The REMOVE_REDUNDANT_NODES flag might be the cause of 
this behavior.


Also, check the FLT plugin documentation for tips. Two sources of info:
  osgconv --format flt
or:

http://www.openscenegraph.org/projects/osg/wiki/Support/KnowledgeBase/OpenFlight

From that info, it looks you might want to consider using the 
preserveFace and preserveObject options.


If you still experience this issue, it might have something to do with 
the way FLT LOD nodes map to OSG nodes. Watch what happens under a 
debugger to see what's going on.


Paul Martz
Skew Matrix Software LLC
_http://www.skew-matrix.com_ http://www.skew-matrix.com/
+1 303 859 9466



ted morris wrote:
I am having difficulty keeping the node names preserved from open flight 
files

(OpenFlight 15.x vintage, I believe) when converted to ive or osg, using
osgconv.exe.

Essentially, the files have a few LOD nodes with different named, group
nodes underneath each of them. Almost all the node names I see in the
ive file (or osg file) are no longer preserved, when I examine them 
within my node visitor

in the debugger. When I load the OpenFlight file instead, it is exactly as
expected.

Is this a common problem, and if so, recommendations on a work-around
would be very much appreciated. Loading ive is preferable.


___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] Displaying elevation values while navigating terrain elevation files

2010-02-07 Thread Phanindra Talabathula
Hi Chris,

If you could give me some inputs on how you could hack/tweak the code to get 
the co-ordinates and elevation displayed, I shall try it out.

Thanks for the help in advance .

Regards,
Phanindra

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=23790#23790





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] node names not preserved going from flt to ive/osg

2010-02-07 Thread Trajce Nikolov
I found this issue on my end too. Might be good if we put the optimize as an
option to osgconv, instead of disabling it by the env
-Nick


On Mon, Feb 8, 2010 at 5:26 AM, Paul Martz pma...@skew-matrix.com wrote:

 First, make sure you disable the Optimizer with OSG_OPTIMIZER=OFF before
 you run osgconv. The REMOVE_REDUNDANT_NODES flag might be the cause of this
 behavior.

 Also, check the FLT plugin documentation for tips. Two sources of info:
  osgconv --format flt
 or:


 http://www.openscenegraph.org/projects/osg/wiki/Support/KnowledgeBase/OpenFlight

 From that info, it looks you might want to consider using the preserveFace
 and preserveObject options.

 If you still experience this issue, it might have something to do with the
 way FLT LOD nodes map to OSG nodes. Watch what happens under a debugger to
 see what's going on.

 Paul Martz
 Skew Matrix Software LLC
 _http://www.skew-matrix.com_ http://www.skew-matrix.com/
 +1 303 859 9466




 ted morris wrote:

 I am having difficulty keeping the node names preserved from open flight
 files
 (OpenFlight 15.x vintage, I believe) when converted to ive or osg, using
 osgconv.exe.

 Essentially, the files have a few LOD nodes with different named, group
 nodes underneath each of them. Almost all the node names I see in the
 ive file (or osg file) are no longer preserved, when I examine them within
 my node visitor
 in the debugger. When I load the OpenFlight file instead, it is exactly as
 expected.

 Is this a common problem, and if so, recommendations on a work-around
 would be very much appreciated. Loading ive is preferable.


 ___
 osg-users mailing list
 osg-users@lists.openscenegraph.org
 http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org