Re: [osg-users] Coupling luabind with OSG + Bullet

2008-11-12 Thread Gerwin de Haan
I don't use Luabind either but osgswig with Python instead. I sometimes experience similar surprising effects when passing non-declared variables as function arguments. In that case, the reason for this is often that the scripting language garbage collector deletes the Vec3f after returning from th

Re: [osg-users] compositeViewer newbie question

2008-11-12 Thread Robert Osfield
Hi Dan, On Tue, Nov 11, 2008 at 8:43 PM, Dan Small <[EMAIL PROTECTED]> wrote: > We used the second approach you mentioned, threw all the views in one > window, & not surprisingly the memory utilization went way down. > Thanks for correcting our GL naivete. > > It seems tho that the 2nd approa

Re: [osg-users] Particle system setInitialRotationalSpeedRange()

2008-11-12 Thread Robert Osfield
Hi Thom, Thanks for the detective work. The change you've suggested as causing the regression is r7961. http://www.openscenegraph.org/projects/osg/changeset/7961 It's six months since I code this so it's a bit cold a topic so off the top of my head I can't point to anything in a particular as

[osg-users] osg Collada Plugin

2008-11-12 Thread Steffen B.
Hi all, i have ab problem with the light in osg. If i load a collada file everythig is very bright. Most of the Objekts are white. Regards Steffen ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.c

Re: [osg-users] osg Collada Plugin

2008-11-12 Thread Jan Ciger
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Steffen B. wrote: > > Hi all, > > i have ab problem with the light in osg. > If i load a collada file e verythig is very bright. > Most of the Objekts are white. > If you do not say more, there is not much anybody could do to help you. Do you ha

Re: [osg-users] FBO FrameBufferObject and stencil support

2008-11-12 Thread Robert Osfield
Hi Himar, On Wed, Nov 12, 2008 at 10:56 AM, Himar Carmona <[EMAIL PROTECTED]> wrote: >1) Does OSG 2.6.1 supports FBO with stencil buffer attachment? It should do. I haven't personally tested it, but the code paths are all there. >2) Does it supports EXT_PACKED_DEPTH_STENCIL? 2.6.1 does

Re: [osg-users] osg Collada Plugin

2008-11-12 Thread David Spilling
Steffen, Specularity is the one that normally bites me here - models often come in from modelling packages with an assumed range for (osg/glMaterial) shininess that doesn't match with what OpenGL expects, and everything saturates. Don't know about Collada in particular, but you can try playing wit

Re: [osg-users] Dynamically changing all textures in a scene

2008-11-12 Thread Robert Osfield
On Wed, Nov 12, 2008 at 11:26 AM, David Spilling <[EMAIL PROTECTED]> wrote: > The osg "Depictions" thread is here : > http://www.mail-archive.com/[EMAIL PROTECTED]/msg10685.html Thanks for the link links is very useful, I don't recall this thread so perhaps I was away... Following the thread to t

[osg-users] osg Collada Plugin

2008-11-12 Thread Steffen B.
I have create a Scene using 3DS MAX. There are 8 lights in the scene. After that i export the model to .dae and load it into osg. I think that the normals are normalized. Thank you___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists

Re: [osg-users] crash with"multimonitormultithreadnVIDIAworkaround"enabled

2008-11-12 Thread Wojciech Lewandowski
Hi Marco, I agree. This definitely looks like a bug. But it might be related to particular card. I tried today Vista x64 with 178.24 on GeForce 280 GTX. Everything was ok. Both osgviewer and my example ran fine. Cheers, Wojtek Hi Wojtek, your test case behaves exactly as osgViewer does. Th

Re: [osg-users] osgCairo and osgPango on Windows : some progress

2008-11-12 Thread Jean-Sébastien Guay
Hi Jeremy, These will be in shortly; osgCairo is done, the osgPango patch was harder because I had an ungodly amount of changes in the works. :) I just updated. Most changes are in, but I think you missed the last patch I sent for osgPango (which was in addition to the first one I sent Sunda

Re: [osg-users] osgCairo and osgPango on Windows : some progress

2008-11-12 Thread Jeremy Moles
On Wed, 2008-11-12 at 09:26 -0500, Jean-Sébastien Guay wrote: > Hi Jeremy, > > > These will be in shortly; osgCairo is done, the osgPango patch was > > harder because I had an ungodly amount of changes in the works. :) > > I just updated. Most changes are in, but I think you missed the last > pa

