Re: [osg-users] Can I use a Framebuffer Object/Render to Texture as an Accumlation Buffer emulator?

2007-02-15 Thread Robert Osfield
HI Eric, I haven't personally don't it, but while I was at Umea four years ago the team their had implemeneted a stroke stimulation that did motion blur in the way you are talking, abliet before osg::Camera. The basic prinicple is to have a post draw callback that does a copy to texture for

Re: [osg-users] Re: osg-users Digest, Vol 29, Issue 23

2007-02-15 Thread Robert Osfield
Hi Terry, On 2/15/07, Terry Welsh [EMAIL PROTECTED] wrote: Robert, As expected, with the latest CVS of OSG my shadow maps were not working anymore; the CameraNodes were using LOD from their own point of view. So I added this to all the CameraNodes:

[osg-users] CVS version missing osgViewer::CompositeViewer::setFrameStamp

2007-02-15 Thread Adrian Egli
osgWrapper osgViewer error LNK2019: unresolved external symbol __declspec(dllimport) public: void __thiscall osgViewer::CompositeViewer::setFrameStamp(class osg::FrameStamp *) ([EMAIL PROTECTED]@osgViewer@@[EMAIL PROTECTED]@@@Z) referenced in function public: __thiscall `anonymous

Re: [osg-users] Please test CVS version of OpenSceneGraph

2007-02-15 Thread Robert Osfield
Hi André, Thanks for the exhustive testing. I don't quite have the same set up here, but a bit similiar I have a X2 3800, 2GB RAM, Linux, 7800GT x 2, 2 screens (one per card). All the examples you have problems run great on my system, nothing is slow, no crashes, no artifacts on any of the

Re: [osg-users] CVS version missing osgViewer::CompositeViewer::setFrameStamp

2007-02-15 Thread Robert Osfield
Hi Adrian, Thanks for the pointer, rather than add a setFrameStamp implementation to Viewer and CompositeViewer I have gone for the removing the setFrameStamp() as the view classes manage their own FrameStamp so it should be required to apply and new, and doing so would mean all the objects that

Re: [osg-users] Please test CVS version of OpenSceneGraph

2007-02-15 Thread Adrian Egli
Hi robert, so with the latest CVS version and the missing fix i did myself for my system i started the runexample.bat: crash: at the end, need ctrl+c to break osgscalarbar osgvertexprogram all other worked very nice, without dead lock, crash , nice work you did last night ! many thanks,

Re: [osg-users] Please test CVS version of OpenSceneGraph

2007-02-15 Thread Robert Osfield
Hi Adrian, On 2/15/07, Adrian Egli [EMAIL PROTECTED] wrote: so with the latest CVS version and the missing fix i did myself for my system What fix was this? The setFrameStamp? i started the runexample.bat: crash: at the end, need ctrl+c to break osgscalarbar osgvertexprogram Were these

Re: [osg-users] Please test CVS version of OpenSceneGraph

2007-02-15 Thread Adrian Egli
2007/2/15, Robert Osfield [EMAIL PROTECTED]: Hi Adrian, On 2/15/07, Adrian Egli [EMAIL PROTECTED] wrote: so with the latest CVS version and the missing fix i did myself for my system What fix was this? The setFrameStamp? YES the one you did i started the runexample.bat: crash: at

[osg-users] Window management

2007-02-15 Thread adorn
Hi all, is there a possibility to change the window size on the fly, after i have strted the application? With best regards Johann ___ osg-users mailing list osg-users@openscenegraph.net http://openscenegraph.net/mailman/listinfo/osg-users

Re: [osg-users] osgdem: Image size

2007-02-15 Thread RJ
Hi Folks, In function DataSet::CompositeDestination*DataSet::createDestinationGraph if the aspect ratio (extentInY/extentInX) sqrt(2) i.e extentsInY 1.414 * extentInX, The destinationGraph is not divided in to X direction. Similarly if extentInX 1.414 * extentInY, the destinationGraph is not

Re: [osg-users] Please test CVS version of OpenSceneGraph

2007-02-15 Thread Robert Osfield
HI Adrain, On 2/15/07, Adrian Egli [EMAIL PROTECTED] wrote: at the end, yes no access violation, but didn't terminate them self Sounds like a dead lock on exit. Could you run these apps in a debugger and try to exit, then ctrl-c it to find out where the deadlock is occurring. Note there

Re: [osg-users] osgdem: Image size

2007-02-15 Thread Robert Osfield
On 2/15/07, RJ [EMAIL PROTECTED] wrote: Hi Folks, In function DataSet::CompositeDestination*DataSet::createDestinationGraph if the aspect ratio (extentInY/extentInX) sqrt(2) i.e extentsInY 1.414 * extentInX, The destinationGraph is not divided in to X direction. Similarly if extentInX 1.414

[osg-users] LOD vs pagedLOD

2007-02-15 Thread RJ
Hi Guys, Can any one tell me, what is the difference between LOD and pagedLOD ? thanx in advance RJ ___ osg-users mailing list osg-users@openscenegraph.net http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/

Re: [osg-users] LOD vs pagedLOD

2007-02-15 Thread Adrian Egli
hi RJ LOD : decide wether sub graph should be draw (rendered), the decision is based on the level of detail function pagedLOD: the sub graph rendered is hold in external files, and were loaded only it have to be rendered. (and also may be paged out, means removed from memory, may have to be

Re: [osg-users] Support for sharing contexts in GraphicsWindowWin32/Carbon and X11

2007-02-15 Thread Stephan Maximilian Huber
Robert Osfield schrieb: Once things are work please post me back any mods or give me the thumbs up to check in what I have right now. I did a cvs-update and osgprerender --window does not crash anymore, sharing contexts seems to work ( I stepped through the code with a debugger), but the

Re: [osg-users] Missing descriptions

2007-02-15 Thread Joakim Simonsson
Hi Anders, This is not strange. It is optimized away. Try: set OSG_OPTIMIZER=OFF On Thu, 15 Feb 2007 10:47:03 +0100, Anders Backman [EMAIL PROTECTED] wrote: Hi all, long time no see ;-) I have a brief one. When reading a .osg file that I have I only get a few of the nodes actually

Re: [osg-users] osgdem: Image size

2007-02-15 Thread RJ
Hi Robert, What are the reasons behind keeping each grid cell aspect ratio near to 1.0? RJ On Thu, 2007-02-15 at 09:24 +, Robert Osfield wrote: On 2/15/07, RJ [EMAIL PROTECTED] wrote: Hi Folks, In function DataSet::CompositeDestination*DataSet::createDestinationGraph if the aspect

[osg-users] How to get a group's child without const

2007-02-15 Thread Pawan Harish
Hi, I cannot seem to a get a child using the getChild() of osg::Group without the const pointer. I need to modify the child after getting it from the parent. There are 2 functions in osg::Group but it only seem to call the const function and not the other, please help. Pawan Harish

Re: Re: [osg-users] Render scene part to texture

2007-02-15 Thread David Spilling
If I understand you correctly, I think your problem relates more to how the scene graph is set up. If you want multiple RTTs of the same scene, you need to make sure that all the objects that you want in each RTT are children of each RTTCamera - as per the attached scene graph. Each

[osg-users] Detecting Pixel Format from within a Drawable/NodeKit

2007-02-15 Thread David Spilling
Dear All, I have a nodekit which contains drawables, and shaders. How can I detect within the nodekit, whether the parent application is rendering the drawable to, for example, a normal RGBA8 window color buffer, or a RGB16F FBO, etc. I need to do this because it will influence the shaders that

Re: [osg-users] LOD vs pagedLOD

2007-02-15 Thread Robert Osfield
On 2/15/07, RJ [EMAIL PROTECTED] wrote: Hi Guys, Can any one tell me, what is the difference between LOD and pagedLOD ? thanx in advance PagedLOD is just an an LOD and is even subclassed from LOD, what it adds extra is a filename field per child, where the filename can be used to reference a

Re: [osg-users] Support for sharing contexts in GraphicsWindowWin32/Carbon and X11

2007-02-15 Thread Robert Osfield
Hi Stephan, On 2/15/07, Stephan Maximilian Huber [EMAIL PROTECTED] wrote: Robert Osfield schrieb: Once things are work please post me back any mods or give me the thumbs up to check in what I have right now. I did a cvs-update and osgprerender --window does not crash anymore, sharing

Re: [osg-users] How to get a group's child without const

2007-02-15 Thread Robert Osfield
Hi Pawan, In osg::Group there is: /** Return child node at position i. */ inline Node* getChild( unsigned int i ) { return _children[i].get(); } /** Return child node at position i. */ inline const Node* getChild( unsigned int i ) const { return

Re: [osg-users] Detecting Pixel Format from within a Drawable/NodeKit

2007-02-15 Thread Robert Osfield
Hi David, On 2/15/07, David Spilling [EMAIL PROTECTED] wrote: I have a nodekit which contains drawables, and shaders. How can I detect within the nodekit, whether the parent application is rendering the drawable to, for example, a normal RGBA8 window color buffer, or a RGB16F FBO, etc. I need

Re: [osg-users] ComputeIntersections using AutoTransform with multiple cameras (Again)

2007-02-15 Thread Robert Osfield
Hi Miguel, I made a bug fix to osg::AutoTransform recently relating to its support for NodeMask, so if you arn't using CVS try it out out as there is good chance it'll solve your problem withe the node masks not being honoured. Robert On 2/15/07, Miguel Martinez [EMAIL PROTECTED] wrote: Hi

[osg-users] Spotlight back projection prevention

2007-02-15 Thread Carlos Zoido
Hello, I have implemented a spotlight based on the spotlight example on osg but it's projecting on the front and back sides... How should i implement a clip plane or something to prevent the light from a spotligth projecting at both sides? Thanks a lot, Carlos.

Re: [osg-users] Spotlight back projection prevention

2007-02-15 Thread Robert Osfield
Hi Carlos, On 2/15/07, Carlos Zoido [EMAIL PROTECTED] wrote: I have implemented a spotlight based on the spotlight example on osg but it's projecting on the front and back sides... How should i implement a clip plane or something to prevent the light from a spotligth projecting at both sides?

Re: [osg-users] Support for sharing contexts in GraphicsWindowWin32/Carbon and X11

2007-02-15 Thread Robert Osfield
Hi All, I don't have feedback on things compiling/working yet on Win32 but rather than wait any longer have gone for it and checked in my changes to GraphicsWindowWin32 and GraphcisWindowCarbon, to make sure that these files and tested and resolved a bit more promptly ;-) So please do a cvs

[osg-users] puget sounf data :: not found

2007-02-15 Thread Sajjadul Islam
Hello, The data set required to run osgDem is not found in the following website as specified in the link http://www.openscenegraph.org/osgwiki/pmwiki.php/UserGuides/Osgdem Could you send any other link to graB those data? Sajjad ___ osg-users

Re: [osg-users] Support for sharing contexts in GraphicsWindowWin32/Carbon and X11

2007-02-15 Thread Robert Osfield
Hi Stephan, On 2/15/07, Stephan Maximilian Huber [EMAIL PROTECTED] wrote: The additional window is white -- no rendering etc. The flag's texture is garbled, interpreting memory, it stays the same all the time. If I enable exposé (a window-manager-function, which will scale all windows so every

RE: [osg-users] Trouble making Producer in Cygwin

2007-02-15 Thread Bill Galbraith
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Norman Vine Sent: Thursday, February 15, 2007 8:01 AM To: 'osg users' Subject: RE: [osg-users] Trouble making Producer in Cygwin Bill Galbraith writes: Norman Vine wrote: In

Re: [osg-users] Support for sharing contexts in GraphicsWindowWin32/Carbon and X11

2007-02-15 Thread Robert Osfield
Hi André, Thanks for the fixes. Does osgprerender --window cow.osg Now work? Robert. On 2/15/07, André Garneau [EMAIL PROTECTED] wrote: Hi Robert, Here are the Win32 files to make it compile. André -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf

RE: [osg-users] Please test CVS version of OpenSceneGraph

2007-02-15 Thread André Garneau
Hi Robert, osgprecipitation makes use of GLSL heavily, and while it vertex and pixel fill requirments won't stress a 7900GT, I wouldn't be surprised if inbuilt graphics will struggle. Could it be the once of screens is being driven by the NVIDIA 6150? Yes. Performance in

RE: [osg-users] Support for sharing contexts in GraphicsWindowWin32/Carbon and X11

2007-02-15 Thread André Garneau
Hi Robert, The test results I reported yesterday were done against the Win32 files I just submitted; it works in SingleThreaded mode, but not in the other modes. So I guess the answer is yes, assuming other issues explain the crash in non-single-threaded mode. André -Original Message-

Re: [osg-users] Support for sharing contexts in GraphicsWindowWin32/Carbon and X11

2007-02-15 Thread Robert Osfield
Hi André, On 2/15/07, André Garneau [EMAIL PROTECTED] wrote: The test results I reported yesterday were done against the Win32 files I just submitted; it works in SingleThreaded mode, but not in the other modes. So I guess the answer is yes, assuming other issues explain the crash in

Re: [osg-users] Please test CVS version of OpenSceneGraph

2007-02-15 Thread Robert Osfield
Hi Andre, On 2/15/07, André Garneau [EMAIL PROTECTED] wrote: Yes. Performance in single-threaded mode is excellent though. Anyway since this is not a typical configuration, I'll redo the tests without the 6150. Normally one would expect multi-threaded multi-context to run faster than single

Re: [osg-users] Please test CVS version of OpenSceneGraph

2007-02-15 Thread Robert Osfield
Hi Adrian, Thanks for the changed files, the problem is that these files are autogenerated so the next time I update the wrappers these changes will be lost. In this instances its the I_BaseType macro defined in include/osgIntrospection/ReflectionMacros that will where the mods need to happen.

Re: [osg-users] Please test CVS version of OpenSceneGraph

2007-02-15 Thread Adrian Egli
Hi robert, :-( too bad, ok but if you autogenerate the files, means that i have to do a work around in the marco. you can replace the current macro by following macro: #define I_BaseType(x) \ { \ typedef x BASE_TYPE_X;\ addBaseType(typeof( BASE_TYPE_X )); \ BaseTypeConverters

Re: [osg-users] Please test CVS version of OpenSceneGraph

2007-02-15 Thread Robert Osfield
Hi Adrian, On 2/15/07, Adrian Egli [EMAIL PROTECTED] wrote: Hi robert, :-( too bad, ok but if you autogenerate the files, means that i have to do a work around in the marco. you can replace the current macro by following macro: #define I_BaseType(x) \ { \ typedef x BASE_TYPE_X;\

RE: [osg-users] Please test CVS version of OpenSceneGraph

2007-02-15 Thread Mike Wittman
Hi Adrian and Robert, The template-argument-list errors look to be due to a lack of spaces in the typeof macro. Here's a new Reflection header which should fix those problems. For consistency I think that's the best solution. I'm not sure how best to address the string length problem.

Re: [osg-users] Please test CVS version of OpenSceneGraph

2007-02-15 Thread Robert Osfield
Hi Win32's, In light of the continuing threading problems under Win32 I think I'll default osgViewer's threading model to SingleThreaded and check this into CVS. This will take the pressure off solving all the various combinations of threading right away. Robert.

Re: [osg-users] Please test CVS version of OpenSceneGraph

2007-02-15 Thread Robert Osfield
On 2/15/07, Mike Wittman [EMAIL PROTECTED] wrote: The template-argument-list errors look to be due to a lack of spaces in the typeof macro. Here's a new Reflection header which should fix those problems. For consistency I think that's the best solution. Thanks Mike, merged and submitted to

Re: [osg-users] Please test CVS version of OpenSceneGraph

2007-02-15 Thread Robert Osfield
On 2/15/07, Robert Osfield [EMAIL PROTECTED] wrote: Hi Win32's, In light of the continuing threading problems under Win32 I think I'll default osgViewer's threading model to SingleThreaded and check this into CVS. This will take the pressure off solving all the various combinations of

Re: [osg-users] Please test CVS version of OpenSceneGraph

2007-02-15 Thread Robert Osfield
On 2/15/07, Adrian Egli [EMAIL PROTECTED] wrote: in the attachment the marco file: C:\dev\OpenSceneGraphCVS\OpenSceneGraph\include\osgIntrospection\ReflectionMacros Thanks, I've just reviewed the change and it looks safe. But.. hopefully redundant because Mke's fix to the typeof macro that

Re: [osg-users] Support for sharing contexts in GraphicsWindowWin32/Carbon and X11

2007-02-15 Thread Robert Osfield
HI Stephan, On 2/15/07, Stephan Maximilian Huber [EMAIL PROTECTED] wrote: It sounds like the RTT window is not being created correctly, or pehaps the make current isn't working as it should. I did some debugging, if I insert a glFlush before copyTexture(renderInfo) in RenderStage at line 737

Re: [osg-users] Missing descriptions

2007-02-15 Thread Anders Backman
Well then it is optimized away during the load, and not in the optimizer... Because the call to osgDB::readNodeFile() returns a scene with the node (the pointer adress is the same, with the same name, same type etc, but with no description attached). I would expect the optimizer to remove any

[osg-users] Re: Please test CVS version of OpenSceneGraph

2007-02-15 Thread Tony Horrobin
Hi all, I have tested on the following platform: AMD64 4400 X2 Ubuntu 5.10 ( Breezy Badger ) 32bit 2.6.16.16 SMP, no SMT QuadroFX 4500G with nvidia driver 8762/OpenGL 2.0.2 TwinView 2048x768 driving two projectors OpenThread,Producer,OpenSceneGraph from CVS at around 1pm today gcc version 4.0.2

[osg-users] Advice about using OSG and wxWidgets

2007-02-15 Thread Thibault Genessay
Hi list I have a few problems with a proof of concept I am writing, derived from the wxOsgCanvas (I am using OSG 1.2 and wxWidgets 2.8.0 on Linux) 1) I have used wxWidgets old way of instantiating OpenGL contexts; that is, 2.8 introduced an explicit context creation and usage with

Re: [osg-users] Missing descriptions

2007-02-15 Thread Robert Osfield
Hi Andres, On 2/15/07, Anders Backman [EMAIL PROTECTED] wrote: Well then it is optimized away during the load, and not in the optimizer... Because the call to osgDB::readNodeFile() returns a scene with the node (the pointer adress is the same, with the same name, same type etc, but with no

AW: Re: [osg-users] Window management

2007-02-15 Thread adorn
-Ursprüngliche Nachricht- Datum: Thu, 15 Feb 2007 12:22h Von: Robert Osfield [EMAIL PROTECTED] An: osg users osg-users@openscenegraph.net Betreff: Re: [osg-users] Window management Hi Johann, On 2/15/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: is there a possibility to change the

Re: [osg-users] Re: Please test CVS version of OpenSceneGraph

2007-02-15 Thread Robert Osfield
Hi Tony, Thanks for the feedback. I've see the texture toggling issue when running with DrawTheradPerContext too, its on my todo list, but not a high priority as it should affect end user apps. The black outline around the hold text is deliberate - its an outline to help make the text clearer,

Re: Re: [osg-users] Window management

2007-02-15 Thread Robert Osfield
The answer is yes, please re-read my earlier reply On 2/15/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: -Ursprüngliche Nachricht- Datum: Thu, 15 Feb 2007 12:22h Von: Robert Osfield [EMAIL PROTECTED] An: osg users osg-users@openscenegraph.net Betreff: Re: [osg-users] Window management

Re: [osg-users] Missing descriptions

2007-02-15 Thread Robert Osfield
On 2/15/07, Robert Osfield [EMAIL PROTECTED] wrote: Obviously the Optimizer isn't checking for presence of descriptions when deciding whether it can optimizer away a node. It does check for a number of parameters such as callbaks, so adding a test for descriptions should be easy. I have just

Re: [osg-users] Possible RenderBin problem

2007-02-15 Thread Robert Osfield
Hi Tugkan, Thanks for the test model reproducing the problem. I can see the problem here when I move around the model. Right now I have to put looking further into this issue aside as I really have to get on with other work, and am simply spreading myself too thinly to be able to keep all the

[osg-users] RenderBin

2007-02-15 Thread Andy Skinner
This is related to questions I asked before. I've set the project aside for a bit, and am coming back to it. I am using a RenderBin to set aside some objects to be drawn in a certain way. During the drawImplementation(), I copy an image in the frame buffer, draw the stuff in the RenderBin, then

Re: [osg-users] Please test CVS version of OpenSceneGraph

2007-02-15 Thread Martin Spott
Robert Osfield wrote: Work on setting up the new OpenSceneGraph server is underway, one of the items on the list for migration is migrating from CVS to SVN. Before we do this migration I would like to make sure that we leave the CVS versions in a good state i.e. compiling on all the major

Re: [osg-users] Please test CVS version of OpenSceneGraph

2007-02-15 Thread Adrian Egli
Hi Robert, good news: (1) build under VC2003 without any error ! (2) no crash when running runexample.osg /adegli 2007/2/15, Martin Spott [EMAIL PROTECTED]: Robert Osfield wrote: Work on setting up the new OpenSceneGraph server is underway, one of the items on the list for migration is

Re: [osg-users] Please test CVS version of OpenSceneGraph

2007-02-15 Thread Robert Osfield
Hi Martin, On 2/15/07, Martin Spott [EMAIL PROTECTED] wrote: Robert Osfield wrote: Work on setting up the new OpenSceneGraph server is underway, one of the items on the list for migration is migrating from CVS to SVN. Before we do this migration I would like to make sure that we leave the

Re: [osg-users] Please test CVS version of OpenSceneGraph

2007-02-15 Thread Martin Spott
Hi Robert, Robert Osfield wrote: What viewer codes does FlightGear currently use? Mathias told me that osgViewer ist _not_ being used - apparently there's sort of a generic viewer in one of these libraries: quickstep: 18:12:05 /usr/local/src/FlightGear ldd /opt/FlightGear/bin/fgfs | grep -i

RE: [osg-users] JavaOSG status?

2007-02-15 Thread Ben Cain
Is there a better solution than JavaOSG for using C++ OSG in Java? If not, are there plans to develop a native-Java implementation of OSG? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robert Osfield Sent: Wednesday, February 14, 2007 6:57 PM To: osg

Re: [osg-users] Support for sharing contexts in GraphicsWindowWin32/Carbon and X11

2007-02-15 Thread Stephan Maximilian Huber
Hi Robert, Robert Osfield schrieb: HI Stephan, On 2/15/07, Stephan Maximilian Huber [EMAIL PROTECTED] wrote: It sounds like the RTT window is not being created correctly, or pehaps the make current isn't working as it should. I did some debugging, if I insert a glFlush before

Re: [osg-users] Missing descriptions

2007-02-15 Thread Anders Backman
Hi again. After a quick debug session through the optimizer (thats one long file 4103 lines and I think every single line is executed during an optimization pass) , anyway, Its hard to say what really goes wrong, but there IS check for that there are descriptions within a node (in the call to

[osg-users] Native-Java implementation of OSG?

2007-02-15 Thread Ben Cain
Hello, I'm somewhat of a Java newbie concerning Java's 3D capabilities. Is it even possible to develop a native-Java implementation of OSG? Would it still require an OpenGL binding? If working on a Java application and needing a 3D scene graph capability ... what would be the best approach now

Re: [osg-users] Native-Java implementation of OSG?

2007-02-15 Thread Philip Hahn
Hey Ben- A friend of mine had looked into the state of 3D under Java awhile back for a personal project (he wanted to poke around with some game programming) and he felt the state of affairs, scenegraph or not was pretty abysmal. Java has their own J3D api but it is pretty bad from what I have

[osg-users] Re: Please test CVS version of OpenSceneGraph

2007-02-15 Thread Chris
Am Thu, 15 Feb 2007 00:47:46 + schrieb Robert Osfield: This one is simpler, you just need to update to the latest OpenThreads in CVS. Robert. Hello Robert, sorry but didn't make it! That's what I still get after cvs up -ACdP of OpenThreads/Producer/OSG when building OSG (OpenThreads

[osg-users] Compile error in OSG with Cygwin

2007-02-15 Thread Bill Galbraith
{Reposted from a previous message} I got an error while compile OSG out of cvs with Cygwin. I went ahead and did a 'make -k', to let it keep going, to see what other errors there are. The 'isnan' error showed up a numebr of times. That looked like it. ../../../include/osg/Math: In

Re: [osg-users] JavaOSG status?

2007-02-15 Thread Robert Osfield
On 2/15/07, Ben Cain [EMAIL PROTECTED] wrote: Is there a better solution than JavaOSG for using C++ OSG in Java? If not, are there plans to develop a native-Java implementation of OSG? Please search through the archives for discussions on the this topic.

Re: [osg-users] Support for sharing contexts in GraphicsWindowWin32/Carbon and X11

2007-02-15 Thread Robert Osfield
Hi Stephan, When I get a chance I'll do some logging of texture objects under Linux to see what happens. I would expect the same the same behavior w.r.t OpenGL across all platforms, as the OSG just throws its data at OpenGL in the same way regardless of platform. Robert. On 2/15/07, Stephan

Re: [osg-users] Native-Java implementation of OSG?

2007-02-15 Thread Robert Osfield
Cooki3D anyone? Is that no OSG with Java integration? On 2/15/07, Philip Hahn [EMAIL PROTECTED] wrote: Hey Ben- A friend of mine had looked into the state of 3D under Java awhile back for a personal project (he wanted to poke around with some game programming) and he felt the state of

Re: [osg-users] Re: Please test CVS version of OpenSceneGraph

2007-02-15 Thread Robert Osfield
On 2/15/07, Chris [EMAIL PROTECTED] wrote: Am Thu, 15 Feb 2007 00:47:46 + schrieb Robert Osfield: This one is simpler, you just need to update to the latest OpenThreads in CVS. Robert. Hello Robert, sorry but didn't make it! That's what I still get after cvs up -ACdP of

RE: [osg-users] Compile error in OSG with Cygwin

2007-02-15 Thread Norman Vine
Bill Galbraith writes: I got an error while compile OSG out of cvs with Cygwin. I went ahead and did a 'make -k', to let it keep going, to see what other errors there are. The 'isnan' error showed up a numebr of times. That looked like it. ../../../include/osg/Math: In function

Re: [osg-users] Compile error in OSG with Cygwin

2007-02-15 Thread Robert Osfield
Hi Bill, I don't have any Cygwin expertise so can't provide any pointers. I'd like to make the general note that the OSG does from time to time have working Cygwin port, but Cygwin itself seems to be a moving target, or at least users installation seems to be. The Cygwin build support is

Re: [osg-users] Native-Java implementation of OSG?

2007-02-15 Thread Paul Speed
For non-osg Java scenegraphs there is also JMonkeyEngine. It's decent enough but feels really immature compared to OSG. Still, you can get stuff done in it and it is speedy enough... of you don't already have an OSG option. -Paul Philip Hahn wrote: Hey Ben- A friend of mine had looked

[osg-users] Re: Please test CVS version of OpenSceneGraph

2007-02-15 Thread Chris
Am Thu, 15 Feb 2007 19:09:21 + schrieb Robert Osfield: You probable have the wrong OpenThreads reposotory as you certainly don't have the problem CVS version of OpenThreads. Please check out the docs on the openscenegraph.org download pages for the dependencies. No, I'm using cvs -d

[osg-users] Re: Please test CVS version of OpenSceneGraph

2007-02-15 Thread Chris
Am Thu, 15 Feb 2007 19:48:30 + schrieb Chris: Am Thu, 15 Feb 2007 19:09:21 + schrieb Robert Osfield: You probable have the wrong OpenThreads reposotory as you certainly don't have the problem CVS version of OpenThreads. Please check out the docs on the openscenegraph.org download

Re: [osg-users] Re: Please test CVS version of OpenSceneGraph

2007-02-15 Thread Robert Osfield
On 2/15/07, Chris [EMAIL PROTECTED] wrote: Uups, beautiful! Let me say it this way: I use the repository at openscenegraph.org for OpenThreads, as mentioned in the docs for the dependency donwloads. Looks like you have the right version of OpenThreads, so next up you must have a different

RE: [osg-users] Advice about using OSG and wxWidgets

2007-02-15 Thread Gian Lorenzetto
Hi Thibault, Robert, I've recently pulled out the old code I had created for osgviewerWx for another OSG'er, but with the changes to osgViewer and the recent changes to the wxGLCanvas in 2.8.x series of wxWidgets, it's a bit outdated ... My current goal is to get it compiling this weekend and

Re: [osg-users] Support for sharing contexts in GraphicsWindowWin32/Carbon and X11

2007-02-15 Thread E. Wing
So, I'm still trying to get things built. I was cleaning up issues in the Xcode projects and Stephan beat me to it :) And I had to start over again. Couple of things: First, for the Multi-threaded OpenGL engine, you should only activate it when you have multiple processors. (I noticed it has

Re: [osg-users] osgShadow::ShadowMap implementation

2007-02-15 Thread Mihai Radu
Hi Robert, I'm having problems even allowing for a static light, so I don't need to grab the updated position. How do I add the PRE_RENDER [ to RTT ] Camera ? Adding a Group as the SceneData, then adding ShadowedScene and Camera does not work : osg::ref_ptrosgShadow::ShadowedScene

RE: [osg-users] Compile error in OSG with Cygwin

2007-02-15 Thread Bill Galbraith
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Norman Vine Sent: Thursday, February 15, 2007 2:11 PM To: 'osg users' Subject: RE: [osg-users] Compile error in OSG with Cygwin Bill Galbraith writes: I got an error while compile OSG out of

RE: [osg-users] Compile error in OSG with Cygwin

2007-02-15 Thread Jean-Sebastien Guay
Hello Bill, Or this might be better inline bool isNaN(float v) { return ::isnan(v); } inline bool isNaN(double v) { return ::isnan(v); } Norman Sorry, but this didn't work for me. I even went back to the 1.1 release tar ball and tried to compile that, with and without

Re: [osg-users] Compile error in OSG with Cygwin

2007-02-15 Thread Brian Keener
Bill Galbraith wrote: The 'isnan' error showed up a numebr of times. That looked like it. As Norman pointed out include/osg/Math. Compare the beginning lines to these lines (the first and last lines (inline and template are untouched and not sure of the rest): inline double round(double v) {

Re: [osg-users] Re: Please test CVS version of OpenSceneGraph

2007-02-15 Thread Jean-Sebastien Guay
Hello Robert, As of tonight (checked out around 19:45 EST, so I guess 0:45 tomorrow morning GMT) only osgPlugin osgShadow and example osgShadowTexture don't compile for me. That's on WinXP, VS2005 Express. For the two projects that don't compile, I saw that most errors were simple typos and that

Re: [osg-users] Support for sharing contexts in GraphicsWindowWin32/Carbon and X11

2007-02-15 Thread Jean-Sebastien Guay
Hello Robert, Thanks for the fixes. Does osgprerender --window cow.osg Now work? I was just curious, so I tried this, and it doesn't work for me. What happens is that there's a second small window that pops up, but it only has the blue background (no object) and in the main window the

RE: [osg-users] Re: Please test CVS version of OpenSceneGraph

2007-02-15 Thread Philip Taylor
Hi Jean-Sebastien, When I last tried, my VS2005 express failed to build the examples because it doesn't build DLLs. How did you achieve the build ? PhilT -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Jean-Sebastien Guay Sent: 16 February 2007 01:29 To:

RE: [osg-users] Compile error in OSG with Cygwin

2007-02-15 Thread Bill Galbraith
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Brian Keener Sent: Thursday, February 15, 2007 8:20 PM To: osg users Subject: Re: [osg-users] Compile error in OSG with Cygwin Bill Galbraith wrote: The 'isnan' error showed up a numebr of

RE: [osg-users] Compiling with VC++ 2005 Express, was: Re: Please test CVS version of OpenSceneGraph

2007-02-15 Thread Jean-Sebastien Guay
Hello Phil, When I last tried, my VS2005 express failed to build the examples because it doesn't build DLLs. How did you achieve the build ? I don't recall ever having had trouble building DLLs with VC++2005 Express. Did you follow the instructions for installing the Platform SDK and

[osg-users] xpm image file

2007-02-15 Thread Gerrick Bivins
Hi all, Does osg support xpm image files? We'd like to be able to compile some images into our app so we don't have to distribute them and put extra handling logic(environment vars)just for this in our code. wxWidgets has this feature but I didn't see it (as a plugin anyway) in OSG. Is there

Re: [osg-users] xpm image file

2007-02-15 Thread Mike Weiblen
Hi biv, osgEphemeris has code to convert images to c code, used to embed the sun/moon images. I reinvented something similar with a .cpp writer plugin, which dump the contents of an osg::Image as c++ code; e.g.: osgimgconv foo.png foo.cpp It's rather immature and not in osgToy yet, but I can

Re: [osg-users] osgShadow::ShadowMap implementation

2007-02-15 Thread Robert Osfield
HI Mihai, I am going to have bash at implementing the ShadowMap and ShadowTexture techniques today. Last night I checked in the addition of an osgShadow .osg support and pseudo loader, to enable me to switch between the various techniques easily. More on this later. On 2/15/07, Mihai Radu

Re: [osg-users] Re: Please test CVS version of OpenSceneGraph

2007-02-15 Thread Robert Osfield
Hi J-S, On 2/16/07, Jean-Sebastien Guay [EMAIL PROTECTED] wrote: Hello Robert, As of tonight (checked out around 19:45 EST, so I guess 0:45 tomorrow morning GMT) only osgPlugin osgShadow and example osgShadowTexture don't compile for me. That's on WinXP, VS2005 Express. For the two projects

Re: [osg-users] Re: Please test CVS version of OpenSceneGraph

2007-02-15 Thread Robert Osfield
On 2/16/07, Robert Osfield [EMAIL PROTECTED] wrote: For the two projects that don't compile, I saw that most errors were simple typos and that the Shadow Volume functionality is in flux anyways, so I won't even paste the errors as it's probably irrelevant. If you want them just ask. What

[osg-users] disable warning

2007-02-15 Thread elekis
hi all, I don't remember witch sell variable I have to export to disable WARNING like that Warning:: Picked up error in TriangleIntersect (-0.5 0.5 -0.5, 0.5 -0.5 -0.5, -0.5 -0.5 -0.5) (nan,nan,nan) is anybody can help me? thanks. and by the way where can I find the

Re: [osg-users] Advice about using OSG and wxWidgets

2007-02-15 Thread Thibault Genessay
Hi Gian On 2/15/07, Gian Lorenzetto [EMAIL PROTECTED] wrote: Hi Thibault, Robert, [...] My current goal is to get it compiling this weekend and then onto the Wiki for others to help fix as I simply don't have the time to debug this myself. I'll be happy to test your code on monday then

Re: [osg-users] disable sorting

2007-02-15 Thread Terry Welsh
Doh! My mistake. I was setting the reference frame again somewhere else and didn't realized it. Looks like ABSOLUTE_RF_INHERIT_VIEWPOINT works fine. - Terry Message: 21 Date: Thu, 15 Feb 2007 08:07:19 + From: Robert Osfield [EMAIL PROTECTED] Subject: Re: [osg-users] Re: osg-users