Re: [osg-users] OSG animation in a GTK widget

2010-12-22 Thread Robert Osfield
Hi Matteo, Have a look at the osgviewerGTK example. Robert. On Tue, Dec 21, 2010 at 9:50 PM, Matteo Morelli matteo.more...@tiscali.it wrote: Dear all, I'm moving my first steps with OSG. My final goal is to embed an OSG animation in a GTK window (I'm also new to GTK development). For the

Re: [osg-users] On allocation of TRANSPARENT BIN

2010-12-22 Thread Robert Osfield
Hi Maximillian, The OSG dynamically creates bins on demand during the cull traversal. A very simple scene graph might not even use any transparent objects so not require a RenderBin for this. Conversely some scene graphs such as the ones that do complete render to texture, or have multiple

Re: [osg-users] OSG animation in a GTK widget

2010-12-22 Thread Matteo Morelli
Hi Robert, On 12/22/2010 10:00 AM, Robert Osfield wrote: Have a look at the osgviewerGTK example. As I said, I've already looked at osgviewerGTK On Tue, Dec 21, 2010 at 9:50 PM, Matteo Morelli matteo.more...@tiscali.it wrote: For the OSG-GTK integration, I've looked at the examples

Re: [osg-users] OSG animation in a GTK widget

2010-12-22 Thread Robert Osfield
Hi Matteo, I'm afraid I have no GTK expertise, so can only point you at the examples that users have submitted. The 3rd party examples I have no knowledge so can't comment at all on these, but I would suggestion caution as some 3rd party codes are rather old and out of date. The rest of your

Re: [osg-users] Problem with Transparency when using osg::Cameras

2010-12-22 Thread George Bekos
Hello! Yeah I know it is a little strange how I use the camera's but it would be great to make this work. I still don't understand why is this happening. Other options are much more complicated. I will have a look at osg source, and if I can't find a way around I will change my main graph

Re: [osg-users] Problem with Transparency when using osg::Cameras

2010-12-22 Thread Robert Osfield
Hi George, On Wed, Dec 22, 2010 at 10:02 AM, George Bekos bekos...@live.com wrote: Yeah I know it is a little strange how I use the camera's but it would be great to make this work. I still don't understand why is this happening. Other options are much more complicated. I will have a look at

[osg-users] Troubles with texture mapping

2010-12-22 Thread Axel Spirtaat
Hi, I'm modelling a little room. I'm tryng to apply a texture to room walls, floor and roof. Reading the source code of osg examples, i've implemented a little class hierarchy to create the geometry shape, setting colors and normals of the quad and, finally applying the texture (how you can

[osg-users] osgQt::QWidgetImage dosen't respond to event

2010-12-22 Thread Aitor Ardanza
Hi, I'm not sure how to solve the problem ... I see that the class osgQt::QWidgetImage inherits from osg::Image, and osgQt::QWebViewImage inherits from osgWidget: BrowserImage, which in turn inherits from osg::Image. If we define these two classes in a scene with HUD camera, no problem. But if

Re: [osg-users] OSG Animation Tutorial

2010-12-22 Thread Eric Zaremba
I don't know if they are tutorails about this, but animation can be done with OSG. To set your animation, you can use blender for example and then, export to osg. Then, use osgCal to perform animation and skinning. Eric -- Read this topic online here:

Re: [osg-users] OSG Animation Tutorial

2010-12-22 Thread Jerome Karim
well Eric, you just made my day a wonderful one :) I will be looking for further informations about osgCal and Cal3D. -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=35062#35062 ___ osg-users mailing

[osg-users] Combined 3D Models :) ?? thanks for reading :)

2010-12-22 Thread Omar Khaled Aly
i know its a very lazy question but i really need an answer :) i did create a combined object in 3d studio max and export it as a .3ds then use OSG to open it i wish i can deal with each object in the combined model alone that i can blend one and not the others when some actions is done

Re: [osg-users] OSG Animation Tutorial

