[osg-users] Borland/Codegear C++ Builder

2009-12-14 Thread Wouter Boelen
Hi, I just got the dubious honour of becoming the poor sap who has to test the viability of using OSG in an existing project. Trouble is, it's been written in Borland C++ builder (and uses VCL,...). And the OSG source isn't fully compatible with its quirks. To make matters worse, Borland uses

Re: [osg-users] Borland/Codegear C++ Builder

2009-12-14 Thread Ralph Kern
Wouter Boelen schrieb: Hi, I just got the dubious honour of becoming the poor sap who has to test the viability of using OSG in an existing project. Trouble is, it's been written in Borland C++ builder (and uses VCL,...). And the OSG source isn't fully compatible with its quirks. To make

Re: [osg-users] Borland/Codegear C++ Builder

2009-12-14 Thread Simon Hammett
2009/12/14 Wouter Boelen li...@wboelen.be Hi, I just got the dubious honour of becoming the poor sap who has to test the viability of using OSG in an existing project. Trouble is, it's been written in Borland C++ builder (and uses VCL,...). And the OSG source isn't fully compatible with its

Re: [osg-users] Borland/Codegear C++ Builder

2009-12-14 Thread Tim Moore
On 12/14/2009 09:37 AM, Simon Hammett wrote: 2009/12/14 Wouter Boelen li...@wboelen.be mailto:li...@wboelen.be Hi, I just got the dubious honour of becoming the poor sap who has to test the viability of using OSG in an existing project. Trouble is, it's been written in

Re: [osg-users] Borland/Codegear C++ Builder

2009-12-14 Thread Wouter Boelen
Yep, that seems to be it. I'm going to replace OperationQueue with std::list ref_ptrOperation as a temporary fix. Thanks :) -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=21398#21398 ___

Re: [osg-users] Python users

2009-12-14 Thread Luigi Calori
I have used swig generated Python bindings from osgSwig http://code.google.com/p/osgswig/ I have used it with 2.9.5, not knowing weather recent SVN big changes have broken the build Rizzen wrote: Hi, What is the best OSG python library/wrapper to use? I see there are various versions:

Re: [osg-users] OpenGL capture/logging in OSG

2009-12-14 Thread Robert Osfield
Hi Paul, I'm still open to suggestions on the make up of what your are looking, but I don't yet think you have the right design combination to avoid pitfalls of it's own. Though discussion perhaps we can arrive at a better solution, be it OSG intrusive or done externally. On Fri, Dec 11, 2009

Re: [osg-users] Text Crash On Main Thread While DB Pager Unrefs Font From Temp Object Cache

2009-12-14 Thread Ryan H. Kawicki
Robert, I just wanted to respond with my investigations and observations. I sounds like the lack of a readRefFontFile() is a potential problem. In the case of include/osgDB/ReadFile there are readRefNodeFile() etc. functions that pass back a ref_ptr rather than a C pointer, and are all

Re: [osg-users] Text Crash On Main Thread While DB Pager Unrefs Font From Temp Object Cache

2009-12-14 Thread Robert Osfield
Hi Ryan, On Mon, Dec 14, 2009 at 10:38 AM, Ryan H. Kawicki ryan.h.kawi...@boeing.com wrote: Observation 1: Using the unsafe versions is bad.  Now we know and knowing is half the battler, but should this be take further.  It might be a good idea to tag the unsafe versions as deprecated, this

[osg-users] a question about osgDB::DatabasePager...

2009-12-14 Thread Maxim Gammer
hi all I've got a question about osgDB::DatabasePager... 1. When I began using osg::PagedLOD, I came across many exaples of using osgDB::DatabasePager in conjunction with osg::PagedLOD. What it's used for? 2. Why use osgDB::DatabasePager if osg::PagedLOD alone works fine? What difference does

Re: [osg-users] [build] How to properly use the OSG_GL3_AVAILABLE CMake option?

2009-12-14 Thread Robert Osfield
Hi Peter, As Paul mentions, as you've found out the hard way, right now you have to set the flags all manually to disable/enable the appropriate parts of the OSG to build against the different GL targets. My plan has been to test out the ports as flexible as possible - trying out GLES paths on

Re: [osg-users] osgParticle::FireEffect only one minute

