Re: [osg-users] Ref_ptr question : argument and return

2008-09-23 Thread Vincent Bourdier
[EMAIL PROTECTED] Hi Vincent On Mon, Sep 22, 2008 at 5:23 PM, Vincent Bourdier [EMAIL PROTECTED] wrote: Hi all, I read that all the objects that inherit from Referenced need to be in a ref_ptr. They don't _need_ to. You can perfectly use a raw pointer to an osg::Referenced instance

[osg-users] cullcallback and visitor ?

2008-09-25 Thread Vincent Bourdier
Hi, I'm looking at a way to determine if a node is visible (in the frustum) or not. I saw something about cullvisitor and isCulled() But, I do not understand how to implement that visitor. I saw a osg::Drawable::cullcallback ... Do I have to make my callbak ingerit from this class ? What

Re: [osg-users] cullcallback and visitor ?

2008-09-25 Thread Vincent Bourdier
, 2008 at 4:15 PM, Vincent Bourdier [EMAIL PROTECTED] wrote: Hi, I'm looking at a way to determine if a node is visible (in the frustum) or not. I saw something about cullvisitor and isCulled() But, I do not understand how to implement that visitor. I saw a osg::Drawable

Re: [osg-users] cullcallback and visitor ?

2008-09-25 Thread Vincent Bourdier
for you ? (the mix between Cullcallback and osgUtil looks strange for me... but...) Thanks, Regards. Vincent 2008/9/25 Robert Osfield [EMAIL PROTECTED] On Thu, Sep 25, 2008 at 4:23 PM, Vincent Bourdier [EMAIL PROTECTED] wrote: Hi Robert, How is it possible to test directly against

Re: [osg-users] cullcallback and visitor ?

