Re: [osg-users] Help Rendering and Reading Floating Point Textures

2008-12-17 Thread J.P. Delport
Hi David, David Spilling wrote: Brian, JP, The osgmultiplerendertargets example uses (by default) GL_FLOAT_RGBA32_NV, rather than either GL_RGBA32F_ARB, or even GL_RGBA16F_ARB. Could this be a card issue? Yes, if I remember correctly, at the time I made the example I was fiddling with vari

Re: [osg-users] please test... SSAO (v1.0)

2008-12-18 Thread J.P. Delport
Hi, compiled OK here on Debian Sid, 40fps on GeForce Go 7400. jp Adrian Egli OpenSceneGraph (3D) wrote: Hi Vincent, the current version is much faster (arround 30FPS) on my NVidia Quatro 570M, can you rebuild the latest version and send my the compiler bugs (please) the resizing issue, i

Re: [osg-users] please test... SSAO (v1.0)

2008-12-18 Thread J.P. Delport
Hi, temple default view without ssao 570fps, with ssao 40fps. NVidia Geforce Go7400. jp Adrian Egli OpenSceneGraph (3D) wrote: You can toggle SSAO on/off with 'a',i have fixed the bugs, adrian 2008/12/18 Vincent Bourdier > Compilation errors : (d

Re: [osg-users] vpb - strange tile corner artifacts

2008-12-18 Thread J.P. Delport
Hi, I've narrowed down the versions that worked a bit more. With osg r9387 and vpb r930 I'm not getting the artifacts, so at least the problem is isolated to vpb, as older vpb with osg head seems to work OK. I will try to find the revision where it starts breaking. Christophe, can you try th

Re: [osg-users] vpb - strange tile corner artifacts

2008-12-18 Thread J.P. Delport
Hi, sorry, should have had that coffee first... I've tested vpb r948 and it still works OK. jp J.P. Delport wrote: Hi, I've narrowed down the versions that worked a bit more. With osg r9387 and vpb r930 I'm not getting the artifacts, so at least the problem is isolated t

Re: [osg-users] vpb - strange tile corner artifacts

2008-12-18 Thread J.P. Delport
s the testing easier, thanks. Will go up through the versions now... jp christophe loustaunau wrote: HI, Strange, with rev948 I still have artifacts but not with rev930. All is done with rev 9368 of osg. On Fri, Dec 19, 2008 at 7:38 AM, J.P. Delport <mailto:jpdelp...@csir.co.za>> w

Re: [osg-users] vpb - strange tile corner artifacts

2008-12-18 Thread J.P. Delport
OK, 931 still OK, 932 starts giving the artifacts. Time to consult the diff... jp J.P. Delport wrote: Hi, yes, you are right, I still have not had the coffee, I've been chasing this bug till late last night. I thought that I tried 948 after 930, but the database did not rebuild. No

Re: [osg-users] vpb - strange tile corner artifacts

2008-12-19 Thread J.P. Delport
Hi, christophe loustaunau wrote: You're near the bug ! :-) Looking at the log, i see that in destination.cpp ,the function : void DestinationTile::equalizeCorner(Position position) have been change. It may be here. Yes, this was my first place to look too. I think I found the error, get

Re: [osg-users] vpb - strange tile corner artifacts

2008-12-19 Thread J.P. Delport
Hi, good, I've also tested the fix with vpb HEAD and it seems OK. Busy testing on a larger database and if it works I'll submit the fix. jp christophe loustaunau wrote: Hi, I have no bug with r932 and your file. It seems to be good ! On Fri, Dec 19, 2008 at 10:05 AM, J.

Re: [osg-users] osgPPU and change in colors

2008-12-19 Thread J.P. Delport
Hi, also check if the geom you are applying the final texture to has a white colour, or set the texture mode to GL_REPLACE. jp Art Tevs wrote: Hi, I would suppose, that your lighting cnditions are different. It could be that in one case the scene is lit by some lights and in another case t

Re: [osg-users] vpb - strange tile corner artifacts

2008-12-19 Thread J.P. Delport
versions of VPB? I'm using 0.9.7... -Shayne -Original Message- From: osg-users-boun...@lists.openscenegraph.org [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of J.P. Delport Sent: Friday, December 19, 2008 2:35 AM To: OpenSceneGraph Users Subject: Re: [osg-users

Re: [osg-users] rotation problem

2008-12-22 Thread J.P. Delport
Hi, hemanth korrapati wrote: Hi I am expecting my code to first rotate the point along y-axis and then rotate the resultant point across x-axis. but only the rotation along z is happening but not along x. The order you are expecting and the order in the code might not match. Try swapping the

Re: [osg-users] Exportable file formats

2009-01-08 Thread J.P. Delport
Hi, "osgconv --formats" spits out lots of stuff, I'm not sure how to parse it though. jp Morné Pistorius wrote: Hi guys, I am trying to figure out which of the osg plugins support writing/exporting. Is there a list of supported formats or a way to query osg to find out which plugins suppor

Re: [osg-users] Warning level

2009-01-08 Thread J.P. Delport
Hi, Matthew Fuesz wrote: Robert Osfield wrote: Hi Sukender, Code readability is key to spotting algorithm errors, so any slip in readability is something to take very seriously which is why the !=0 is not what I would deem a good programming practice. But I find that the '!= 0' produces fa

Re: [osg-users] Warning level

2009-01-08 Thread J.P. Delport
Hi, Robert Osfield wrote: Hi J.P. On Thu, Jan 8, 2009 at 1:36 PM, J.P. Delport wrote: Of course, what is - IMO - the _absolutely_ most readable is to split the statement in two - i.e., "a = b; if ( a ) {}" Well stated, I agree with everything you've said and second the

Re: [osg-users] Warning level

2009-01-08 Thread J.P. Delport
s... :P Yes, this way it is easy to point a debugger to the appropriate line of code :) jp Don't you know the IOCCC (International Obfuscated C Code Contest)? That's quite fun: http://www.ioccc.org/ Sukender PVLE - Lightweight cross-platform game engine - http://pvle.sourceforge.net