2009-12-14 Thread Robert Osfield
Hi Dominic, On Sun, Dec 13, 2009 at 9:33 PM, Dominic Stalder dominic.stal...@bluewin.ch wrote: the osgParticle::FireEffect is disables after one minute, is this normal and how can I make it burning the hole time? The headers are your friend, you just need to follow them and browse ;-)

Re: [osg-users] [Newbie]: Best way to load huge amount of models

2009-12-14 Thread Robert Osfield
Hi Karl, First up, loads in tens of thousands of model parts efficiently isn't a newbie task, it's an advanced topic, so be prepared for needing to dig into lots of specifics of hardware/databases and lower level elements of the OSG. I don't mean to frighten you off, just prepare you for a steep

Re: [osg-users] Understanding dragger node structure

2009-12-14 Thread Robert Osfield
Hi Neil, On Mon, Dec 14, 2009 at 5:44 AM, Neil Clayton n...@shinywhitebox.com wrote: So in summary: 1) If a dragger (and it's child geodes) are a child of the transform, is it normal for the LineSegmentIntersector to never see them? Never tried it, and one shouldn't make a dragger a child on

Re: [osg-users] Playing video in YUY2 pixel format.

2009-12-14 Thread Robert Osfield
Hi Alessandro, The OSG just supports pixel formats supported by OpenGL and YUY2 is not something support by OpenGL, one has to convert to RGB, RGBA, A, Luminance etc. Robert. On Sat, Dec 12, 2009 at 10:20 AM, alessandro terenzi a.tere...@gmail.com wrote: Hello, I'm trying to play a video

Re: [osg-users] Deallocating memory and data unload in osg::PagedLOD

2009-12-14 Thread Robert Osfield
Hi Maxim, I'm confused why you think that the memory isn't getting freed. The OSG will be freeing the memory automatically when the viewer/database goes out scope / and at by the DatabasePager at runtime when children go out of range and get expired. Please note that expiry happens on demand

Re: [osg-users] Borland/Codegear C++ Builder

2009-12-14 Thread Robert Osfield
Hi Wouter, On Mon, Dec 14, 2009 at 9:07 AM, Wouter Boelen li...@wboelen.be wrote: Yep, that seems to be it. I'm going to replace OperationQueue with   std::list ref_ptrOperation  as a temporary fix. The code in the OSG is technically correct, as the OperationQueue typedef is within the

Re: [osg-users] a question about osgDB::DatabasePager...

2009-12-14 Thread Robert Osfield
Hi Maxim, On Mon, Dec 14, 2009 at 11:09 AM, Maxim Gammer maxgam...@gmail.com wrote: I've got a question about osgDB::DatabasePager... 1. When I began using osg::PagedLOD, I came across many exaples of using osgDB::DatabasePager in conjunction with osg::PagedLOD. What it's used for? The

Re: [osg-users] Deallocating memory and data unload in osg::PagedLOD

2009-12-14 Thread Maxim Gammer
Thank you Robert, a little question. Will PagedLOD automaticaly unload children if I don't use DatabasePager? Maxim. 2009/12/14 Robert Osfield robert.osfi...@gmail.com Hi Maxim, I'm confused why you think that the memory isn't getting freed. The OSG will be freeing the memory

[osg-users] where is osgCharacter

2009-12-14 Thread Trajce Nikolov
Hi, I tried search on wiki but no results. IS this project available somewhere? Thanks Nick ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Re: [osg-users] where is osgCharacter

2009-12-14 Thread Maxim Gammer
see osgCal 2009/12/14 Trajce Nikolov nikolov.tra...@gmail.com Hi, I tried search on wiki but no results. IS this project available somewhere? Thanks Nick ___ osg-users mailing list osg-users@lists.openscenegraph.org

Re: [osg-users] where is osgCharacter

2009-12-14 Thread Trajce Nikolov
is that the same node kit? I have osgCal but looked at the NodeKits page and I got an impression it is another one Nick http://www.linkedin.com/in/tnick Sent from Gümüşsuyu, İstanbul, Turkey On Mon, Dec 14, 2009 at 2:27 PM, Maxim Gammer maxgam...@gmail.com wrote: see osgCal 2009/12/14

Re: [osg-users] where is osgCharacter

2009-12-14 Thread Maxim Gammer
* osgcal*.sourceforge.net 2009/12/14 Trajce Nikolov nikolov.tra...@gmail.com is that the same node kit? I have osgCal but looked at the NodeKits page and I got an impression it is another one Nick http://www.linkedin.com/in/tnick Sent from Gümüşsuyu, İstanbul, Turkey On Mon, Dec 14,

Re: [osg-users] where is osgCharacter

2009-12-14 Thread Maxim Gammer
see ... http://osgcal.sourceforge.net http://osgcal.sourceforge.net/abdulla.png 2009/12/14 Maxim Gammer maxgam...@gmail.com * osgcal*.sourceforge.net 2009/12/14 Trajce Nikolov nikolov.tra...@gmail.com is that the same node kit? I have osgCal but looked at the NodeKits page and I got an

Re: [osg-users] Borland/Codegear C++ Builder

2009-12-14 Thread Wouter Boelen
I can safely confirm that Borland's scoping is a little off sometimes. Anyway, the C-based wrapper approach is probably the easiest; no more source code mangling ;) Cheers, Wouter -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=21419#21419

Re: [osg-users] Deallocating memory and data unload in osg::PagedLOD

2009-12-14 Thread Robert Osfield
Hi Maxim, On Mon, Dec 14, 2009 at 11:55 AM, Maxim Gammer maxgam...@gmail.com wrote: a little question. Will PagedLOD automaticaly unload children if I don't use DatabasePager? PagedLOD doesn't nothing without DatabasePager, it principally a passing data object. It's DatabasePager that does

Re: [osg-users] where is osgCharacter

2009-12-14 Thread Robert Osfield
Hi Nick, On Mon, Dec 14, 2009 at 12:22 PM, Trajce Nikolov nikolov.tra...@gmail.com wrote: I tried search on wiki but no results. IS this project available somewhere? osgCharacter popped up in existence, but then didn't go anything further. osgAnimation is now the place to look for skinning,

Re: [osg-users] where is osgCharacter

2009-12-14 Thread Trajce Nikolov
Thanks Maxim, one question. What is the cal3d version to compile against? I tried 0.10.0, 0.11rc2.0 .. some compilation errors (like: error C2039: 'getAnimationActionList' : is not a member of 'CalMixer' ...) Nick http://www.linkedin.com/in/tnick Sent from Gümüşsuyu, İstanbul, Turkey On Mon,

Re: [osg-users] where is osgCharacter

2009-12-14 Thread Trajce Nikolov
Thanks Robert, what are the file types it works with (I mean, which plugin is implementing use of osgAnimation) ? Nick http://www.linkedin.com/in/tnick Sent from Gümüşsuyu, İstanbul, Turkey On Mon, Dec 14, 2009 at 2:54 PM, Robert Osfield robert.osfi...@gmail.comwrote: Hi Nick, On Mon, Dec

Re: [osg-users] Deallocating memory and data unload in osg::PagedLOD

2009-12-14 Thread Maxim Gammer
ok. Thank you Robert! 2009/12/14 Robert Osfield robert.osfi...@gmail.com Hi Maxim, On Mon, Dec 14, 2009 at 11:55 AM, Maxim Gammer maxgam...@gmail.com wrote: a little question. Will PagedLOD automaticaly unload children if I don't use DatabasePager? PagedLOD doesn't nothing without

Re: [osg-users] where is osgCharacter

2009-12-14 Thread Cedric Pinson
Hi Nick, There is a osg blender exporter that is able to export animation and skeleton data... I dont know the current state of 3ds max exporter, same thing for maya. In futur it will be able to use collada to plugin, but not yet implemented. So right now the best shot is blender exporter, but

[osg-users] file extension alias

2009-12-14 Thread Jan Pečiva
I want to register my own file extension alias ivx that will map to iv (Inventor 3D model). Reasons for ivx extension: internal company decision - no way around Question: Is is possible to register the ivx alias? John ___ osg-users mailing list

Re: [osg-users] file extension alias

2009-12-14 Thread Robert Osfield
Hi John, On Mon, Dec 14, 2009 at 1:17 PM, Jan Pečiva pec...@fit.vutbr.cz wrote: Question: Is is possible to register the ivx alias? You have two options, to preload your plugin so it gets tried before any other plugin so can intercept and handle all .iv file reads, or to use an osgDB::Registry

Re: [osg-users] where is osgCharacter

2009-12-14 Thread Trajce Nikolov
is the blender exporter the one listed in the community plugin page at wiki? Thanks a lot ! Nick http://www.linkedin.com/in/tnick Sent from Gümüşsuyu, İstanbul, Turkey 2009/12/14 Cedric Pinson cedric.pin...@plopbyte.net Hi Nick, There is a osg blender exporter that is able to export

Re: [osg-users] Borland/Codegear C++ Builder

2009-12-14 Thread Robert Osfield
Hi Wouter, On Mon, Dec 14, 2009 at 12:42 PM, Wouter Boelen li...@wboelen.be wrote: I can safely confirm that Borland's scoping is a little off sometimes. I've now got my typedef rename compiled. Did it work for you? Is it worth checking in the change? Anyway, the C-based wrapper approach is

[osg-users] HORIZONTAL_SPLIT + Mouse click scaling

2009-12-14 Thread Rahul Srivastava
Hi guys, I have an application where I am using HORIZONTAL_SPLIT stereo with Infitec glasses + 2 projector setup. The problem I am facing is that even though the screen is split in half, the mouse events are still generated according to the original screen. For example, if I have a

Re: [osg-users] where is osgCharacter

2009-12-14 Thread Cedric Pinson
Hi Nick, Yes use the one from me. Cheers, Cedric -- Provide services around OpenSceneGraph +33 659 598 614 Cedric Pinson mailto:cedric.pin...@plopbyte.net http://www.plopbyte.net On Mon, 2009-12-14 at 15:27 +0200, Trajce Nikolov wrote: is the blender exporter the one listed in the community

Re: [osg-users] Borland/Codegear C++ Builder

2009-12-14 Thread Wouter Boelen
Simply renaming the typedef works. The trouble with the Borland compiler is in many, tiny differences with other compilers, that are individually easily rectified. According to the generated makefile I got about 15% of the lib to compile so far :) Still, compilation involves a lot of

