Re: [osg-users] Drawing a Line

2008-01-30 Thread Alberto Luaces
El Wednesday 30 January 2008 07:01:04 Felix Bwire escribió: Hi there, I would like to get some assistance. Can some one help me with the code of how I can draw three lines, that have a structure of Z in osg. Thanx, Felix First: osg::Geode *geode = new osg::Geode;

Re: [osg-users] get_random

2008-01-31 Thread Alberto Luaces
El Thursday 31 January 2008 16:41:55 DC Fennell escribió: Hello everybody, I believe the get_random() function in range under osgParticle should be: minimum + (maximum - minimum) * rand() / (RAND_MAX + 1); It is written as: minimum + (maximum - minimum) * rand() / RAND_MAX; If you expect

Re: [osg-users] making a movie of an OSG simulation

2008-02-06 Thread Alberto Luaces
El Wednesday 06 February 2008 14:00:26 hemanth korrapati escribió: hi I wanted to make a movie of whatever is displayed on the screen when running an osg program. how do i do it ? It is described here using a post frame callback:

Re: [osg-users] How to modify the array of vertex from a Ge ometry object

2008-02-07 Thread Alberto Luaces
El Wednesday 06 February 2008 21:33:51 Rubén López escribió: 2. I don't know what the at method is, I couldn't find it either on the TemplateArray class or the std::vector class. Try with the vector [] operator, ie: (*test)[i] = trans A minor clarification: std::vector::at() is a method

Re: [osg-users] to draw landscapes beginning from a matrix

2008-02-21 Thread Alberto Luaces
From the location where you installed OSG source code, look at the examples/osgterrain directory. You will find osgterrain.cpp. El Thursday 21 February 2008 11:38:29 aurora restivo escribió: Hi Robert, I apologize for the trouble, but I don't understand of what file it has need the example

Re: [osg-users] get function in osg::Matrixf

2008-03-10 Thread Alberto Luaces
El Sunday 09 March 2008 22:43:36 Renan Mendes escribió: Hi, I'm new in using open source software. Because of that I don't know how to modify the library's code according to my needs. For instance, I'd like to create a getCoefficients() function in osg::Matrix, but I don't know where to

Re: [osg-users] Shadow Map and threading mode

2008-03-11 Thread Alberto Luaces
El Tuesday 11 March 2008 13:59:12 Jean-Sébastien Guay escribió: You can just add viewer.addEventHandler( new osgViewer::ThreadingHandler() ); to the osgshadow example (around where the other handlers are added) and comment this line:

Re: [osg-users] Bounding Boxes and Collision Detection

2008-03-27 Thread Alberto Luaces
Hi Jake, I think boundig boxes are only used at Drawable and Geode level because they are AABB (that is axis aligned bboxes). Testing collisions between rotated arbitrary bounding boxes or adding groups of them gets tricky, so they are kept at the local coordinate system. When you want to

Re: [osg-users] Get Parent as Transform in Absolute ?

2008-03-27 Thread Alberto Luaces
trolFindingWorldCoordinates There is no other way ? Thanks, Regards. vincent. 2008/3/27, Alberto Luaces [EMAIL PROTECTED]: El Jueves 27 Marzo 2008ES 15:24:48 Vincent Bourdier escribió: but if I want to get the world Matrix, the one which represent the node's position and translation

Re: [osg-users] Get Parent as Transform in Absolute ?