Re: [osg-users] Loading movie

2009-01-12 Thread J.P. Delport
Hi, Gerwin de Haan wrote: Dear Carlos, from my experiments some time ago (osg 2.4, ubuntu 7.10), playing _multiple_ movies through ImageStream instances using the osgdb xine plugin result in sporadic crashes and funny playback/pause behavior, most probably caused by threading issues. At the time

Re: [osg-users] Bug in osgText::drawForegroundText

2009-01-13 Thread J.P. Delport
Hi, can you make it crash in singlethreaded mode? If not, check all settings of "dynamic" on text nodes. jp Vincent Bourdier wrote: Hi, I allow myself to Up this topic... Thanks, Regards, Vincent. 2009/1/12 Vincent Bourdier > I think there is a

Re: [osg-users] Bug in osgText::drawForegroundText

2009-01-13 Thread J.P. Delport
sure of what to search... Thanks, Vincent. 2009/1/13 J.P. Delport mailto:jpdelp...@csir.co.za>> Hi, can you make it crash in singlethreaded mode? If not, check all settings of "dynamic" on text nodes. jp Vincent Bourdier wrote: Hi,

Re: [osg-users] Bug in osgText::drawForegroundText

2009-01-13 Thread J.P. Delport
l run singlethreaded. Is it different to set it on a Geometry ? or on its Gode / Group / PAT parent ? I'm not sure, you'll have to check, I do not know what data you change. jp I'll check is the good nodes are set to DYNAMIC or not. Thanks, Vincent. 2009/1/13 J.P. D

Re: [osg-users] Particle effects and transforms

2009-01-14 Thread J.P. Delport
Hi, are you splitting the particle system? AFAIK one part must be attached to something static and another part to the transform. see here: http://thread.gmane.org/gmane.comp.graphics.openscenegraph.user/24488 jp Sergio Casas Yrurzum wrote: Hello again. First of all, thank you for your ans

Re: [osg-users] OSG, RenderBins, Stencil and multipass render

2009-01-14 Thread J.P. Delport
Hi, renderbins are for ordering render operations within a single pass. Multi-pass can be done using OSG quite easily with render to texture cameras. I would suggest you look at some of the examples in the distribution. Try: osgprerender osgdepthpeeling osgstereomatch Once you have found so

Re: [osg-users] Nvidia bug report [Fwd: Unable to create many (>300) FBOs under Linux]

2009-01-20 Thread J.P. Delport
eted = 0, gl objects successfully applied = 240, error = OpenGL error regards jp J.P. Delport wrote: Hi all, I have some progress to report on this, yay :) I did not get a reply after I sent the email to linux-b...@nvidia.com, so yesterday I posted the same info to the nvnews forum. http://www.

Re: [osg-users] osgstereomatch example shader warnings

2009-01-22 Thread J.P. Delport
Hi Paul, the warnings: (2) : warning C7531: global type sampler2DRect requires "#extension GL_ARB_texture_rectangle : enable" before use is "normal", OSG automatically enables the extension. The cast warnings can probably be fixed, I did not look at these at the time. jp paul1...@yahoo.

Re: [osg-users] quaternion multiplication

2009-01-26 Thread J.P. Delport
Hi, could you also please read through the following two threads: http://thread.gmane.org/gmane.comp.graphics.openscenegraph.user/21003/ and http://thread.gmane.org/gmane.comp.graphics.openscenegraph.user/33099/ and let us know if your fix addresses any of the issues raised by Richard there.

Re: [osg-users] Multiple Render Target Question