2010-12-22 Thread Eric Zaremba
Hey! See it as your Christmas gift ;) Eric -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=35064#35064 ___ osg-users mailing list osg-users@lists.openscenegraph.org

Re: [osg-users] OSG Animation Tutorial

2010-12-22 Thread Jerome Karim
thank you et merry christmas -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=35066#35066 ___ osg-users mailing list osg-users@lists.openscenegraph.org

[osg-users] Need Help ! Open Scene Graph For IPhone Shaders Issues

2010-12-22 Thread Laith Dhawahir
Hi All, I'm Software Engineer, and here in the company we are trying our product to IPhone/IPad. anyway. after near to 1 month of search , modifying and fixing i didnt find any answer to my problems Problems In Open Scene Graph. Here Is the Problem. im trying to run the following code : its

Re: [osg-users] Need Help ! Open Scene Graph For IPhone Shaders Issues

2010-12-22 Thread Eric Zaremba
Hi, First, I don't see any call to realize(); Second, do you set any camera manipulator or position to look at your box? Eric -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=35068#35068 ___

[osg-users] [ANN] New book published - OpenSceneGraph 3.0 Beginner's Guide

2010-12-22 Thread Wang Rui
Hi all, After 6 months work, we would finally proudly announce a new OSG beginners book: OpenSceneGraph 3.0 Beginner's Guide, written by Wang Rui and Qian Xuelei, and published by Packt Publishing. This time we are writing totally in English and you could be free from the hard-to-read Chinese

Re: [osg-users] [ANN] New book published - OpenSceneGraph 3.0 Beginner's Guide

2010-12-22 Thread Vincent Bourdier
Congratulations ! I was interested in writing this book as Packt offered me, but it was too much work and I'm not an OSG master yet ... Now I'm very interested in reading it ! Vincent. Le 22/12/2010 14:04, Wang Rui a écrit : Hi all, After 6 months work, we would finally proudly announce a

Re: [osg-users] Need Help ! Open Scene Graph For IPhone Shaders Issues

2010-12-22 Thread Laith Dhawahir
Hey Eric, Thanks for replay to me :). actually sorry i use them in the code, but it seem i miss to write them anyway.. here is the code i use currently: Code: //if the context was created then attach to our viewer if(graphicsContext) {

[osg-users] How can I read the information of the light?

2010-12-22 Thread Duan Linghao
Hi, I have a model(osg/ive) created by 3dMax,I add a light in the model.I want to read out the information of the light,such as position of the light.I know the name of the light,then how can I read the position of the model? Can you give me some code? Thank you! Cheers, Duan

Re: [osg-users] [3rdparty] Rendering into cegui element

2010-12-22 Thread issam boughanmi
thanks to th3Dei from the delta3d forum i post the solution here if someone is in the same situation the problem is on : Code: listBoxItem-setSelectionBrushImage(WindowsLook, MultiListSelectionBrush); referring to wrong image try this one, maybe work: Code:

Re: [osg-users] [ANN] New book published - OpenSceneGraph 3.0 Beginner's Guide

2010-12-22 Thread Mourad Boufarguine
Good news !! Just bought it! It will be of a great help to our trainees and to me as well :) Keep up the good work ! Mourad ___ osg-users mailing list osg-users@lists.openscenegraph.org

Re: [osg-users] [ANN] New book published - OpenSceneGraph 3.0 Beginner's Guide

2010-12-22 Thread Torben Dannhauer
Hi Wang, Congratulations! I ordered it in amazon.de but in Germany it is announced to be delivered in 2 -5 weeks - I will see :) Best regards, Torben -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=35075#35075

Re: [osg-users] Combined 3D Models :) ?? thanks for reading :)

2010-12-22 Thread Laith Dhawahir
Hi, i'm not sure if i understand your question. but you can see this application it may help you. www.simlabsoft.com ... Thank you! Cheers, Laith -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=35076#35076

Re: [osg-users] [ANN] New book published - OpenSceneGraph 3.0 Beginner's Guide

