Re: [osg-users] Understanding OSG : plugins runtime loading question

2009-05-15 Thread Vincent Bourdier
Hi Art, I need to make these lib (dll/so) for linux and window at least, so I need common behavior. I'm thinking a mix of the inheriting class and the osg plugin registry behavior with the template static register method ... (note so understandable I think) that is to say, may be a mix of all

Re: [osg-users] Understanding OSG : plugins runtime loading question

2009-05-14 Thread Vincent Bourdier
usable ... and to know how this is used in the plugins because I didn't found any code using it. Thanks. Regards, Vincent. 2009/5/13 Ismail Pazarbasi pazarb...@gmail.com On Wed, May 13, 2009 at 9:47 AM, Vincent Bourdier vincent.bourd...@gmail.com wrote: Hi all, I'm currently

Re: [osg-users] Understanding OSG : plugins runtime loading question

2009-05-14 Thread Vincent Bourdier
want to reproduce that behavior on dll which is not osg based, I can do similar things just with these informations ? Thanks. Regards, Vincent. 2009/5/14 Ulrich Hertlein u.hertl...@sandbox.de Hi Vincent, On 14/5/09 10:44 AM, Vincent Bourdier wrote: I've just spent some hours running

Re: [osg-users] Understanding OSG : plugins runtime loading question

2009-05-14 Thread Vincent Bourdier
, Vincent 2009/5/14 Ulrich Hertlein u.hertl...@sandbox.de Hi Vincent, On 14/5/09 11:53 AM, Vincent Bourdier wrote: So if I understand well, when the dll is loaded by dynamic_library, the REGISTER_OSGPLUGIN(...) create a static function, which is stacked in the registry, just because

Re: [osg-users] Understanding OSG : plugins runtime loading question