2009-01-27 Thread J.P. Delport
Hi Paul, paul1...@yahoo.com wrote: I'm attempt to develop a Multiple Render Target (MRT) program and have a few questions.. First, I see this in the osgstereomatch example: Two textures are needed, because shaders cannot read and write to the same texture during calculation. One texture is used

Re: [osg-users] Multiple Render Target Question

2009-01-29 Thread J.P. Delport
ered in time) to an RTT camera and then accumulating using a shader. One can connect the RTT camera anywhere in the processing pipeline to get the processing order right. The display camera basically just maps the final RTT camera output to a quad. jp Paul - Original Message From: J.P.

Re: [osg-users] Different behavior between Linux and Windows when using OpenThreads::Mutex

2009-02-04 Thread J.P. Delport
Hi, see also this thread here: http://thread.gmane.org/gmane.comp.graphics.openscenegraph.user/14294/ I've run into this as well. Also have a look at OpenThreads/Barrier. jp Laurence Muller wrote: Hi, It seems that there is a difference in behavior when using the OpenThreads::Mutex class

Re: [osg-users] osgconv batch processing

2008-01-16 Thread J.P. Delport
Hi, you could prob use some python scripts. Thy work nicely cross-platform too. Here's a teaser, google for some of the modules/functions. cheers jp #!/usr/bin/env python import glob, os, sys file_pattern = '*.3ds' search_pattern = '.oldname.' replace_pattern = '.newname.' if __name__ == "__

Re: [osg-users] loading a bitmap and displaying it

2008-01-21 Thread J.P. Delport
Hi, see osghud and osggeometry examples for simple drawing. You could then conceptually draw whatever you want on your 2d image by using a different z-value/layer. jp JumboVision - Peter De Santis wrote: > Thanks Robert, > > what if i want to draw lines on the ortho2d screen, things like a cr

Re: [osg-users] drawing line geometry on a 2D ortho viewport

2008-01-23 Thread J.P. Delport
Hi, try this modified code and compare with the unchanged example. You can use ABSOLUTE_RF as well, you will just need to rotate the matrix for the viewer's default camera. Or change the default camera to be in your coord system. From the transform callback you can see that the default view d

Re: [osg-users] drawing line geometry on a 2D ortho viewport

2008-01-23 Thread J.P. Delport
Hi, Peter DeSantis wrote: > Hi > > thanks for that i got that to work, > but i dont understand why the bellow option where i adjust the viewer > camera directly does not work as well ? > It only seems to work if i set them as nodes and add as childs. Why is > that ? > > It seems to me to be

Re: [osg-users] OSG-2.3.3, Ubuntu 7.10 and GLU

2008-01-24 Thread J.P. Delport
Hi, when did you install libglu1-mesa-dev, before starting to compile OSG or only after you got the error? If only after, try recompiling from scratch. jp Eduardo Gutiérrez Sanmartín wrote: > Hi! > > I'm trying to compile OSG-2.3.3 in Ubuntu 7.10 and I get some errors of > the type "undefine

Re: [osg-users] View matrix center

2008-02-11 Thread J.P. Delport
Hi, have a look at these two threads. I've done something similar to what I think you are looking for, but had to add some functionality. Look for the getDRC function. http://article.gmane.org/gmane.comp.graphics.openscenegraph.user/19873/match=DRC http://article.gmane.org/gmane.comp.graphics.

Re: [osg-users] Matrix::getRotate return non-normalized Quat

2008-02-26 Thread J.P. Delport
Hi Paul, Paul Martz wrote: > Hi folks -- I've noticed that, under some circumstances, > Matrix::getRotate() returns a non-normalized Quat. For example, given > the following code: > > osg::Matrix m( +0.00057735, +0., +0., +0., > +0., +0.00057735, +0.

Re: [osg-users] Using Particle : how to add particle group to the scenegraph ?

2008-02-27 Thread J.P. Delport
Hi, Vincent Bourdier wrote: > Hi, > > I'm trying to make a Particle System. > > It looks easy but I have a little problem : my ModularEmitter, my > ParticleSystemUpdater and my geode are on the same group. > To have the particles on the viewer, I must add this group as a child of > the root gr

Re: [osg-users] Multi display systems with an offset viewpoint

2008-02-28 Thread J.P. Delport
Maybe have a look at this: http://orihalcon.jp/projdesigner/ cheers jp Murray Curtis wrote: > I have driving simulators with three projected screens 4.5 metres wide > arranged in half a hexagon that are viewed from slightly off center. The > car is centered but the driver is off to the left or

Re: [osg-users] Getting correct angles from osg::Matrixd in the 4'th Quadrant

2008-02-28 Thread J.P. Delport
Hi, seems like the matrix.getrotate is broken again. 'osgunittests quat' also reports lots of problems. I'm comparing with old working versions, will let you know. jp [EMAIL PROTECTED] wrote: > I've run into a problem using Quaternion rotation with osg::Matrixd that I > can't seem to figure o

