Re: [osg-users] View not as expected

2010-07-06 Thread Robert Osfield
Hi Sanat, Your subject line says View not as expected, but reading your email I don't get any qualification of this. Until you explain exactly what is wrong nobody will be able to help you. Robert. On Mon, Jul 5, 2010 at 11:24 PM, Sanat Talmaki sanat.sch...@gmail.com wrote: Hi, I am trying

Re: [osg-users] Find coorinates in ive

2010-07-06 Thread Robert Osfield
Hi Bruce, I'm not clear on what you really want, but one technique for identifying objects in the scene is to simply assign a name to them. To decide what parts of the scene respond to picking one would use a Node NodeMask in combination with a IntersectionVisitor TraversalMask. To work out the

Re: [osg-users] Bone space matrix

2010-07-06 Thread Aitor Ardanza
Hi, I have a problem ... in my application receives the matrices of bones in each time step (bones are updated in real time), and using: Code: pBoneUpdate.at(i)-getStackedTransforms().push_back( new osgAnimation::StackedQuaternionElement(rotate, mat.getRotate())); the framerate plummets ...

Re: [osg-users] drawing a line using mouse

2010-07-06 Thread Robert Osfield
Hi Devanshi, On Tue, Jul 6, 2010 at 6:06 AM, Devanshi Tiwari devir...@gmail.com wrote: i have understood the concept but i cant implement it. as in i have all the code in the program but somehow it doesnt seem to run I'm sorry but you'll need to learn how to write and debug programs yourself,

Re: [osg-users] Usage of the command line of osgTerrain

2010-07-06 Thread Robert Osfield
Hi Ting, The old osgterrain example was written for testing purposes of niche features rather than an educational example, so unfortunately isn't a great place to lean how to use osgterrain as it's way too complicated. Both VirtualPlanetBuilder and osgEarth build osgTerrain based databases so

Re: [osg-users] how to animate a scene

2010-07-06 Thread Gianni Ambrosio
Hi All, I need to add coordinates to an AnimationPath at runtime. I tried to modify the osganimation example adding a button to insert a value into the AnimationPath node on every button clicked. To add a value into the AnimationPath I used: insert(double time, const ControlPoint controlPoint)

Re: [osg-users] FBX reading of GL_POLYGON

2010-07-06 Thread Sukender
Oh... What about concave quads (I mean 4 points polygons)? Sukender PVLE - Lightweight cross-platform game engine - http://pvle.sourceforge.net/ - Sukender suky0...@free.fr a écrit : OK. If you got time for this before I do... :) Sukender PVLE - Lightweight cross-platform game engine -

Re: [osg-users] [vpb] rendering problem