2008-03-27 Thread Alberto Luaces
(absolute/world coordinates), and its orientation (in the world system coordinates). How can I do it ? (Sorry, I'm not very understandable...) Thanks, Regard. Vincent. 2008/3/27, Alberto Luaces [EMAIL PROTECTED]: Sorry, I don't get what you exactly are looking for. Would this example

Re: [osg-users] OpenSceneGraph-2.3.7 dev release tagged.

2008-04-01 Thread Alberto Luaces
Ha,ha,ha... it's not late yet for AF ;) El Martes 01 Abril 2008ES 23:37:21 Robert Osfield escribió: One more thing... In the light of the recent efforts from Microsoft to support standards and for opening their source code. I've been thinking of making this one the last release before

Re: [osg-users] Performance drop higherRAMusageaft erswitchingfrom OSG 1.2 to latest SVN

2008-04-02 Thread Alberto Luaces
El Miércoles 02 Abril 2008ES 09:36:37 Guy escribió:  Some small thing I'd like to say regarding that. Not all dynamic objects must have callbacks. One could change the objects attributes manually between calls to frames, not using the callback mechanism, especially if the rate of calls to

Re: [osg-users] Replacing a stateset.

2008-04-03 Thread Alberto Luaces
El Miércoles 02 Abril 2008ES 20:07:53 Dorosky, Christopher G escribió: Do I need to do something to clean up the node if it already had a shared stateset? Statesets as the rest of Referenced objects are reference counted, so if the ref_ptr that holds its address is pointed to another Stateset,

Re: [osg-users] OpenSceneGraph\osgUtil\StateGraph error C2593: 'operator !=' is ambiguous

2008-04-10 Thread Alberto Luaces
El Jueves 10 Abril 2008ES 04:23:59 IceSharK escribió: *itr!=return_path.rend();* Did you wrote those asterisks? Otherwise it should work, because that line isn't changed since October 2005. ___ osg-users mailing list osg-users@lists.openscenegraph.org

Re: [osg-users] Delaunay and getTriangles()

2008-04-15 Thread Alberto Luaces
El Martes 15 Abril 2008ES 16:26:21 Vincent Bourdier escribió: Thanks for ideas and help, because It looks unused and complicated for me... I don't think it is nor unused nor complicated. I use it heavily for my projects and I find it very useful. It's the best way to retrieve back the

Re: [osg-users] Delaunay and getTriangles()

2008-04-16 Thread Alberto Luaces
on the geometry You can see my code here : http://rafb.net/p/PeihdM64.html Don't read commentaries ^^ they are not updated... Any idea ? why the operator() is never called ? Thanks a lot. Vincent. 2008/4/15, Alberto Luaces [EMAIL PROTECTED]: El Martes 15 Abril 2008ES 16:26:21 Vincent

Re: [osg-users] Delaunay and getTriangles()

2008-04-16 Thread Alberto Luaces
El Miércoles 16 Abril 2008ES 11:22:34 Vincent Bourdier escribió: Yes Adding the setVertexArray() It works better... Too soon to know if it really do what I hope, but it seems to do something logical now. Thanks a lot Alberto. Muchas gracias :-) De nada ;)

Re: [osg-users] Altering Vertex Data

2008-04-16 Thread Alberto Luaces
Hi Jake, since you only have to scale the points and you haven't anything to do with the faces, it is easier to scale the points through the VertexArray. You simply get it/them from the Drawable/s (osg::Geometry::getVertexArray), and then iterate over all its vertex members, scaling them

Re: [osg-users] svn 8134 osgprerender --image

2008-04-18 Thread Alberto Luaces
The SVN gives this error: [ 1%] Building CXX object src/osg/CMakeFiles/osg.dir/FrameBufferObject.o /home/alberto/OSGSVN2/trunk/src/osg/FrameBufferObject.cpp: In member function ‘void osg::FrameBufferObject::updateDrawBuffers()’: /home/alberto/OSGSVN2/trunk/src/osg/FrameBufferObject.cpp:619:

Re: [osg-users] svn 8134 osgprerender --image

2008-04-18 Thread Alberto Luaces
: Hi Alberto, Sorry, missed this check in (I was managing multiple patches at once.) The include/osg/Camera updates are now checked in. Robert. On Fri, Apr 18, 2008 at 2:44 PM, Alberto Luaces [EMAIL PROTECTED] wrote: The SVN gives this error: [ 1%] Building CXX object src/osg

Re: [osg-users] How do I get an array of vertices and an array of indices from an osg::Geometry object?

2008-04-30 Thread Alberto Luaces
Hi Yuen Helbig, I think it's easier to use osg::TriangleFunctor on the Drawable: osg::TriangleFunctorA tf; tempGeode.geode-getDrawable(j)-accept(tf); As shown in http://www.openscenegraph.org/documentation/OpenSceneGraphReferenceDocs/a01688.html#_details, the template parameter A must be a

Re: [osg-users] problems with a new geometry

2008-04-30 Thread Alberto Luaces
Hi Vincent, I have no time for perusing the code, but searching the net shows that the value FEEEFEEE is Used by Microsoft's C++ compiler to mark the storage area of a deleted class in debug mode. IOW, some object is being used after its deletion. Try to find places where ref_ptr should be

Re: [osg-users] Arrays in OpenSceneGraph

2008-05-06 Thread Alberto Luaces
El Martes 06 Mayo 2008ES 11:11:25 Daniel Moos escribió: Now my question. Why use the osg::Array a std::vector and not a   std::list? I'm shure there is a good reason... But I haven't got a clue. I think it depends on the way one is using the data. If you weren't removing faces but just

Re: [osg-users] update example

2008-05-07 Thread Alberto Luaces
El Miércoles 07 Mayo 2008ES 11:53:38 [EMAIL PROTECTED] escribió: It would be usefull i think if anyone would post some examples / doc on how to update textures images and geometry using osg in real time, since I (and probably others) have had problems with this. I can't still figure this out

Re: [osg-users] memory leak about osgMFC example

2008-05-12 Thread Alberto Luaces
In addition to what Robert said, see http://www.mail-archive.com/[EMAIL PROTECTED]/msg08551.html ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Re: [osg-users] problems with normals