2008-09-25 Thread Vincent Bourdier
= nv-isCulled(*node); osg::notify(osg::NOTICE)Cull _cull\n; }; bool tileVisibleCallback::isCulled(){ return _cull; }; Nothing is return as cull state... the visitor seem do be visiting nothing... Any Idea ? experience ? Thanks. Regards, Vincent. 2008/9/25 Vincent Bourdier [EMAIL

Re: [osg-users] cullcallback and visitor ?

2008-09-26 Thread Vincent Bourdier
, but It is a const method, so I can't add my own code in it to memorize the cull state before looking at it. How to implement the cull() method allowing my code to get the cull state when I need it ? I'm a bit lost... Thanks. Regards, Vincent. 2008/9/26 Ulrich Hertlein [EMAIL PROTECTED] Vincent Bourdier

Re: [osg-users] cullcallback and visitor ?

2008-09-26 Thread Vincent Bourdier
2008/9/26 Ulrich Hertlein [EMAIL PROTECTED] Hi Vincent, Vincent Bourdier wrote: If if do a nodevisitior, I've the problem that the operator() takes a nodevisitor in parameter and so I can't obtain the cull state with that. (method isCulled() not aviable from a node visitor) The way I

Re: [osg-users] cullcallback and visitor ?

2008-09-26 Thread Vincent Bourdier
Hi, I found an other solution using a vector to store the visible elements and clearing this list each render loop. I is the more simple solution I think. thanks for your help. Regards, Vincent. 2008/9/26 Ulrich Hertlein [EMAIL PROTECTED] Hi Vincent, Vincent Bourdier wrote: Vincent

Re: [osg-users] cullcallback and visitor ?

2008-09-29 Thread Vincent Bourdier
_mainChild-setCullCallback(tvc.get()); Do you see something not clear ? unstable ? what can engender problems ? Thanks a lot. Regards, Vincent 2008/9/26 Vincent Bourdier [EMAIL PROTECTED] Hi, I found an other solution using a vector to store the visible elements and clearing this list each render

Re: [osg-users] cullcallback and visitor ?

2008-09-29 Thread Vincent Bourdier
. This is all your code we are talking about here so you the only person in a position to debug it. Robert. On Mon, Sep 29, 2008 at 2:52 PM, Vincent Bourdier [EMAIL PROTECTED] wrote: Hi I make a little UP because I go now a strange problem : My Cullcallback seem to engender some other

[osg-users] Change color of a imported node

2008-10-03 Thread Vincent Bourdier
Hi all, I'm currently looking at a way to allow me changing the color of a geode, from a model 3D done under 3dsmax. This geode ha no texture, and is composed by 18 primtiveset. No color array seems to be in the datas, but it appear in the color applicated in 3dsmax. I make this :

Re: [osg-users] Change color of a imported node

2008-10-03 Thread Vincent Bourdier
defence is not a function of learning tricks but is a function of how quickly and intensely one can arouse one's instinct for survival - *Master Tambo Tetsura* -- *From:* [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED] *On Behalf Of *Vincent Bourdier *Sent:* Friday

Re: [osg-users] Change color of a imported node

2008-10-03 Thread Vincent Bourdier
Up ! I anyone have a solution or and idea, I take it, otherwise I have to draw my geometry mysefl in OSG and it will be more complicated and less beautiful. Thanks a lot. Regards, Vincent. 2008/10/3 Vincent Bourdier [EMAIL PROTECTED] Hi Gordon I make this : if(geode.valid

Re: [osg-users] Change color of a imported node

2008-10-06 Thread Vincent Bourdier
should dump your loaded .3ds file as a .osg file and look and see what is causing it to be colored. As I recall, the 3DS is loaded with materials for anything that is colored... so setting vertex colors isn't going to help you. -Paul Vincent Bourdier wrote: Up ! I anyone have a solution

[osg-users] OpenGl warning : application crashing

2008-10-09 Thread Vincent Bourdier
Hi all, My problem with my application is with the long-term execution : After 10 or 20 min of execution, I have this warning : Warning: detected OpenGL error 'mÚmoire insuffisante' after RenderBin::draw(,) The applications load an write a lot of images during the execution, it can helps you to

[osg-users] Thread infinite waiting problem

2008-10-10 Thread Vincent Bourdier
Hi all, Randomly my application freeze. I can have the stack state during the freeze, and it seems to be in win32thread.cpp line 645 on // Wait for the timer. if (WaitForSingleObject(sleepTimer.get(), INFINITE) != WAIT_OBJECT_0) { return -1; } If I am good, the wait() do not

Re: [osg-users] how to know a node whether in the viewport?

2008-10-13 Thread Vincent Bourdier
hi Why not just use the cameraLookAt to compute camera direction ? the node will always be seen from the camera... Vincent. 2008/10/13 forest37 [EMAIL PROTECTED] hi all, I set a animationpath to a node,how can i know whether the node is moved outside of the viewport? what i

[osg-users] change material of a node but not its children

2008-10-17 Thread Vincent Bourdier
Hi, I'm currently on a problem : I change the color of a node (osg::PAT) but I don't want its child osg::text to have the same color... On the PAT I do a node-getOrCreateStateSet()-setAttributeAndModes(mat.get(),osg::StateAttribute::ON); On the text : osg::ref_ptrosg::Material mat =

Re: [osg-users] change material of a node but not its children

2008-10-17 Thread Vincent Bourdier
a little UP.. Sorry for the convenience, but I would be very useful to solve this problem now... Thanks. Regards, Vincent. 2008/10/17 Vincent Bourdier [EMAIL PROTECTED] Hi, I'm currently on a problem : I change the color of a node (osg::PAT) but I don't want its child osg::text

Re: [osg-users] Group Info (Off-topic)

2008-10-29 Thread Vincent Bourdier
Currently being the #9 of all the time ... don't know if it is a good or a bad thing ^^ 2008/10/29 Serge Lages [EMAIL PROTECTED] Yeah I am in the top 10 ! :) Next step will be the top 5 ! On Tue, Oct 28, 2008 at 9:01 PM, Paul Martz [EMAIL PROTECTED]wrote: Hi Jeremy, Whoa! I'm the #7

Re: [osg-users] Callbacks: operator() call

2008-10-30 Thread Vincent Bourdier
Hi, To use a lot of callback, you need to verify that you call *traverse(node, nv);* at the end of each callback operator() to continue traversing the graph. If I'm right, all the callback are traversed at each frame, during the update (for the updatecallback) and is it not done in a parallel

Re: [osg-users] BS radius : world coordinate or local coordinate ?

2008-10-30 Thread Vincent Bourdier
of how quickly and intensely one can arouse one's instinct for survival - *Master Tambo Tetsura* -- *From:* [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED] *On Behalf Of *Vincent Bourdier *Sent:* Thursday, October 30, 2008 5:21 AM *To:* osg *Subject:* [osg-users

[osg-users] multiple rotation with Quat

2008-10-31 Thread Vincent Bourdier
Hi, This a math problem, depending on OSG. I need to apply 2 rotation to a vector. I would be very simple if I can cumulate the 2 quat in one. How to do it ? Do Osg implement a method to combine two rotations ? thanks. Regards, Vincent. ___

Re: [osg-users] multiple rotation with Quat

2008-10-31 Thread Vincent Bourdier
Hi I was not sure that the * operator would compute the quaternion that I'm looking for. I looked in the sources, but the code is very hard to understand for me. If you are sure, I will do it of course. thanks Vincent. 2008/10/31 Paul Melis [EMAIL PROTECTED] Vincent Bourdier wrote: Hi

Re: [osg-users] multiple rotation with Quat

2008-10-31 Thread Vincent Bourdier
If I apply 2 quat on the same vector in the same line or in two instruction, the result is the same... so q = q1*q2 look the 2 rotation accumulation, depending of the order of course. thanks, Vincent. 2008/10/31 Paul Melis [EMAIL PROTECTED] Vincent Bourdier wrote: Hi I was not sure

Re: [osg-users] BS radius : world coordinate or local coordinate ?

2008-11-06 Thread Vincent Bourdier
a lot, Regards, Vincent. 2008/10/30 Vincent Bourdier [EMAIL PROTECTED] Thanks Grodon. :-) 2008/10/30 Tomlinson, Gordon [EMAIL PROTECTED] Hi Get bounds is the local coordinates of the node. So yes any scale in the tree above the node will need to be factored in if you matrices

Re: [osg-users] BS radius : world coordinate or local coordinate ?

2008-11-06 Thread Vincent Bourdier
is local or one is world coordinates unless you know that you are at the topmost or child below bottom most transform. Robert. On Thu, Nov 6, 2008 at 4:18 PM, Vincent Bourdier [EMAIL PROTECTED] wrote: Hi, I make a little Up of this topic for the problem : If I get the radius

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 theses

Re: [osg-users] Picking on billboards

2008-11-12 Thread Vincent Bourdier
PROTECTED] 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