Re: [osg-users] osgCairo and osgPango on Windows : some progress

2008-11-12 Thread Jean-Sébastien Guay
Hi Jeremy, Ah thanks. :) I had changed so much in osgPango without committing I had to do the initial patch by hand (though I prefer that way anyways so I can see what's going on. :)) Looks like I missed some. No problem, yeah there were quite a bit of changes in osgPango... Thankfully I just

[osg-users] Introducing osgpdf

2008-11-12 Thread Robert Osfield
Another day, another curious example... osgpdf ;-) In a similar vain to my work on adding vnc support that I did last week, the volume rendering project also has a need for viewing pdf documents as a way of mixing presentation text/imagery with 3D volumes so no I've embarked on adding pdf support

Re: [osg-users] Picking on billboards

2008-11-12 Thread Vincent Bourdier
So, I've tested on OSG 2.7.5... and it not seems working... picking billboard do nothing else piking the node behind the billboard(s) ... Any proposition/idea ? Thanks. Regards, Vincent 2008/11/12 Vincent Bourdier <[EMAIL PROTECTED]> > Hi Robert, > > Okay I will try the 2.7.5 directly these

Re: [osg-users] Introducing osgpdf

2008-11-12 Thread Tomlinson, Gordon
Very cool Robert Gordon __ Gordon Tomlinson Product Manager 3D Email : gtomlinson @ overwatch.textron.com __ (C): (+1) 571-265-2612 (W): (+1) 703-437-7651 "Self defence is not a fu

Re: [osg-users] Introducing osgmemorytest

2008-11-12 Thread Tatsuhiro Nishioka
HI there, Here are the results on iMac late 2006, MacBook Pro late 2006, and MacBook late 2007. iMac late 2006: C2D 2.16GHz / 2GB (667MHz PC2-5300) / nVidia GeForce 7300GT 128MB DDR3: 1) window test: 893; error = Failed to realize GraphicsWindow 2) pbuffer test: 891; error = Failed to realize P

Re: [osg-users] Dynamically changing all textures in a scene

2008-11-12 Thread Linus Hilding
Regarding the option 2: "Post process the rendering back end's osgUtil::StateGraph replacing StateSet after the cull traversal has run." Where would the point of intervention be to get access to the stategraph, in order to change the different statesets? Linus ___

Re: [osg-users] Picking on billboards

2008-11-12 Thread Vincent Bourdier
Sorry I have no simple code or small example to give. Is the billboard picking supposed to be OK with OSG 2.7.5 ? If it work somewhere, I will make a simple example or look at my code... If not, I don't know how to solve it. Thanks. Regards, Vincent. 2008/11/12 Robert Osfield <[EMAIL PROTECT

Re: [osg-users] Introducing osgpdf

2008-11-12 Thread Jeremy Moles
On Wed, 2008-11-12 at 15:10 +, Robert Osfield wrote: > Another day, another curious example... osgpdf ;-) > > In a similar vain to my work on adding vnc support that I did last > week, the volume rendering project also has a need for viewing pdf > documents as a way of mixing presentation text

Re: [osg-users] Dynamically changing all textures in a scene

2008-11-12 Thread Robert Osfield
On Wed, Nov 12, 2008 at 3:27 PM, Linus Hilding <[EMAIL PROTECTED]> wrote: > Regarding the option 2: > "Post process the rendering back end's osgUtil::StateGraph replacing StateSet > after the cull traversal has run." > Where would the point of intervention be to get access to the stategraph, in >

Re: [osg-users] Introducing osgpdf

