Re: [osg-users] The new osg format and the serialiser plugins

2010-11-03 Thread Wang Rui
Hi Thomas, 2010/11/4 Thomas Hogarth : > What plugins do I need? osgdb_osg? osgdb_serializers_osg? You will need osgdb_osg and osgdb_serializers_... for reading/writing with the new formats > Do any of the exporters support it? Especially 3DS Max osgExp At present, no one as I've known. But it w

[osg-users] The new osg format and the serialiser plugins

2010-11-03 Thread Thomas Hogarth
I all I'm interested in using the new osg formats, a new xml and binary format I believe. I was wondering if there is any information on using the new system, Example questions being What plugins do I need? osgdb_osg? osgdb_serializers_osg? Do any of the exporters support it? Especially 3DS Max

Re: [osg-users] OSGs OpenGLES 2.0 status

2010-11-03 Thread Thomas Hogarth
Fixed it, So after a bit of thinking I realised that the default buffer must be re binded at some point so did another search and found 3 calls to fbo_ext->glBindFramebuffer(GL_FRAMEBUFFER_EXT, 0); And my earlier hunch was correct that ios' default buffer id is actually 1 so changing to the bel

Re: [osg-users] OSGs OpenGLES 2.0 status

2010-11-03 Thread Thomas Hogarth
So I've found the problem with the FBOs and am in look of a solution. The problem is, is that ios uses framebuffer objects for everything including the main views rendering. The current setup uses the swapbufferes method to Display the renderbuffer then ensure the view framebuffer is bound with glB

Re: [osg-users] does LiSPSM cull the objects in the scene?

2010-11-03 Thread Wojciech Lewandowski
Hi, LispSM works well with directional infinite lights. So I assume you are using this type of light. With inifinite light objects casting shadows can be far outside visible area. So the viewing frustum for shadow camera is usually larger than view frustum of the camera where shadows are cast.

[osg-users] How to show all objects

2010-11-03 Thread Robert Gosztyla
Hi, I have i think a simple question. If i'm adding new objects on scene and they are invisible (culled) or partialy invisible, how to force view or camera to show all objects (whole scene). Is there any simple method? Thank you! Cheers, Robert -- Read this topic online here:

Re: [osg-users] OSGs OpenGLES 2.0 status

2010-11-03 Thread Thomas Hogarth
Hi Stephan So a little testing has reveled that when using a framebuffer object a call to glFrameBufferRenderBuffer is made in FrameBufferAttachment::attach in FrameBufferObject.cpp (starts line 541). But this is also done in createFrameBuffer in GraphicsWindowIPhone.mm with the created _viewFrame

Re: [osg-users] OSG, bullet physics, collada and sketchup models on Ubuntu

2010-11-03 Thread Axel Spirtaat
For completeness, i point out this site [1] which allow to convert sketchup files into 3ds, obj and other formats. I hope this post can help those who have my own doubts and problems. Best regards, Axel [1] http://www.babel3d.com/ -- Read this topic online here: http://forum.op

Re: [osg-users] DotScene In OSG

2010-11-03 Thread Chris 'Xenon' Hanson
On 11/3/2010 1:22 PM, Matt Caron wrote: > The OSG format appears to hold model and texture data. I'm looking for a > file format which is used exclusively for placing and orienting models in a > scene. For example I could do something like this: The OSG format supports the ProxyNode entity w

Re: [osg-users] DotScene In OSG

2010-11-03 Thread Matt Caron
The OSG format appears to hold model and texture data. I'm looking for a file format which is used exclusively for placing and orienting models in a scene. For example I could do something like this: This way I can reference models of many different formats and position them in a uni

Re: [osg-users] OSG, bullet physics, collada and sketchup models on Ubuntu

2010-11-03 Thread Tomlinson, Gordon
Whoops I left off, but the conversion to COLLADA may well strip that info out ... I know in our Sketchup read/writer for OSG we strip off things we don't support -Original Message- From: osg-users-boun...@lists.openscenegraph.org [mailto:osg-users-boun...@lists.openscenegraph.org] On

Re: [osg-users] OSG, bullet physics, collada and sketchup models on Ubuntu

2010-11-03 Thread Tomlinson, Gordon
Thats not quite true Sketchup files can contain physics, you can find many files in the wharehouse with physics Gordon Tomlinson 3D Technology System Engineering Consultant Overwatch® An Operating Unit of Textron Systems __ "WARNING: Docume

Re: [osg-users] DotScene In OSG

2010-11-03 Thread Tomlinson, Gordon
HI OSG has a ASCII format itself that is human readable, I would say using this native format (.osg) would reasonable thing to do Gordon Tomlinson 3D Technology System Engineering Consultant Overwatch® An Operating Unit of Textron Systems _