[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 ?

Re: [osg-users] Picking on billboards

2008-11-12 Thread Vincent Bourdier
, 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.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

Re: [osg-users] Picking on billboards

2008-11-13 Thread Vincent Bourdier
, Vincent. 2008/11/12 Vincent Bourdier [EMAIL PROTECTED] 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

Re: [osg-users] Picking on billboards

2008-11-13 Thread Vincent Bourdier
. Regards, Vincent. 2008/11/13 Robert Osfield [EMAIL PROTECTED] On Thu, Nov 13, 2008 at 8:11 AM, Vincent Bourdier [EMAIL PROTECTED] wrote: With OSG 2.7.5, launching osgpick lz.osg and picking trees, I can pick billboards ! So picking on Billboard is really implemented. So, why in my

Re: [osg-users] Picking on billboards

2008-11-13 Thread Vincent Bourdier
. Judd Tracy Assistant in Simulation Institute for Simulation and Training University of Central Florida Phone: (407) 384-5507 [EMAIL PROTECTED] Vincent Bourdier wrote: for the moment : On 2.6.1 : no pick on billboards On 2.7.5 : pick work a little... not very reliable. sometimes

Re: [osg-users] Picking on billboards

2008-11-13 Thread Vincent Bourdier
Hi Jean-Sébastien, For the moment I use *view-computeIntersections(x, y, intersections)* with view from : *bool PickHandler::handle( const osgGA::GUIEventAdapter ea,osgGA::GUIActionAdapter aa ){ osgViewer::Viewer* view =dynamic_castosgViewer::Viewer*( aa ); ...}* This is nearly the same

Re: [osg-users] You have three guess...

2008-11-17 Thread Vincent Bourdier
Hmm, just some screenshot as texture on two quads ? Seems too simple... 2008/11/17 Robert Osfield [EMAIL PROTECTED] For a bit of fun see if you can explain the attached screenshot... If if you get that right your next challange is explain exactly how I went about writing this email...

[osg-users] Composite viewer and GlGetVersion crash

2008-11-18 Thread Vincent Bourdier
Hi all, Using composite viewer, I have a strange behavior : If, during the build of my scene, I make 1, 2... osgViewer::view in the same composite viewer, everything is godd and work well. But, if during the render loop (after 200 frame() ) I had one View, with the same code of the previous, I

Re: [osg-users] Composite viewer and GlGetVersion crash

2008-11-18 Thread Vincent Bourdier
that doesn't have a graphics context current. All OpenGL calls have to be called from a thread with a valid graphics context. There has been plenty discussed about this on osg-uses over the years so check out the archives on the topic. Robert. On Tue, Nov 18, 2008 at 1:20 PM, Vincent

Re: [osg-users] Composite viewer and GlGetVersion crash

2008-11-18 Thread Vincent Bourdier
become a problem... I don't think this is an OSG basic behavior, but I anyone have an idea about that... it can help me. Thanks for help, Regards, Vincent 2008/11/18 Vincent Bourdier [EMAIL PROTECTED] Hi Robert, What I don't understand is why I get this error one time and not the previous

[osg-users] Transparency and lighting off compatible ?

2008-11-19 Thread Vincent Bourdier
Hi, Making a new king of skymap, I have this problem : the light source, closer to the skymap (sphere with blue material only), make it render white, because of the lighting... I want to obtain the same thing without this white area... I need to manage opacity of this sphere, so Lighting ON

Re: [osg-users] Transparency and lighting off compatible ?

2008-11-19 Thread Vincent Bourdier
://pvle.sourceforge.net/ Le Wed, 19 Nov 2008 16:28:41 +0100, Vincent Bourdier [EMAIL PROTECTED] a écrit: Hi, Making a new king of skymap, I have this problem : the light source, closer to the skymap (sphere with blue material only), make it render white, because of the lighting... I want to obtain

Re: [osg-users] Transparency and lighting off compatible ?

2008-11-19 Thread Vincent Bourdier
a semi-transparent sphere with lighting disabled. Sukender PVLE - Lightweight cross-platform game engine - http://pvle.sourceforge.net/ Le Wed, 19 Nov 2008 16:28:41 +0100, Vincent Bourdier [EMAIL PROTECTED] a écrit: Hi, Making a new king of skymap, I have this problem

Re: [osg-users] Transparency and lighting off compatible ?

2008-11-19 Thread Vincent Bourdier
are merely assigning the property which describes that object's color, it will not react with light and will remain just that - the object's color. Sukender PVLE - Lightweight cross-platform game engine - http://pvle.sourceforge.net/ Le Wed, 19 Nov 2008 17:51:25 +0100, Vincent Bourdier

Re: [osg-users] question about passive 3D stereo using polarized projectors and openscenegraph

2008-11-20 Thread Vincent Bourdier
2008/11/20 lucas Grijander [EMAIL PROTECTED] only one projector? but how do you create the 3D effect? Jaime. With the filtered glasses. The passive stereo effect is just that : 2 picture with 2 colored components (red and blue basically) projeted on a wall/screen with the interval between

Re: [osg-users] question about passive 3D stereo using polarized projectors and openscenegraph

2008-11-20 Thread Vincent Bourdier
2008/11/20 Paul Melis [EMAIL PROTECTED] lucas Grijander wrote: you are right, but I have polarized glasses that go together with the polarized lenses of the projectors. I think we can have much better quality like that. You might be surprised. Depending on the polarization type and filter

Re: [osg-users] question about passive 3D stereo using polarized projectors and openscenegraph

2008-11-20 Thread Vincent Bourdier
2008/11/20 Paul Melis [EMAIL PROTECTED] Vincent Bourdier wrote: 2008/11/20 Paul Melis [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] lucas Grijander wrote: you are right, but I have polarized glasses that go together with the polarized lenses of the projectors. I think we

Re: [osg-users] question about passive 3D stereo using polarized projectors and openscenegraph

2008-11-20 Thread Vincent Bourdier
Thanks a lot :-) I'm just curious and interested. Regards, Vincent. 2008/11/20 Jean-Christophe Lombardo [EMAIL PROTECTED] Bonjour Vincent, Vincent Bourdier wrote: Off topic question but : Where did you find theses glasses ? very difficult to find it in France, as free of course

