[osg-users] Camera Roll Rotation on ECEF Terrain

2013-02-11 Thread Onur Akkaya
Hi everybody, I have an ECEF terrain and I use standart terrain manipulator class (osgGA::TerrainManipulator) on this terrain. Everything is fine but when I rotate the camera, in some cases, the camera makes a roll rotation on the terrain. I tried to change the terrain manipulator's rotation

Re: [osg-users] switching osg::GraphicsContext

2013-02-11 Thread Robert Osfield
Hi Daniel, Rather than keeping resetting and reassigning the graphics context I would keep them assigned all the time and instead hide the window and set the associated camera mask to 0x0. Robert On 10 Feb 2013 18:53, Daniel Krikun krikun.dan...@gmail.com wrote: Hello all, I have 2 windows,

Re: [osg-users] osgAnimation issue on Android

2013-02-11 Thread Jan Ciger
On Sat, Feb 9, 2013 at 5:51 PM, Rafa Gaitan rafa.gai...@gmail.com wrote: Hello Jan, I didn't use any animated model in android but, Did you add the serializers or deprecated wrappers into your Android.mk file? Do'h, the USE_OSGPLUGIN(osg2) was missing! I had the ive and osg plugins but not

Re: [osg-users] Using cmath to clean up include/osg/Math

2013-02-11 Thread Jordi Torres
Hi, I can confirm that Jan's solution actually works for android. Cheers. 2013/2/8 Jan Ciger jan.ci...@gmail.com On Fri, Feb 8, 2013 at 6:49 PM, Robert Osfield robert.osfi...@gmail.comwrote: Hi Jan, Thanks for the feedback. Could you try out some of the suggested workarounds? If

[osg-users] loading of a large number of files

2013-02-11 Thread lucie lemonnier
Hi, I created an application with WPF and osgViewer which load multiples 3D models (up to 1420 files) with an OpenFileDialog. When I load a large number of files, the osg application crash. Is osg be limited to a specific number of vertex? Thank you! Cheers, lucie -- Read

Re: [osg-users] How to acquire the screen coordinates of a 3D object?

2013-02-11 Thread Fan ZHANG
And here are the contents of matrices: The viewMatrix is 1.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 0.00 1.00 The projectionMatrix is 2.403846 0.00 0.00 0.00 0.00 3.846154 0.00

Re: [osg-users] loading of a large number of files