2008-05-13 Thread Alberto Luaces
El Martes 13 Mayo 2008ES 13:59:45 lucas Grijander escribió: Dear all, I'm having a problem when importing an OBJ model. I load the v positions (vertices), the indices and the vn positions (normals). Then I create a geometry with these data. I'm having a bad result (see image attached), it is

Re: [osg-users] problems with normals

2008-05-13 Thread Alberto Luaces
El Martes 13 Mayo 2008ES 14:17:58 lucas Grijander escribió: Hi, I've created the OBJ file with 3DStudio, and I've verified that all the normals are pointing out, so it should work anyway? I think it depends on the way I'm reading the data... Is your model made of quads? It could be that you

Re: [osg-users] osgthirdpersonview example: anyone e lse with an ATIhaving problems?

2008-05-15 Thread Alberto Luaces
El Jueves 15 Mayo 2008ES 09:04:50 Paul Melis escribió: The osgwindows example is also not working without troubles. Sometimes it runs with no problems, but mostly it locks up in a similar way as osgthirdpersonview. I attached with gdb after a lockup and the stack traces for the different

Re: [osg-users] osgthirdpersonview example: anyone else with an ATIhaving problems?

2008-05-15 Thread Alberto Luaces
El Jueves 15 Mayo 2008ES 09:56:36 Paul Melis escribió: Paul, what compiler are you using?   gcc 4.1.2, I believe (pretty sure it's one from the 4.1 series). Why, are there known defects regarding threading? Oh, I'm sorry. Somehow I thought you were using some Windows gcc version. Now I

Re: [osg-users] Stack of actions todo

2008-05-15 Thread Alberto Luaces
El Jueves 15 Mayo 2008ES 11:00:41 Vincent Bourdier escribió: Hi all, After a look on the net and in the archive, I think nobody did it before, but I prefer ask to earn time : I need to do something like a stack or a list of actions to apply on the scenegraph (FIFO stack if possible). I've a

Re: [osg-users] EventHandler

2008-05-15 Thread Alberto Luaces
El Jueves 15 Mayo 2008ES 11:07:35 Miriam D'Elia escribió: Hi, what is the function equivalent of osgViewer addEventHandler () for osgProducer? You just add it (with push_back()) to the list returned by osgViewer::getEventHandlers(). ___ osg-users

Re: [osg-users] Setting Colors

2008-05-21 Thread Alberto Luaces
El Miércoles 21 Mayo 2008ES 10:18:58 Daniel Moos escribió: Good morning @all I have a question about setting colors of a geometry. We have 3d- objects which is described by a triangle area. This triangle area has a color, which is set with a ColorArray and a ColorBinding (BIND_OVERALL) Now

Re: [osg-users] get Alpha on material

2008-05-21 Thread Alberto Luaces
El Miércoles 21 Mayo 2008ES 10:29:10 Vincent Bourdier escribió: No one have any idea on how to do it ? I just need to get alpha value on a material on a picked node. Thanks, Regards, Vincent. 2008/5/20 Vincent Bourdier [EMAIL PROTECTED]: Hi all, trying to get alpha value on a

Re: [osg-users] Bug in version 2.5.0 (PNG alfa)

2008-05-21 Thread Alberto Luaces
El Miércoles 21 Mayo 2008ES 13:05:58 GMD GammerMaxyandex.ru escribió: When I upgrad version of OSG from 2.4 to version 2.5 I get some problems with PNG images. When I use PNG image with opacity in my scene on version 2.5 image disappeared but on v2.4 it looks correct (with normal opacity). I

Re: [osg-users] multiple windows rendering bug

2008-05-23 Thread Alberto Luaces
Could be this http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/2008-May/011011.html your problem? ___ osg-users mailing list osg-users@lists.openscenegraph.org

Re: [osg-users] Debugging example hangs in Cygwin and need some insight into cygwin_osgdb_osg.dll

2008-05-28 Thread Alberto Luaces
El Martes 27 Mayo 2008ES 21:44:03 Brian Keener escribió: This almost seems as if iot has something to do with the actually writing of the osg file when it writes the data and then something not terminating as it should. I think this could be a non-valid example, because osgDB::DynamicLibrary

Re: [osg-users] Debugging example hangs in Cygwin and need some insight into cygwin_osgdb_osg.dll

2008-06-03 Thread Alberto Luaces
El Jueves 29 Mayo 2008ES 22:06:09 Brian Keener escribió: Alberto Luaces wrote: This almost seems as if iot has something to do with the actually writing of the osg file when it writes the data and then something not terminating as it should. I think this could be a non-valid example

Re: [osg-users] Build from svn in Cygwin still tries to build osgviewerWX but no WX

2008-06-10 Thread Alberto Luaces
I somehow managed to decode the file. I hope it is the whole file. # This is the CMakeCache file. # For build in directory: /usr/develop/obj/osg # It was generated by CMake: /usr/bin/cmake.exe # You can edit this file to change values found and used by cmake. # If you do not want to change any of

[osg-users] Broken OBJ plugin non-textured translucency support

2008-06-16 Thread Alberto Luaces
Hi all, The loading of translucent non-textured OBJ files is not working anymore. When I load such an object, it is displayed opaque as if the alpha information of its material were thrown away. You can see it with osgviewer cube_translucent.obj cessna.osg The problem stems from the last

Re: [osg-users] Please test SVN of OpenSceneGraph in pre for 2.5.3 dev release

2008-06-20 Thread Alberto Luaces
Robert, since I posted this bug (http://article.gmane.org/gmane.comp.graphics.openscenegraph.user/29477) about traslucent non-textured OBJ files on osg-submissions and osg-users and got no reply from its author (Bob Kuehne), may I ask you to revert that change for now (-r8305)? That change

Re: [osg-users] repository

2008-11-25 Thread Alberto Luaces
Hi Cedric, now that osgAnimation is on OSG trunk, are you going to leave the previous branch (http://hg.plopbyte.net/osg-branch/) and use this new one instead? Regards, Alberto El Martes 25 Noviembre 2008ES 15:07:37 Cedric Pinson escribió: Hi All, Maybe it will not interest so much people

Re: [osg-users] Build problems with undefined _gl references in Cygwin

2008-11-26 Thread Alberto Luaces
Hi Brian, I have not updated Cygwin yet, but you should be able to set the appropriate OpenGL paths with the OPENGL_INCLUDE_DIR, OPENGL_gl_LIBRARY and OPENGL_glu_LIBRARY of CMake. Regards, Alberto El Miércoles 26 Noviembre 2008ES 18:24:20 Brian Keener escribió: I'm having build errors

Re: [osg-users] Calculating the volume of a model through OSG

2008-11-27 Thread Alberto Luaces
Hi, in addition to Janusz pointers, if you need also the rest of the mass properties, you could take a look at this famous paper: http://www.cs.berkeley.edu/~jfc/mirtich/massProps.html Alberto El Jueves 27 Noviembre 2008ES 09:09:34 [EMAIL PROTECTED] escribió: Dusten: You might find these

Re: [osg-users] Please test SVN of OpenSceneGraph in pre for 2.7.6 dev release

2008-11-28 Thread Alberto Luaces
Robert, El Viernes 28 Noviembre 2008ES 16:53:42 Robert Osfield escribió: Hi All, I've merged Jeremy's and Cedric's updates of osgWidget and osgAnimation into svn/trunk. This does mean we'll need another round of testing before I can tag 2.7.6. Assistance on this much appreciated ;-) The

Re: [osg-users] Please test SVN of OpenSceneGraph in pre for 2.7.6 dev release

2008-11-28 Thread Alberto Luaces
Hi Robert, thank you, Cygwin compiles SVN ok again :) Alberto El Viernes 28 Noviembre 2008ES 18:14:20 Robert Osfield escribió: HI Alberto, Fix now re-instanted and checked in. Robert. On Fri, Nov 28, 2008 at 4:32 PM, Alberto Luaces [EMAIL PROTECTED] wrote: Robert, El Viernes 28

Re: [osg-users] Reading a node file from http

2008-12-04 Thread Alberto Luaces
El Jueves 04 Diciembre 2008ES 16:11:41 Andreas Goebel escribió: How can I load files from http? With the curl plugin? ___ osg-users mailing list osg-users@lists.openscenegraph.org

Re: [osg-users] Removing all identical children from a node

2008-12-05 Thread Alberto Luaces
Hi Dusten, El Jueves 04 Diciembre 2008ES 23:15:51 Dusten Sobotta escribió: By executing removeChild( ptr ), it only removes the most recent addition. You could call that function until it returns false (no more copies left): while(group-removeChild(ptr)){}

Re: [osg-users] osg firefox plugin alpha

2008-12-09 Thread Alberto Luaces
Hi Ari, nice link :) I suppose it acts as a compatiblity layer as Qt or wxWidgets but for browsers, doesn't it? From the first link that Andreas has given (http://www.codeproject.com/KB/openGL/FirefoxOpenGL.aspx), I think that the biggest effort to port the plugin to other platforms would be