Re: [osg-users] OsgSim Impostor lag and errors

2009-09-03 Thread Vincent Bourdier
HI Robert, 2009/9/3 Robert Osfield robert.osfi...@gmail.com Hi Vincent, On Thu, Sep 3, 2009 at 2:33 PM, Vincent Bourdiervincent.bourd...@gmail.com wrote: I'm not sure to understand you well : Impostors will use more memory than a defaut LOD ? so where is the advantages of them ?

[osg-users] PagedLod - How to

2009-09-07 Thread Vincent Bourdier
Hi all, Currently trying to set a PagedLod system on my model, I'm facing something strange for me : Adding a child on a PageLod node, I need to set a Node* AND a filename ... Why do I need to set the node ptr ? if the pagedLod load from disk the node, there is no need of the ptr, isn't it ?

Re: [osg-users] PagedLod - How to

2009-09-09 Thread Vincent Bourdier
Hi, I still have a question about PagedLod. I set a pagedLod with 2 children on a 600k face models. Using the StatsHandler on osgViewer with this model, I saw that the number of face decrease when I mode the camera far from it. The problem is that there is no step but a regular decrease... so

[osg-users] osgUtil::simplifier parameters

2009-09-17 Thread Vincent Bourdier
Hi all, Using the osg simplifier on a geometry, I'm just surprised to see that there is no way to set a level of simplification or something like that. Maybe I didn't saw it, but for the moment I just found _sm-setDoTriStrip(true); //what for ? do triangle strip are more optimized ?

Re: [osg-users] osgUtil::simplifier parameters

2009-09-21 Thread Vincent Bourdier
Up ? No one does osg simplifications ? Thanks, Vincent. 2009/9/17 Vincent Bourdier vincent.bourd...@gmail.com Hi all, Using the osg simplifier on a geometry, I'm just surprised to see that there is no way to set a level of simplification or something like that. Maybe I didn't saw