2013-02-11 Thread Sergey Polischuk
Hi what size of models are we talking about? there are chances that you run out of memory in the process and getting std::bad_alloc Cheers. 11.02.2013, 17:30, lucie lemonnier lucielemonn...@hotmail.fr: Hi, I created an application with WPF and osgViewer which load multiples 3D models (up

Re: [osg-users] loading of a large number of files

2013-02-11 Thread lucie lemonnier
Hi, My folder of 3D models contains 26.5 megabytes. it does not seem to be much though! What do you think? Thank you! Cheers, lucie -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=52535#52535 ___

Re: [osg-users] anyone have experience with OSG on Intel HD Graphics 4000 hardware?

2013-02-11 Thread Johannes Scholz
Hi, today I compared the internal Intel HD 4000 chip with the dedicated NVS 5200M in my ThinkPad. Compared to other Intel graphics chips I must say, that the performance of the HD4000 is quite okay, but nothing compared to the NVidia chip. Performance is: Shaders enabled (doing some

Re: [osg-users] loading of a large number of files

2013-02-11 Thread Sergey Polischuk
Hi guessing is not very helpful in debugging application crashes debugger is your best friend in this situation :) Cheers. 11.02.2013, 18:11, lucie lemonnier lucielemonn...@hotmail.fr: Hi, My folder of 3D models contains 26.5 megabytes. it does not seem to be much though! What do you

Re: [osg-users] 3D mice

2013-02-11 Thread Thomas Lerman
Sebastian, I have started checking out osgVisual (Windows only using COM), osgWorks (uses VRPN / DirectX), and VRPN directly. I am curious about your implementation and what you have found more or less successful. I do want something that will work cross-platform and may not want to link with

Re: [osg-users] [build] How to play Video on Android

2013-02-11 Thread David Longest
Koduri, Code: 02-09 14:01:41.114: W/Osg Viewer(14026): FFmpegImageStream::open : av_open_input_file() failed 02-09 14:01:41.118: W/Osg Viewer(14026): Warning: Could not find plugin to read objects from file /mnt/sdcard/VideoTest/1.avi.ffmpeg. This leads me to believe you either don't have

Re: [osg-users] 3D mice

2013-02-11 Thread Sebastian Messerschmidt
Hello Thomas, basically it is based on OIS (OpenInputSystem). The implementation is really trivial as soon as you get OIS to use the space-mouse. That is the hardest part, as the SpaceMouse I'm using (3DConnexion) is not reporting relative translations/rotations but accumulated values. Right

Re: [osg-users] Using cmath to clean up include/osg/Math

2013-02-11 Thread Robert Osfield
Hi Guys, On 11 February 2013 13:24, Jordi Torres jtorresfa...@gmail.com wrote: I can confirm that Jan's solution actually works for android. If you have a stable version of include/osg/Math that works on Android could you post it to osg-submission so I can review it. Thanks, Robert.

Re: [osg-users] Using cmath to clean up include/osg/Math

2013-02-11 Thread Jan Ciger
On Mon, Feb 11, 2013 at 6:32 PM, Robert Osfield robert.osfi...@gmail.comwrote: Hi Guys, On 11 February 2013 13:24, Jordi Torres jtorresfa...@gmail.com wrote: I can confirm that Jan's solution actually works for android. If you have a stable version of include/osg/Math that works on Android

Re: [osg-users] 3D mice

2013-02-11 Thread Thomas Lerman
Thank you Sebastian. So, what effect happens with the accumulated values instead of relative? Is moving the SpaceMouse smooth or jumpy? I presume you are accessing the SpaceMouse through the SDK? I guess I am trying to evaluate my options considering the short period of time. If this is not so

Re: [osg-users] 3D mice

2013-02-11 Thread Sebastian Messerschmidt
What do you mean by SDK? As I said I use OIS (http://sourceforge.net/projects/wgois/) The accumulated values simply require you to calculate the delta yourself by hold the current and the last-frame values. Also you might need to scale the delta according to your frame time. hth, Sebastian

Re: [osg-users] Integration of a NodeKit for Sky Rendering

2013-02-11 Thread Daniel Limberger
Thanks a lot for all your positive feedback. Your interest in osgHimmel convinced me to allocate time and continue maintaining the project. Jordi Torres wrote: Great job! You may want to add your project to the community projects[1] section in the new web or/and post a new to the community

[osg-users] [vpb] binary distribution of VPB

2013-02-11 Thread Tonino Tarsi
Hi, Where can I found a binary distribution of VPB for win32 or 64. Thank you! Cheers, tonino -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=52093#52093 ___ osg-users mailing list

Re: [osg-users] Dynamic HeightField

2013-02-11 Thread bilal zeidan
Hi, Thanks, that's what I did after investegating this issue. Thank you! Cheers, bilal -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=52163#52163 ___ osg-users mailing list

Re: [osg-users] [osgPlugins] Couldn't Find Plugin To Read Objects From

2013-02-11 Thread Gökay Şatır
Hi, Thank you for your reply. In this period i searched well and compiled osg with mingw. Now i am using mingw notepad++ and dependencies are ok:) Thank you! Cheers, Gökay -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=52170#52170

Re: [osg-users] [forum] Why I keep getting the crash

2013-02-11 Thread david steele
Hi, Can you please give me your insights on the app that me and my friends have developed. It is called CarCrazee, and can be downloaded on your iPhones and iPod touch for free. ... Thank you! Cheers, david -- Read this topic online here:

[osg-users] [forum] Self Illumination export from 3ds max 2010

2013-02-11 Thread Xomes Ss
Hi, I am trying to export my object (simple traffic light) from 3ds max 2010 to Delta3d, and am using the OSGexporter. This object holds both a Diffuse map, and a Self-Illumination map (to make red, orange or green light up). However if I export both theses maps, the diffuse map shows in

Re: [osg-users] 3D mice

2013-02-11 Thread Jan Ciger
On Mon, Feb 11, 2013 at 6:07 PM, Sebastian Messerschmidt sebastian.messerschm...@gmx.de wrote: basically it is based on OIS (OpenInputSystem). The implementation is really trivial as soon as you get OIS to use the space-mouse. That is the hardest part, as the SpaceMouse I'm using

Re: [osg-users] Problems with setFinalDrawCallback and stereo rendering

2013-02-11 Thread Dag Magne Ulvang
Hi Robert. Thanks for your explanation. I see that the camera-view-framestamp-framenumber updates every second time the callback is called, so I will try to use this to figure out witch frames I can skip and which frames to capture. Cheers, Dag Magne -- Read this topic

[osg-users] More compact color format

2013-02-11 Thread Shane MacLaughlin
Hi, I'm very new to OSG, having just worked my way through the beginners guide and part of the cookbook, so apologies if this has been answered already, but I couldn't find it searching. All the examples that I've seen show colors represented as 4 floats, or 16 bytes, but to minimize space

[osg-users] PagedLod setCenter precision

2013-02-11 Thread oli tour
Hi all, I am just wondering how can I set the precision of the UserCenter member in a PagedLod. My problem is that I have coordinates higher than 1 million, and that the writer only keeps 5 decimals. I thus loses10 m precision, and this prevent the more detailled PagedLod to be loaded (or

Re: [osg-users] Rendered osg:Texture is missing single row or column of the corresponding osg::Image

2013-02-11 Thread Philip Woerner
Hi Robert, I tried to set the WrapMode, but there was no improvement. Is there anything else I can do? Thank you! Cheers, Philip -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=52232#52232 ___

Re: [osg-users] 3D mice

2013-02-11 Thread Jan Ciger
On Mon, Feb 11, 2013 at 7:04 PM, Sebastian Messerschmidt sebastian.messerschm...@gmx.de wrote: What do you mean by SDK? As I said I use OIS (http://sourceforge.net/**projects/wgois/http://sourceforge.net/projects/wgois/ ) The accumulated values simply require you to calculate the delta

Re: [osg-users] Qt5 integration first try

2013-02-11 Thread Vitezslav Zajic
Hi Wang, I've patched OSG to get multithreaded rendering working. I've used QGLContext::moveToThread, as you suggested, before the thread starts and the same function when the thread ends. I'm sharing the patch. Maybe it will save a little of your time. Please note that I'm not sure this is

[osg-users] [vpb] Totorial to build VTP and VPB on windows

2013-02-11 Thread Tonino Tarsi
Hi, Is the a tutorial to build both VTP and VPB on windows starting from 0. Did not found it Thank you! Cheers, Tonino -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=52270#52270 ___ osg-users

[osg-users] what is the replacement class for Producer::CameraConfig ?

2013-02-11 Thread Selvakumar Chellamuthu
Hi, Im using OSG 3.0.0. Can somebody tell me what is the replacement class for Producer::CameraConfig or alternate way ? Thank you! Cheers, Selvakumar -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=52499#52499

[osg-users] How to view OSG objects as a DWF?

2013-02-11 Thread Selvakumar Chellamuthu
Hi, ... Im creating an in VS2010. Which has mulitple tab view. In one tab view i want to show plot(like in dwf ) for 3d models loaded in app. Can you help me and tell steps to do that? Thank you! Cheers, Selvakumar -- Read this topic online here:

[osg-users] No method for Embedding Composite View in a Window

2013-02-11 Thread Selvakumar Chellamuthu
Hi, ... How to embed composite view in a window frame ? i can do this for single view using SetUpViewEmbeddWindow(). i cannot do this for composite view. Please give information and any alternate approach to . Im using VS 2010 +OSG 3.0.0. Thank you! Cheers, Selvakumar --

Re: [osg-users] How can I create a polgons with gaps for texts inside the polygon?

2013-02-11 Thread Sabine Briem
Hi, I´ve got it. My Problem now is the following: I can move this item (line with text). And there are other items on the map. Some of the items also disappear, if the text is in front of them. Any ideas? Thank you! Cheers, Sabine -- Read this topic online here:

[osg-users] Introduction

2013-02-11 Thread chezoro
Hi, I am new to the forum. I like discussion and like to get information so I decided ti join the forum. Thank you! Cheers, chezoro -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=52483#52483 ___

Re: [osg-users] Render multiple osgText nodes with the same drawcall

2013-02-11 Thread Dirk Langner
Hi Preet, i'm currently working on a similar problem(including text drawing along a path) and also having thousands of labels. So i would be interested in your solution using osg::Geometry Also wanted to ask: If I use a fixed font resolution and specify the font texture size can I safely

[osg-users] [osgPPU] How to use osgPPU in an environment withz several slave cameras?

2013-02-11 Thread Werner Modenbach
Hi, in my application I use a camera to create a static background image in a PRERENDER stage. Also afte the scene rendering I use another camera to display something on top of the scene in a POSTRENDER stage (HUD with text). both cameras are slaves of the main camera. I need seting up a PPU

Re: [osg-users] Uniforms per MasterCamera in a ThreadPerContext threading model

2013-02-11 Thread vadiraj kaamsha
Hi, I have a problem similar to the one being discussed in this thread. I have 2 views, V1 and V2, each with its own master camera. Both these views render a common set of nodes, say N1 and N2. The node needs an uniform U1 in the shader. The value of the uniform is specific to the node and the

[osg-users] [forum] viewer goes to default blue color after model load

2013-02-11 Thread Paul Herbert
Hi, I realize this questions is vague, so my apologies, but I'm hoping that some people here might have some guesses as to what is happening because I am very stuck. I have a program that is a static camera view inside a room model. Inside this room other models (.OSG files) are loaded,

Re: [osg-users] Link error with osgDB and ITK

2013-02-11 Thread Ashis
Hi, Specify the lib fie in Linker options of project settings. ... Thank you! Cheers, Ashis -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=52384#52384 ___ osg-users mailing list

[osg-users] High Precision Coordinates

2013-02-11 Thread Gökay Şatır
Hi, I am trying to show shape files and dxf files which have coordinates like 4236958.546668 (i need at leat 4 digits of precision). I can't directly use these (Vec3d) coordinates because they are truncated. Now i am trying to use PAT-setPosition(Vec3d) to increase precision. That way forces

Re: [osg-users] Sharing some screenshots of my present work :-)

2013-02-11 Thread Gökay Şatır
Hi Looks really nice. Cheers Gökay -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=52351#52351 ___ osg-users mailing list osg-users@lists.openscenegraph.org

Re: [osg-users] Linker error in VS2012 in win 8 64 bit machine

2013-02-11 Thread Selvakumar Chellamuthu
Hi, Thank you! It worked. Cheers, Selvakumar -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=52349#52349 ___ osg-users mailing list osg-users@lists.openscenegraph.org

[osg-users] Intersections with Scenes shown in pre-rendered textures

2013-02-11 Thread Julian Schindler
Hi all, In my scene I am sitting in a car driving around. My car has mirrors, which are implemented with camera-Nodes rendering to the texture of the mirror geometry. Now I want to know if the driver is looking at a car in front of me or in the mirror. For this purpose, I have the exact pixel

[osg-users] collecting stats

2013-02-11 Thread Paul Herbert
Hi, I would like to make use of the statistics data collected in the StatsHandler. In particular, inside my applications code, I would like to access the cull time as it is displayed on the viewer when you press 's'. Is it possible to access the cull time (and Draw and GPU for that matter)?

Re: [osg-users] [3rdparty] Installing osg for Android on Windows (Eclipse)

2013-02-11 Thread zeeshan zeeshan
i have learned android development only recently, i'd like to ask something more concrete -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=52295#52295 ___ osg-users mailing list

Re: [osg-users] [osgCompute] Experiences with osgCompute

2013-02-11 Thread zeeshan zeeshan
Thanks for sharing... :) ___ http://www.womensjewellery.eu -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=51628#51628 ___ osg-users mailing list osg-users@lists.openscenegraph.org

Re: [osg-users] [build] Running the examples on mac OS X snow Leopard 10.7.5

2013-02-11 Thread Yakhoub DRAME
Hi, I've encountered a problem while installing Openscenegraph 3.0.1 on my mac : i guess the first step to check if it was well installed was to run the examples, unfortunately none of them are working. It's advised to install Openscenegraph in 32 bits on mac OS X for the time being because

Re: [osg-users] 3D mice

2013-02-11 Thread Sebastian Messerschmidt
Hello Jan, Actually VRPN looked a bit too bloated for me. Also I didn't find a simple example grabbing keyboard events, directly accessing keyboard state etc. Is there some good starting point into VRPN? cheers Sebastian On Mon, Feb 11, 2013 at 7:04 PM, Sebastian Messerschmidt

Re: [osg-users] 3D mice

2013-02-11 Thread Thomas Lerman
The SDK that I was referring to, as Jan also referred to, is the driver/SDK provided by 3Dconnexion. It sounds like VRPN may be using the driver/SDK from what Jan mentioned, correct? I think I may be leaning toward using VRPN through osgWorks. Anyone know how smooth the movements are? Are

Re: [osg-users] PagedLod setCenter precision

2013-02-11 Thread Thrall, Bryan
oli tour wrote on 2013-01-27: I am just wondering how can I set the precision of the UserCenter member in a PagedLod. My problem is that I have coordinates higher than 1 million, and that the writer only keeps 5 decimals. I thus loses10 m precision, and this prevent the more detailled

Re: [osg-users] [vpb] Totorial to build VTP and VPB on windows

2013-02-11 Thread Chris Hanson
You'd do better asking about VTP on the VTP mailing list. I thought their web site had an overview of the build process. VPB is pretty straightforward to build once you have all the dependencies. What problems have you encountered? On Wed, Jan 30, 2013 at 2:02 AM, Tonino Tarsi

Re: [osg-users] 3D mice

2013-02-11 Thread Jan Ciger
On Mon, Feb 11, 2013 at 7:22 PM, Sebastian Messerschmidt sebastian.messerschm...@gmx.de wrote: Hello Jan, Actually VRPN looked a bit too bloated for me. Also I didn't find a simple example grabbing keyboard events, directly accessing keyboard state etc. Is there some good starting point

Re: [osg-users] More compact color format

2013-02-11 Thread Chris Hanson
The answer is usually, yes. How to do it depends on how you are actually storing your geometry and color data. Are you using vertex arrays, or how are you doing it now with floats? On Fri, Jan 25, 2013 at 5:13 AM, Shane MacLaughlin sh...@atlascomputers.iewrote: Hi, I'm very new to OSG,

Re: [osg-users] [vpb] binary distribution of VPB

2013-02-11 Thread Chris Hanson
I have one available. I usually charge a subscription fee for access to my non-basic downloads in order to try to help cover the costs of building and distributing the basic OSG binaries on AlphaPixel.com. Contact me if you want to purchase a premium downloads subscription. I also have osgEarth

Re: [osg-users] 3D mice

2013-02-11 Thread Jan Ciger
On Mon, Feb 11, 2013 at 7:23 PM, Thomas Lerman osgfo...@tevs.eu wrote: It sounds like VRPN may be using the driver/SDK from what Jan mentioned, correct? No, it does not. The 3DConnexion hw are regular HID devices, so VRPN talks to them directly. You don't even need to have the SDK/drivers

Re: [osg-users] 3D mice

2013-02-11 Thread Sebastian Messerschmidt
Hello Jan, Thank you for your extensive reply. I actually use OIS in a framework (apart from rendering) and found it quite useful in my environment (distributed, yet input is local), so I simply plugged it in my renderer. Of course I use the keyboard events provided when working on osg-based

Re: [osg-users] [forum] viewer goes to default blue color after model load

2013-02-11 Thread Martin Naylor
Hi Paul, If it is possible can you save the scene to an OSG file when the problem is seen, reload it using osgviewer(or your application) and see if the data is valid or loaded into OSG even though you have a blue screen. Assuming of course the blue screen is your normal default background colour.

Re: [osg-users] Integration of a NodeKit for Sky Rendering

2013-02-11 Thread Glenn Waldron
On Mon, Jan 21, 2013 at 6:44 AM, Daniel Limberger daniel.limber...@hpi.uni-daniel.limber...@hpi.uni-potsdam.de gwaldron wrote: Looks great. Does it work with geocentric terrain? I'm not sure if i understand your question correct. osgHimmel makes no assumptions of the node or terrain type

Re: [osg-users] High Precision Coordinates

2013-02-11 Thread Gökay Şatır
Hi, Thank you for your anwer, i thought some long days and decided to go that way, in fact there was no other way too. Now i am exploding the geometries into little parts, because only transforming is not enough as you mentioned. If the line is longer than 100 units then precision is cut under

Re: [osg-users] More compact color format

2013-02-11 Thread Robert Osfield
Hi Shane, Use Vec4ub with Vec4ubArray in place of Vec4 etc. Robert On 11 Feb 2013 18:09, Shane MacLaughlin sh...@atlascomputers.ie wrote: Hi, I'm very new to OSG, having just worked my way through the beginners guide and part of the cookbook, so apologies if this has been answered already,

Re: [osg-users] High Precision Coordinates

2013-02-11 Thread Gökay Şatır
Hi, Thank you for your help, i now can draw circles (which where terrible before, and made me look for an answer) smoothly:) Thank you! Cheers, Gökay -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=52587#52587