2008-11-12 Thread Robert Osfield
Hi Jeremy, On Wed, Nov 12, 2008 at 3:41 PM, Jeremy Moles <[EMAIL PROTECTED]> wrote: > Your implementation of the CairoImage class is probably right on track > with the simplest, cleanest way of supporting a Cairo "surface" to draw > on. CairoImage is just an experiment so far. I went for the abs

[osg-users] DatabasePager question ...

2008-11-12 Thread Adrian Egli OpenSceneGraph (3D)
Hi all , One of our application is working with a derrived class of database pager. Our class has just over written ::requestNodeFile(const std::string& inFileName,osg::Group* group, float priority, const osg::FrameStamp* framestamp,osg::ref_ptr &databaseRequest) method. There we get a request for

Re: [osg-users] Introducing osgmemorytest

2008-11-12 Thread Jean-Sébastien Guay
Hi Robert, Looks like the vista drivers are doing much better on window/pbuffer and fbo allocation. Here are my results, Core 2 Quad 2.4GHz, 3GB memory, NVidia 9800GTX+, Vista SP1, Driver 178.13 _ 1) osgmemorytest --window -c 1000 At 112 I st

Re: [osg-users] Introducing osgpdf

2008-11-12 Thread Jean-Sébastien Guay
Hi Robert, If you get things working under Windows or OSX could you please write in with what you had to do to get things installed. I'm working on it. I've got Cairo from the gtk+-bundle: http://www.gtk.org/download-windows.html Not sure about Poppler. It seems to only be available as sourc

Re: [osg-users] Introducing osgpdf

2008-11-12 Thread Jeremy Moles
On Wed, 2008-11-12 at 16:02 +, Robert Osfield wrote: > Hi Jeremy, > > On Wed, Nov 12, 2008 at 3:41 PM, Jeremy Moles <[EMAIL PROTECTED]> wrote: > > Your implementation of the CairoImage class is probably right on track > > with the simplest, cleanest way of supporting a Cairo "surface" to draw

Re: [osg-users] osg Collada Plugin

2008-11-12 Thread David Spilling
Steffen, Are you still going via collada? Unfortunately I know nothing about the Collada import route and how it handles lights defined in a model file. Does the same thing happen with only one light? I suspect that OpenGL is just (correctly) adding up all the contributions from the various light

Re: [osg-users] Introducing osgpdf

2008-11-12 Thread Gerrick Bivins
Is poppler GLP'd? Gerrick On 11/12/08 9:10 AM, "Robert Osfield" <[EMAIL PROTECTED]> wrote: > Another day, another curious example... osgpdf ;-) > > In a similar vain to my work on adding vnc support that I did last > week, the volume rendering project also has a need for viewing pdf > documen

Re: [osg-users] Coupling luabind with OSG + Bullet

2008-11-12 Thread Dusten Sobotta
I've used a temporary variable in the global scope as you suggested, and it still crashes my engine. Not sure how else to go about this.. On Wed, Nov 12, 2008 at 3:27 AM, Gerwin de Haan <[EMAIL PROTECTED]>wrote: > I don't use Luabind either but osgswig with Python instead. I sometimes > experien

Re: [osg-users] Introducing osgpdf

2008-11-12 Thread Robert Osfield
Hi Jeremy, On Wed, Nov 12, 2008 at 4:21 PM, Jeremy Moles <[EMAIL PROTECTED]> wrote: > Well, in OpenGL there are to main formats I envision many of us wanting > to use: > >- ARGB32 (GL_RGBA) >- A8 (GL_ALPHA) > > A8 is really helpful because it allows you to create small, compact > "

Re: [osg-users] Introducing osgpdf

2008-11-12 Thread Gerrick Bivins
I meant: Is poppler "GPL'd" as in it's license. ;) Gerrick On 11/12/08 10:31 AM, "Gerrick Bivins" <[EMAIL PROTECTED]> wrote: > > Is poppler GLP'd? > Gerrick > > > On 11/12/08 9:10 AM, "Robert Osfield" <[EMAIL PROTECTED]> wrote: > >> Another day, another curious example... osgpdf ;-) >> >> I

[osg-users] how to add shader to osgcal node