Re: [osg-users] osgUtil::simplifier parameters

2009-09-22 Thread Vincent Bourdier
the number of vertices/primitives in each Geometry object, while giving you essentially the same mesh out. On Mon, Sep 21, 2009 at 10:10 AM, Vincent Bourdier vincent.bourd...@gmail.com wrote: Up ? No one does osg simplifications ? Thanks, Vincent. 2009/9/17 Vincent Bourdier

Re: [osg-users] Cut a surface

2009-09-23 Thread Vincent Bourdier
Pedro Xavier Contla a écrit : Hi, ... I'm new in OSG, and I want to cut a surface with a plane... Do someone have an idea?? Thank you! Cheers, Pedro -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=17556#17556

[osg-users] Crash in ive writer

2009-09-30 Thread Vincent Bourdier
Hi all, I think that it can be a good thing to tell you I just found a crash in the Writer in the plugin IVE. The crash occurs when a drawElementUInt is empty. osg::ref_ptrosg::DrawElementsUInt drawelems = new osg::DrawElementsUInt(GL_TRIANGLES);

Re: [osg-users] Crash in ive writer

2009-09-30 Thread Vincent Bourdier
Sorry I just forget : Windows XP sp3 OSG 2.8.1 Vincent Bourdier a écrit : Hi all, I think that it can be a good thing to tell you I just found a crash in the Writer in the plugin IVE. The crash occurs when a drawElementUInt is empty. osg::ref_ptrosg::DrawElementsUInt drawelems = new

[osg-users] osg Simplifier and crash in ive writer

2009-10-07 Thread Vincent Bourdier
Hi all, I'm currently looking at a way to simplify a big IVE file. (850Mbytes) To make some test, I open the file, get all the geodes with a visitor, simplify their geometries with osg Simplifier and write the new file. But, when I put the simplification sample ratio to 0.1 and 0.3

Re: [osg-users] osg Simplifier and crash in ive writer

2009-10-07 Thread Vincent Bourdier
::ReaderWriter::Options * options=0x) Line 52 + 0x21 bytesC++ I don't know where the problem is... Any idea ? Thanks. Regards, Vincent. Vincent Bourdier a écrit : Hi all, I'm currently looking at a way to simplify a big IVE file. (850Mbytes) To make some test, I open the file

Re: [osg-users] osg Simplifier and crash in ive writer

2009-10-07 Thread Vincent Bourdier
Regards, Vincent. Vincent Bourdier a écrit : I get the bug on a little osg file (16Mo) : msvcp90d.dll!104ed4c3()[Frames below may be incorrect and/or missing, no symbols loaded for msvcp90d.dll] osg55-osgd.dll!std::_Vector_const_iteratorunsigned int,std::allocatorunsigned

Re: [osg-users] osg Simplifier and crash in ive writer

2009-10-07 Thread Vincent Bourdier
Hi Robert Nice :-) Thanks for the help. Regards, Vincent. Robert Osfield a écrit : Hi Vincent, These changes are already checked into svn/trunk. Cheers, Robert. On Wed, Oct 7, 2009 at 3:03 PM, Vincent Bourdier vincent.bourd...@gmail.com wrote: Hi, So, I get a good new, the bug

Re: [osg-users] osgUtil::simplifier parameters

2009-10-07 Thread Vincent Bourdier
triangles in a 710Mbytes file) Thanks for your help. Regards, Vincent. Vincent Bourdier a écrit : Hi Andrew Thanks for the tip on the simplifier, lower the sample ratio is, lower the vertex number is. (I get a crash under 0.6 but I'm not sure this is an osg crash) Concerning the optimiser

Re: [osg-users] osgUtil::simplifier parameters

2009-10-09 Thread Vincent Bourdier
Hi, A little update, nobody can explain me the simplifier in details ? Thanks. Regards, Vincent Vincent Bourdier a écrit : Hi, I do an update on this topic, because I would like to understand well the osgUtil::simlifier. This implementation seems to be very complex and powerful, but I

Re: [osg-users] Real-time motion in OSG

2009-10-14 Thread Vincent Bourdier
Hi Felipe, You can create a handler, which will get the move key signals, and set the helicopter position... Regards, Vincent. Felipe Lemus a écrit : Hi, I have been looking for some information about real-time motion in the forum but I have not found what I want. I want to do a scene

Re: [osg-users] Wayfinding / route finding

2009-11-02 Thread Vincent Bourdier
Hi Ben, I cannot be 100% sure of my answer but when when needed to have this, we made our own implementation based on collision and A*. This is the only way we found. Regards, Vincent. Ben Dykes a écrit : Hi there, Having never used OSG so forgive me if this is an old question - I’m

[osg-users] Transparency issue

2009-11-02 Thread Vincent Bourdier
Hi all, I have a transparency issue on a very simple sceneGraph and I do not understand how that problem can be there. I set all the mode in the stateSet to make the group transparent... but no way ! The node file is in attached file. Any suggestion would be very appreciated :-) Thanks.