Re: [osg-users] what is the replacement class for Producer::CameraConfig ?

2013-02-11 Thread Paul Martz
This is something you might want to ask on the producer-users email list, I'd think. Producer is not a dependency of OSG any longer (but they still work together, as far as I am aware). http://www.andesengineering.com/mailman/listinfo/producer-users -Paul On 2/8/2013 10:40 AM, Selvakumar

Re: [osg-users] Qt5 integration first try

2013-02-11 Thread Wang Rui
Hi Vitezslav, That's good to hear that Qt5 integration can work now. Could you please send your patches (complete source files are recommended) to the osg-submissions so Robert can review and merge them? Cheers, Wang Rui 2013/1/28 Vitezslav Zajic vitezslav.za...@dlubal.cz Hi Wang, I've

[osg-users] Is there a way to remove certain nodes and images from cache?

2013-02-11 Thread michael kapelko
Hi. osgDB::readNodeFile and osgDB::readImageFile have Options which can specify to CACHE_NODES and CACHE_IMAGES. I want to be able to unload/clear/erase certain nodes and images from the cache (changing game level, etc). Is it possible? Thanks. ___

Re: [osg-users] [build] Running the examples on mac OS X snow Leopard 10.7.5

2013-02-11 Thread Craig Miller
I'm having the same problem. I installed via MacPorts. Craig Craig Miller http://spatialminds.com On Jan 30, 2013, at 9:21 AM, Yakhoub DRAME yakd...@gmail.com wrote: Hi, I've encountered a problem while installing Openscenegraph 3.0.1 on my mac : i guess the first step to check if it