2008-11-12 Thread yang zhiyuan
Hi: I am trying to add shader to osgcal node. I do it like this: osgCal::CoreModel *core = new osgCal::CoreModel("dummy"); load(core); //< loading some data into it // Creating a concrete model using the core template osgCal::Model *model = new osgCal::Model(); model->create(core);

Re: [osg-users] crash with"multimonitormultithreadnVIDIAworkaround"enabled

2008-11-12 Thread Robert Osfield
Hi Wojtek & Marco, Could you one of your guys implement that original workaround as a runtime optional flag in GraphicsWindowWin32, with an env var settings it's default value. I'd suggest that this workaround is now to set off. Wojtek, do you know what driver version numbers were affected by th

Re: [osg-users] Dynamically changing all textures in a scene

2008-11-12 Thread David Spilling
The osg "Depictions" thread is here : http://www.mail-archive.com/[EMAIL PROTECTED]/msg10685.html Ok, switching every stateset would be what I am looking to do. Composing the > texture in the shader would mean we loose the desired ability to use image > files. > Agreed, but if your model had (for

Re: [osg-users] BUG FOUND: FLT Writer Duplicate Node Names?

2008-11-12 Thread Stephen H. Westin
Argentieri, John-P63223 wrote: Paul, I'm not sure what the problem is, but I can see that when I create a scene graph with ProxyNodes in memory, and write that scene graph to an OpenFlight file using 2.6.1, the external references are somhow broken with respect to textures. If you send me a

Re: [osg-users] DatabasePager question ...

2008-11-12 Thread Lionel Lagarde
Hi, the osgDB::DatabasePager discards a database request if its frameNumber is earlier than the current frameNumber. Your requestNodeFile method has to continuously call osgDB::requestNodeFile even if the tile has already been requested. Adrian Egli OpenSceneGraph (3D) wrote: Hi all , O

[osg-users] Dynamically changing all textures in a scene

2008-11-12 Thread Linus Hilding
Hi, I would appreciate some advice on how to best use the osg functionality, in order to be able to dynamically change every single texture in a scene, depending on the view. Every view in the scene should have the possibility to either use original textures or alternative (infrared) versions. A

Re: [osg-users] crash with"multimonitormultithreadnVIDIAworkaround" enabled

2008-11-12 Thread Marco Jez
Hi Wojtek, your test case behaves exactly as osgViewer does. The app crashes when wglMakeCurrent() gets called for the second time. Setting repeatMakeCurrent to 0 fixes the crash. One thing I forgot to say, is that it doesn't always crash: the success/failure ratio is about 1 to 15. This appli

Re: [osg-users] crashwith"multimonitormultithreadnVIDIAworkaround"enabled

2008-11-12 Thread Wojciech Lewandowski
Hi Robert, Could you one of your guys implement that original workaround as a runtime optional flag in GraphicsWindowWin32, with an env var settings it's default value. I'd suggest that this workaround is now to set off. I will see what I can do. Wojtek, do you know what driver version numb

Re: [osg-users] Dynamically changing all textures in a scene

2008-11-12 Thread Linus Hilding
Ok, switching every stateset would be what I am looking to do. Composing the texture in the shader would mean we loose the desired ability to use image files. Linus ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegra

Re: [osg-users] Introducing osgmemorytest

2008-11-12 Thread Robert Osfield
Hi J-S and all Windows developers, I have reviewed the revisions of osgconv to track down the changes that were made to get around the same issue with lack of Win32WindowSystem automatic registration and it looks like Windows/VS won't link in a lib unless you use a symbol from it. The workaround

Re: [osg-users] Introducing osgmemorytest

2008-11-12 Thread Robert Osfield
Hi Pasquale, On Wed, Nov 12, 2008 at 12:20 AM, Pasquale Tricarico <[EMAIL PROTECTED]> wrote: > Thank you Robert for this nice tool. Before I report my results, my > feature requests ;) I will be adding more features to osgmemorytest, but... please remember you have all the source code so you are

Re: [osg-users] Introducing osgmemorytest