Re: [osg-users] RTT and stereo

2008-12-10 Thread Alberto Luaces
Hi, El Miércoles 10 Diciembre 2008ES 11:38:41 Robert Osfield escribió: On Wed, Dec 10, 2008 at 10:34 AM, Sukender [EMAIL PROTECTED] wrote: Hi Roman, Hum, it seems you're in the Funding thread (If my mail client doesn't make a mistake). Please start another thread. It looks like a

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

2008-12-18 Thread Alberto Luaces
El Jueves 18 Diciembre 2008ES 16:59:54 Vincent Bourdier escribió: 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

Re: [osg-users] Compilation error in Cygwin

2009-01-12 Thread Alberto Luaces
Hi Om, El Lunes 12 Enero 2009ES 14:13:39 Omkaranathan escribió: Is this a known issue? Did I miss any library path? I thik so. Cygwin's win32 OpenGL headers changed their location recently, so you should check that your cmake cache is pointing to the right place. Please see:

Re: [osg-users] How to capture Keyboard event in OpenSceneGraph

2009-01-21 Thread Alberto Luaces
Hi Dat, I recommend you to peruse the osgkeyboard.cpp file that comes with the source code examples (specifically the classes KeyboardEventHandler and osgGA::GUIEventHandler), and to upgrade to a more recent OSG version (at least 2.6.0). Regards, Alberto El Miércoles 21 Enero 2009ES