2010-12-22 Thread Martin Naylor
Yes great news!!! Just ordered mine on Amazon UK, hopefully stocks will hit the UK soon. Cheers Martin. From: osg-users-boun...@lists.openscenegraph.org [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Mourad Boufarguine Sent: 22 December 2010 13:34 To:

Re: [osg-users] OSG Animation Tutorial

2010-12-22 Thread Laith Dhawahir
Hey SadikMan , I think u need to take alook at this Application (www.simlabsoft.com) download the SimLab Animation it is very easy and support import and export many many type of formats.. enjoy it :) merry Christmas ... Thank you! Cheers, Laith -- Read this topic online

Re: [osg-users] OSG Animation Tutorial

2010-12-22 Thread Jerome Karim
thank you laithbasildotnet very interesting , I will looking at it tonight with a cup of coffé , but please next time no need to bother yourself by being SO polite ( enjoy it; Smile; merry Christmas; Thank you!; Cheers ; Laith ...kidding ;) ) -- Read this topic online here:

Re: [osg-users] [ANN] New book published - OpenSceneGraph 3.0 Beginner's Guide

2010-12-22 Thread Paul Martz
Excellent news, congratulations on publishing this valuable resource! -Paul On 12/22/2010 6:04 AM, Wang Rui wrote: Hi all, After 6 months work, we would finally proudly announce a new OSG beginners book: OpenSceneGraph 3.0 Beginner's Guide, written by Wang Rui and Qian Xuelei, and

Re: [osg-users] [ANN] New book published - OpenSceneGraph 3.0 Beginner's Guide

2010-12-22 Thread Jean-Sébastien Guay
Hi Wang Rui, After 6 months work, we would finally proudly announce a new OSG beginners book: OpenSceneGraph 3.0 Beginner's Guide, written by Wang Rui and Qian Xuelei, and published by Packt Publishing. Congratulations! It's great to see this book come out and in the hands of the users!

Re: [osg-users] [ANN] New book published - OpenSceneGraph 3.0 Beginner's Guide

2010-12-22 Thread Wang Rui
Hi J-S, Many thanks to your great technique reviewing work, without which we couldn't make out this book and huge number of concepts smoothly. Will the Packt send a copy of the book to you?If not, I'll manage to send you one as a gift for free. :-) Cheers, Wang Rui 2010/12/22 Jean-Sébastien

[osg-users] draw a 3D pipe

2010-12-22 Thread lucie lemonnier
Hi, I want to draw a 3D curved pipe from a list of points. I looked at osgModeling but I don't know how to do this. Would you have an idea using osgModeling or something else? Thank you! Cheers, lucie -- Read this topic online here:

Re: [osg-users] [ANN] New book published - OpenSceneGraph 3.0 Beginner's Guide

2010-12-22 Thread Jean-Sébastien Guay
Hi Wang Rui, Many thanks to your great technique reviewing work, without which we couldn't make out this book and huge number of concepts smoothly. It was a real pleasure to be part of the process, this book will really help users (new and not so new). Will the Packt send a copy of the

[osg-users] Shader problem on nvidia card

2010-12-22 Thread Aitor Ardanza
Hi, I have a problem when I apply a shader to an object in osg. I tried it on two machines. One with an intel G41 graphics card, which does not give me any problem, and the other is a NVidia GTX 480, which gives me the problem. When osg try to compile the shader, skip the following error:

[osg-users] invalid operation (osgearth and viewer)

2010-12-22 Thread Martin Naylor
Hi all, I have a HP 6730b (with the dreaded Intel 4 express graphics chipset, latest driver, believe it supports GL2) Guessing this is a driver bug, I am getting the following error when running osgviewer srtm.earth: Warning: detected OpenGL error 'invalid operation' at after RenderBin::draw(..)

Re: [osg-users] [ANN] New book published - OpenSceneGraph 3.0 Beginner's Guide