[osg-users] DotScene In OSG

2010-11-03 Thread Matt Caron
Greetings, Does anyone know if there is currently an OSG reader for the XML .scene format? I'm looking for a simple human readable file format for generating a scene, so if there is a good alternative available for OSG that would be fine as well, but at the moment .scene is looking good. Than

Re: [osg-users] OSG, bullet physics, collada and sketchup models on Ubuntu

2010-11-03 Thread Axel Spirtaat
Thank you all for your suggestions, since i had so many problems building/installing collada-dom i decide to convert sketchup model in the 3ds format which is loadable by osg. I had already installed osgBullet to obtain physics... on next coming days i'll study how to use those libraries :-) I'm

[osg-users] Integrating OSG with freevr

2010-11-03 Thread Mohammad Reza Shakouri
Hi everybody, I have assigned to a task which I should integrate freevr to osg in order to create an interactive graphical world. I have a sample using osgUtil::sceneView to make it possible . But I have to do this task using osgViewer::Viewer .. I tried to modify the code but it seems the pr

Re: [osg-users] OSGs OpenGLES 2.0 status

2010-11-03 Thread Thomas Hogarth
Hi Stephan, Robert > > With the svn/trunk version of the OSG GLU has been directly integrated > and should be fully supported under OpenGLES code paths. The IPhone > git branch may well not have these changes yet. > > Sounds great will defo check that out > > Updating ShaderGen to work with GL

Re: [osg-users] OpenThreads setProcessorAffinity / Multithreaded vertex array modification

2010-11-03 Thread Johannes Scholz
Hi, looking through the implementation of Thread::setProcessorAffinity in PThread.c++ I realized that on a NON-SGI platform the method always returns -1 even if pthread_setaffinity_np or sched_setaffinity might have been executed correctly. Is this intended? Cheers, Johannes -

[osg-users] problem with osgshadow compilation in osgshadow example

2010-11-03 Thread Juan S. Valverde García
Hi, Thank you very much in advance for any help! So I'm trying to cast some shadows on my OSG virtual world. I started looking for the osgshadow example and manual to have a clue about this. When I try to compile the example, using mingww gcc 4.4.0, i get the followeing error: debug/osgshado

Re: [osg-users] OSG ActiveX + IFC - looking for developer

2010-11-03 Thread Zdravko Clarion
Mathieu wrote: > > There is at least a closed source one I know about. The main issue is > in handling the CSG part in the IFC geometrical definitions. > > Regards, > Mathieu > Hi, could you please be a little more specific? I mean, if you know that somewhere is some way to load IFC into OSG,

Re: [osg-users] How can I calculate a matrix via a MatrixManipulator

2010-11-03 Thread Jean-Sébastien Guay
Hello Martin, Yes I know, but I won't to use the CompositeViewer. Because I will use this feature in the gtk embedded viewer. CompositeViewer and embedded graphics contexts are two separate things. You can still use a CompositeViewer even if you use an embedded graphics context. In your c

Re: [osg-users] How can I calculate a matrix via a MatrixManipulator

2010-11-03 Thread Martin Großer
Hello, it works! I'm very happy now. It was another mistake. I have write my EventHandler and call the handle-method of the manipulator in the handle method of my handler. That was the first idea of Jean-Sebastien. My problem was I had define another event handler above and this makes problems

Re: [osg-users] OSG, bullet physics, collada and sketchup models on Ubuntu

2010-11-03 Thread Paul Martz
On 11/3/2010 7:26 AM, Jan Ciger wrote: using a sketchup model [1] and and some animation and/or interaction. So, my teacher suggested me to use osgBullet. osgBullet depends on osg, bullet and osgWorks, but to load hte model i need collada-dom. This morning i found that google sketchup free ca

Re: [osg-users] How can I calculate a matrix via a MatrixManipulator

2010-11-03 Thread Martin Großer
Yes I know, but I won't to use the CompositeViewer. Because I will use this feature in the gtk embedded viewer. Cheers Martin Original-Nachricht > Datum: Wed, 03 Nov 2010 10:13:24 -0400 > Von: "Jean-Sébastien Guay" > An: OpenSceneGraph Users > Betreff: Re: [osg-users] How c

Re: [osg-users] How can I calculate a matrix via a MatrixManipulator

2010-11-03 Thread Jean-Sébastien Guay
Hi Martin, Maybe my problem declaration is unclear. Sorry about this. The goal is I doesn't want to set the camera (master camera) of the viewer. That do the CameraManipulator. I want use the Matrix (or inverse matrix) to set the view matrix of another camera. I have 4 cameras (viewports) and