Re: [osg-users] [build] error LNK2019: unresolved external symbol __declspec(dllimport)

2009-11-04 Thread Vincent Bourdier
Hi Manish Did you add osgDB.lib in the linker input ? Vincent. manish Choudhary a écrit : Hi, I'm trying to build osg project. I'm having some problems during linking time :- 1Linking... 1AutoTransform.obj : error LNK2019: unresolved external symbol __declspec(dllimport) bool __cdecl

[osg-users] RenderBin mode

2009-11-04 Thread Vincent Bourdier
Hi all, Still working on the transparency effect, I have a question about RenderBinMode usage : I don't see any documentation about that... So the question is simple : What does the RenderBin Mode is for ? How to use it for transparent /opaque nodes ? Thanks a lot. Regards, Vincent.

[osg-users] [osgDB] [plugins] 3DS writer

2009-11-18 Thread Vincent Bourdier
Hi all, Working on a model converter, I just saw that the plugin 3ds do not implement the writer. My question is : Is there any 3ds/max writer done or in project or being developed ? I just would like to know the actual situation about this implementation, and estimate the necessary work to

Re: [osg-users] [osgDB] [plugins] 3DS writer

2009-11-18 Thread Vincent Bourdier
, not sure of the status. see http://thread.gmane.org/gmane.comp.graphics.openscenegraph.user/48807/focus=48823 jp Vincent Bourdier wrote: Hi all, Working on a model converter, I just saw that the plugin 3ds do not implement the writer. My question is : Is there any 3ds/max writer done

Re: [osg-users] [osgDB] [plugins] 3DS writer

2009-11-18 Thread Vincent Bourdier
Hi, Sorry i was lunatic, Sukender post on mailing list a version 0.3 the 2d of october for testing. I'll have a look on this. Thanks. Regards, Vincent Vincent Bourdier a écrit : Hi, Thanks for the link. So the actual status is unknown for the moment, waiting for Sukender tests if I

Re: [osg-users] [osgDB] [plugins] 3DS writer

2009-11-20 Thread Vincent Bourdier
the file (confidentiality) ... Is this issue known ? Are there any workaround to fix the issue, even temporarily ? Thanks for the work whatever ! Regards, Vincent. Vincent Bourdier a écrit : Hi, Sorry i was lunatic, Sukender post on mailing list a version 0.3 the 2d of october for testing

Re: [osg-users] PageLod makes me crazy !

2009-11-30 Thread Vincent Bourdier
Hi Chris, Chris 'Xenon' Hanson a écrit : Vincent Bourdier wrote: Hi all, Managing a huge model (around 1.5Go in IVE ) I cut it into parts and set pagedLod on each part with two LOD. I know English probably isn't your primary language, but this description is too incomplete

[osg-users] PagedLod advices and tips

2009-12-01 Thread Vincent Bourdier
Hi all, Currently working on a huge model, I'm looking at PagedLod to run the whole model on a normal computer. The model can be divided into 5 big parts. My first idea was to make 2 model for each part, and set PagedLOD on it. The models are too big to have an acceptable loading time, and

Re: [osg-users] PagedLod advices and tips

2009-12-02 Thread Vincent Bourdier
Vincent Bourdier a écrit : Hi all, Currently working on a huge model, I'm looking at PagedLod to run the whole model on a normal computer. The model can be divided into 5 big parts. My first idea was to make 2 model for each part, and set PagedLOD on it. The models are too big to have

[osg-users] PagedLOD issue using an external render loop

2009-12-04 Thread Vincent Bourdier
Hi all, Using pagedLOD in our application, I get a strange issue using the external rendering mode. Our application is a C++ engine managed from a JAVA application, using JNI. In other words, the render loop (viewer-frame() ) is called from a static JNI method by a special Java thread. If

Re: [osg-users] PagedLOD issue using an external render loop

2009-12-07 Thread Vincent Bourdier
, Vincent Bourdier vincent.bourd...@gmail.com wrote: Hi all, Using pagedLOD in our application, I get a strange issue using the external rendering mode. Our application is a C++ engine managed from a JAVA application, using JNI. In other words, the render loop (viewer-frame() ) is called from

Re: [osg-users] PagedLOD issue using an external render loop