Re: [osg-users] Getting correct angles from osg::Matrixd in the 4'th Quadrant

2008-02-28 Thread J.P. Delport
Hi, J.P. Delport wrote: > Hi, > > seems like the matrix.getrotate is broken again. 'osgunittests quat' > also reports lots of problems. sorry, I've spoken too soon. Matrix.getrotate is fine. The unittests report false positives (q = -q is OK), will fix this. Fo

Re: [osg-users] Getting correct angles from osg::Matrixd in the 4'th Quadrant

2008-02-28 Thread J.P. Delport
Hi, seems like the matrix.getrotate is broken again. 'osgunittests quat' also reports lots of problems. sorry, I've spoken too soon. Matrix.getrotate is fine. The unittests report false positives (q = -q is OK), will fix this. I promise to still fix the unittests... For your problem angles,

Re: [osg-users] Public domain/free sources of geospatial data

2008-03-03 Thread J.P. Delport
Hi, there are quite a bit of links here: http://www.vterrain.org/ rgds jp Robert Osfield wrote: > Hi All, > > I'm starting work on putting together online tutorials for > VirtualPlanetBuilder 1.0, and in this effort really need plenty of > data that users can freely download themselves and run

Re: [osg-users] Font Quality / osgWidget

2008-03-06 Thread J.P. Delport
Hi all, I've also experienced the "font chopping" problem and have also observed that the order of initialisation definately makes a difference to the output. My latest 'fix' was to use different fonts for the two sizes of text I want to display. jp Robert Osfield wrote: > Hi Jeremy, > > It

Re: [osg-users] Z buffer resolution

2008-03-11 Thread J.P. Delport
Hi, Guy wrote: > Hello all. > > > > I have a problem with the distance between the near and far plane. The > distance between objects in the scene might be ten thousands of km (at > least 3 km) and the objects sizes might be in several meters. > > I've noticed that when the distance bet

Re: [osg-users] SceneView and Multi-camera render to texture

2008-03-18 Thread J.P. Delport
Hi, I'm using PRE_RENDER cameras rendering to FrameBufferObjects with SceneView, in some cases multi-pass as well. I've used a similar setup as per the osgprerender example and did not find a difference between using SceneView versus osgViewer. I'll splat some code into the bottom of the email

Re: [osg-users] Quat & normalization

2008-03-19 Thread J.P. Delport
Hi, I'd like to help, but don't know what you are asking... Vincent Bourdier wrote: > Hi all, > > I just have a little question, because I'm not sure of something about > quat : > > I have to quat q1 and q2 > > To pass form q1 to q2 I've made q = q1.inverse()*q2 > > But even if the result an

Re: [osg-users] Quat & normalization

2008-03-19 Thread J.P. Delport
ask if normalizing this vector will make a difference ? > and why ? > > Thanks, > > Regards, > Vincent > > 2008/3/19, J.P. Delport <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>>: > > Hi, > > I'd like to help, but don't k

Re: [osg-users] Object position on screen coordinates

2008-03-26 Thread J.P. Delport
Hi, Eduard Trulls wrote: > Hi all, first message here. I want to translate the position of a number > of objects on screen coordinates, so that I can create a hud-like bubble > over each of them at z=0 giving feedback on the objects' name, status, > etc. From what I see I could use intersectors

[osg-users] Multiple Render Targets - Request for Comments/Testing

2008-03-31 Thread J.P. Delport
Hi, over the weekend I have consolidated previous hacks to enable MRT into what I hope would be an acceptable patch for OSG. I would like to have it tested a bit before sending it to submissions. Attached are the changes to OSG's Camera and RenderStage. Camera got a new method called setDraw

Re: [osg-users] Multiple Render Targets - Request for Comments/Testing

2008-04-01 Thread J.P. Delport
Hi, is anyone looking at this, or should I assume no news is good news and just submit it as a patch? rgds jp J.P. Delport wrote: > Hi, > > over the weekend I have consolidated previous hacks to enable MRT into > what I hope would be an acceptable patch for OSG. > > I wou

Re: [osg-users] Multiple Render Targets - Request forComments/Testing

2008-04-01 Thread J.P. Delport
Hi Wojtek, Wojciech Lewandowski wrote: > I tried to compile it and link on Windows with latest SVN. Compiled and > linked fine.I ran osg prerender and shadow exmples with fbo. Again no > problems. But frankly haven't tested MRT functionality at all. thanks for the testing, I'm glad other fbo co

Re: [osg-users] Multiple Render Targets - Request forComments/Testing

2008-04-01 Thread J.P. Delport
Hi Art, Art Tevs wrote: > Hi J.P. > > I am also using MRT, however completely without > osg::Camera. Yes, I've compiled osgPPU and ran the examples; cannot say that I fully understand the code yet :) > > However since I am working with FBOs directly I would > prefer to have something like an e