[osg-users] osgText::Text Drawing order

2009-12-14 Thread Andre Simoes
Hello There. I've been reading alot of e-mails regarding drawing of objects in sequence, like a simple OpenGL program that draws each Geometry independently of its complexibility and cost to the GPU. And for now I'm working in an OSG scenario in which I'm doing a toolkit that generates widgets

Re: [osg-users] file extension alias

2009-12-14 Thread Jan Pečiva
Robert, thanks for the comment, however it does not work. Do I need to extend/patch OSG? An investigation showed that many plugins check once again in readNode method whether the extension is accepted. At this moment, ivx is refused. I am not sure, but the explicit alias that user makes

Re: [osg-users] where is osgCharacter

2009-12-14 Thread Maxim Gammer
cal3d-0.11.0 2009/12/14 Trajce Nikolov nikolov.tra...@gmail.com Thanks Maxim, one question. What is the cal3d version to compile against? I tried 0.10.0, 0.11rc2.0 .. some compilation errors (like: error C2039: 'getAnimationActionList' : is not a member of 'CalMixer' ...) Nick

Re: [osg-users] where is osgCharacter

2009-12-14 Thread Trajce Nikolov
just out of curiosity I tried with 0.11.0 .. here is the build log 1-- Build started: Project: core_osgCal, Configuration: Debug Win32 -- 1Compiling... 1Model.cpp 1.\Model.cpp(474) : error C2039: 'getAnimationVector' : is not a member of 'CalMixer' 1