Re: [osg-users] 2.8 Packaging (was: osgVolume ready for testing)

2009-01-21 Thread Alberto Luaces
Hi Paul, El Miércoles 21 Enero 2009ES 16:08:41 Paul Melis escribió: It seems that so far OSG hasn't really supported installing different versions side-by-side (i.e. headers not put in a directory like include/osg-2.6/...). And even though a pkgconfig script is distributed these days it

Re: [osg-users] 2.8 Packaging

2009-01-21 Thread Alberto Luaces
Hi Paul, El Miércoles 21 Enero 2009ES 17:59:03 Paul Melis escribió: Hi Alberto, I'd prefer not to tag the header files because then you'd have to modify your source code when using different versions (osg-2.6, osg-2.7, osgDB-2.6, osgDB-2.7, and so on...) I think it's preferable to install

Re: [osg-users] Wrong output with osgdelaunay sample

2009-01-29 Thread Alberto Luaces
Hi, for some reason his first post didn't come through the mailing list, here is the complete problem: http://osgforum.tevs.eu/viewtopic.php?t=1282start=0postdays=0postorder=aschighlight= As for the answer, I'm not sure but I think OSG's Delaunay triangulator doesn't generate closed meshes

Re: [osg-users] Development plan for imminent stable OSG-2.8

2009-01-29 Thread Alberto Luaces
Hi Sukender, El Jueves 29 Enero 2009ES 13:58:49 Sukender escribió: Err... about CDash, is there any preference of type (nightly, continuous, experimental)? I'm not used to CDash and don't really know the differences (if there is any). And are there things I should know about it, or about

Re: [osg-users] Do any one know

2009-02-03 Thread Alberto Luaces
Hi Sunitha, please only ask a question once and use more descriptive subjects. As for your question, you have to realize that the model you are loading is usually stored as a subgraph, so the particular stateset you are looking for doesn't have to be on the root node of your model (hence you

Re: [osg-users] Getting Started with OpenSceneGraph on Ubuntu

2009-02-04 Thread Alberto Luaces
Hi, To install osg, type: sudo apt-get install libopenscenegraph-dev openscenegraph You can use the IDE that you prefer, you'd better try all you can and get the one that is more suited to you. As for the behaviour, there isn't any big differences from MSVC: just make a project and specify

Re: [osg-users] Using cpack to create debian packages

2009-02-05 Thread Alberto Luaces
to try and help I mailed some questions to the ubuntu-motu developers mailing list asking how we can help getting osg-2.8 into ubuntu packages adn will persue that. For debian perhaps Alberto Luaces or someone else can fill us in on how the debian package is doing and if any further help

Re: [osg-users] Please give approval if you feel OpenSceneGraph-2.8 is ready ; -)

2009-02-09 Thread Alberto Luaces
Hi Melchior, El Lunes 09 Febrero 2009ES 16:34:45 Melchior FRANZ escribió: You are aware that I didn't use valgrind's standard tool mecheck, but its threading checker helgrind?   $ valgrind --tool=helgrind ./osgparticleeffects                       ==31276== Thread #1: lock order

Re: [osg-users] Please give approval if you feel OpenSceneGraph-2.8 is ready ; -)

2009-02-09 Thread Alberto Luaces
Hi Robert, El Lunes 09 Febrero 2009ES 16:56:40 Robert Osfield escribió: Hi Alberto, On Mon, Feb 9, 2009 at 3:54 PM, Alberto Luaces alua...@udc.es wrote: Did you know that you can also attach a debugger so you can inspect directly every error reported by Valgrind? It is done adding --db

Re: [osg-users] packages questions

2009-02-11 Thread Alberto Luaces
El Miércoles 11 Febrero 2009ES 12:43:27 Sukender escribió: 1. How Cygwin/MinGW/nmake packages are named (= the name of the compiler)? For Cygwin the package is named OpenSceneGraph-2.9.0.tar.gz 2. Do Cygwin and MinGW have the same compiler and generate same binaries? No. 3. Does nmake use

Re: [osg-users] Problem with osgAnimationViewer example

2009-02-11 Thread Alberto Luaces
Hi Aitor, due to changes in osgAnimation, animation viewer is not currently synchronized with the library. That would explain why everything works but osganimationviewer. See the post from its main developer, Cedric Pinson: http://markmail.org/message/us3erck7a6xykj7f Regards, Alberto El