Re: [osg-users] Getting the Image from a Texture2D used as a render target

2008-04-02 Thread J.P. Delport
Hi, look at the osgprerender example where an image is attached to the RTT camera. Search for ->attach. You do not need to call readImage yourself. rgds jp Guerrero, Michael (CIV) wrote: > After looking into this further, it seemed that using glGetTexImage > would be able to copy from a textur

Re: [osg-users] Multiple Render Targets - Request forComments/Testing

2008-04-02 Thread J.P. Delport
buffers and >> decide whether to use the extension or not, and in the InnerDraw apply >> the extension according to the flag found in the setUpCamera. >> >> Besides that I think JS has done very nice work. Bravo. (or cheers or as >> we say in Israel "Kifak-Hey") :

Re: [osg-users] How to load different tga files in a smoothly way like a movie

2008-04-02 Thread J.P. Delport
Hi, you could also try enable pixel buffer objects on the textures you are pushing to the GPU. See the call that looks like e.g. VideoImage[i]->setImage(cameraImageWidth, cameraImageHeight, 1, 1, GL_LUMINANCE, GL_UNSIGNED_BYTE, gImage[i], osg::Image::NO_DELETE); _VideoImage[i]->se

Re: [osg-users] Multiple Render Targets - Request forComments/Testing

2008-04-02 Thread J.P. Delport
Hi, Guy wrote: > Hello, > In continue to what I said before, I don't believe it's possible to > change the subgraphs MRT definitions, since all the subgraph under the > camera renders to the camera attachments. So if the camera is using MRT, > then all the subgraph is rendered MRT. > The differe

Re: [osg-users] Multiple Render Targets - Request forComments/Testing

2008-04-02 Thread J.P. Delport
Hi, Robert Osfield wrote: > Hi Guy and J.P, > > Still struggling to keep up, partly cause I'm a bit cold on the > subject, and partly because I've gone done with a rather pesky cold... > > On Wed, Apr 2, 2008 at 10:47 AM, J.P. Delport <[EMAIL PROTECTED]> w

Re: [osg-users] Multiple Render Targets - Request forComments/Testing

2008-04-02 Thread J.P. Delport
Hi, Robert Osfield wrote: > Hi J.P, > >> >> I'm sure you will see that there is no magic to my current >> >> implementation. The difficult part is to figure out when to enable it. >> > >> > Can we not just do it when COLOR_BUFFER1 upwards are enabled? >> >> Problem is that enabling MRT wit

Re: [osg-users] Multiple Render Targets - Request forComments/Testing

2008-04-02 Thread J.P. Delport
Hi, Guy wrote: > Hi, > Since the change I suggest is very small from what JP has implemented I > don't submit files here just the differences: > > I removed getDrawBuffers and setDrawBuffers from the Camera.cpp / h > > > In RenderStage the changes are as follows: > RanderStage //.h > Added vec

Re: [osg-users] Multiple Render Targets - Request forComments/Testing

2008-04-02 Thread J.P. Delport
;s responsibility. jp > > Guy. > -Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of J.P. > Delport > Sent: Wednesday, April 02, 2008 2:11 PM > To: OpenSceneGraph Users > Subject: Re: [osg-users] Multiple Render Targets - Request &g

Re: [osg-users] nVidia card textures memory

2008-04-07 Thread J.P. Delport
Hi, Guy wrote: > Hello, > > First I know my question has nothing to do with OSG, but a lot of OSG > users might come across this subject and any guidance would be most > appreciated. > > The questions I ask regard the nVidia textures memory and how to access it. > > > > 1. I'd like to pas

Re: [osg-users] HDR with osg

2008-04-08 Thread J.P. Delport
Hi, Roman Grigoriev wrote: > Hi guys! > > I try to implement HDR. And I got some problem when I compute average > luminance > > I have to render it to 1X1 texture and here is the main problem > > When I setup viewport with setVewport(0,0,1,1) – I’ve got clearcolor > i.e. (1,0,0,0) Is this for

Re: [osg-users] osg Image data