Re: [osg-users] Python users

2009-12-14 Thread Jean-Sébastien Guay
Hi Rizzen, What is the best OSG python library/wrapper to use? I see there are various versions: pyOSG, PyOSG and osgPython. Some project showed no activity since 2003. Some projects showed activity in the news yet files are a lot older. PyOSG does not seem to have a SVN on SourceForge, just

Re: [osg-users] Python users

2009-12-14 Thread Rizzen
Hi, Thanx for the reply, I will definitely take a look at this project. Rizzen Jean-Sébastien Guay wrote: Hi Rizzen, What is the best OSG python library/wrapper to use? I see there are various versions: pyOSG, PyOSG and osgPython. Some project showed no activity since 2003. Some projects

Re: [osg-users] HORIZONTAL_SPLIT + Mouse click scaling

2009-12-14 Thread Robert Osfield
Hi Rahul, Use the low level stereo support in the OSG that you'll current get when using HORIZONTAL_SPLIT will mean that the viewer itself will just know about one camera across both screens, while the low level SceneView implementation will split it in two. As the viewer's camera treats the

Re: [osg-users] osgText::Text Drawing order

2009-12-14 Thread Robert Osfield
Hi Andre, I'm finding it difficult to guess what your after/what problems your seeing. The best I can do is say as a general note, one would typically use control the rendering order via StateSet::setRenderingDetails(..) from within the scene graph rather attempting to set globals. Robert. On