2009-05-14 Thread Vincent Bourdier
Hi Art, This is not the same thing ? Case 1 : static variable in the dll, calling the register - add on declaration. when the dll is loaded, the static member is initialized, so the register call the dll variable constructor and add it on its available dll stack (see RegisterReaderWriterProxy

Re: [osg-users] _CRT_SECURE_NO_WARNINGS and osg

2009-05-13 Thread Vincent Bourdier
Hi, Thanks for the answers, I get it in osg Visual project properties : _CRT_SECURE_NO_DEPRECATE. I just wanted to be sure and not making supposition about that. Thanks for you help. Regards, Vincent. 2009/5/13 Martin Beckett m...@mgbeckett.com _CRT_SECURE_NO_WARNINGS is set by default

[osg-users] Understanding OSG : plugins runtime loading question

2009-05-13 Thread Vincent Bourdier
Hi all, I'm currently making a dynamic lib for my application, and so I use the osgDB::DynamicLibrary class to load the lib and find the Proc_adress but, there are some points I would like to understand more : 1. The osgDB::DynamicLibrary::PROC_ADDRESS is just a void* so to use the adress as a

Re: [osg-users] Understanding OSG : plugins runtime loading question

2009-05-13 Thread Vincent Bourdier
this is used in the plugins because I didn't found any code using it. Thanks. Regards, Vincent. 2009/5/13 Ismail Pazarbasi pazarb...@gmail.com On Wed, May 13, 2009 at 9:47 AM, Vincent Bourdier vincent.bourd...@gmail.com wrote: Hi all, I'm currently making a dynamic lib for my application

[osg-users] _CRT_SECURE_NO_WARNINGS and osg

2009-05-12 Thread Vincent Bourdier
Hi all, I just have a curious question about the deprecated function from the STL : I use ptm = localtime ( rawtime ); for example in a project without osg and I get the following warning : 1Z:\projets\EasyMonitoring\LicenseManager\trunk\include\Output.h(42) : warning C4996: 'localtime': This

Re: [osg-users] how to set osg::notify to a file

2009-05-11 Thread Vincent Bourdier
Hi, Using the std stream, you can redirect the out stream into a file stream. I don't know if osg implements a thing about that, i think it don't... Regards, Vincent 2009/5/11 forest fores...@163.com hi all osg::notify put notifies on the console defaultly.Can I put these notifies

Re: [osg-users] PostDrawCallback will never die ...

2009-05-07 Thread Vincent Bourdier
/CullThreadPerCameraDrawThreadPerContext threading model come out of the frame loop as the draw thread could still be running for a short while. Could this be an issue in your case? Robert. On Wed, May 6, 2009 at 4:47 PM, Vincent Bourdier vincent.bourd...@gmail.com wrote: Hi all, I just encounter

Re: [osg-users] PostDrawCallback will never die ...

2009-05-07 Thread Vincent Bourdier
*\o/* Great! This is exactly what I was expecting :-) Thanks a lot Robert ! Regards, Vincent. 2009/5/7 Robert Osfield robert.osfi...@gmail.com HI Vincent, Calling viewer.stopThreading() stops the viewer threading. Robert. On Thu, May 7, 2009 at 9:26 AM, Vincent Bourdier

Re: [osg-users] Adding and removing objects to scenegraph duringruntime?

2009-05-05 Thread Vincent Bourdier
-- *Från:* osg-users-boun...@lists.openscenegraph.org [mailto: osg-users-boun...@lists.openscenegraph.org] *För *Vincent Bourdier *Skickat:* den 5 maj 2009 11:32 *Till:* OpenSceneGraph Users *Ämne:* Re: [osg-users] Adding and removing objects to scenegraph duringruntime? Hi, I think

Re: [osg-users] Adding and removing objects to scenegraphduringruntime?

2009-05-05 Thread Vincent Bourdier
-- *Från:* osg-users-boun...@lists.openscenegraph.org [mailto: osg-users-boun...@lists.openscenegraph.org] *För *Vincent Bourdier *Skickat:* den 5 maj 2009 13:25 *Till:* OpenSceneGraph Users *Ämne:* Re: [osg-users] Adding and removing objects to scenegraphduringruntime? You can just call frame

Re: [osg-users] [build] how do i generate project.exe file and .pdb file in specified folder

2009-04-23 Thread Vincent Bourdier
Hi, You don't need Cmake for that, just run into VS project properties - Linker - General - output file (or similar, my VS is in French) Same thing for the .pdb file in properties - Linker- debug Regards, Vincent. 2009/4/23 Abhinav Dubey dubey.abhin...@gmail.com Hi, i am building my

Re: [osg-users] How to make a thread running into the graph safely ?

2009-04-23 Thread Vincent Bourdier
to renderingTraversals(). Robert. On Wed, Apr 22, 2009 at 3:53 PM, Vincent Bourdier vincent.bourd...@gmail.com wrote: Hi, I have a problem of how-to : I have a function, which need to run into the graph to count the visible and total number of face. This is a code which is not so

Re: [osg-users] How to make a thread running into the graph safely ?

2009-04-23 Thread Vincent Bourdier
it. osgViewer does assign Stats for the viewer camera, or at least in 2.8. Go check the differences between the viewer libs. Robert. On Thu, Apr 23, 2009 at 9:34 AM, Vincent Bourdier vincent.bourd...@gmail.com wrote: Hi Robert, I am using the 2.6.1 that's why I didn't found stats code

Re: [osg-users] How to make a thread running into the graph safely ?

2009-04-23 Thread Vincent Bourdier
, 2009 at 10:13 AM, Vincent Bourdier vincent.bourd...@gmail.com wrote: Hi Robert, First, thanks for the answers. Next, I get my camera stats, it contains a lot of things : In _collectMap there are (gpu, true) and (rendering, true), and in _attributeMapList there are 25 item, which

Re: [osg-users] how to use the function of getParent(0)

2009-04-23 Thread Vincent Bourdier
Hi, In the most case, you node only get one parent, so getParent(0) is safe... You can also consider that if you node is in the scene graph, the parent(0) is valid. I you do getParent(i) with i0, you have to check the parent you get, if null or not ... Hope this help. Regards, Vincent

[osg-users] Action in Handlers thread safe ?

2009-04-22 Thread Vincent Bourdier
Hello, Looking for a random bug, I found something strange and it would be more easy for me if you can help me : I have a complex group (group with osgManipulator, transforms, geodes, ...) and it contains an osgManipulator::dragger. So, in my DraggerHandler, during the drag, the group is

Re: [osg-users] Action in Handlers thread safe ?

2009-04-22 Thread Vincent Bourdier
, but I feel a bit lost with that revelation ... Thanks. Regards, Vincent. 2009/4/22 Robert Osfield robert.osfi...@gmail.com On Wed, Apr 22, 2009 at 8:51 AM, Vincent Bourdier vincent.bourd...@gmail.com wrote: So the question is : it is ok to modify geometry/graph in the Handler even

Re: [osg-users] Action in Handlers thread safe ?

2009-04-22 Thread Vincent Bourdier
(I mean adding/removing children by 'modify') ? Thanks, any link or precision will be appreciated. Regards, Vincent. 2009/4/22 Vincent Bourdier vincent.bourd...@gmail.com Hi Robert, Thanks for the reply. So if I understand well, modifying the graph in a handler is not safe at all

[osg-users] How to make a thread running into the graph safely ?

2009-04-22 Thread Vincent Bourdier
Hi, I have a problem of how-to : I have a function, which need to run into the graph to count the visible and total number of face. This is a code which is not so quick... so I would like to put it in a separate thread to avoid my application lags. But, my thread isn't synchronized yet, so in

Re: [osg-users] OSG with VS2008

2009-04-21 Thread Vincent Bourdier
Hi, http://www.openscenegraph.org/projects/osg/wiki/Support/PlatformSpecifics/VisualStudio Regards, Vincent. 2009/4/21 Rani ranimu...@gmail.com Hi, I'm very new to OSG. I need the easy steps to install OSG in my windows system. And i want to build it with Visual Studio 2008

Re: [osg-users] OSG debugging tips

2009-04-20 Thread Vincent Bourdier
Hi I suggest adding : 8) Writing a node in .osg file can help you having a good overview of the graph, the state, the transforms, the geometries, ... (in particular if your debugger is not a very good one) Vincent. 2009/4/20 Pierre Bourdin (gmail) pierre.bour...@imerir.com Hi Paul and thank

Re: [osg-users] Working without PATH variables

2009-04-10 Thread Vincent Bourdier
Hi, The DLL under windows will be searched in two places : in the same directery where the .exe is, and in the path... so just put your dll in the same folder than the .exe and they will be found. Same thing for the data, use relative path from the exe path ... and you can find your datas easily.

[osg-users] Osg Matrix postMultTranslate and postMultScale

2009-03-25 Thread Vincent Bourdier
Hi all, In the documentation of osg, I see the methods postMultTranslate() and postMultScale() but there are not in the code implementation ... Do I miss something ? If there were removed, why are there in the documentation ? :

Re: [osg-users] Osg Matrix postMultTranslate and postMultScale

2009-03-25 Thread Vincent Bourdier
::postMultTranslate( const Vec3f v ) The methods are there and implemented. Robert. 2009/3/25 Vincent Bourdier vincent.bourd...@gmail.com Hi all, In the documentation of osg, I see the methods postMultTranslate() and postMultScale() but there are not in the code implementation ... Do I miss

Re: [osg-users] [build] 3rdParty package VisualStudio 8 (2005) SP1

2009-03-13 Thread Vincent Bourdier
Hi, Mark Use a svn client to download the directory. Vincent. 2009/3/13 Mark Roberts osgfo...@tevs.eu Hi, i'm a beginner. I need a 3rdParty package for VisualStudio 8 (2005) SP1, but there is only access directory ( http://www.openscenegraph.org/projects/osg/wiki/Downloads/Dependencies ).

Re: [osg-users] osgText::Text rotation

2009-03-11 Thread Vincent Bourdier
Hi Dirk, Maybe you have the same problem than I had : http://thread.gmane.org/gmane.comp.graphics.openscenegraph.user/38200/focus=38214 (sorry no solution...) Vincent. 2009/3/11 Dirk Uys dirkc...@gmail.com Hi I'm new to OSG, but not so new to scene graphs in general. I'm trying to make

Re: [osg-users] Distance to camera

2009-03-09 Thread Vincent Bourdier
Hi, I use the manipulator-gtInverseMatrix().getTrans() to have camera position node-getBound-center() * node-getWorldMatrix() to have node center, and then you just have to compute the difference. Vincent. 2009/3/9 Peter osgfo...@tevs.eu Hi all, I'd like to make callback which compute the

Re: [osg-users] [osgPlugins] osgExp for 3ds Max 2008

2009-03-05 Thread Vincent Bourdier
Hi, Version 0.9.5 is the latest stable release with support for Max 2008/2009. see this at : http://sourceforge.net/project/platformdownload.php?group_id=148454 osgExp page : http://osgmaxexp.wiki.sourceforge.net/ Vincent. 2009/3/5 marwa3dz osgfo...@tevs.eu Is there an osgExp plugin for 3ds

Re: [osg-users] how can i get these files?

2009-03-05 Thread Vincent Bourdier
Hi, When you compile, your compiler will generate theses files ... If you use Cmake, you would not have this kind of problem... Tell us more about how you did that, what you use... (Notice that the d in the lib name is for debug version) Vincent. 2009/3/5 glgosg glg...@163.com when i

[osg-users] osgManipulator strange behavior

2009-03-04 Thread Vincent Bourdier
Hi all, Using osgManipulator, I use 2 draggers (translation and rotation) to move/rotate an element in the scene. Everything is fine when I dragg using the draggers... BUT (of course) when I decide to move the dragger without mouse action, things become difficult. My dragger are like that :

Re: [osg-users] Lightning problem with camera point of view

2009-03-02 Thread Vincent Bourdier
Using 3ds max, applying modifier Edit Normal - Unify, I do not have my old lighting problem. (exported as .osg file with osgExp from 3ds max 9) Don't know why this is necessary ... because normals still exist before I decided to Unify them... Vincent. 2009/3/2 Jonatan osgfo...@tevs.eu: There

Re: [osg-users] Curious osgText crash

2009-03-02 Thread Vincent Bourdier
Hi Kim, I had a problem like this in the past, I solved it using a draw callback to update the texts. you can read this problem here : http://thread.gmane.org/gmane.comp.graphics.openscenegraph.user/39315/focus=39408 Hopping this can help you. Regards, Vincent. 2009/3/2 Kim C Bale

Re: [osg-users] Lightning problem with camera point of view

2009-02-27 Thread Vincent Bourdier
Hi, 2009/2/24 Jason Daly jd...@ist.ucf.edu: Jean-Sébastien Guay wrote: I imagine that any modeling software should have a tool to generate/smooth normals. 3DS Max, Blender, Maya, ... It's pretty basic functionality. In Creator it's called Calculate Shading, but it may be called something

[osg-users] Vec3d - Vec3 bug under Linux ?

2009-02-26 Thread Vincent Bourdier
Hi all, I was thinking about posting in osg submission, but I don't have nothing to submit. I just had a little bug, solved now, but I thing this can be an interessting point for OSG to notice. To make a special geometry, I did a function returning a new vertex Array. In the code, all was

Re: [osg-users] Vec3d - Vec3 bug under Linux ?

2009-02-26 Thread Vincent Bourdier
, or that their is a compiler bug. The fact that adding an explicit Vec3d() into your code suggests to me Isn't that an explicit cast to Vec3f()? As osg::Vec3 defaults to Vec3f... Paul that it's not likely to be an OSG issue, rather a compile one. Robert. On Thu, Feb 26, 2009 at 2:25 PM, Vincent Bourdier

Re: [osg-users] Lightning problem with camera point of view

2009-02-24 Thread Vincent Bourdier
Hi Jean Sebastien. I don't know anything about multi gen creator... it is not an OSG plugin right ? It a free one ? google give me answers but I don't see anything about a free product. Is there any equivalent in OSG ? Thanks. Regards, Vincent. 2009/2/24 Jean-Sébastien Guay

Re: [osg-users] Lightning problem with camera point of view

2009-02-24 Thread Vincent Bourdier
Ok thanks Jean-Sébastien, I'll have a look if I have someting to edit/generate normals. maybe 3ds max can give a good result ... Thanks for you help :-) Regards, Vincent. 2009/2/24 Jean-Sébastien Guay jean-sebastien.g...@cm-labs.com Hi Vincent, I don't know anything about multi gen

[osg-users] osg Image and PNG writer

2009-02-23 Thread Vincent Bourdier
Hi all, I'm working on a post-screenshot pass to apply to my pictures. I searching a way to define a color as transparent. (for png file) osg::Image do not allow this kind of modifications, or I don't know how... Did you do it ? any idea ? thanks, Regards, Vincent.

Re: [osg-users] osg Image and PNG writer

2009-02-23 Thread Vincent Bourdier
Hi Art, I never wrote a shader so I think I will not learn this afternoon. I was thinking on scanning all pixel, but the real problem is not how to get the pixel, but how to write the png file with the background as transparent color. I don't know if it is possible to do that just modifying A

Re: [osg-users] osg Image and PNG writer

2009-02-23 Thread Vincent Bourdier
I did a setClearColor(osg::Vec4(0., 0., 0., 1.)); and setClearColor(osg::Vec4(0., 0., 0., 0.)); on my camera, but when writing the file in png... nothing look like an alpha channel... same result each time... I'll try manually scannin each pixel. do you think just

Re: [osg-users] osg Image and PNG writer

2009-02-23 Thread Vincent Bourdier
Hi Art, I do not use any RTT texture, just use _image-readPixels() to get screen capture. I verified, result-getPixelSizeInBits()/8 remain = 4 so it is a RGBA image. No background or black geometry, ... If I change clear color to white, I have the white background... I use Gimp and Photofiltre to

Re: [osg-users] osg Image and PNG writer

2009-02-23 Thread Vincent Bourdier
Hi Art, I use _image-readPixels(int(viewport-x()),int(viewport-y()),int(viewport-width()),int(viewport-height()), GL_RGBA, GL_UNSIGNED_BYTE); No display setting was set, so I made it osg::DisplaySettings* ds = new osg::DisplaySettings(); ds-setMinimumNumAlphaBits(8);

Re: [osg-users] osg Image and PNG writer

2009-02-23 Thread Vincent Bourdier
(), data, result-getAllocationMode()); ( and no the whole allocation) Thanks for your help, I can now save png files with alpha channel :-) Regards, Vincent. 2009/2/23 Paul Speed psp...@progeeks.com Vincent Bourdier wrote: [snip] data[n+3] = 1.0; This isn't your problem

Re: [osg-users] osgEarth testing problems

2009-02-18 Thread Vincent Bourdier
Hi I had it a few days ago. Check if the osgEarth dll(s) is in the PATH environment variable, if the file exist of course, ... all osgEarth dependencies have to be in the PATH too (all DLL in general...) Do you put the good paths in the Cmake configuration for osgEarth ? Regards, Vincent.

Re: [osg-users] osgEarth testing problems

2009-02-18 Thread Vincent Bourdier
a batch file that sets my PATH variable to include the version of OSG I'm working with, the 3rd Party dependencies (libpng, curl, etc), and the osgEarth libraries. Jason On Wed, Feb 18, 2009 at 8:29 AM, Vincent Bourdier vincent.bourd...@gmail.com wrote: Hi I had it a few days ago

[osg-users] [C++/dll] Osg export model ?

2009-02-17 Thread Vincent Bourdier
Hi all, Trying to make a dll with some osg code, I am having some difficulties. It appear that a std::string parameter can cause crashes ... but in OSG they are some std::string arguments... so is there some special code/compilation to use ? I use MSVC 2005 to make the dll and to use it in the

Re: [osg-users] [C++/dll] Osg export model ?

2009-02-17 Thread Vincent Bourdier
had to do a wild guess, I might say you're using mixing Debug/Release builds or that debug/checked iterators are also mixed up. Cheers, Tanguy *From:* osg-users-boun...@lists.openscenegraph.org [mailto: osg-users-boun...@lists.openscenegraph.org] *On Behalf Of *Vincent Bourdier

Re: [osg-users] Compiling OSG 2.8 with Visual Studio 2005 SP1

2009-02-16 Thread Vincent Bourdier
Hello, Maybe I'm wrong, but I think using the last Cmake can help you... try the 2.6 or later. Regards, Vincent 2009/2/16 Kim C Bale k.b...@hull.ac.uk Good morning all, I'm having problems compiling 2.8 with VS2005SP1 with a build project generated with CMAKE 2.4 When I try to

Re: [osg-users] OpenSceneGraph-2.8.0-rc6 tagged, please test

2009-02-12 Thread Vincent Bourdier
Hi Compilation of OSG scr + examples on VS2005 sp1 in Debug and Release mode (Win XP SP3 ) 0 error, just some VS warning (not a lot) Nothing important. Regards, Vincent. 2009/2/12 Martin Spott martin.sp...@mgras.net Robert Osfield robert.osfi...@gmail.com wrote: Three hours left till

Re: [osg-users] OSG 3dsmax2008 Exporter (again technical failure)

2009-02-12 Thread Vincent Bourdier
Hello, Have a look on osgExp. This plugin allow 3ds max to write .IVE and .OSG files form your 3DS max scene... Don't know if it is better than the osg 3DS plugin, but I'm interested to know it ;-) Hope this can help you. Regards, Vincent 2009/2/12 javier marco osgfo...@tevs.eu hello.

Re: [osg-users] OpenSceneGraph-2.8.0 release - adds character animation, volume rendering and much more!

2009-02-12 Thread Vincent Bourdier
Congratulations ! A very huge job done here ! Thanks a lot for this OSG new release :-) Vincent. 2009/2/12 Robert Osfield robert.osfi...@gmail.com Hi Cedric, On Thu, Feb 12, 2009 at 3:52 PM, Cedric Pinson morni...@plopbyte.net wrote: Hi Robert i dont see a link for the data ? Is it on

Re: [osg-users] OsgManipulator Dragger Matrix

2009-02-03 Thread Vincent Bourdier
Hum, sorry I was not really awoken ... I was modifying the wrong matrix. Dragger get its own matrix for the geometry, Selection is the Matrix which modify the dragged node. Sorry for the inconvenience, Regards, Vincent. 2009/2/3 Vincent Bourdier vincent.bourd...@gmail.com Hi all, I'm

[osg-users] OsgManipulator Dragger Matrix

2009-02-03 Thread Vincent Bourdier
Hi all, I'm currently working a code to save/load a Dragger just with text datas. So I know its position, children, ... and I save its Matrix rotation (Quat) to load the exact position of the dragged node. But when I set the matrix of the dragger on loading, the node under Dragger seems to be

Re: [osg-users] How does DEEP_COPY_ALL treat textures?

2009-01-30 Thread Vincent Bourdier
Hi, Please be more patient... Sometime you can get an answer in 20 min, sometimes after 1 or 2 days... Regards, Vincent. 2009/1/30 neil.hug...@tesco.net Hi All, Can anyone assist with an issue/misunderstanding I'm having when using DEEP_COPY_ALL please ? The issue is that if I have a

Re: [osg-users] what is setTexCoordArray?

2009-01-22 Thread Vincent Bourdier
Hi Cory, Texture coordinates is a basic way to apply a texture on a geometry. For each vertex, you give a 2D coordinate data to associate a vertex and a texture point. OpenGl will interpolate the texture pixel between each vertex, depending on theses coordinates. The 2D texture coordinate have

Re: [osg-users] what is setTexCoordArray?

2009-01-22 Thread Vincent Bourdier
move down. In OpenGL, the coordinates are called **s and **t instead of **u and **v, the (0, 0) point (the origin) is at the bottom-left corner, and the **t coordinate increases as you move up. * So don't consider my little drawing as right. Vincent. 2009/1/22 Vincent Bourdier vincent.bourd

Re: [osg-users] I have some questions about particles in OSG

2009-01-22 Thread Vincent Bourdier
Hi, Have a look on Placer and Shooter class. Radial shooter : http://www.openscenegraph.org/documentation/OpenSceneGraphReferenceDocs/a01622.htmlallow you to set an angle of the cone, Placer : http://www.openscenegraph.org/documentation/OpenSceneGraphReferenceDocs/a01569.htmlallow you to set

Re: [osg-users] VS Intellisense forOSG?

2009-01-21 Thread Vincent Bourdier
Hi Cory, I personally not have done all of that. Just putting the osgFile.lib in the linker and osgfile includes, and making my application, I have the intellisense working good. Nothing to do especially. When intellisense do not work, you can assume that an error is in you code syntax... or

Re: [osg-users] Vertex list indexing into another vertex list?

2009-01-16 Thread Vincent Bourdier
was intended. - Ken -Original Message- From: osg-users-boun...@lists.openscenegraph.org [mailto:osg-users- boun...@lists.openscenegraph.org] On Behalf Of Vincent Bourdier Sent: Thursday, January 15, 2009 5:14 AM To: OpenSceneGraph Users Subject: Re: [osg-users] Vertex list indexing

[osg-users] Compilation of OSG with /MT option.

2009-01-16 Thread Vincent Bourdier
Hi, Working on window, I am trying to compil osg with /MT option instead of /MD to avoid MV dependencies (*msvcr80.dll *for example). With this option, some OSG component (osgText, osgTerrain, ) do not link. It is possible to do it ? how ? (any suggestion would be a good beginning) Thanks.

Re: [osg-users] osgNV 0.6.2 released, with a preliminary physics support!

2009-01-13 Thread Vincent Bourdier
Hi, Looking for physic/collision application, I would have more information on osgNV. Does it would work with graphic card which are not NVidia's one ? Is it possible to consider this project as an interface for PhysiX (for now) for any application, plateform, ... ? Thanks, Regards,

[osg-users] osgText size in screen coordinate problem

2009-01-13 Thread Vincent Bourdier
Hi, Currently making my billboard node, I add an osgText on it. I need this text to be in node's coordinate, but in constant pixel size on screen. When the billboard move or rotate, the text will follow it. The only thing the text can change is caracter size. I use this code : *

Re: [osg-users] osgNV 0.6.2 released, with a preliminary physics support!

2009-01-13 Thread Vincent Bourdier
of it on SF.net if interested. It's still in design. Wang Rui 2009/1/13 Vincent Bourdier vincent.bourd...@gmail.com Hi, Looking for physic/collision application, I would have more information on osgNV. Does it would work with graphic card which are not NVidia's one ? Is it possible

Re: [osg-users] osgText size in screen coordinate problem

2009-01-13 Thread Vincent Bourdier
the text to the billboard, instead just add it as sibling to the Billboard and enable the rotate to screen option on the text object. Robert. On Tue, Jan 13, 2009 at 11:59 AM, Vincent Bourdier vincent.bourd...@gmail.com wrote: Hi, Currently making my billboard node, I add an osgText on it. I

Re: [osg-users] Bug in osgText::drawForegroundText

2009-01-13 Thread Vincent Bourdier
...@csir.co.za Hi, can you make it crash in singlethreaded mode? If not, check all settings of dynamic on text nodes. jp Vincent Bourdier wrote: Hi, I allow myself to Up this topic... Thanks, Regards, Vincent. 2009/1/12 Vincent Bourdier vincent.bourd...@gmail.com mailto

Re: [osg-users] Bug in osgText::drawForegroundText

2009-01-13 Thread Vincent Bourdier
: stateset-setDataVariance(osg::Object::DYNAMIC); Also have a search on the mailing list for setDataVariance. regards jp Vincent Bourdier wrote: Hi J.P, I have no crash in singleThreaded mode. It is a random crash so I can not be 100% sure, but it seems to be the problem. So, what can

Re: [osg-users] osgText size in screen coordinate problem

2009-01-13 Thread Vincent Bourdier
: is the setRotation() is called, the text do not update with good proportions... Any suggestion ? Thanks, Regards, Vincent. 2009/1/13 Vincent Bourdier vincent.bourd...@gmail.com Hi Robert, I did it from the past for a simple OSG text on a billboard node, without constant screen pixel size

Re: [osg-users] osgText size in screen coordinate problem

2009-01-13 Thread Vincent Bourdier
); d-setFont( _ve-getFont().get())* Thanks, Regards, Vincent. 2009/1/13 Robert Osfield robert.osfi...@gmail.com Do you use text-setAutoRotateToScreen(true)? On Tue, Jan 13, 2009 at 1:36 PM, Vincent Bourdier vincent.bourd...@gmail.com wrote: Hi, I've tried what you propose : put

[osg-users] Bug in osgText::drawForegroundText

2009-01-12 Thread Vincent Bourdier
I think there is a real bug in the rendering of OsgText. (2.6.1 release) The bug does appear randomly... I get it with simple text in a Hud, updated each frame. The bug is there : *void Text::drawForegroundText(osg::State state, const GlyphQuads glyphquad, const osg::Vec4 colorMultiplier)

Re: [osg-users] Depth, CULL, renderBin : what and when ?

2009-01-11 Thread Vincent Bourdier
-boun...@lists.openscenegraph.org] *On Behalf Of *Vincent Bourdier *Sent:* Friday, January 09, 2009 2:58 AM *To:* OpenSceneGraph Users *Subject:* Re: [osg-users] Depth, CULL, renderBin : what and when ? Hi, Thanks for your explanations. If anyone can explain me the Depth class

[osg-users] Depth, CULL, renderBin : what and when ?

2009-01-09 Thread Vincent Bourdier
Hi, I need some explanations about the ways OSG allow to modify the render. I am working on a function, to apply to a node, to set it always rendered over the other nodes. In other words, If I apply this on an osgText, I would be able to read the text whatever my camera position can be (of

Re: [osg-users] Depth, CULL, renderBin : what and when ?

2009-01-09 Thread Vincent Bourdier
? is it necessary ? Thanks for you help. Regards, Vincent. 2009/1/9 Serge Lages serge.la...@gmail.com Hi Vincent, I'll try to answer to your questions... On Fri, Jan 9, 2009 at 9:55 AM, Vincent Bourdier vincent.bourd...@gmail.com wrote: Hi, I need some explanations about the ways

Re: [osg-users] Depth, CULL, renderBin : what and when ?

2009-01-09 Thread Vincent Bourdier
to answer to your questions... On Fri, Jan 9, 2009 at 9:55 AM, Vincent Bourdier vincent.bourd...@gmail.com wrote: Hi, I need some explanations about the ways OSG allow to modify the render. I am working on a function, to apply to a node, to set it always rendered over the other nodes

Re: [osg-users] overriding keyboard events in osgViewer::View...

2009-01-07 Thread Vincent Bourdier
Hi, The Handlers can be set when you need them. By default, the statesetHandler is set, and manage the 'l' key for instance. If you make your own viewer, you can put the handlers you want. I'm not sure on how to remove the default handler, but If you set your view(er), and add the eventHandlers

Re: [osg-users] create window from a thread on windows

2009-01-06 Thread Vincent Bourdier
Hi, Maybe you just have to add the handler/manipulator on the new window. Default viewer set default trackBallManipulator, do you have it ? how do you create you new window ? Regards, Vincent. 2009/1/5 Cedric Pinson morni...@plopbyte.net Hi, I create a an osgViewer from a thread not the

Re: [osg-users] create window from a thread on windows

2009-01-06 Thread Vincent Bourdier
want to know, just it does not work like window creation from another thread. So to get in the same case that most of people i prefered to put the window creation in the main thread. Thank you for you reply. Cheers, Cedric Vincent Bourdier wrote: Hi, Maybe you just have to add

Re: [osg-users] map/set iterator not dereferencable

2009-01-05 Thread Vincent Bourdier
Hi Have a look on your coordinateText pointer. Check it if it is always valid... Maybe, as Robert said, you loose some data due to a bad memory management ? Advice : always use ref_ptr for osg::Referenced elements. -- Read this topic online here:

Re: [osg-users] rotation problem

2008-12-22 Thread Vincent Bourdier
Hi, It sound normal for me to have a y rotation for result. Make a little drawing, you will see that. Vincent. 2008/12/22 hemanth korrapati hemanthkorrap...@gmail.com hi all, I want to rotate a point which is on x-axis by 45 degrees w.r.t z-axis and 45 degrees w.r.t x-axis. So I am using

Re: [osg-users] is possible to display a Bounding Sphere?

2008-12-22 Thread Vincent Bourdier
Hi, Bounding sphere is not a drawable, but an osg::Sphere exist, so with you BS radius and center, you can create a new Sphere to visualize your BS. Careful to the transformation matrices when getting the center and radius. Vincent. 2008/12/22 Francesco Argese kekk...@gmail.com Hi all, i

Re: [osg-users] World to Local Coordinates

2008-12-22 Thread Vincent Bourdier
Hi, I cannot answer you about WorldToLocalMatrix, but something can help you maybe : each node can call getWorldMatrices() wich return a matrix to apply to the node referenced coordinates to have the world coordinates. Example : to get the world coordinate of the center of a node I use :*

Re: [osg-users] model creation

2008-12-22 Thread Vincent Bourdier
Hi, You read/write .osg (ASCII) or .ive (binary) files from the scene. see osgDB::WriteNodeFile(...) Regards, Vincent. 2008/12/22 hemanth korrapati hemanthkorrap...@gmail.com Hi, How can we save all the objects in a scene as a single model ? Thanks

Re: [osg-users] OT : Merry Christmas

2008-12-22 Thread Vincent Bourdier
Merry Christmas to all , Happy new year, good Holidays, Happy Halloween (why not ^^ ) Thanks a lot for your help all along this year. Vincent. 2008/12/22 Can T. Oguz cto...@gmail.com Merry Christmas to all :) Can 2008/12/22 Gordon Tomlinson gor...@gordon-tomlinson.com Merry Christmas

Re: [osg-users] state of a point

2008-12-22 Thread Vincent Bourdier
Hi, Bounding Sphere implement an intersect() method to test if two bounding sphere are intersecting ... if one is in the other one, it is considered as an intersection. You can create a BS for your point with a little radius, and test the intersection with the other BS you want. Maybe you can

Re: [osg-users] Forum with Mailing list connection (Christmas Gift ; ) )

2008-12-22 Thread Vincent Bourdier
Hi Art ! What a nice Christmas gift ! Very impressive ! I would be very useful for beginners not familiar with the mailing list, or to read the complete discussion. I don't know if I will continue to use list or change to forum ... maybe both ! Congratulations ! Regards, Vincent.

Re: [osg-users] World to Local Coordinates

2008-12-22 Thread Vincent Bourdier
Why not just inverse this matrix ? Not sure, but it can be the solution. Vincent. 2008/12/22 Renan Mendes renanmzmen...@gmail.com Vincent, Thanks for your help, but what I want is exactly the opposite. To transform from world to local... Does anybody know the answer to my last email?

Re: [osg-users] Please test svn/trunk in prep for OpenSceneGraph-2.7.8 dev release

2008-12-19 Thread Vincent Bourdier
Hi Robert, Compilation ok : 0 error, 0 warnings on OSG only (no examples, no wrappers, ...) Under : VS 2005 SP1, Windows XP SP2 Regards, Vincent. 2008/12/19 Robert Osfield robert.osfi...@gmail.com Hi All, I have now completed all my work in prep for the 2.7.8 and am personally ready to

Re: [osg-users] please test... SSAO (v1.0)

2008-12-18 Thread Vincent Bourdier
30FPS) on my NVidia Quatro 570M, can you rebuild the latest version and send my the compiler bugs (please) the resizing issue, i am awar of it not yet solved. /adrian 2008/12/18 Vincent Bourdier vincent.bourd...@gmail.com On VS 2005 SP1 OSG 2.6.1 : still the 3 .get() missing on texture

Re: [osg-users] please test... SSAO (v1.0)

2008-12-18 Thread Vincent Bourdier
...@gmail.com sorry, i am working with latest SVN version (but not so important) but the attached SSAO version (latest) see attachement :-) /adrian 2008/12/18 Vincent Bourdier vincent.bourd...@gmail.com Hi, Which version do you speeking about ? last OSG version ? SSAO last version ? My todo

Re: [osg-users] please test... SSAO (v1.0)

2008-12-18 Thread Vincent Bourdier
Quatro 570M, can you rebuild the latest version and send my the compiler bugs (please) the resizing issue, i am awar of it not yet solved. /adrian 2008/12/18 Vincent Bourdier vincent.bourd...@gmail.com mailto: vincent.bourd...@gmail.com On VS 2005 SP1 OSG 2.6.1 : still the 3 .get

[osg-users] osgManipulator Dragger Handler get transformation decal

2008-12-18 Thread Vincent Bourdier
Hi, Using the draggerHandler (the copy of the one in osgManipulator example) to rotate and translate a node, I need to get theses transformations to apply it to an other node. In the Handler, I get the previous matrix of the dragger, and after transformation (on release) I get the other matrix.

Re: [osg-users] osgManipulator Dragger Handler get transformation decal

2008-12-18 Thread Vincent Bourdier
, no Transform can be apply on it.) But the plane and the Geode not have the same orientation... I don't understand where the calculs are wrong. Thanks. Regards, Vincent. 2008/12/18 Vincent Bourdier vincent.bourd...@gmail.com Hi, Using the draggerHandler (the copy of the one in osgManipulator

Re: [osg-users] osgManipulator Dragger Handler get transformation decal

2008-12-18 Thread Vincent Bourdier
Hi Jean-Sébastien, I just tried that ... the problem is that the plane is not a referenced node... so I cannot put it under a transform. For the same reason I cannot put it under the dragger. Last, If I try InfinitePlane (referenced node), this is just a drawable, so it getNormal() method always

Re: [osg-users] osgManipulator Dragger Handler get transformation decal

2008-12-18 Thread Vincent Bourdier
OSG list is magic ! Because people help other people, but when I post on it because I begin becoming mad, I can be sure that : there is no answer because I did something too strange to be understood, or I will find the good solution when waiting for your proposition ^^ I made me realize one

Re: [osg-users] current View Point

2008-12-17 Thread Vincent Bourdier
(); } now the object i used did not move what is the problem ?? --- On Wed, 12/17/08, Vincent Bourdier vincent.bourd...@gmail.com wrote: From: Vincent Bourdier vincent.bourd...@gmail.com Subject: Re: [osg-users] current View Point To: olfat_ibra...@yahoo.com, OpenSceneGraph Users osg

Re: [osg-users] current View Point

2008-12-17 Thread Vincent Bourdier
); and get it directly from the current camera position matrix ? please help --- On Wed, 12/17/08, Vincent Bourdier vincent.bourd...@gmail.com wrote: From: Vincent Bourdier vincent.bourd...@gmail.com Subject: Re: [osg-users] current View Point To: olfat_ibra...@yahoo.com, OpenSceneGraph

Re: [osg-users] my current position

2008-12-17 Thread Vincent Bourdier
Hi, 2008/12/17 olfat ibrahim olfat_ibra...@yahoo.com --- On Wed, 12/17/08, olfat ibrahim olfat_ibra...@yahoo.com wrote: From: olfat ibrahim olfat_ibra...@yahoo.com Subject: my current position To: OSG osg-users@lists.openscenegraph.org Date: Wednesday, December 17, 2008, 9:01 AM i

<    1   2   3   4   5   6   >