Re: [osg-users] DrawElementsUInt no Element of osg

2011-06-08 Thread Diana Kittelmann
Hi, first of all thank you David. I found the error. I worked with two different OSG versions :-* I took the libs from osg 2.8.3 but used the src from 2.2.0. Cheers, Diana -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=40188#40188

Re: [osg-users] too much computation

2011-06-08 Thread J.P. Delport
Hi, On 07/06/11 17:34, hemanth korrapati wrote: Thank you for your answer. can I find an example related to this idea ? I can make you one, but that would leave no fun/exploration for you :) Start simple and look at what osgviewer --image myimage.jpg does. Or look at osgmovie. These

[osg-users] Setting up a camera

2011-06-08 Thread Diana Kittelmann
Hi, I'm trying to write something like a flightsimulator for simulating a sensor. For this I have some world data for my scene. Now I'm trying to create a camera. But the camera doesen't look to where I want it to look at. I get the following values - the position in lat[deg], lon[deg] and

Re: [osg-users] [osgPlugins] Build OSG using DCMTK

2011-06-08 Thread Robert Osfield
Hi Isa, From your description I can't work out what might be wrong. What you could try just pointing osgvolume at the directory that contains the separate dcm images. i.e. osgvolume DirectoryContainingDicomImages osgvolume will work out that you are referring directory and the dicom plugin

Re: [osg-users] Setting up a camera

2011-06-08 Thread Robert Osfield
Hi Diana, If you are controlling the camera from a user defined path or simulation then you are best to not attach a camera manipulator to the viewer and just set the viewer's master camera directly yourself. If you do try to set the camera's view matrix yourself but still have a camera

Re: [osg-users] Absolute beginner questions

2011-06-08 Thread Mohamed Alji
Hi Basil, On OpenSceneGraph.sln choose to compile the project ALL_BUILD , rather than Rebuild Solution. hopes it help :) Mohamed ALJI -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=40193#40193

Re: [osg-users] Setting up a camera

2011-06-08 Thread Diana Kittelmann
Thanks Robert, but when I try viewer.setSceneData(loadedModel); viewer.realize(); while(!viewer.done()) { ... viewer.frame(); } it doesen't display my scene. viewer.run() works fine. Diana. -- Read this topic online here:

Re: [osg-users] Meta-data in core OSG - project started

2011-06-08 Thread Robert Osfield
Hi Peter, On Tue, Jun 7, 2011 at 9:51 PM, Peter Amstutz peter.amst...@tseboston.com wrote: Thank you for taking up this task.  While not central to the mission of graphics rendering, this feature will certainly make writing applications around OSG a little bit easier for all of us. My

Re: [osg-users] Setting up a camera

2011-06-08 Thread Robert Osfield
Hi Diana, On Wed, Jun 8, 2011 at 9:29 AM, Diana Kittelmann diana.kittelm...@gmx.de wrote: it doesen't display my scene. viewer.run() works fine. What do you mean, doesn't display your scene. What do you see? Just the default blue backgroud? Did you set your view matrix to look at the scene?

[osg-users] Computing Near and Far problem when viewing large terrain and small object

2011-06-08 Thread Lv Qing
Hi, My applicaiton use a quiet large terrain model (about 4000KM*4000KM),and when I viewing some very small flying objects(about 20m*20m) above the terrain ,the object seems been culled. I know it is the Near and Far Plane issue,so I

Re: [osg-users] Computing Near and Far problem when viewing large terrain and small object

2011-06-08 Thread Robert Osfield
Hi Lv, If you have a scene with a very large distance range then depth precision is an awkward issue to deal with - the lower the near/far ratio the lower the precision. To retain precision you have to either push out the near plane or pull in the far plane, and they work as ratios so doubling

Re: [osg-users] SwitchNode Animation with a specific time interval

2011-06-08 Thread Ulrich Hertlein
Hi Vijay, On 7/06/11 23:32 , Vijay Kalivarapu wrote: I have a bunch of timesteps of data that I need to animate between. I set up my code so that each timestep corresponds to a switch node and I attempted to animate between each switchnode. ... Currently, the speed at which the switch

Re: [osg-users] Setting up a camera