2008-11-12 Thread Robert Osfield
Hi Christophe, Looks like the vista drivers are doing much better on window/pbuffer and fbo allocation. There is clearly a bug on the NVidia linux drivers w.r.t fbo's that we need to take up with NVidia. The exception on the texture allocation is concerning, could you run it in a debugger and fo

Re: [osg-users] Introducing osgmemorytest

2008-11-12 Thread christophe loustaunau
Hi Robert, Things works better on windows now, here's my results : Machine: windows vista, Intel Core 2, 3GB, Gefore 640Mb 8800GTS driver 169.06 1) window test: get 492 windows opened before failure. 2) pbuffer test: get 504 pbuffers opened before failure. 3) texture test: failed Exception caug

[osg-users] Picking on billboards

2008-11-12 Thread Vincent Bourdier
Hi All, I've seen an old post on picking billboards : http://thread.gmane.org/gmane.comp.graphics.openscenegraph.user/32123 But with OSG 2.6.1, I still cannot pick a billbord. The first intersected node returned is the node behind the billboard... Does it have been implemented as predicted ? tha

Re: [osg-users] how to add shader to osgcal node

2008-11-12 Thread Brian R Hill
A problem you'll have is that the osgcal model has it's own shaders applied down at the geometry level. These will override the one's you are applying further up the graph. Brian [EMAIL PROTECTED] wrote: - To: osg-users@lists.openscenegraph.org From: "yang zhiyuan" <[EMAIL PROTECTED]> Sent b

Re: [osg-users] Introducing osgpdf

2008-11-12 Thread Jean-Sébastien Guay
Hi again, If you get things working under Windows or OSX could you please write in with what you had to do to get things installed. I'm working on it. I've got Cairo from the gtk+-bundle: http://www.gtk.org/download-windows.html Not sure about Poppler. It seems to only be available as source

Re: [osg-users] Picking on billboards

2008-11-12 Thread Robert Osfield
Hi Vincent, Could you try the svn/trunk or 2.7.4 release as this has a fix in IntersectionVisitor.cpp for billboards. Robert. On Wed, Nov 12, 2008 at 10:29 AM, Vincent Bourdier <[EMAIL PROTECTED]> wrote: > Hi All, > > I've seen an old post on picking billboards : > http://thread.gmane.org/gmane.

Re: [osg-users] Dynamically changing all textures in a scene

2008-11-12 Thread Smeenk, R.J.M. (Roland)
A long long time ago somebody posted source code for osgDepictions, which allows you to do a texture/stateset switch for a complete scene. I could not find it in the mailing list archives though... -- Roland > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On

Re: [osg-users] Introducing osgpdf

2008-11-12 Thread Jeremy Moles
On Wed, 2008-11-12 at 16:32 +, Robert Osfield wrote: > Hi Jeremy, > > On Wed, Nov 12, 2008 at 4:21 PM, Jeremy Moles <[EMAIL PROTECTED]> wrote: > > Well, in OpenGL there are to main formats I envision many of us wanting > > to use: > > > >- ARGB32 (GL_RGBA) > >- A8 (GL_ALPHA) >

Re: [osg-users] Dynamically changing all textures in a scene

2008-11-12 Thread Robert Osfield
Hi Linus, On Wed, Nov 12, 2008 at 10:30 AM, Linus Hilding <[EMAIL PROTECTED]> wrote: > Ok, switching every stateset would be what I am looking to do. Composing the > texture in the shader would mean we loose the desired ability to use image > files. StateSet remapping is what you'd probably bes

Re: [osg-users] Introducing osgmemorytest

2008-11-12 Thread christophe loustaunau
Hi Robert, The exception on the texture allocation is concerning, could you run > it in a debugger and found out what the stack trace is. > Here is the stack trace : msvcr80d.dll!_unlock(int locknum=8) Line 376 msvcr80d.dll!_unlockexit() Line 760 + 0x7 bytes msvcr80d.dll!_CxxTh

Re: [osg-users] Dynamically changing all textures in a scene