Re: [osg-users] file extension alias

2009-12-14 Thread Robert Osfield
Hi John, Extension alias certainly does work - it's used all the time by osgDB, go look inside src/osgDB/Registry.cpp to see lots of examples of it in action. What is happening at your end I can't guess, I don't have your code. Robert. On Mon, Dec 14, 2009 at 2:08 PM, Jan Pečiva

Re: [osg-users] OpenSceneGraph-2.9.6 developer release tagged

2009-12-14 Thread Markus Lacay
Hey, I would also like to add that I couldn't compile against OpenGL 3 without changing Plugins qt references to GL_BGRA_EXT to GL_BGRA. It seems GL_BGRA_EXT has been removed completely from the latest GL3.h header. -- Read this topic online here:

Re: [osg-users] QOSGWidget display problem

2009-12-14 Thread Don Leich
I've run across the flickering problem before. There seems to be various side effects with certain Qt attributes, but I got better results changing setAttribute(Qt::WA_NoSystemBackground); to setAttribute(Qt::WA_OpaquePaintEvent); in QOSGWidget.cpp. You can follow the thread below or

Re: [osg-users] QOSGWidget display problem

2009-12-14 Thread D.J. Caldwell
Greetings OpenSceneGraph/Qt users, I, also, noticed bad behavior (blinking and such) with the QOSGWidget example code. It has been a while since I last worked with it, but I believe that after digging around in the documentation and deep in the source code that I (partially) corrected the

Re: [osg-users] QOSGWidget display problem

2009-12-14 Thread D.J. Caldwell
Sorry, I should have said this fix instead of my fix; someone else may have seen this, too, or I may have gotten the idea from someone else (directly, indirectly, or otherwise). Thanks, D.J. On Mon, Dec 14, 2009 at 1:14 PM, D.J. Caldwell dlcaldwel...@gmail.com wrote: Greetings

Re: [osg-users] OpenSceneGraph-2.9.6 developer release tagged

2009-12-14 Thread Paul Martz
I don't build the qt plugin,, so I'm not surprised. The GL3 stuff is pretty leading-edge; expect to find things that need to be changed. I think I speak for Robert when I say submissions are always welcome. Paul Martz Skew Matrix Software LLC _http://www.skew-matrix.com_

Re: [osg-users] [build] How to properly use the OSG_GL3_AVAILABLE CMake option?

2009-12-14 Thread Peter Bear
Paul Martz wrote: I believe this is already in a post somewhere, so the search function should be covered. :-) It'd be nice if selecting the OSG_GL3_AVAILABLE CMake variable would automatically re-set all the FFP-type variables, but currently it does not do so, and you have to do this

[osg-users] incomplete type in gdb

2009-12-14 Thread Oren Fromberg
forgive me if this is a commonly asked question, I checked the archives and couldn't seem to find anything... using gdb, if I try to print the value of objects, I get this error: (gdb) p tempParent $1 = (struct osg::Group *) 0xb05178 (gdb) p *tempParent $2 = incomplete type how do I fix this

Re: [osg-users] incomplete type in gdb

2009-12-14 Thread Alberto Luaces
Hi Oren, you need to use the OSG library with debugging information. Alberto ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Re: [osg-users] osgText::Text Drawing order