2011-06-08 Thread Diana Kittelmann
Yeah, I'm just seeing the blue background. And yaeh im struggeling with the math to set up my matrix. I set it up like this: while(!viewer.done()) { osg::EllipsoidModel convert; convert.convertLatLonHeightToXYZ(lat, lon, height, x, y, z); osg::Vec3 pos(x, y, z); osg::Matrixd

[osg-users] Shaders and Nvidia 275.33 drivers problem

2011-06-08 Thread Alexander Sinditskiy
Hello I have win7 x64 nvidia video card I found strange problem after update to version 275.33 of nvidia drivers. I see artifacts with shaders, i tried to find why. Part of shader uniform variables are not work correctly. i try to debug it with gdebugger and i noticed non-initialized values in

Re: [osg-users] Setting up a camera

2011-06-08 Thread Robert Osfield
Hi Diana, I'm afraid I don't have the time to write up a full tutorual on maths of setting view matrixes and matrix maths, the topic has been covered lots of time by the community so I'd recommend you have a look through the archhives. As a quite note, I'd mention that in OpenGL and the OSG the

Re: [osg-users] Setting up a camera

2011-06-08 Thread Ulrich Hertlein
On 8/06/11 10:59 , Diana Kittelmann wrote: Yeah, I'm just seeing the blue background. And yaeh im struggeling with the math to set up my matrix. I set it up like this: while(!viewer.done()) { osg::EllipsoidModel convert; convert.convertLatLonHeightToXYZ(lat, lon, height, x, y,

[osg-users] Call osgAnimation::Animation::setDuration several times

2011-06-08 Thread Aitor Ardanza
Hi, I have a problem with the call setDuration of osgAnimation::Animation. If I define the animations at the beginning of the application do it correctly. But if I change the duration, defined above, in execution, for example by putting half the time, makes the animation faster but twice ...

Re: [osg-users] Setting up a camera

2011-06-08 Thread Diana Kittelmann
Thanks alot Robert. I try to teach me some math on my own now, but your answers were really helpful. @ulrich I did include I just missed to write it in my Post. Diana -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=40207#40207

Re: [osg-users] Shaders and Nvidia 275.33 drivers problem

2011-06-08 Thread Tomlinson, Gordon
The 275.33 Drivers are not good I personally would avoid like the plague, they are causing all sorts of problems for people Gordon Tomlinson System Engineering Consultant Overwatch® An Operating Unit of Textron Systems __ WARNING:

Re: [osg-users] [osgPlugins] Is fx required while building collada on Linux?

2011-06-08 Thread Büsra Gülten
Hi, I was trying to build the OSG Collada plugin for Xcode. I followed the step-by-step instruction on http://www.openscenegraph.org/projects/osg/wiki/Support/KnowledgeBase/Collada, but I get the same error as Siddhi: Compiling src/cfxAnnotatable.cpp to build/mac-1.4/obj/cfxAnnotatable.o

Re: [osg-users] Call osgAnimation::Animation::setDuration several times

2011-06-08 Thread Cedric Pinson
In fact related to the code it makes sense. Because strip duration is initialized from the Animation duration. Could you try to manipulate the duration of the strip instead ? Cedric On Wed, 2011-06-08 at 12:52 +0200, Aitor Ardanza wrote: Hi, I have a problem with the call setDuration of

Re: [osg-users] Call osgAnimation::Animation::setDuration several times

2011-06-08 Thread Aitor Ardanza
Ok, I also needed to be defined in ActionStripAnimation. It works now! Thank you! Cheers, Aitor -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=40211#40211 ___ osg-users mailing list

Re: [osg-users] WWDC 2011

2011-06-08 Thread Eric Sokolowsky
Hi Eric, I didn't make it this year (the 12-hour window before it sold out was way too short!) Perhaps I'll make it next year, but I'm not doing much on my mac these days (besides running Linux on it). Eric S. On Tue, Jun 7, 2011 at 11:45 PM, Eric Wing ewmail...@gmail.com wrote: Hi all, If

Re: [osg-users] Rendering of 3d model over the video stream