2009-12-07 Thread Vincent Bourdier
(sorry Robert, missed the reply to OSG list) Vincent Bourdier a écrit : Hi Robert, I just get more informations about the issue, and maybe you can help me now : My pagedLod is traversed by some NodeVisitor (VisitorType=NODE_VISITOR) a lot of times, but it is a nodeVisitor (VisitorType

[osg-users] [plugins] Osg writer add dataBasePath inPagedLod

2009-12-08 Thread Vincent Bourdier
Hi all, Using pagedLod, I just test an interessant thing : I load a PagedLod osg file like : PagedLOD { nodeMask 0x cullingActive TRUE Center 0 0 0 Radius -1

Re: [osg-users] [plugins] Osg writer add dataBasePath inPagedLod

2009-12-08 Thread Vincent Bourdier
on the load of the file in the pluginIve reader ? Thanks Regards, Vincent. Vincent Bourdier a écrit : Hi all, Using pagedLod, I just test an interessant thing : I load a PagedLod osg file like : PagedLOD { nodeMask 0x

Re: [osg-users] [plugins] Osg writer add dataBasePath inPagedLod

2009-12-08 Thread Vincent Bourdier
Hi Robert, I do not set the DatabasePager, but the PagedLod's DatabasePath. The real problem is the .ive loader : it do not returns the node in the exact state he get it... Thanks. Regards, Vincent. Robert Osfield a écrit : Hi Vincent, On Tue, Dec 8, 2009 at 4:43 PM, Vincent Bourdier

Re: [osg-users] [plugins] Osg writer add dataBasePath inPagedLod

2009-12-08 Thread Vincent Bourdier
... Maybe the actual implementation is not an issue, (unless the relative path is not a relative one) so do you have an other suggestion on how I can ignore the problem ? Thanks. Regards, Vincent. Chris 'Xenon' Hanson a écrit : Vincent Bourdier wrote: As you can see, the DatabasePath appear

Re: [osg-users] [plugins] Osg writer add dataBasePath inPagedLod

2009-12-09 Thread Vincent Bourdier
a confirmation because it needs a lot of time to arrange the graph to remove the inexistent children. Thanks for your help. Regards, Vincent Robert Osfield a écrit : HI Vincent, On Tue, Dec 8, 2009 at 5:56 PM, Vincent Bourdier vincent.bourd...@gmail.com wrote: So, why the path is not relative ? I

Re: [osg-users] [plugins] Osg writer add dataBasePath inPagedLod

2009-12-10 Thread Vincent Bourdier
you could write a Registry::ReadFileCallback that catches failed attempts to read files and then stores the filename in a black list that it checks against in future attempts to read files. Robert. On Wed, Dec 9, 2009 at 3:55 PM, Vincent Bourdier vincent.bourd...@gmail.com wrote: Hi Robert

[osg-users] Frustum/Culling issue with PagedLod

2009-12-10 Thread Vincent Bourdier
Hi all, I just get something very strange I cannot really understand : In my scene, there is a graph will hundred of PagedLOD nodes, and no geodes. I manually set the frustum of the viewer : / view-getCamera()-setComputeNearFarMode(osg::CullSettings::DO_NOT_COMPUTE_NEAR_FAR ); float

Re: [osg-users] Frustum/Culling issue with PagedLod

2009-12-11 Thread Vincent Bourdier
is changing with changes in the sphere's dimensions/poistion, and the home position is affecting the LOD selection. Robert. On Thu, Dec 10, 2009 at 8:15 PM, Vincent Bourdier vincent.bourd...@gmail.com wrote: Hi all, I just get something very strange I cannot really understand : In my scene

[osg-users] PagedLod expired children

2009-12-11 Thread Vincent Bourdier
Hi everybody ! Once again, i have a question about PagedLod managment, concerning memory usage this time My PagedLOD have 2 children with ranges [0, n] [n, 1e20] I put a spy on one, and I see : 0child on load, 1 child during loading, 2child when the camera is near, 1child again when the

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

2009-12-13 Thread Vincent Bourdier
Hi Maxim Have a look on http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/2009-December/036286.html Regards, Vincent Maxim Gammer a écrit : Hi everybody. I need to figure out the PagedLOD technology... I've tried the following example, everything worked fine...

Re: [osg-users] Frustum/Culling issue with PagedLod

2009-12-16 Thread Vincent Bourdier
Hi, No more idea ? because the only way I found is to remove the little sphere... and this is a real bad way to solve the problem... Thanks a lot. Regards, Vincent Vincent Bourdier a écrit : Hi Robert, Sorry, the camera manipulator is my own one, and the position is hard coded

Re: [osg-users] How to set up the PageLOD?

2009-12-22 Thread Vincent Bourdier
Hi Maxim First try : view-getDatabasePager()-setSchedulePriority(OpenThreads::Thread::THREAD_PRIORITY_LOW); Set the priority you prefer. Maybe this can help. Regard, Vincent. Maxim Gammer a écrit : Hi everybody, I've got a problem - FPS falls down from 100 to 2-3 for 1-2

[osg-users] PagedLod dataBasePager memory managment

2010-01-08 Thread Vincent Bourdier
Hi all, Is there a way to manage memory usage with the load of models ? In my case I have a lot of PagedLod to load, and my question is : is there a way to know is memory is sufficient for the next PageLod higher level node ? I just would like to stop the data loading when memory usage exceed

Re: [osg-users] Zoom effect

2010-01-13 Thread Vincent Bourdier
Hi, If you just need to change a picture size in your scene, apply it on a geometry (a quad) and scale the transform supporting the geode. It might be enough. Regards, Vincent. Gene Permel a écrit : Hi, I want to perform zoom operation. Is there any way to do it but not like the

[osg-users] PagedLod and OpenGl Error : out of memory

2010-01-14 Thread Vincent Bourdier
Hi all, Using PagedLod in huge scene (about 30k nodes, 6M vertices with Low lods) I get a crash when I load a lot of PagedLods. After the datas loading, I move the camera into the scene to load High lod levels, and then I get a crash. In the logs the only error I saw is : Warning: detected

Re: [osg-users] PagedLod dataBasePager memory managment

2010-01-14 Thread Vincent Bourdier
Hi Robert, Robert Osfield a écrit : Hi Vincent, On Fri, Jan 8, 2010 at 2:30 PM, Vincent Bourdier vincent.bourd...@gmail.com wrote: Is there a way to manage memory usage with the load of models ? In my case I have a lot of PagedLod to load, and my question is : is there a way to know

Re: [osg-users] PagedLod dataBasePager memory managment

2010-01-15 Thread Vincent Bourdier
to delete = 0 It finish every time with a request list size decreasing from a value to 0, and crash on requestList.size()= 1. ... I read the code but it it very complicated to understand for me. Does it helps ? are these informations useful ? Thanks. Regards, Vincent. Vincent Bourdier

Re: [osg-users] PagedLod dataBasePager memory managment

2010-01-15 Thread Vincent Bourdier
://www.openscenegraph.osg/data/earth_bayarea/earth.ive database then other will then be to try and recreate the problem first hand. Robert. On Fri, Jan 15, 2010 at 1:56 PM, Vincent Bourdier vincent.bourd...@gmail.com wrote: Hi, Some more informations I do not understand. Each time I get a crash I have

Re: [osg-users] PagedLod dataBasePager memory managment

2010-01-26 Thread Vincent Bourdier
ive files as input datas) Thanks. Regards, Vincent. Robert Osfield a écrit : Hi Vincent, On Thu, Jan 14, 2010 at 5:50 PM, Vincent Bourdier vincent.bourd...@gmail.com wrote: I don't understand how this is working. If a pagedLod is required it will be loaded... but we can cap the number

[osg-users] PagedLod do not release memory with own viewer

2010-01-27 Thread Vincent Bourdier
Hi everybody, I just ran some tests and I saw that a pagedLod - based ive file have different memory usage behaviors according to the viewer : OsgViewer loads the file, use more memory when the camera goes near the model, and release memory when the camera goes far. My own viewer (Composite

Re: [osg-users] PagedLod do not release memory with own viewer

2010-01-28 Thread Vincent Bourdier
unload children... Do you have any explanation to help me ? DatabasePager is not my cup of tea so it takes me a lot of time to trace my problem... Thanks. Regards, Vincent. Chris 'Xenon' Hanson a écrit : On 1/27/2010 7:38 AM, Vincent Bourdier wrote: Hi everybody, I just ran some tests

Re: [osg-users] PagedLod do not release memory with own viewer

2010-01-28 Thread Vincent Bourdier
... This explains why my Paged LOD never unload children... Do you have any explanation to help me ? DatabasePager is not my cup of tea so it takes me a lot of time to trace my problem... Thanks. Regards, Vincent. Chris 'Xenon' Hanson a écrit : On 1/27/2010 7:38 AM, Vincent Bourdier wrote

Re: [osg-users] PagedLod do not release memory with own viewer

2010-01-29 Thread Vincent Bourdier
PagedLOD's that it hasn't come across previously, such an approach might make it bit more flexible for users that add their own data in but forget to register the PagedLOD's. Robert. On Thu, Jan 28, 2010 at 3:39 PM, Vincent Bourdier vincent.bourd...@gmail.com wrote: Hi Robert, Sorry

<    1   2   3   4   5   6   >