2008-11-12 Thread Dusten Sobotta
The proper way to go about this would be using an alternate shader for the infrared view. That way you can pull in any source texture (one that is already mapped on an object), and generate the infrared composite image on the fly. For example, if you want all of the walls (and other cold material

Re: [osg-users] DatabasePager question ...

2008-11-12 Thread Robert Osfield
Hi Adrian, Personally I'd write the code to retrieve the tiles as an OSG plugin or using a Registry::ReadFileCallback. The pager now support multiple database reading threads to the latency between request and when it's loaded needn't be long. This would simplify your code significantly and woul

Re: [osg-users] BUG FOUND: FLT Writer Duplicate Node Names?

2008-11-12 Thread Paul Martz
John -- Use of polygon offset controls whether the exporter uses subfaces or not. It might be the case that the subface code has some kind of problem with texture mapping. One thing you can try is to go into expGeometryRecords.cpp and disable use of subfaces by commenting out the SubfaceHelper in

[osg-users] FBO FrameBufferObject and stencil support

2008-11-12 Thread Himar Carmona
Hi, i have two question regarding FBO and Stencil buffer. Perhaps someone could clear my thoughts. 1) Does OSG 2.6.1 supports FBO with stencil buffer attachment? 2) Does it supports EXT_PACKED_DEPTH_STENCIL? Explanation: I use FBO to take the render. Recently i wanted to use stencil t

Re: [osg-users] DatabasePager question ...

2008-11-12 Thread Adrian Egli OpenSceneGraph (3D)
Ok i see, so you would append a custum reading thread to the osg database to avoid subclassing. /adrian 2008/11/12 Robert Osfield <[EMAIL PROTECTED]> > Hi Adrian, > > Personally I'd write the code to retrieve the tiles as an OSG plugin > or using a Registry::ReadFileCallback. > > The pager now s

Re: [osg-users] Introducing osgpdf