2011-06-08 Thread Kataev Victor
Thanks for reply! I connected the camera, which returns createHud to osgViewer, Hud has been successfully drawn over the 3D-model, but when i change POST_RENDER to PRE_RENDER, an image of 3D-model (simple pyramid) among an empty space entirely overlaps Hud -- Read this topic

Re: [osg-users] Rendering of 3d model over the video stream

2011-06-08 Thread Robert Osfield
Hi Kataev? Victor? Could you sign with the name you'd like to be addressed as it's difficult to guess. On Wed, Jun 8, 2011 at 1:56 PM, Kataev Victor victor1...@list.ru wrote: I connected the camera, which returns createHud to osgViewer, Hud has been successfully drawn over the 3D-model, but

Re: [osg-users] [osgPPU] Render lower Resolution with unitOut than wandow / fullscreen

2011-06-08 Thread Peter Wrobel
Hi All, @Ricky, it works for me as expected now. First I attach a new viewport with e.g. half res of my output window, and attach a texture with the same half res to the Color Buffer of the Camera. This can be done with different Cams and resolutions, if you have some funky pipeline.

Re: [osg-users] OSG 2.9.10 on iOS

2011-06-08 Thread Büsra Gülten
Hi, I thougt, that when I start Xcode and go to File - New Project… and choose IOS - Application in the drawer, there will appear OSG Application. But it isn´t so. Was my thougth false or what should I do in order that it appear? Because I want to create a new OSG-Project like the project in

Re: [osg-users] Setting up a camera

2011-06-08 Thread Tom Pearce
Hi Diana, I find it pretty convenient to use Code: getCamera()-setViewMatrixAsLookAt (const osg::Vec3 eye, const osg::Vec3 center, const osg::Vec3 up) for setting up the view matrix, it was one of Robert's suggestions but I thought I'd re-emphasize it. Vec3 eye will be the position you're

[osg-users] [osgOcean] FFTSS License

2011-06-08 Thread Nathan Monteleone
Hi all, The osgOcean wiki mentions that FFTSS is released under LGPL. I can't find any reference to LGPL on their website or in the source code... Does anyone know where that information came from? The text in the FFTSS COPYING file seems more liberal than LGPL, basically saying you have to

Re: [osg-users] Absolute beginner questions

2011-06-08 Thread basil huffman
For consistency's sake, I did a clean solution then build solution of ALL_BUILD with the same results (massive errors). Any ideas? -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=40219#40219 ___

Re: [osg-users] osgEarth at FOSS4G in Denver

2011-06-08 Thread Glenn Waldron
Folks, Our FOSS4G presentation has been accepted! Thanks to everyone who took the time to cast a vote. We hope to see some of you in Denver this September! Glenn Waldron / Pelican Mapping / @glennwaldron On Wed, Apr 27, 2011 at 11:53 AM, Glenn Waldron gwald...@gmail.com wrote: osgEarth

[osg-users] OSG Qt integration

2011-06-08 Thread Juan Valverde
Hi, I'm using Qt 4.6.3 together with OSG 2.9.8 (precompiled from http://www.multigesture.net/articles/how-to-compile-openscenegraph-2-x-using-mingw/). I have tried several ways to render an OSG window on top of the Qt GUI. I always get the same behaviour, that is, when I open OSG viewer for

Re: [osg-users] OSG Qt integration

2011-06-08 Thread Robert Osfield
Hi Juan, I can't comment on the possible memory leak with using Qt. What I can say is that quite has bit has changed in the OSG and it's Qt integration since 2.9.8 so I would recommend grabbing the svn/trunk or 2.9.15 dev release and building this directly yourself. If you still see issues

Re: [osg-users] Setting up a camera

2011-06-08 Thread Tueller, Shayne R Civ USAF AFMC 519 SMXS/MXDEC
Diana, First off, I don't see where you're setting the view matrix for the camera in your code below. You compute the transform, but you'll need to attach it to the camera. Since it looks like you're navigating on a sphere, I would try the following in your while loop below...

Re: [osg-users] SwitchNode Animation with a specific time interval

2011-06-08 Thread Vijay Kalivarapu
Thanks Ulrich. I didn't know about this earlier. Looks like this is what I might need. I will post my findings on this soon. ... Thank you! Cheers, Vijay -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=40226#40226

