Re: [osg-users] How to integrate OSG with java (to make an applet)

2009-12-22 Thread Manuel Garea
Ok, i'll try installing OSGVirtualPlanets Manuel -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=21781#21781 ___ osg-users mailing list osg-users@lists.openscenegraph.org

[osg-users] Problem with rotations using PositionAttitudeTransform

2010-02-11 Thread Manuel Garea
Hi, I'm trying to make some rotation of objects, but the results are not the desired I want to draw the coordinate axis. The following function draw an axis with the given rotation: Code: osg::PositionAttitudeTransform* createAxis(osg::Vec4f color, osg::Quat rotation){

Re: [osg-users] Problem with rotations using PositionAttitudeTransform

2010-02-11 Thread Manuel Garea
Thank you very much Vincent! That was my error, I was calling to the osg::Quad constructor with a wrong order in the params Cheers, Manuel -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=24049#24049

[osg-users] OSG app with icon menu

2010-05-18 Thread Manuel Garea
Hi, I would like to know if it's possible to make an icon menu for my OSG application What I'm looking for is a menu with arrows so that the user could navigate over a map (like google maps) I found osgwidgetmenu, but I need images for the menu options instead of text Could you help me with

Re: [osg-users] OSG app with icon menu

2010-05-19 Thread Manuel Garea
Hi, Yes, it's what I was looking for! Now I'm trying to show images instead of colored squares and modifying the PickHandler to do what I need Thank you Martin! Cheers, Manuel -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=28029#28029

[osg-users] rotation and scale in the same MatrixTransform

2010-05-26 Thread Manuel Garea
Hi, now I'm using 3 MatrixTransform for scale, rotate and translate an object, something like this: Code: osg::MatrixTransform *m_rotation = new osg::MatrixTransform(); osg::Quat rotacion(transform2-getRotation()-a, OSGTypesMapping::sFRotationPtrToOsgVec3_ShiftAxis(transform2-getRotation()));

[osg-users] Draw polyline from vertex array

2010-06-09 Thread Manuel Garea
Hi, I need to draw a polyline from an array of vertex, that is, I have an array of points, for example: vertex[1] = (1,3,4) vertex[2] = (7,4,0) vertex[3] = (5,5,1) vertex[4] = (1,2,9) and I need to join them making a line strip: For this I tried the following code, but it doest'n work, do

[osg-users] I don't want OSG to rescal textures, how can I avoid it?

2010-06-10 Thread Manuel Garea
Hi, I have a problem with textures: my textures have sizes that are not power of two, and I don't want OSG to rescale them. OSG show me a message like: Scalling image '...' from (200x200) to (256x256) although I'm calling the function texture-setResizeNonPowerOfTwoHint(false); The code I'm

Re: [osg-users] I don't want OSG to rescal textures, how can I avoid it?

2010-06-11 Thread Manuel Garea
Ulrich Hertlein wrote: On 11/06/10 15:13 , Manuel Garea wrote: Hi, I have a problem with textures: my textures have sizes that are not power of two, and I don't want OSG to rescale them. OSG show me a message like: Scalling image '...' from (200x200) to (256x256

Re: [osg-users] Problem: All my OSG objetct are flipped

2010-07-13 Thread Manuel Garea
, Manuel Garea wrote: Hi, I have a very big problem with my OSG scene. all the objects I draw are flipped, it's like OSG was a mirror. In the image below you can see the textures I used and the drawed objetcs. Everything is flipped!!! Do someone know what is the problem

[osg-users] How to flip the camera image?

2010-07-13 Thread Manuel Garea
Hi, I posted a problem a few days ago (http://forum.openscenegraph.org/viewtopic.php?p=29890#29890) and I now the solution, but I don't know how to make it. I need to vertically flip the image of the camera before rendering it, is it possible??? My scene has two cameras and i need to flip

[osg-users] Problem running my OSG application

2010-07-15 Thread Manuel Garea
Hi, I build an OSG app. I configured the Visual Studio Project linking all the libraries and including all necessary folders. I also set the PATH environment variable to my OSG bin folder. When I run my project with Visual Studio everything works fine, but when I go to the Debug Folder and run