Re: [osg-users] error on kernel32.dll

2009-03-12 Thread Alberto Luaces
Hi Sara, El Jueves 12 Marzo 2009ES 12:58:04 Sara escribió: viewer.setSceneData (osgDB:: readNodeFile ( cow.osg )); this fails typically when if your program can't find the file cow.osg. Make sure it is in your working directory and make sure that the code reads cow.osg, not cow.osg .

Re: [osg-users] OpenGL 3.1 at GDC

2009-03-25 Thread Alberto Luaces
Hi Shayne, I think the answer would be it was partially compatible. Given a DirectX version, you couldn't ask for any older interface version, just for the newer ones. On recent versions of DirectX IIRC, you couldn't ask for a version older than version 5. However today the break is greater

Re: [osg-users] Osgswig

2008-06-26 Thread Alberto Luaces
El Jueves 26 Junio 2008ES 15:18:56 Gerrick Bivins escribió: Hi all, Does anyone know if osgswig is being maintained anymore? Site on google code doesn¹t seem like it¹s being updated anymore. Has the project moved or is it just dead? biv Well, I think it is up and running, Jeremy has made an

Re: [osg-users] how to disable zbuffer

2008-07-08 Thread Alberto Luaces
Hello, El Martes 08 Julio 2008ES 17:18:44 Jean-Sébastien Guay escribió: You just need to disable GL_DEPTH_TEST for the desired object(s). or    stateSet-setAttributeAndModes(new osg::Depth(osg::Depth::ALWAYS),        osg::StateAttribute::ON); I think it is important to say that disabling

Re: [osg-users] Cygwin compiled version from Svn will only load and convert osg files and not gif files - any thoughts?

2008-07-09 Thread Alberto Luaces
Hi Brian, El Miércoles 09 Julio 2008ES 00:32:28 Brian Keener escribió: Any thoughts why no data is loaded - other programs on the system (Windows XP but running osg in Cygwin) seem to recognize it as a gif. osgconv only works with 3D data files. osgviewer also expects a 3D file, but if you

Re: [osg-users] joystick support

2008-07-09 Thread Alberto Luaces
Hi Ben, El Miércoles 09 Julio 2008ES 14:33:33 Benoît Poulard escribió: Hi, I need to add a joystick support in my application. I want to add a new event handler to manage the joystick. What is the best way to do this with OSG 2.4? There is an interesting thread on the archives:

Re: [osg-users] osg::Texture and stateSets