2010-07-06 Thread lucie lemonnier
Hi, Thank you for the information! Indeed, the coord system of my dem is in degrees. gdal_info give this : Driver: USGSDEM/USGS Optional ASCII DEM (and CDED) Files: 104n04_0100_deme.dem Size is 1201, 1201 Coordinate System is: GEOGCS[NAD83, DATUM[North_American_Datum_1983,

Re: [osg-users] Question about osgAnimation Bezier curves

2010-07-06 Thread daniele argiolas
Ok, thank you, I've understood how cubic bezier works. I've another question: I notice that the ball stops when it reachs every point. Is there a simple way to make a continuous animations, without stops? -- Read this topic online here:

[osg-users] Obj object point number

2010-07-06 Thread Aitor Ardanza
Hi, I have a question ... I have a model that I have added a skeleton in Maya, and I try to export the weights of the vertices to a file. According to this, the model has 3468 vertices, but the load on OSG, the vertex array is 5145 ... I need to indicate the weights of all vertices for

Re: [osg-users] light through walls

2010-07-06 Thread Jose Rincon
Hi, Before all, I thank Nick and Jean-Sebastian for your pieces of advices. What I try to do now, it's to apply ShadowMap to the SpotLight. I use Delta3D for my initial program, and I have a shader for Spotlight in that program. I've included the ShadowedScene of OpenSceneGraph and my goal now

[osg-users] osgshadow example completely black+ other visual problems

2010-07-06 Thread issam boughanmi
Hi, can someone what can cause this please [Image: http://img94.imageshack.us/img94/4281/shadowlg.th.jpg ] (http://img94.imageshack.us/i/shadowlg.jpg/) my config : - Windows 7 - Ati x1950 pro - omega drivers i tested this in winXP with the latest availble catalyst drivers and got the

Re: [osg-users] osgshadow example completely black+ other visual problems

2010-07-06 Thread Jean-Sébastien Guay
Hello Issam, can someone what can cause this please [Image: http://img94.imageshack.us/img94/4281/shadowlg.th.jpg ] (http://img94.imageshack.us/i/shadowlg.jpg/) What command line options are you using to run the osgshadow example? For me, these work well osgshadow --sm -3 osgshadow --ssm

Re: [osg-users] osgshadow example completely black+ other visual problems

2010-07-06 Thread issam boughanmi
1- i did'nt try any of the command line options, just the exe but i will try your commands tonight, thanks for the suggestion 2 - h ... probably -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=29728#29728

Re: [osg-users] View not as expected

2010-07-06 Thread Sanat Talmaki
Hi Robert, Ah yes, my post's title may have been misleading. But what I am trying is: For the top-most view, I add the whole scene to the view: Code: view-setSceneData(root); view-setCameraManipulator(new osgGA::TrackballManipulator); view-getCamera()-setUpdateCallback(new

Re: [osg-users] View not as expected

2010-07-06 Thread Robert Osfield
Hi Sanat, It doesn't make sense to attach a CameraManipulator which updates the camera position and an update callback to update it's position, use one or the other. Robert. On Tue, Jul 6, 2010 at 3:01 PM, Sanat Talmaki sanat.sch...@gmail.com wrote: Hi Robert, Ah yes, my post's title may

Re: [osg-users] View not as expected

2010-07-06 Thread Jean-Sébastien Guay
Hi Sanat, For the bottom left view, I wanted a view of the 3D model (backhoe) and the terrain with the camera either inside the cab of the backhoe or hovering just above it. So I did the following: Code: view-setSceneData(backhoe1PAT); //where backhoe1PAT is the positionAtttransform of the

[osg-users] osgviewerd cow.osg ---no data loaded

2010-07-06 Thread Randy
Hi all, I’m new here. I find there is something wrong with my installing OSG from source code on windows xp. when I use “osgviewerd cow.osg” command, it gives me the error info: no data loaded, while the command “osgversiond” works well. I guess it is about the environment variable. After

[osg-users] HI,One job for China 3D Software Engineer

2010-07-06 Thread feiger . yu
Dear OSG-community, Software Engineer with 3D Graphics Experience -- NSTEK is looking for an Software Engineer with strong 3D Graphics Experience. You will be joining a highly motivated team. We are looking for a self-motivated and creative

[osg-users] missing posts on the mailing lists.

2010-07-06 Thread Martin Naylor
Hi all, I am either going crazy or more likely my outlook email is. Is anyone else missing replies on posts? An example: Jose posted with the subject light through walls I see J-S's reply but I don't see Nicks, the only reason why i noticed is that Jose thanks Nick and J-S, but I don't see

Re: [osg-users] missing posts on the mailing lists.

2010-07-06 Thread Trajce (Nick) Nikolov
some emails might end up in the junk -Nick On Tue, Jul 6, 2010 at 8:05 PM, Martin Naylor martin.nay...@dsl.pipex.comwrote: Hi all, I am either going crazy or more likely my outlook email is. Is anyone else missing replies on posts? An example: Jose posted with the subject “light

Re: [osg-users] osgviewerd cow.osg ---no data loaded

2010-07-06 Thread Jean-Sébastien Guay
Hello Randy, After installing, I don’t know how to set environment variable ”OSG_FILE_PATH” which should be the “sample” directory. Since I get only 4 files in installing directory——bin,include,lib,share,but with no sample file. See

Re: [osg-users] missing posts on the mailing lists.

2010-07-06 Thread Gordon Tomlinson
Quite a few OSG messages go to my junk folders especially from certain regions in the world __ Gordon Tomlinson www.vis-sim.com http://www.vis-sim.com/ www.PhotographyByGordon.com

[osg-users] osgPPU and osgShadow::MinimalShadowMap

2010-07-06 Thread Serge Lages
Hi all, I am currently having troubles trying to make work osgPPU and specially HDR with osgShadow::MinimalShadowMap, you can find my test program attached (it comes from the list archive, I've made small modifications). Without shadows, it works fine, with MinimalShadowMap, I only have a black

[osg-users] PageLOD externals

2010-07-06 Thread Sebastian Messerschmidt
Hello, I've managed to convert a relatively large OpenFlight database to a pagedLOD - database. Therefore I replace all terrain-tile references (proxyNodes) in the master.flt with PagedLOD nodes that reference the converted .ive page. In another step I also replaced all references inside the

Re: [osg-users] View not as expected

2010-07-06 Thread Sanat Talmaki
Hi JS, Rob I understand what you meant by having either the manipulator or the update callback. The NodeTrackerManipulator worked perfectly. It gives me the exact behavior I wanted except for the fact that its default orientation is a side on view to my model node. I can rotate that with my

Re: [osg-users] FBX reading of GL_POLYGON

2010-07-06 Thread Michael Platings
I was referring to that by For quads I imagine it would be possible to write some fast specialised code to see if they should be split across vertices (0,2) or (1,3) so that loading times remain bearable. On 6 July 2010 09:02, Sukender suky0...@free.fr wrote: Oh... What about concave quads (I

Re: [osg-users] View not as expected

2010-07-06 Thread Jean-Sébastien Guay
Hello Sanat, The NodeTrackerManipulator worked perfectly. It gives me the exact behavior I wanted except for the fact that its default orientation is a side on view to my model node. I can rotate that with my mouse and change the view to my preference. But I would like to have the scene

[osg-users] display lists draw callbacks

2010-07-06 Thread Cory Riddell
I have a very simple draw callback defined that uses a bool to decide if the drawable should be drawn. The body of the callback's drawImplementation() looks like: if (m_enable) { drawable-drawImplementation(renderInfo); } I have drawables scattered all over my scene that use the same

Re: [osg-users] osgPPU and osgShadow::MinimalShadowMap

2010-07-06 Thread Wojciech Lewandowski
Hi Serge, I am sorry I have no experience with osgPPU. Long ago (2 years ?) we tried it with HDR and it seemed to work with LispSM shadows on our testbed. Have not tested since then. I could not help you at the moment, I am on vacations and my computer is a netbook. Send me a private email

Re: [osg-users] find coordeinates in IVE

2010-07-06 Thread Clay, Bruce
 Robert:   Thanks for your reply.   I downloaded some IVE files from a website that I am trying to use for a project teaching teens how to create video games using OSG.   I want to dynamically add objects along the path in the scene.  To do this I will have to specify the XYZ of the point

Re: [osg-users] OpenSceneGraph BOF at SIGGRAPH 2010

2010-07-06 Thread David Glenn
Greetings: I will be at Siggraph! I do plan to attend OSG BOF and drag as many of my fellows out of the desert that I can – all one of two of us that is! I'm not sure what I can get clearance to show off anything there, but if I can, I'll be ready - just in case! I may not be the sharpest

Re: [osg-users] find coordeinates in IVE

2010-07-06 Thread Jean-Sébastien Guay
Hi Bruce, I downloaded some IVE files from a website that I am trying to use for a project teaching teens how to create video games using OSG. I want to dynamically add objects along the path in the scene. To do this I will have to specify the XYZ of the point to add the path. My problem

Re: [osg-users] PageLOD externals

2010-07-06 Thread Robert Osfield
Hi Sebastian, I can't help much directly but to debug things two things that might be useful are first up to up the OSG_NOTIFY_LEVEL env var to DEBUG to see what files and paths are being tried - there is a chance that the external files aren't being found for some reason. Second suggestion is

Re: [osg-users] display lists draw callbacks

2010-07-06 Thread Robert Osfield
Hi Cory, This is expected behaviour as the draw callback is nested within the code that sets up display lists, so once the display list is created it'll not call the callback again. If you disable the use of display lists via drawable-setUseDisplayLists(false); then your callback will be called

Re: [osg-users] PageLOD externals

2010-07-06 Thread Sebastian Messerschmidt
Hi Robert, Thanks for the hint, I'm going to check. But there should be no principal problem including PagedLOD nodes as childs of PagedLODs, right? The point is all source files are located in the same source in the same path and the external references are loaded if the sub-tile is loaded

[osg-users] nofity in two files from two differents applications

2010-07-06 Thread Vincent Bourdier
Hi all, I'm using the osg::notify logs, but in two applications(threads) in the same process. Each application uses the notify logs of osg that are redirected into a log file, but when one application run and the second is started, it redirect each logs into a new common file... I would like

Re: [osg-users] display lists draw callbacks

2010-07-06 Thread Cory Riddell
Robert, Thanks for the quick reply. If I understand the NodeMask and CullMask, these would cull entire nodes, not individual osg::Drawable instances, correct? For example, I have geode's that contain a text label as one of their drawables. I thought about using a switch node to toggle the text

Re: [osg-users] How to make sure that both the back and the frontside of a polygon are lit...

2010-07-06 Thread Jason Daly
Alberto Luaces wrote: If I reverse the normals the opposite side lights up as expected .. Am I doing something wrong.. Are you expecting both sides to be lit identically (i.e.: the front lit as brightly as the back) ? Keep in mind that OpenGL doesn't do global illumination (that is,

Re: [osg-users] OpenSceneGraph BOF at SIGGRAPH 2010

2010-07-06 Thread John F. Richardson
Hello Robert, A presentation on OSG-3.0/OpenGL ES would be fantastic. I was probably going to ask you for a few highlights slides on the cutting edge of OSG in any case. I was also thinking about a panel at the end of the BOF so maybe some panel topic suggestions would be nice. John

Re: [osg-users] OpenSceneGraph BOF at SIGGRAPH 2010

2010-07-06 Thread John F. Richardson
Hello David, The key is the release forms for unlimited distribution. If you are going to bring anything start the paperwork soon. John -Original Message- From: osg-users-boun...@lists.openscenegraph.org [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of David Glenn

Re: [osg-users] Usage of the command line of osgTerrain

2010-07-06 Thread ting zhang
Hi, Thank you very much. But I heard that the osgTerrain OSG example in osg 2.8.0 or even higher version has some features about the real-time generation of terrains. Is this true or not? thank you again. ... Thank you! Cheers, ting -- Read this topic online here:

Re: [osg-users] OT: NASA immersive 3D graphics

2010-07-06 Thread Jason Daly
Trajce (Nick) Nikolov wrote: http://www.nasa.gov/offices/education/programs/national/ltp/games/moonbasealpha/index.html Looks cool. Now that Constellation has been canceled, this might be the only way of getting back there for a while... --J ___

Re: [osg-users] display lists draw callbacks

2010-07-06 Thread Tim Moore
On Tue, Jul 6, 2010 at 11:14 PM, Cory Riddell c...@codeware.com wrote: Robert, Thanks for the quick reply. If I understand the NodeMask and CullMask, these would cull entire nodes, not individual osg::Drawable instances, correct? Yes, but you can store one Drawable per Geode node, or

[osg-users] 3D Scene emulating a 2D environment

2010-07-06 Thread Theo Ribeiro
Hi, I have to render a scene that pretends to be a 2D environment. But I need it to be 3D so that I can work with the Z component. I'll try to explain it better. I'll have a camera that will be still for the whole time. 2D objects will be put in front of the camera as it was a 2D application.

[osg-users] automatically minimize the viewer window

2010-07-06 Thread Thomas Canipel
Hi, Is there a way to modify the behavior of the window, like minimize it , programmatically ? Thank you! Cheers, Thomas -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=29760#29760 ___ osg-users

Re: [osg-users] osgviewerd cow.osg ---no data loaded

2010-07-06 Thread Randy
Hi J-S, Thanks for your explicit response! Yes, I've solved this problem and the cow could appear. But another question now: The command line shows an error after osgviewerd cow.osg: Error: [Screen #0] ChooseMatchingPixelFormat -Unable to choose the requested pixel format Any suggestion? Thanks

Re: [osg-users] OpenSceneGraph BOF at SIGGRAPH 2010

2010-07-06 Thread David Glenn
Thanks John! D Glenn D Glenn (a.k.a David Glenn) - Join the Navy and See the World ... from your Desk! -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=29762#29762 ___

[osg-users] Model optimizations

2010-07-06 Thread Roman Grigoriev
Hi guys! I have one set of models that positioned along x axis and another set of models positioned along y axis. So I apply matrixtransform to second set of models to aling them along X axis. So in my app I translate and rotate them also so on first set of models I have one matrixtransform

Re: [osg-users] display lists draw callbacks

2010-07-06 Thread Cory Riddell
Robert Tim, Thanks for the information and advice. I guess it's time to take some measurements and see what the cost of my draw callback actually is. Cory On 7/6/2010 5:13 PM, Tim Moore wrote: On Tue, Jul 6, 2010 at 11:14 PM, Cory Riddell c...@codeware.com wrote: Robert,

Re: [osg-users] Model optimizations

2010-07-06 Thread Tim Moore
On Wed, Jul 7, 2010 at 5:39 AM, Roman Grigoriev grigor...@gosniias.ruwrote: Hi guys! I have one set of models that positioned along x axis and another set of models positioned along y axis. So I apply matrixtransform to second set of models to aling them along X axis. So in my app I