2008-04-10 Thread J.P. Delport
Hi, sizeof(unsigned char) != sizeof(GL_UNSIGNED_SHORT) try GL_UNSIGNED_CHAR jp Vincent Bourdier wrote: > Hi All, > > I have a problem concerning writing image data. > > My code is simple : > > const long size = _x*_y*3; > > unsigned char* data = (unsigned char*)calloc(size,

Re: [osg-users] Multitexturing using shader

2008-04-10 Thread J.P. Delport
Hi, you can supply uniforms to the shaders to point to your bounded textures, e.g. (this is from the osgmultiplerendertargets example in svn) in the shader: uniform sampler2DRect textureID0; uniform sampler2DRect textureID1; uniform sampler2DRect textureID2; uniform sampler2DRect textureID3; v

Re: [osg-users] How to disable culling of a node

2008-04-10 Thread J.P. Delport
Hi, Emilio Lozano wrote: > Hi all, > > I'`m trying to get a node always drawn without being affected by near > clipping plane defined in projection perspective. With the following > simple code what I expected to get is that the cow was not clipped by > near or far planes, but the cow is still

Re: [osg-users] examples bugs ?

2008-04-10 Thread J.P. Delport
Hi, the depthpeel example executes extremely slowly on my PC (GeForce Go 7400), so you need a powerful card as far as I know. jp Frédéric SPEISSER wrote: > Hello everyone ! > > * Firsteval, > I recently installed OpenSceneGraph 2.2 with Mingw under Windows XP pro. > The installation worked wi

Re: [osg-users] examples bugs ?

2008-04-10 Thread J.P. Delport
Hi all, Jean-Sébastien Guay wrote: > Hi Frédéric, > >> Concerning the depthpeeling example, I also tryed it under linux with a >> nvidia graphic card Quadro FX 3450/4000 SDI and it doesn't seem to work >> either ... > > Just tried it on my machine, GeForce 8800GTX on Vista, and it ran at a >

Re: [osg-users] CoordinateSystemNode and Earth Modelling

2008-04-15 Thread J.P. Delport
Here's some code I use, I'm still not quite sure what you are asking though. void CViewScenario::convertLLHtoLocal(double Lat_deg, double Long_deg, double Alt, double &x, double &y, double &z) { double ecefx, ecefy, ecefz; mEllipse->convertLatLongHeightToXYZ( osg::Deg

Re: [osg-users] Going for OpenSceneGraph-2.4 within the next two weeks

2008-04-15 Thread J.P. Delport
Hi J-S, where are you getting these CMake packages from? On the CMake site it says latest version is 2.4.8? jp Jean-Sébastien Guay wrote: > Hi Robert, > >> Issues outstanding that I'm aware of are: >> (...) >> If you can think of anything else please speak up. > > No one replied to my messa

[osg-users] svn 8134 osgprerender --image

2008-04-18 Thread J.P. Delport
Hi, with the latest SVN and "osgprerender --image", I'm getting a lot of: Warning: detected OpenGL error 'invalid enumerant' after RenderBin::draw(,) lines written to the screen. Does anyone else see this? Without --image there are no errors. On another machine I have rev 8084 and have recompi

Re: [osg-users] svn 8134 osgprerender --image

2008-04-18 Thread J.P. Delport
Hi Robert, Robert Osfield wrote: > Hi J.P, > > Thanks for the heads up, I just tried it on my machine (Kubuntu 7.10, > 7800GT) and get the same error. > > My guess is that the changes to support Multiple Render Targets has > broken something in RenderStage w.r.t reading imagery. Arrrgghghg

Re: [osg-users] svn 8134 osgprerender --image

2008-04-18 Thread J.P. Delport
Hi Robert, Robert Osfield wrote: > Hi J.P, > > On Fri, Apr 18, 2008 at 10:53 AM, J.P. Delport <[EMAIL PROTECTED]> wrote: >> version 8084 (that works) already has MRT included, that's why I had it >> on another machine. >> >> It seems like it was th

Re: [osg-users] Ping-pong rendering

2008-04-29 Thread J.P. Delport
Hi, you could have a look at the osgstereomatch example, see also the readme. I'm not sure what you mean by the "dynamic", but the example uses ping-pong using a shader parameter. jp Roman Grigoriev wrote: > Hi guys! > > Could you please advise me how to make dynamic ping pong rendering using

Re: [osg-users] Ping-pong rendering

2008-04-30 Thread J.P. Delport
in current > OSG you can't dynamically change FBO attachment.<неиSo I'm newbie in OSG so > if some explanations with code are welcome.<неиThanx in advance<неиBye<неи > <неи<неи-Original Message-<неиFrom: > [EMAIL PROTECTED] > [mailto:[EMAIL PRO

Re: [osg-users] Ping Pong rendering

2008-04-30 Thread J.P. Delport
Hi, Roman Grigoriev wrote: > Sorry for my outlook but here is the original message<неиThanx for your > reply but I need to explain what I want<неиI've seen stereomatch but I need > to implement another thing.<неиI try to explain. So I try to make clouds > rendering on GPU using cellular automata.<

Re: [osg-users] Ping Pong rendering

2008-04-30 Thread J.P. Delport
ds jp <ÎÅÉ <ÎÅÉ<ÎÅÉ-Original > Message-<ÎÅÉFrom: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of J.P. > Delport<ÎÅÉSent: Wednesday, April 30, 2008 12:21 PM<ÎÅÉTo: OpenSceneGraph > Users<ÎÅÉSubject: Re: [osg-users] Ping Pong > rendering<ÎÅÉ&

Re: [osg-users] How to save a RTT texture?

2008-05-08 Thread J.P. Delport
Hi, look at the code path for: osgprerender cow.osg --image in the camera callback the osg::Image that was attached to RTT texture can be accessed and saved. jp hesicong2006 wrote: Hi everyone, I have a 3D texture that is attached to a group of cameras, then it works OK to render scene to

Re: [osg-users] [Blender and OSG]

2008-05-13 Thread J.P. Delport
hello, see also the bottom of this page of delta3D. http://www.delta3d.org/article.php?story=20051207101455773&topic=docs rgds jp Jean-Baptiste Authesserre wrote: Hi, I would like to use blender to create my 3D models. Is that possible to use blender files .blend with osg? I compiled by my

Re: [osg-users] Please test OSG-2.8 in prep for 2.8.0-rc2

2009-02-06 Thread J.P. Delport
Hi, I checked out 2.8: svn checkout https://www.openscenegraph.org/svn/osg/OpenSceneGraph/branches/OpenSceneGraph-2.8 OpenSceneGraph rev 9676. Ran ccmake and selected I want CDASH output, I did not select release build. did a make Experimental, the results are on the dashboard here: http://

[osg-users] CDash questions

2009-02-06 Thread J.P. Delport
Hi all, in my unwisdom I made an experimental build this morning. I manually checked out the code, so I thought "Experimental" would be the right choice? The first try compiled everything, got some warnings, but then died when submitting the results because I'm behind a proxy. I fixed the p

Re: [osg-users] CDash questions

2009-02-06 Thread J.P. Delport
Hi, Jean-Sébastien Guay wrote: Hi Casba, No, they aren't really removed, of course. The default page only shows the entries for the current day, but all entries can be accessed via the menu (calendar-previous-current-next). Ah, OK. I did not realise the page was for a single day. Yes of c

Re: [osg-users] Server migration

2009-02-09 Thread J.P. Delport
Hi, I can't seem to get my email address verified from trac. Tried 2 addresses and pressed resend email multiple time. I have not received anything yet. regards jp Jose Luis Hidalgo wrote: HI All, The migration is beta-completed, we need now to test it and fix the errors that surely wil

Re: [osg-users] OpenSceneGraph-2.8.0-rc3 tagged, please test

2009-02-09 Thread J.P. Delport
Hi, I updated the OpenSceneGraph-2.8.0 branch to 9711. Must I rather check out the tag? All built fine (debug build) with 0 errors and 0 warnings. Debian Sid gcc version 4.3.3 (Debian 4.3.3-3). Results also on cdash website under experimental. jp Robert Osfield wrote: Hi All, It turns ou

Re: [osg-users] Server migration

2009-02-09 Thread J.P. Delport
n not send emails (due to our University Policy). I will remove the username so you can register ir again (this time without the email). Cheers, Jose-L. On Mon, Feb 9, 2009 at 9:45 AM, J.P. Delport wrote: Hi, I can't seem to get my email address verified from trac. Tried 2 addresses and

Re: [osg-users] Server migration

2009-02-09 Thread J.P. Delport
Hi, Jose Luis Hidalgo wrote: Hi J.P., I told on the list to not use the "email-feature", is optional so avoid it, right now the server can not send emails (due to our University Policy). I will remove the username so you can register ir again (this time without the email). OK, works fine

[osg-users] Trac error

2009-02-09 Thread J.P. Delport
Hi J-L, I surfed to http://www.openscenegraph.org/projects/osg/log/OpenSceneGraph/branches?rev=9721 and got the following: Oops… Trac detected an internal error: TypeError: expecting datetime, int, long, float, or None; got 'genshi.template.eval.Undefined'> There was an internal error in Tra

Re: [osg-users] Cull time doubled?

2009-02-09 Thread J.P. Delport
Hi, Mathias Fröhlich wrote: Hi, On Monday 09 February 2009 23:54, Pecoraro, Alexander N wrote: On Linux this translated to "-O3 -DNDEBUG" (at least that's what cmake-gui says is defined for the CMAKE_CXX_FLAGS_RELEASE variable). May be I know cmake to little, but the only way to really make su

Re: [osg-users] OpenSceneGraph-2.8.0-rc4 tagged, please test

2009-02-09 Thread J.P. Delport
Hi, Robert Osfield wrote: Hi All, I ended up have to address a few bugs today, I spent the first half of today waiting and twiddling my thumbs, then the second running like a lunatic trying to get things working. Most of the open issues are now resolved once more, so again it's time to try out

Re: [osg-users] OpenSceneGraph-2.8.0-rc5 tagged, please test

2009-02-11 Thread J.P. Delport
Hi, Checked out revision 9758. ccmake: Release, CDash on make Experimental 0 Compiler errors 0 Compiler warnings gcc version 4.3.3 (Debian 4.3.3-3) Debian Sid 32-bit jp Robert Osfield wrote: Hi All, Another day, another batch of build, warning and bug fixes. And... another day another re

Re: [osg-users] memory leak false positives on Windows

2009-02-12 Thread J.P. Delport
Hi, Sukender wrote: Hi Tanguy, Robert and Gordon, IMHO, there is no unique "singleton" pattern, but as much as existing implementations. The fact is that there is no perfect singleton, all have benefits and drawbacks. Several attemps were made to create a generic singleton (See boost.singleto

Re: [osg-users] Swapping Textutes for Thermal Signatures

2009-02-12 Thread J.P. Delport
Hi, virtualplanetbuilder (VPB) nowadays support the idea of layers of imagery (texture data) on the same elevation data. You could put your vis data on one layer and the thermal data on another layer. You can dynamically switch between them at runtime. jp Guy Volckaert wrote: Hi, I was wo

Re: [osg-users] Webcam

2009-02-19 Thread J.P. Delport
Hi, create an osg::Image (you don't need to allocate image data portion), point the Image at your own data. Create a Texture2D/TextureRect, call setImage on this with your osg::Image. When you get new data, call Image-dirty(). You can also set the image to use pixel buffer objects for upload

Re: [osg-users] Loading movie

2009-02-23 Thread J.P. Delport
: Hi J.P, On Tue, Jan 13, 2009 at 6:49 AM, J.P. Delport wrote: Gerwin ps. I was hoping for some public ffmpeg plugin implementation to pop up on the list, but either I missed it or it's not yet been released. Coming soon..., I hope next week. This would only be one possible implementation

Re: [osg-users] Problems with VPB and DTED data.

2009-02-23 Thread J.P. Delport
Hi, what OS are you using? What version of GDAL? On Linux I've not had a problem reading .dt? files. jp Sewell, Kenneth R Civ USAF AFMC AFRL/RYZW wrote: It seems that VPB (SVN revision 953) won't accept DTED data. Looking at the VPB code, VPB gets a list of GDAL supported extensions (and ad

Re: [osg-users] Loading movie

2009-02-23 Thread J.P. Delport
Hi, Robert Osfield wrote: Hi J.P, On Mon, Feb 23, 2009 at 1:49 PM, J.P. Delport wrote: I must admit I had no idea how long something like this would take :/ It is in progress is all I can say. It is something quite new at our company and there is no existing process. It is hard to convince

Re: [osg-users] Loading movie

2009-02-23 Thread J.P. Delport
Hi, Robert Osfield wrote: Hi Tanguy, On Mon, Feb 23, 2009 at 3:01 PM, Tanguy Fautre wrote: Talk about timing... That's why it's always worth doing a syncronization step before coding :-) I've just got the green light from my boss. Excellent news. Means we all save some time, and we all

Re: [osg-users] Loading movie

2009-02-23 Thread J.P. Delport
Hi Tanguy, Robert, Tanguy Fautre wrote: Hi Robert, I've uploaded the plugin sources, plus example application and FFmpeg Windows binaries (non-GPL) to the FTP. When you say non-GPL what do you mean? I've done some research into the whole FFmpeg GPL vs LGPL issues, since I would like to re

Re: [osg-users] Problems with VPB and DTED data.

2009-02-23 Thread J.P. Delport
Hi, must admit I have not tried the latest OSG version, maybe it's a change in OSG and not VPB? jp J.P. Delport wrote: Hi, what OS are you using? What version of GDAL? On Linux I've not had a problem reading .dt? files. jp Sewell, Kenneth R Civ USAF AFMC AFRL/RYZW wrote: It

[osg-users] VPB trac site

2009-02-23 Thread J.P. Delport
Hi, I can't view the VPB Timeline any more. First error is: Error: Forbidden TIMELINE_VIEW privileges are required to perform this operation When I try to login, I get: Trac Error Authentication information not available. Please refer to the installation documentation. regards jp -- This me

Re: [osg-users] VPB trac site

2009-02-25 Thread J.P. Delport
ut. On Tue, Feb 24, 2009 at 8:02 AM, J.P. Delport wrote: Hi, I can't view the VPB Timeline any more. First error is: Error: Forbidden TIMELINE_VIEW privileges are required to perform this operation When I try to login, I get: Trac Error Authentication information not availabl

Re: [osg-users] Loading movie

2009-02-25 Thread J.P. Delport
what I meant by non-GPL ffmpeg). OK good, just wanted to make sure. rgds jp Tanguy -Original Message- From: osg-users-boun...@lists.openscenegraph.org [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of J.P. Delport Sent: Tuesday 24 February 2009 06:53 To: OpenSceneGra

<    1   2   3   4   5   6   7   8   9   10   >