2008-07-10 Thread Alberto Luaces
Hi, El Jueves 10 Julio 2008ES 14:48:48 ka Ming escribió: Hi, I am already looked at the optimizer. But still I cannot access my Texture ;(. stateset.getTextureAttributeList() is always null. Why? I can call the geode Name. I can call the Geometry - but no Texture!!! I'm having a similar

[osg-users] Problem setting a skydome

2008-07-11 Thread Alberto Luaces
Hello, I'm having trouble setting a skydome into my scene. It is messing with the autocomputed near and far planes (the near plane goes too far, cutting near objects). In order to avoid it, I tried to disable culling for its subgraph and even giving it a ComputeBoundingSphereCallback that only

Re: [osg-users] Problem setting a skydome

2008-07-14 Thread Alberto Luaces
David, I appreciate your help a lot. However I have found a few problems: El Domingo 13 Julio 2008ES 21:22:33 David Spilling escribió: Firstly, you need to prevent the CullVisitor from considering your skydome in it's autonear/far calculation. You can do this with

Re: [osg-users] Looking for tips on importing osgWidget

2008-07-15 Thread Alberto Luaces
Hi, El Martes 15 Julio 2008ES 16:42:12 Robert Osfield escribió: Is there some option in svn that I'm missing? Generally joining two repositories require to do some administration work with the svnadmin tools. First you would get the dump file of the osgWidget repository with svnadmin dump.

Re: [osg-users] Problem setting a skydome

2008-07-16 Thread Alberto Luaces
David, thank you very much for your help so far. What you say sounds sensible, however I think my implementation still has bugs, because it behaves differently on several computers (one works, the other don't). What I have so far is: // root - camera - clearnode - skydome // |--

Re: [osg-users] Problem setting a skydome

2008-07-17 Thread Alberto Luaces
Hi David, El Miércoles 16 Julio 2008ES 21:41:49 David Spilling escribió: Alberto, I presume that your skydome has some sort of camera centred transform over it (as per osghangglide's example use); your code doesn't show it. I haven't coded it yet, I wanted to have the near/far issue fixed

Re: [osg-users] (ask) pause the TrackballManipulator

2008-07-18 Thread Alberto Luaces
Hi, El Viernes 18 Julio 2008ES 04:39:27 songbo_1220 escribió: hi, everyone! my english is very poor. i want to pause the TrackballManipulator several time for mouse to do other control thing, after the time, the TrackballManipulator continue, i see about the TrackballManipulator's

Re: [osg-users] Sun, moon, clouds. Any recommendations?

2008-07-22 Thread Alberto Luaces
Did you manage to build osgephemeris with OSG 2.4? A few weeks ago I tried to compile it but gave up because it seems it depends on Producer. I you have a patch available, I think it would be of interest for us osg users. Maybe you upload it to the wiki, it would be very useful. Another

Re: [osg-users] [OT][OT] Sun, moon, clouds. Any recommendations?

2008-07-22 Thread Alberto Luaces
Hi Paul, El Martes 22 Julio 2008ES 16:42:12 Paul Martz escribió: What part of Producer did you have a problem with? Last time I checked, Producer still builds and runs fine with current OSG and is still a viable camera management library. I couldn't get to work nor CMake nor GNUMakefile build

Re: [osg-users] [OT][OT] Sun, moon, clouds. Any recommendations?

2008-07-22 Thread Alberto Luaces
(osgPlugin_ephemeris.vcproj, configs = [RELEASE, DEBUG]); Hope This Helps, Justin On Tuesday 22 July 2008 00:58:44 Alberto Luaces wrote: Did you manage to build osgephemeris with OSG 2.4? A few weeks ago I tried to compile it but gave up because it seems it depends on Producer. I you have a patch available, I

Re: [osg-users] help me!

2008-07-23 Thread Alberto Luaces
Hi, El Miércoles 23 Julio 2008ES 08:48:19 monkeymonkey escribió: hi!   i use Texture UV repeat 3.0 in 3dsMax8,but when i output it to ive,then use osgViewer to look,texture is not right. it seem that repeat is not work! why?   osgExp is not surport Texture UV repeat? how to make it?

Re: [osg-users] Getting the opengl texture id of an osg::Texture2D

2008-07-23 Thread Alberto Luaces
Hi, you can use osg::Texture::getTextureObject and then osg::Texture::TextureObject._id Alberto El Miércoles 23 Julio 2008ES 16:58:25 Steffen Kim escribió: Hi, I cannot find the correct function to get the OpenGL texture-id of an osg::Texture2D. I have several textures in OSG that I want

Re: [osg-users] Traversing model nodes and rotating

2008-07-23 Thread Alberto Luaces
have another question about extracting the model in graph. What application do you use for extracting the model graph as a image or any document like graphicgy.png? Thanks so much! Ümit UZUN 2008/7/23 Alberto Luaces [EMAIL PROTECTED]: Hi Umit, maybe the hierarchy is wrong. I have

Re: [osg-users] About Changing Parental Nodes?

2008-07-24 Thread Alberto Luaces
El Jueves 24 Julio 2008ES 09:39:40 Vincent Bourdier escribió: If you want your node to stay a the same place, you will need to add it in an other place, or you will have to move it first at the opposed transformation of your matrixtransform nodes, and after that add it to them... ...or leave

Re: [osg-users] Defining Local Coordinate Center For Every Node

2008-07-28 Thread Alberto Luaces
Hi Ümit, the best way is to have a correct model from the beginning, centered and aligned with the origin, but if it couldn't be done, you would have to make the geometry child of a transform that would put the mesh at the right place. Say you had an object displaced 4 units on the X axis from

Re: [osg-users] Getting texture coordinates and normals of each vertex of a loaded model

2008-07-28 Thread Alberto Luaces
Hi Franclin, The references to the vertices that osg::TriangleFunctor returns point to the real data of the geometry, so if you subtract their pointers to the first vertex pointer of the geometry, you'll get the index to that vertex and you will be able to get its normal and UV coordinates:

Re: [osg-users] help me!

2008-07-28 Thread Alberto Luaces
Hi, Sorry, I have no expertise with 3DSMax and/or osgExp, so I cannot help you further. Nevertheless, here is the osgExp code download page address: http://sourceforge.net/svn/?group_id=148454 I suppose there are compilation instructions within the source. El Viernes 25 Julio 2008ES 07:00:08

Re: [osg-users] Problems with viewer-computeIntersections

2008-07-28 Thread Alberto Luaces
Hi, El Lunes 28 Julio 2008ES 16:45:19 Фамилия Имя escribió: Hallo. I have a problem with function viewer-computeIntersections in OSG 2.6.0. When I tryed get objects throught which goes line function lost some of them (but line definitely goes throught them). It looks like function can't see

Re: [osg-users] Getting a TextureObject into a Texture2D

2008-07-30 Thread Alberto Luaces
Hi Steffen, I also didn't find anything on the API, so I'm afraid you'll have to dive into the code and find if you can get this functionality by subclassing or if you have to modify OSG instead. Alberto El Martes 29 Julio 2008ES 17:28:09 Steffen Kim escribió: Hi, I'm a little lost on

Re: [osg-users] Cmake question

2008-07-31 Thread Alberto Luaces
Hi Brad, on the ccmake setup, press 't' for advanced mode and then search for CMAKE_BUILD_TYPE. The info says that you can select these modes: Debug Release RelWithDebInfo MinSizeRel. Alberto El Jueves 31 Julio 2008ES 08:29:31 Christiansen, Brad escribió: Hi, Sorry to ask a question that I

Re: [osg-users] Getting texture coordinates of loaded models

2008-07-31 Thread Alberto Luaces
Hi Franclin, El Jueves 31 Julio 2008ES 14:10:13 Franclin Foping escribió: retrieve its Drawable objects, convert them to Geometry As you have been told earlier, that conversion can only be done if the Drawable pointer really points to a Geometry object. Otherwise no conversion is made and you

Re: [osg-users] RE : Re: Getting texture coordinates of loaded models

2008-07-31 Thread Alberto Luaces
Franclin, El Jueves 31 Julio 2008ES 14:33:30 Franclin Foping escribió: visitorto retrieve its Drawable objects, turn them into Geometry objects and use your trick but I was wrong as it is impossible to convert from Drawable to Geometry. You still don't get it. You are not converting one type

Re: [osg-users] adaptation of chunkLOD to OSG

2008-09-05 Thread Alberto Luaces
Just a little remark: isn't the cockpit supposed to read FUEL FLOW instead of FLUEL FLOW? :) originally someone did a test with photo realistic terrain. video (40s): High resolution (26 Mo) http://documents.cigognes.net/csp/csp-terrain-photo.avi Low resolution (YouTube)

Re: [osg-users] Using Kd-tree for spatial data

2008-09-05 Thread Alberto Luaces
Hi, it's already done for you. Just use the osg::KdTreeBuilder visitor on the subgraph you want to be split with kd-trees. Alberto El Jueves 04 Septiembre 2008ES 19:15:21 maruti borker escribió: Thanks for pointing out , i looked into the discussion and i think the current setupd with

Re: [osg-users] Using Kd-tree for spatial data

2008-09-05 Thread Alberto Luaces
Hi Maruti, you could also try to use osgUtil::Optimizer with the SPATIALIZE_GROUPS flag set. This way, the scenegraph will be laid like an octree, so it would roughly act as the kd-tree between the root and the leaves. I don't know of any program to do what you want, but maybe you could

Re: [osg-users] Returning ref_ptr vs. ref_ptr::get()

2008-09-11 Thread Alberto Luaces
El Jueves 11 Septiembre 2008ES 18:37:07 Paul Martz escribió: The example in the middle of page 37, above the one Cliff cited, looks like it won't compile.  Did you really mean to return *grp?  I know it's meant to show bad programming practice but the book reads like it should compile.

Re: [osg-users] Optimizations and fps increasing problem

2008-09-17 Thread Alberto Luaces
Hi Vincent, El Miércoles 17 Septiembre 2008ES 12:52:45 Vincent Bourdier escribió: First of all, a little question : I have a draw time increasing... after about 10 minutes the FPS is little due to very hight draw time... What can do that ? what the draw do ? A profiler will help to find the

Re: [osg-users] Problem with local coordinate!

2008-09-17 Thread Alberto Luaces
ЯicKy, see a previous post: http://www.mail-archive.com/osg-users@lists.openscenegraph.org/msg14324.html Alberto El Miércoles 17 Septiembre 2008ES 13:51:20 Tuan Do escribió: Hi all, just a simple question, and I can't find related topics on the group. How can I get/set my components' local

Re: [osg-users] osgUtil::IntersectionVisitor, information on polygon intersected

2008-09-17 Thread Alberto Luaces
Hi J-S, El Miércoles 17 Septiembre 2008ES 20:02:06 Jean-Sébastien Guay escribió: I think ratioList is the barycentric coordinates of where the hit occurred on the polygon (i.e. if it was a triangle that was hit, there will be 3 ratios in ratioList, which you can then use to find out where in

Re: [osg-users] Profiler with OSG

2008-09-19 Thread Alberto Luaces
El Viernes 19 Septiembre 2008ES 13:00:57 Vincent Bourdier escribió: No one never profile his OSG code ? Yes, but with the Linux-only valgrind tool :) http://valgrind.org/ ___ osg-users mailing list osg-users@lists.openscenegraph.org

Re: [osg-users] Please test SVN of OpenSceneGraph in prep for 2.7.3 dev release

2008-10-07 Thread Alberto Luaces
Builds fine with gcc version 4.3.2, Linux 2.6.26-1-amd64. El Martes 07 Octubre 2008ES 18:00:17 Robert Osfield escribió: Hi All, I am planning to make a 2.7.3 dev release tomorrow morning, there have been plenty of changes checked in since 2.7.2 so there is potential for build breaks so I'd

  1   2   3   4   5   6   >