2009-12-14 Thread Andre Simoes
Hello Robert. Sorry about the bad explanation of my problem. I think is better to start from scratch and just explain the problem to you. I'm making a widget system, on Ortho2D, that separates levels of parents from childs by osg::Groups ( osg::PositionAttitudeTransform, osg::Switch ... ) -

Re: [osg-users] OpenGL capture/logging in OSG

2009-12-14 Thread Paul Martz
Hi Robert -- Robert Osfield wrote: Having a single class is not extensible by end users - something which is essential for authors of external NodeKits. It's not a requirement that external source use the new interface for calling OpenGL. If they don't use it, code will still function

Re: [osg-users] incomplete type in gdb

2009-12-14 Thread Oren Fromberg
Thanks so much Alberto! wow, I can't believe I didn't figure that out... I went to my OpenSceneGraph directory and did a make debug, then su'd and make install. then I changed my Makefile to link against the debug libraries I was using (-losgSimd and -losgViewerd) and it works great. Thanks

Re: [osg-users] file extension alias

2009-12-14 Thread Paul Martz
I have always been able to register an extension alias by calling addFileExtensionAlias directly from my code, the calling readNodeFile passing in a file name using the alias. I have never tried the asserts that you are using. If this is broke, this is a new breakage. Perhaps by debugging the

[osg-users] 3ds animations

2009-12-14 Thread Federico Costa
Hi, i am newby with osg. I have a 3ds model with animation. I tried several ways of importing the model into osg without been able to reproduce the animation. Is it possible to import directly the .3ds and reproduce the animations or i have to use another format like .osg? Also i tried with

Re: [osg-users] osgParticle::FireEffect only one minute

2009-12-14 Thread Dominic Stalder
Hi Robert thanks a lot, will try to follow your hint ;-) Regards Dominic Robert Osfield schrieb: Hi Dominic, On Sun, Dec 13, 2009 at 9:33 PM, Dominic Stalder dominic.stal...@bluewin.ch wrote: the osgParticle::FireEffect is disables after one minute, is this normal and how can I make it

Re: [osg-users] Top 10 OSG Debugging Tips

2009-12-14 Thread Oren Fromberg
This is pretty obvious (I know) but it helps a lot to link with the debug libraries... :D -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=21464#21464 ___ osg-users mailing list

Re: [osg-users] file extension alias

2009-12-14 Thread Paul Martz
Just to convince myself that this really does still work, I took an existing app and added the following code to the top of main(): osgDB::Registry::instance()-addFileExtensionAlias( foo, osg ); osg::ref_ptr osg::Node testload( osgDB::readNodeFile( cow.foo ) ); Then I

Re: [osg-users] file extension alias

2009-12-14 Thread Jan Pečiva
OSG plugin takes one look at the foo extension and returns an error. (This is correct behavior; the .osg plugin doesn't support the foo extension.) This is exactly the point I am trying to point out! The plugin reports that it does not support the extension! I am telling that this is NOT

Re: [osg-users] 3ds animations

2009-12-14 Thread Cedric Pinson
I dont know about 3ds but i can help about blender, which kind of animation do you have ? The blender exporter is able to manage skinning and solid animation, and with a bit of code is able to link material animation. Here some doc about what osgAnimation is capable

[osg-users] Dragger not being seen by intersector if scaled

2009-12-14 Thread Neil Clayton
Hi, I've been experimenting with two ways of setting up a simple node. Sorry for the long post. I've tried to provide enough info so it isn't a why does this one line of code work type post. The root of the nodes in question is setup (in both cases) like this: Code: osg::Group *group = new

Re: [osg-users] file extension alias

2009-12-14 Thread Thrall, Bryan
Paul Martz wrote on 2009-12-14: Jan Pečiva wrote: OSG plugin takes one look at the foo extension and returns an error. (This is correct behavior; the .osg plugin doesn't support the foo extension.) This is exactly the point I am trying to point out! The plugin reports that it does not

Re: [osg-users] file extension alias

2009-12-14 Thread Paul Martz
Thrall, Bryan wrote: When you add an alias, though, aren't you saying to the plugin, Trust me, even though you don't recognize the file extension, handle it? Hi Bryan -- That might be what you're saying, but that's not how osgDB::Registry is interpreting it. :-) Without aliases at all,