Re: [osg-users] How can I calculate a matrix via a MatrixManipulator

2010-11-03 Thread Martin Großer
Maybe my problem declaration is unclear. Sorry about this. The goal is I doesn't want to set the camera (master camera) of the viewer. That do the CameraManipulator. I want use the Matrix (or inverse matrix) to set the view matrix of another camera. I have 4 cameras (viewports) and I want change

Re: [osg-users] OSG, bullet physics, collada and sketchup models on Ubuntu

2010-11-03 Thread Jean-Sébastien Guay
Hi Axel, (i don't know if there's an english translation for "calcio balilla", i'm sorry!) Here in Quebec we call that "baby foot" :-) J-S -- __ Jean-Sebastien Guayjean-sebastien.g...@cm-labs.com http://w

Re: [osg-users] OSG, bullet physics, collada and sketchup models on Ubuntu

2010-11-03 Thread Jan Ciger
Hi, On Wed, Nov 3, 2010 at 11:38 AM, Axel Spirtaat wrote: > Hi Jordi and Jan, > thank you for support. After reading Jordi's post i thought to install a i386 > arch of Ubuntu hoping to solve the problem... but then, reading Jan's post i > changed idea... > i have to model in linux a calcio bali

Re: [osg-users] How can I calculate a matrix via a MatrixManipulator

2010-11-03 Thread Jean-Sébastien Guay
Hello Martin, I have try this way, but it doesn't work. I guess the manipulator needs more information. For example, when I set the manipulator in the viewer via addEventHandler(), it doesn't work. A manipulator must set with setCameraManipulator(). Well I don't know much about what you're

[osg-users] does LiSPSM cull the objects in the scene?

2010-11-03 Thread Ramy Gowigati
Hi, I have been experimenting with Shadows lately for a pretty large scene I have. After reading some posts on the forum I realized I have to go with LiSPSM since it was optimized for large scenes. So I setup LiSPSM, passed in the variables and rendering using shaders. Everything seems to be w

Re: [osg-users] OSG, bullet physics, collada and sketchup models on Ubuntu

2010-11-03 Thread Jordi Torres
Hi Axel, You can download the collada file in zip format in the same link you show us :). I know nothing about osgBullet, but I guess if you can't use collada then you have to convert the model to some structure that osgBullet/osgAnimation can deal with. Cheers. 2010/11/3 Axel Spirtaat > Hi Jo

Re: [osg-users] OpenThreads setProcessorAffinity / Multithreaded vertex array modification

2010-11-03 Thread Johannes Scholz
Hi, as currently there are a lot of other things to do i didnt manage to look into the details yet. We set up a simple OSG-Application where we only have our Deformation Code and a simple viewer. There we discovered the multi-threaded deformation working and gaining performance on more cpus.

[osg-users] Get texcoord form PolytopeIntersector intersection

2010-11-03 Thread Aitor Ardanza
Hi, I have the code to do with LineSegmentIntersector, but I don't know how can I get the IndexList and RatioList to do the same with PolytopeIntersector. Code: osg::Drawable* drawable = intersection.drawable.get(); osg::Geometry* geometry = drawable ? drawable->asGeometry() : 0; osg::Vec3Array

Re: [osg-users] OSG, bullet physics, collada and sketchup models on Ubuntu

2010-11-03 Thread Axel Spirtaat
Hi Jordi and Jan, thank you for support. After reading Jordi's post i thought to install a i386 arch of Ubuntu hoping to solve the problem... but then, reading Jan's post i changed idea... i have to model in linux a calcio balilla table (i don't know if there's an english translation for "calcio

Re: [osg-users] How can I calculate a matrix via a MatrixManipulator

2010-11-03 Thread Martin Großer
Hello Jean-Sébastien, I have try this way, but it doesn't work. I guess the manipulator needs more information. For example, when I set the manipulator in the viewer via addEventHandler(), it doesn't work. A manipulator must set with setCameraManipulator(). I have many viewports now and I use

Re: [osg-users] Video capture with 3D augmented reality

2010-11-03 Thread J.P. Delport
Hi, On 02/11/10 19:16, benedikt naessens wrote: Why has the format been changed from GL_RGBA to GL_RGB ? Is it not working with the alpha channel or is that just a coincidence ? the jpg writer can only do RGB, so this was just a hack. You could try RGBA and png. Also, why do you attach t

Re: [osg-users] [vpb] Creating .osga File

2010-11-03 Thread issam boughanmi
Hi kevin i am in the same situation did you found a solution to this problem ? thanks and good day -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=33351#33351 ___ osg-users mailing list osg-users