2008-11-12 Thread Melchior FRANZ
* Jean-Sébastien Guay -- Wednesday 12 November 2008: > One thing, I think you need to move the test for Poppler from the > examples/osgpdf/CMakeLists.txt to the base CMakeLists.txt, otherwise > POPPLER_FOUND can never be true when adding the osgpdf example in > examples/CMakeLists.txt (or at lea

Re: [osg-users] BUG FOUND: FLT Writer Duplicate Node Names?

2008-11-12 Thread Argentieri, John-P63223
Paul, I tried to do setAttribute( m_pPolygonOffset, osg::StateAttribute::OFF ); but I suppose your code may still be able to detect that the attribute is present. I forgot there was a removeAttribute. Do you think it's worth a shot for me to code it up and try again? Thanks! John

Re: [osg-users] BUG FOUND: FLT Writer Duplicate Node Names?

2008-11-12 Thread Paul Martz
I must admit I'm stumped, John. From looking at the code in the exporter, I can't see how it could possibly clear the texture palette override flag when writing the external reference record. The spec says that when the flag is set, the child FLT file should use it's own palette. So this should wor

[osg-users] post draw callback

2008-11-12 Thread Ed
I am trying to add a post draw callback to my view. I think I must be missing something as far as how to do this is concerned. I borrowed the MyCameraPostDrawCallback class from the osgprerender example and tried to add the callback as follows: m_pViewer->getCamera()->setPostDrawCallback(

Re: [osg-users] BUG FOUND: FLT Writer Duplicate Node Names?

2008-11-12 Thread Argentieri, John-P63223
Paul, I'm not sure what the problem is, but I can see that when I create a scene graph with ProxyNodes in memory, and write that scene graph to an OpenFlight file using 2.6.1, the external references are somhow broken with respect to textures. If I convert that to an .osg and back to .flt using

[osg-users] shaders in OSG...

2008-11-12 Thread Tueller, Shayne R Civ USAF AFMC 519 SMXS/MXDEC
Hello, Is there a "light weight" way to turn off shaders in OSG without unloading the vertex and fragment shaders from the shader program? My application needs to switch back and forth from the shader pipeline to the fixed pipeline and vice versa during runtime. This can be done at the Ope

Re: [osg-users] Picking on billboards

2008-11-12 Thread Robert Osfield
On Wed, Nov 12, 2008 at 3:16 PM, Vincent Bourdier <[EMAIL PROTECTED]> wrote: > So, I've tested on OSG 2.7.5... and it not seems working... picking > billboard do nothing else piking the node behind the billboard(s) > ... > > Any proposition/idea ? Sorry no ideas, do you have a small example model

Re: [osg-users] Introducing osgmemorytest

2008-11-12 Thread Pasquale Tricarico
Hi Robert, OK, mystery solved, I was using r9140. I've now updated to r9149. Sorry about that. Now the results, using the original options verbatim, are: Machine: notebook Lenovo T61p, Ubuntu 8.04, Core2Duo 2.2GHz, 2GB ram + 2GB swap, nVidia Quadro FX 570M 256MB, driver 177.80. 1) only99 in

Re: [osg-users] Picking on billboards

2008-11-12 Thread Vincent Bourdier
Hi Robert, Okay I will try the 2.7.5 directly theses days. I'll give you feedback. Thanks Vincent. 2008/11/12 Robert Osfield <[EMAIL PROTECTED]> > Hi Vincent, > > Could you try the svn/trunk or 2.7.4 release as this has a fix in > IntersectionVisitor.cpp for billboards. > > Robert. > > On We

Re: [osg-users] Introducing osgmemorytest

2008-11-12 Thread Robert Osfield
Hi Christophe, Thanks for the stack trace. This is exception is perfectly fine - it just shows that too much memory has been allocated by the imagery itself. Reducing the number of OpenGL objects via the -g option to 7000 or less should at least avoid this OSG/C++ memory error. The other thing

Re: [osg-users] DatabasePager question ...

2008-11-12 Thread Robert Osfield
Hi Adrian, On Wed, Nov 12, 2008 at 6:39 PM, Adrian Egli OpenSceneGraph (3D) <[EMAIL PROTECTED]> wrote: > Ok i see, so you would append a custum reading thread to the osg database to > avoid subclassing. There shouldn't be any need for a custom reading thread, just use the existing threads to call

Re: [osg-users] Introducing osgpdf

2008-11-12 Thread Robert Osfield
Hi J-S, On Wed, Nov 12, 2008 at 5:43 PM, Jean-Sébastien Guay <[EMAIL PROTECTED]> wrote: > One thing, I think you need to move the test for Poppler from the > examples/osgpdf/CMakeLists.txt to the base CMakeLists.txt, otherwise > POPPLER_FOUND can never be true when adding the osgpdf example in > e

Re: [osg-users] Introducing osgpdf

2008-11-12 Thread Melchior FRANZ
* Robert Osfield -- Wednesday 12 November 2008: > fix to Poppler check now checked in. Now cmake tries to compile osgpdf, and fails: /usr/local/lib/libpoppler-glib.so: undefined reference to `gdk_pixbuf_new_from_data' /usr/local/lib/libpoppler-glib.so: undefined reference to `gdk_pixbuf_get

[osg-users] Disabling culling for the entire scene?

2008-11-12 Thread Benoit Gagnon
Hi all, what would be the most effective way to disable culling for my entire scene? I am using a fixed orthographic camera looking at the XY plane. I use the Z axis solely for layering my various nodes which are all 2D as well. All my nodes are always visible by the camera so culling is (almost)

Re: [osg-users] Introducing osgmemorytest

2008-11-12 Thread christophe loustaunau
Hi Robert, Could you try a 128x128 texture dimension? This will reduce memory > consumption to 1/4rd of the 256x256 test. > >osgmemorytest --window --texture 128 128 -g 1 > Works fine : alll 10,000 texture allocated and download to OpenGL in 6.2 seconds Some other test : osgmemoryte

[osg-users] How to achieve blend function?

2008-11-12 Thread YangXiao
Hi everyone:  How to achieve blend funtion in osg. I means  by alpha(0.0~1.0)  value to set my geometry color, I use follows code    geometry->getOrCreateStateSet()->setMode(GL_BLEND, osg::StateAttribute::ON);  osg::BlendFunc *fn = new osg::BlendFunc();   fn->setFunction(osg::BlendFunc::SRC_ALPHA