2010-12-22 Thread Paul Martz
Is the book available electronically? Kindle, safari, PDF, etc? (Due to my eyesight, I am no longer able to read print material of any kind.) Thanks, -Paul ___ osg-users mailing list osg-users@lists.openscenegraph.org

Re: [osg-users] [ANN] New book published - OpenSceneGraph 3.0 Beginner's Guide

2010-12-22 Thread Jean-Sébastien Guay
Hi Paul, Is the book available electronically? Kindle, safari, PDF, etc? (Due to my eyesight, I am no longer able to read print material of any kind.) You can buy and download it directly from Packt in ebook format (I guess it's PDF). J-S --

Re: [osg-users] Shader problem on nvidia card

2010-12-22 Thread Robert Osfield
Hi Aitor, The warning you are getting OpenGL version test failed, requires valid graphics context. suggests that you are trying to do rendering from a thread that doesn't have a graphics context current. I know nothing about how you are setting up your graphics context or how you manage you

Re: [osg-users] invalid operation (osgearth and viewer)

2010-12-22 Thread Robert Osfield
Hi Martin, I can't say what the problem is, the error could one of many things. Does your hardware/driver support compressed textures, VPB by default generates databases with compressed textures? Try a paged database that doesn't use compressed textures. Robert. On Wed, Dec 22, 2010 at 3:09

Re: [osg-users] invalid operation (osgearth and viewer)

2010-12-22 Thread Glenn Waldron
Martin, Can you set: OSGEARTH_NOTIFY_LEVEL=INFO and run osgearth_viewer and post the output? Thanks Glenn Waldron : Pelican Mapping On Wed, Dec 22, 2010 at 10:09 AM, Martin Naylor martinnay...@virginmedia.com wrote: Hi all, I have a HP 6730b (with the dreaded Intel 4 express graphics

Re: [osg-users] On allocation of TRANSPARENT BIN

2010-12-22 Thread Maximillian GUENTHER
Hi, dozens of RenderStage and RenderBin. Since the demands for these resources can change each frame But also RenderStage is not allocated and deallocated eacch frame. It uses RenderStageCache. Why is TRANSPARENT_BIN allocated and deallocated each fram, but RenderStage uses a cache? Does

Re: [osg-users] OSG problem with multiple cards

2010-12-22 Thread Steve Satterfield
If anyone is interested in trying this example program to reproduce our multi-card performance problem, I have our test case data file available. Contact me directly and I will give you the details of where to access it. Below are the environment variables I have set and the FPS results for

Re: [osg-users] On allocation of TRANSPARENT BIN

2010-12-22 Thread Robert Osfield
Hi Maximum, Only the top level RenderStage is reused for each viewer level osg::Camera, all the rest of the RenderStage are created on the fly. This system might seem quite complicated, but for the most part you won't need to worry about this complexity, it just happens in the OSG's rendering

Re: [osg-users] invalid operation (osgearth and viewer)

2010-12-22 Thread Martin Naylor
Hi Glen, The file is a bit big to send on the list, it now crashes when I exit using osgearth_viewer instead of osgviewer, which appears to be openthread related., it doesn't crash everytime either. Shall I send the file direct to yourself? Browsing the log I noticed the texture extensions

Re: [osg-users] invalid operation (osgearth and viewer)

2010-12-22 Thread Robert Osfield
Hi Martin, From extension it looks like texture compression is supported so in theory should work fine. I don't know if it's related at all, but there is a submission on osg-users that added buffer object pointer clamping to 4 byte boundaries to address a crash with Intel hardware/drivers. The

Re: [osg-users] [osgPlugins] upgrades to osgdb_bsp

2010-12-22 Thread Thomas Dickerson
I was sidetracked for a while with exams and such, but I got back to work and I think I have all but one (or two) of the bugs worked out. Looking at the image below (and ignoring the wooden gates), the bottom half represents what the top half should look like, minus the lighting. The faces

Re: [osg-users] invalid operation (osgearth and viewer)

2010-12-22 Thread Glenn Waldron
Martin, Sure, send me the file. Glenn On Wed, Dec 22, 2010 at 2:29 PM, Martin Naylor martinnay...@virginmedia.com wrote: Hi Glen, The file is a bit big to send on the list, it now crashes when I exit using osgearth_viewer instead of osgviewer, which appears to be openthread related., it

[osg-users] AGX Multiphysics with OSG

2010-12-22 Thread Kenneth Bodin
Hi all, We're releasing our physics engine AGX Multiphysics for licensing. We use OSG as our default graphics pipeline and it turns out that many of our customers also use OSG. AGX may be of interest to those of you who develop e.g. vehicle simulators or simulate other types of mechanical or

Re: [osg-users] draw a 3D pipe

2010-12-22 Thread Trajce (Nick) Nikolov
hi lucie, here is something with geometry shaders ... might get you inspired -Nick On Wed, Dec 22, 2010 at 6:42 PM, lucie lemonnier lucielemonn...@hotmail.frwrote: Hi, I want to draw a 3D curved pipe from a list of points. I looked at osgModeling but I don't know how to do this. Would

[osg-users] memory leak resizing osgoit

2010-12-22 Thread Don Leich
Hi all, The osgoit example program exhibits a large memory leak when the window is continually resized causing the depth peel cameras to be recreated over and over. This leak is made much worse when the program is modified for multi-sampled antialiasing... //

Re: [osg-users] [ANN] New book published - OpenSceneGraph 3.0 Beginner's Guide

2010-12-22 Thread Wang Rui
Hi Paul, Yse, there is an ebook version of this book on the Packt website. Take care of your eyes. Long time working at the computer will harm them, too. Cheers, Wang Rui 2010/12/22 Paul Martz pma...@skew-matrix.com: Is the book available electronically? Kindle, safari, PDF, etc? (Due to my

Re: [osg-users] File Size Limit on OSG::Image?

2010-12-22 Thread Blake Mason
If you just need to create a high resoultion rendering from of a single frame, you can modify the camera's projection matrix to capture many smaller segments, something like this: camera-setProjectionMatrix(projMat * osg::Matrix::scale(xSegments, ySegments, 1.0) *

Re: [osg-users] Several questions regarding Terrain

2010-12-22 Thread Thomas Dickerson
Hi, I have loaded a 256x256 HeightField, created a HeightFieldLayer, and added it as the ElevationLayer to a TerrainTile. Now, if I would like to go about texturing patches of terrain, do I essentially need a separate TerrainTile for each individual area to be textured? And if this is the

Re: [osg-users] Need Help ! Open Scene Graph For IPhone Shaders Issues

2010-12-22 Thread Ulrich Hertlein
Hi, On 23/12/10 0:23 , Laith Dhawahir wrote: Code: //if the context was created then attach to our viewer if(graphicsContext) { viewer-getCamera()-setGraphicsContext(graphicsContext); //viewer-getCamera()-setViewport(new osg::Viewport(0, 0, traits-width,

[osg-users] osgManipulator::Dragger event handler

2010-12-22 Thread François Bodic
Hi, I the osg::Manipulator example, there is no EventHandler Class as before but a new handle function has been introduced in the Dragger code. How does it works? I used to work with the prévious version which was using a classic pick system built in a GUIEventHandler class. Thank you!

Re: [osg-users] [ANN] New book published - OpenSceneGraph 3.0 Beginner's Guide

2010-12-22 Thread Robert Osfield
Hi Rui, I'll add my public congratulations to yourself and Xuelei on publication of OpenScenegraph 3.0 Beginners Guide. Writing a book is a big endeavor, delivered on schedule too! Thank you for the kind words too ;-) Now... I just need to get my 3.0 out too... alas I'm not quite as good at

Re: [osg-users] osg-users Digest, Vol 42, Issue 41

2010-12-22 Thread Robert Osfield
Hi Omar, You reply came through alone with a whole digest post, and the subject line is related to the digest as well which breaks any threading that mail tools provide. These too factors together make it difficult to track the context of your post and make it less likely that others will be