Re: [osg-users] Absolute beginner questions

2011-06-08 Thread Mohamed Alji
ps: ALL_BUILD is a project part of the solution OpenSceneGraph.sln ! Mohamed ALJI -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=40227#40227 ___ osg-users mailing list

Re: [osg-users] Absolute beginner questions

2011-06-08 Thread basil huffman
I am aware. However, when I do a build solution on ALL_BUILD, it still produces the same slew of errors. -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=40230#40230 ___ osg-users mailing list

Re: [osg-users] [osgPlugins] Build OSG using DCMTK

2011-06-08 Thread Isha Kandaswamy
Hi, I tried loading it like that, it generates a volume, and looks much better than before, but it still doesnt look right... It looks like most of the image is getting cut off..So i tried loading only 1 dicom file and it looks Like only the top 1/4th right hand corner of the image is getting

Re: [osg-users] [osgPlugins] Build OSG using DCMTK

2011-06-08 Thread Robert Osfield
Hi Isha, The image data still looks corrupted to me - the lines aren't normal, so I'd suspect this is part of the problem along with only part of the image being read. As to what the problem might be I can't answer. I would suspect an issue with DCMTK reading the image itself. I don't have

[osg-users] Please test svn/trunk in prep for 2.9.16 dev release

2011-06-08 Thread Robert Osfield
Hi All, I'm planning to tag the 2.9.16 dev release tomorrow so would appreciate testing of svn/trunk. Please let me know of success or failure so I know how well things are shapping up for the release. Cheers, Robert. ___ osg-users mailing list

Re: [osg-users] Shaders and Nvidia 275.33 drivers problem

2011-06-08 Thread Buckley, Bob CTR MDA/DES
Concur. They broke 3DVision (dual OC'd 250's) Transmitter lights up, flashes, then turns off. -Original Message- From: osg-users-boun...@lists.openscenegraph.org [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Tomlinson, Gordon Sent: Wednesday, June 08, 2011 5:28 AM To:

[osg-users] OSG based aplication nominated in CG Architect Awards

2011-06-08 Thread Alberto Jaspe
Hello people! Lot of time without writing anything here. Anyway I've been using a lot OSG in almost all my projects. I just one to tell you that one of them have just been nominated in the CG Architect Awards 2011, for Best Real-Time Application, and is completely based on OpenSceneGraph. It's

Re: [osg-users] [osgPlugins] Build OSG using DCMTK

2011-06-08 Thread Isha Kandaswamy
Hi, I run it using osgvolume dir of dcm files as you suggested... this is the link to the dcm data https://jshare.johnshopkins.edu/pkazanz1/Skull-2mm.zip I dont seem to understand when i render only one of the files, how it looks right, except that it looks like a part of that image...

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

2011-06-08 Thread Ryan Pavlik
The latest source builds successfully with everything possible enabled on Ubuntu Natty x64. On Wed, Jun 8, 2011 at 1:26 PM, Robert Osfield robert.osfi...@gmail.comwrote: Hi All, I'm planning to tag the 2.9.16 dev release tomorrow so would appreciate testing of svn/trunk. Please let me know

Re: [osg-users] 2.8.5 release tag

2011-06-08 Thread Eric Sokolowsky
The first thing to do is update the wiki, and generate the official zip distribution. I have made a zip file by exporting the subversion tag given, and I can upload it somewhere if that would help. I'm in the process of creating rpm files for use on Fedora 14, x86_64. I will also soon make rpm

Re: [osg-users] 2.8.5 release tag

2011-06-08 Thread Paul Martz
Thanks, Robert -- I just tried to log in to the wiki so that I could get the wiki markup source for the 2.8.4 press release to use as a template: http://www.openscenegraph.org/projects/osg/wiki/News/Press/OSG2.8.4 However, I got an error when I tried to log in to the wiki: Trac detected an

Re: [osg-users] 2.8.5 release tag

2011-06-08 Thread Chris 'Xenon' Hanson
On 6/8/2011 2:18 PM, Eric Sokolowsky wrote: The first thing to do is update the wiki, and generate the official zip distribution. I have made a zip file by exporting the subversion tag given, and I can upload it somewhere if that would help. I'm in the process of creating rpm files for use