Re: [osg-users] Camera control in osgvisual

2011-03-23 Thread Vijeesh Theningaledathil
Hi Torben Cigi provides classes for various interfaces such as View control, Entity Control, HAT/HOT request etc. between host and IG. From Host you will set the values for these objects, pack it and send it through UDP using usual Windows/Linux sockets. From IG, you will receive the packet, un

Re: [osg-users] IVE Maximum File Size?

2011-03-23 Thread John Kua
Just to close this out - I was not able to reproduce my earlier problems with large IVE files and things seem OK. Sorry about that. -John On Tue, Mar 1, 2011 at 1:02 AM, Robert Osfield wrote: > Hi John, > > I don't know of a reason why the .ive format should be size limited, > everything is allo

Re: [osg-users] [osgOcean] Culling and intersects with ocean and model...

2011-03-23 Thread tim paige
J-S, KC, Jason Trez Cool... Thank you! An impressive start. I now have a kick in the butt to study up and now also have some nice links with what appears to be great information. Looks like a lot to absorb. I hope to first find a base technique to try for my baby-step and see where it takes me.

Re: [osg-users] PagedLOD - Trying to understand climbing mem usage

2011-03-23 Thread Sukender
Downloaded a Windows leak detection utility trial (BoundsChecker, as Purify doesn't work with my app). Found a huge leak when using TinyXML++ (I naively thought reference counted structures behaved as osg::ref_ptr and osg::Referenced). Sorry for this. *sigh* Sukender PVLE - Lightweight c

Re: [osg-users] GLSL for non-rendering operation

2011-03-23 Thread Simon Kolciter
Jason Daly: What if I assign a normal array to the OSG Geometry (setNormalArray) and only modify the values in geometry shader? -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=37851#37851 ___ osg-use

Re: [osg-users] GLSL for non-rendering operation

2011-03-23 Thread Jason Daly
On 3/23/2011 3:37 PM, Simon Kolciter wrote: Ok, no access to the whole geometry in geometry shader. However, since you can access to gl_Position of every vertex for a given primitive, can't you also access gl_Normal of these vertices? Accessing gl_Normal only makes sense if you've provide

Re: [osg-users] GLSL for non-rendering operation

2011-03-23 Thread Chris 'Xenon' Hanson
On 3/23/2011 1:37 PM, Simon Kolciter wrote: > Ok, no access to the whole geometry in geometry shader. > However, since you can access to gl_Position of every vertex for a given > primitive, can't you also access gl_Normal of these vertices? Yes, I believe so. > Because that would actually suff

Re: [osg-users] GLSL for non-rendering operation

2011-03-23 Thread Simon Kolciter
Ok, no access to the whole geometry in geometry shader. However, since you can access to gl_Position of every vertex for a given primitive, can't you also access gl_Normal of these vertices? Because that would actually suffice. -- Read this topic online here: http://forum.opensc

Re: [osg-users] fbx animation

2011-03-23 Thread Mourad Boufarguine
Hi Josue, take a look at osganimationviewer example. Mourad On Wed, Mar 23, 2011 at 5:48 PM, Josue Hernandez wrote: > Hi, everybody: > > anyone know how to activate an animation. fbx? > > ... > > Thank you! > > Cheers, > Josue > > -- > Read this topic online here: > http://for

Re: [osg-users] OSG_GL3_AVAILABLE, builds fine, runs weird

2011-03-23 Thread Robert Osfield
Hi Fred, The vast majority of examples rely upon the fixed function pipeline for their functionality so when you disable it via the GL3 path then this functionality is no longer available to the examples to use so will not produce the results you will be used to using. As things stand you should

[osg-users] fbx animation

2011-03-23 Thread Josue Hernandez
Hi, everybody: anyone know how to activate an animation. fbx? ... Thank you! Cheers, Josue -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=37845#37845 ___ osg-users mailing list osg-users@lists.op

[osg-users] Slow frame rate in release, gets fixed when viewing stats

2011-03-23 Thread Ramy Gowigati
Hi, I stumbled across a very weird problem. I have a pretty big scene and the frame rate is about 7 fps according to the stats. When I open the graph in the stats window I see the frame rate go up to 25 fps. If I remove the stats it goes back down to 7 again. This only happens when I run the r

Re: [osg-users] [osgPlugins] Michael Platings

2011-03-23 Thread Josue Hernandez
thank you very much for you help, i finally see my .fbx in the screen. -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=37842#37842 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://l

[osg-users] OSG_GL3_AVAILABLE, builds fine, runs weird

2011-03-23 Thread Fred Smith
Hi, I'm trying to have OSG run inside a GL3 core profile context. I have downloaded gl3.h from opengl.org and followed the instruction on this thread to properly configure cmake: http://forum.openscenegraph.org/viewtopic.php?t=4224 That is: OSG_GLU_AVAILABLE OFF OSG_GL1_AVAILABLE OFF OSG_GL2_

Re: [osg-users] [osgPlugins] new-bee question on mdl and md2 samples

2011-03-23 Thread Jason Daly
On 03/22/2011 10:53 PM, Jitrapon Tiachunpun wrote: Hi again, Thank you for your reply! I've tried to set the path to what you have suggested me. In my case, I set it to point at the hl2 root as you said.. well, apparently some models are successfully loaded with all textures correctly applied

Re: [osg-users] Accessing Geometry user Data in Geometry / Vertex / Fragment Shader

2011-03-23 Thread Harash Sharma
Dear Mr. Hanson, Thanks for the quick reply. I was able to define the data as vertex attributes and access these attributes in the vertex shader. Things are up and running. Thanks once again. Regards Harash From: Chris 'Xenon' Hanson To: OpenSceneGraph User

Re: [osg-users] PagedLOD - Trying to understand climbing mem usage

2011-03-23 Thread Sukender
Mmmm... if you got no more ideas, don't bother searching. This smells like there's a memory leak around here (in my code, I guess). I'll keep you informed. Sukender PVLE - Lightweight cross-platform game engine - http://pvle.sourceforge.net/ - "Sukender" a écrit : > Hi Maria, > > Yes, I s

Re: [osg-users] Download details: Microsoft Visual Studio 2010 Service Pack 1 (Installer)

2011-03-23 Thread Vincent Bourdier
Yes, but if the patch is delivered in the Visual wiki page, it could be considered as a requirement for a VS compilation of OSG. Le 22/03/2011 17:28, Chris 'Xenon' Hanson a écrit : On 3/22/2011 9:22 AM, Vincent Bourdier wrote: So first of all why not just give a patch to apply, provided with t

Re: [osg-users] Taking osgQt::QWebViewImage mouse and key events

2011-03-23 Thread Robert Osfield
Hi Aitor, I can't make any sense of where the bug is supposed to lie, as just commenting one line out and another in just suggests the problem is elsewhere. I also don't know from your description how to reproduce the bug. If you think you have a bug fix please post them to osg-submissions as co

Re: [osg-users] PagedLOD - Trying to understand climbing mem usage

2011-03-23 Thread Sukender
Hi Maria, Yes, I saw your post about this, and tried this kind of solution. Unfortunately, the problem doesn't arise durung viewing but during data preparation. The viewer isn't realized yet, and the database paging functions are not being processed at this time. Registering to, or clearing the

Re: [osg-users] Camera control in osgvisual

2011-03-23 Thread Torben Dannhauer
Hi Vijeesh, these are great news! Your are right with subclassing extLink. Your are also right with your comments regarding extLinkVCL: It simple stores the values in the according dataSlots to make it available in the IG. I think my current solution of a central and IG wide list of dataslots f

Re: [osg-users] PagedLOD - Trying to understand climbing mem usage

2011-03-23 Thread María Ten
Hi Sukender, The DatabasePager only update correctly the timestamp of expired children if they are registered. After load a new PagedLOD with the fileName, it is registered automatically, but the level 0 PagedLOD is not registered because you created it manually. Since it is not registered, the da

Re: [osg-users] Taking osgQt::QWebViewImage mouse and key events

2011-03-23 Thread Aitor Ardanza
Hi, I think I found a bug in osgViewer: InteractiveImageHandler:: MousePosition. When it is called to see if the mouse position is on the object returns always false ... Code: bool InteractiveImageHandler::mousePosition(osgViewer::View* view, osg::NodeVisitor* nv, const osgGA::GUIEventAdapter

Re: [osg-users] Camera control in osgvisual

2011-03-23 Thread Vijeesh Theningaledathil
Hi Torben I was trying to integrate CIGI to osgvisual. I could subclass extlink for cigi and data is receiving from host. Now I don't know how to connect the values to camera. I looked into VCL implementation but it just writes the data to a dataslot. But in CIGI case packet is received as a st

Re: [osg-users] PagedLOD - Trying to understand climbing mem usage

2011-03-23 Thread Laurens Voerman
Hi Sukender, Your code can't cause the problem I suggested, so it must be something else. I have no other suggestions to offer. Laurens. On 3/23/2011 11:12 AM, Sukender wrote: Hi Laurens, Thanks for the tip. But my function looks like: osg::ref_ptr paged( new osg::PagedLOD ); paged-

Re: [osg-users] PagedLOD - Trying to understand climbing mem usage

2011-03-23 Thread Sukender
Hi Laurens, Thanks for the tip. But my function looks like: osg::ref_ptr paged( new osg::PagedLOD ); paged->addChild(new osg::Node); paged->setFileName(1, pathTo3DFile); paged->setRange(0, dist, FLT_MAX); paged->setRange(1, 0, dist); I create an empty child at index 0, viewable from 'di

Re: [osg-users] GLSL for non-rendering operation

2011-03-23 Thread Peter Hrenka
Hi Simon, Am 23.03.2011 04:12, schrieb Simon Kolciter: > Well, the problem is that the normal vertices are PER_VERTEX, not > PER_PRIMITIVE. > > In Geometry shader, I only have access to the current primitive, not the > whole mesh, right? In principle, you are right, the geometry shader can onl

[osg-users] Problem DatabasePager, setTargetFrameRate and setMaximumNumOfObjectsToCompilePerFrame with osg 2.9.11

2011-03-23 Thread
Thanks a lot Robert. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Re: [osg-users] PagedLOD - Trying to understand climbing mem usage

2011-03-23 Thread Laurens Voerman
Hi Sukender, Just a guess here, when you say >Generate a PagedLOD, to load 'groupFile' do you call PagedLOD::addChild(Node *child, ) ? for the pageLOD will then hold the child in memory until PagedLOD::removeExpiredChildren() is called. Normally this is done in the frame loop (in upda

Re: [osg-users] PagedLOD - Trying to understand climbing mem usage

2011-03-23 Thread Sukender
Hi Robert, Sorry for being too vague. It's a "data preparation + viewer" app, but the problem arises during the data preparation. Some data sets do not present the symptoms whereas some others do... Here is a more detailed view of the problematic method, in pseudo-code: void function(Group & p

Re: [osg-users] Problem DatabasePager, setTargetFrameRate and setMaximumNumOfObjectsToCompilePerFrame with osg 2.9.11

2011-03-23 Thread Robert Osfield
Hi Joaquin, On Tue, Mar 22, 2011 at 9:41 PM, Joaquin Maroto wrote: > In an old version of osg I called to these functions: > > setTargetFrameRate(); > > setMaximumNumOfObjectsToCompilePerFrame(); > > of the DatabasePager to control the maximum time that the simulation could > take to make the dyn

Re: [osg-users] [osgOcean] Culling and intersects with ocean and model...

2011-03-23 Thread Kim Bale
Just to add a little: This covers a lot of the basics too, great set of tutorials that I recommend to everyone. http://www.ozone3d.net/tutorials/ Regards, Kim. On 23 March 2011 01:37, Jean-Sébastien Guay wrote: > Hi Tim, > > > I appreciate the comments. U