Re: [osg-users] Develop a scalable binary file format for native OSG scenes?

2009-12-11 Thread Wang Rui
Hi Robert, 2009/12/11 Robert Osfield robert.osfi...@gmail.com: I believe .osg would be the most appropriate extension, the header could declare which version of the format it is - whether it's binary, new ascii or old ascii.  We could possible have a .osgb for binary. It should be easy to

Re: [osg-users] Frustum/Culling issue with PagedLod

2009-12-11 Thread Robert Osfield
Hi Vincent, Could it be that your home position is changing with changes in the sphere's dimensions/poistion, and the home position is affecting the LOD selection. Robert. On Thu, Dec 10, 2009 at 8:15 PM, Vincent Bourdier vincent.bourd...@gmail.com wrote: Hi all, I just get something very

Re: [osg-users] Frustum/Culling issue with PagedLod

2009-12-11 Thread Vincent Bourdier
Hi Robert, Sorry, the camera manipulator is my own one, and the position is hard coded for the home position. I spend 3h yesterday night to find any explanation without success Thanks. Regards, Vincent. Robert Osfield a écrit : Hi Vincent, Could it be that your home position is

Re: [osg-users] OpenGL capture/logging in OSG

2009-12-11 Thread Alberto Luaces
Another program worth for considering would be Bugle (http://www.opengl.org/sdk/tools/BuGLe/). Just my 2 cents. -- Alberto ___ osg-users mailing list osg-users@lists.openscenegraph.org

Re: [osg-users] Large coords and _clampProjectionMatrix not applied

2009-12-11 Thread Robert Osfield
HI Martin, I can't really work out what exactly is going on from your email. The compute near/far doesn't normally have problems these days, and the values your are reporting suggest that they haven't been set at all - is the scene empty? As for large numbers, I would always recommend keeping

Re: [osg-users] opengl es 2.0

2009-12-11 Thread Robert Osfield
Hi Alok, On Thu, Dec 10, 2009 at 10:02 PM, Alok Priyadarshi alo...@gmail.com wrote: I have not had any luck with this yet. I am trying to test ES 2.0 by just disabling the fixed function pipeline... I tried osggeometry example. I do not see anything render - just warnings about polygon

Re: [osg-users] Clarification with regard to Dragger

2009-12-11 Thread Robert Osfield
Hi Neil, I can't follow your email, so can't comment specifically. I can say that I did a refactor of osgManipulator a couple of months back that is now available in the 2.9.6 dev release, and svn/trunk. This refactor makes it easier to use so I would recommend using this. I'm not the original

Re: [osg-users] OpenGL capture/logging in OSG

2009-12-11 Thread Robert Osfield
Hi Paul, My instinct would be to be not recommend trying to add some extra level of indirection in OpenGL calls to the OSG, from a maintenance and performance perspective. Considering most of us can get by without it it's sure note a cost that I ever want to push out to everyone. Cost of

Re: [osg-users] Develop a scalable binary file format for native OSG scenes?

2009-12-11 Thread Robert Osfield
Hi Paul, If .osgb isn't yet used in anything public, and it's the most nature naming for a OSG native binary format then I believe we should forgo the first dibs on the file extension and adopt it for the native binary OSG format - what we want is clarity for the widest number of people.

Re: [osg-users] light lobes

2009-12-11 Thread Robert Osfield
Hi Nick, On Fri, Dec 11, 2009 at 9:40 AM, Trajce Nikolov nikolov.tra...@gmail.com wrote: I mimic the code from osgspotlight and here are the results. To me it looks like one half of the lobe is mirrored. Any idea ? This is a classic issue with projective texturing - the way around it is either

Re: [osg-users] light lobes

2009-12-11 Thread Trajce Nikolov
Hi Robert, 1D texture approach with attenuation, based on your state should do the work. However, I am not familiar with this technique. Could you give more words on this, or point me what is to search for Thanks ! Nick http://www.linkedin.com/in/tnikolov Sent from Gümüşsuyu, İstanbul, Turkey

Re: [osg-users] light lobes

2009-12-11 Thread Trajce Nikolov
ok .. did some experiments and made it work. Now I am seeing it the same with Texture1D. Any ideas how this texture should look like? Nick http://www.linkedin.com/in/tnikolov Sent from Gümüşsuyu, İstanbul, Turkey On Fri, Dec 11, 2009 at 12:10 PM, Trajce Nikolov nikolov.tra...@gmail.comwrote:

Re: [osg-users] light lobes

2009-12-11 Thread Trajce Nikolov
one more thing. The matrix that I pass to TexGen seem to not be taken into account. No matter how I set the far plane it shows same results. Is this expected behavior ? Nick http://www.linkedin.com/in/tnikolov Sent from Gümüşsuyu, İstanbul, Turkey 2009/12/11 Trajce Nikolov

[osg-users] Text Crash On Main Thread While DB Pager Unrefs Font From Temp Object Cache

2009-12-11 Thread Ryan H. Kawicki
I've been investigating a crash that has plagued us for quite some time. I've finally gotten some time to sit down and take a look at this. Details: OSG: 2.8.1 OS: WinXP SP3 32Bit CPU: 8 Core 2.5GHz Xenon Graphics: Quadro FX 3700 512 MB Memory: Plenty Description: Our application embeds OSG

Re: [osg-users] light lobes

2009-12-11 Thread Robert Osfield
Hi Nick, On Fri, Dec 11, 2009 at 1:01 PM, Trajce Nikolov nikolov.tra...@gmail.com wrote: one more thing. The matrix that I pass to TexGen seem to not be taken into account. No matter how I set the far plane it shows same results. Is this expected behavior ? I can't comment on the issues you

Re: [osg-users] Text Crash On Main Thread While DB Pager Unrefs Font From Temp Object Cache

2009-12-11 Thread Robert Osfield
Hi Ryan, I sounds like the lack of a readRefFontFile() is a potential problem. In the case of include/osgDB/ReadFile there are readRefNodeFile() etc. functions that pass back a ref_ptr rather than a C pointer, and are all safer in multi-thread situations where object cache is in play. Could you

Re: [osg-users] light lobes

2009-12-11 Thread Ümit Uzun
Hi Nick, I advice you to look at, How can I ask smart question? from http://catb.org/~esr/faqs/smart-questions.html Regards. Ümit Uzun 2009/12/11 Robert Osfield robert.osfi...@gmail.com Hi Nick, On Fri, Dec 11, 2009 at 1:01 PM, Trajce Nikolov nikolov.tra...@gmail.com wrote: one more

Re: [osg-users] light lobes

2009-12-11 Thread Trajce Nikolov
here is the code. The osgspotlight sample with : - flatten the terrain (only a quad - all zerors height) - put closer the plane - change the far plane from 100 to 10 - use of 1D texture What causes the mirroring on the light? to me looks like it should be mirrored along the Y axis (negative

Re: [osg-users] light lobes

2009-12-11 Thread Trajce Nikolov
LOL ... ;-) ... Thanks Umit. I will have a look. btw. You know that saying ... There are no stupid questions. Only stupid answers. Be a wise man and point me to my questions that need to be smartened. Instead of criticizing me you can give some answers. I really have high respect to this

[osg-users] PagedLod expired children

2009-12-11 Thread Vincent Bourdier
, Vincent. __ Information from ESET NOD32 Antivirus, version of virus signature database 4679 (20091211) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com ___ osg-users mailing list osg-users

Re: [osg-users] PagedLod expired children

2009-12-11 Thread Robert Osfield
of virus signature database 4679 (20091211) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users

Re: [osg-users] Clarification with regard to Dragger

2009-12-11 Thread Jean-Sébastien Guay
Hello Neil, When I click, sometimes the dragger is selected, sometimes not. If you want clicks to always select the dragger, then you can just use node masks. Use a given bit to indicate the dragger, then set the dragger to this node mask, and remove that bit from your other objects' node

[osg-users] [VPB] Usage question

2009-12-11 Thread Sukender
Hi all, I've got model tiles (urban zone, files such as .osg/ive, .3ds ...) which need to be visualized using pagedLODs. Can VPB do with models what it does with terrain? That is to say, can VPB help me in a way or another to: - Create less detailed version of the tiles? (Am I a bit

[osg-users] OSG 2.9.6, cmake and QtWebKit config error.

2009-12-11 Thread Sewell, Kenneth R Civ USAF AFRL/RYZW
When trying to configure OSG 2.9.6, if the system doesn't have QtWebKit installed cmake will not configure the examples. Making the following change seems to fix it (at least on my Suse 11.0 box): IF (QT4_FOUND) ADD_SUBDIRECTORY(osgQtBrowser) ENDIF() changed to: IF (QT4_FOUND

Re: [osg-users] Fix for osgPPU FindOSG.cmake; lack of svn properties

2009-12-11 Thread Philip Lowman
If anyone is interested, you can also check out FindOpenSceneGraph.cmake which is part of CMake now. It does debug/release libraries and version support. On Dec 10, 2009 3:30 PM, Paul Martz pma...@skew-matrix.com wrote: Try this one instead; I forgot that CMake can't handle backslashes. Paul

[osg-users] Transparent skydome

2009-12-11 Thread Dominic Stalder
Hi there we use the skydome.osg of the OSG examples. Is it possible to make this one transparent, so that only the clouds are visible. We converted the skymap.jpg to a PNG file with a transparent alpha channel. Instead of a transparent skydome, it's just white where the transparent color

Re: [osg-users] Transparent skydome

2009-12-11 Thread Paul Martz
Dominic Stalder wrote: Hi there we use the skydome.osg of the OSG examples. Is it possible to make this one transparent, so that only the clouds are visible. We converted the skymap.jpg to a PNG file with a transparent alpha channel. Instead of a transparent skydome, it's just white where

Re: [osg-users] [VPB] Usage question

2009-12-11 Thread Chris 'Xenon' Hanson
On 12/11/2009 7:54 AM, Sukender wrote: Hi all, I've got model tiles (urban zone, files such as .osg/ive, .3ds ...) which need to be visualized using pagedLODs. Can VPB do with models what it does with terrain? That is to say, can VPB help me in a way or another to: - Create less detailed

Re: [osg-users] Transparent skydome

2009-12-11 Thread Chris 'Xenon' Hanson
On 12/11/2009 8:53 AM, Dominic Stalder wrote: we use the skydome.osg of the OSG examples. Is it possible to make this one transparent, so that only the clouds are visible. We converted the skymap.jpg to a PNG file with a transparent alpha channel. Instead of a transparent skydome, it's just

Re: [osg-users] OpenGL capture/logging in OSG

2009-12-11 Thread Paul Martz
Responding to all three posts at once... Chris 'Xenon' Hanson wrote: I think I've used glIntercept before and dfound it pretty useful. What was the motivation in not building on it? Lack of support for multiple threads, and no obvious way to add that support, was one reason for abandoning

Re: [osg-users] [vpb] Usage question

2009-12-11 Thread Torben Dannhauer
Hi, what is OGR? I'm searching for a tool which can flat terrain (cut volume away, that surface is not geocentric but flat at this area) at a specified area for adding 3D HiRes submodels. your mention of OGR sounds interesting, what is it for a tool? Thank you! Cheers, Torben

Re: [osg-users] OSG 2.9.6, cmake and QtWebKit config error.

2009-12-11 Thread Robert Osfield
Hi Ken, Does QT_USE_WEBKIT get defined by cmake on your system? I've just run ccmake and and can't spot QT_USE_WEBKIT on my list at QT related variables - I have cmake 2.6.2 installed. I have QT_QTWEBKIT_INCLUDE_DIR listed, would using this work for you? Robert. On Fri, Dec 11, 2009 at 3:14

Re: [osg-users] Transparent skydome

2009-12-11 Thread Dominic Stalder
Hi Paul thanks for the answer, but I don't need any shader in my programm. Regards Dominic Paul Martz schrieb: Dominic Stalder wrote: Hi there we use the skydome.osg of the OSG examples. Is it possible to make this one transparent, so that only the clouds are visible. We converted the

Re: [osg-users] Transparent skydome

2009-12-11 Thread Dominic Stalder
How can I set the state to include transparency? Chris 'Xenon' Hanson schrieb: On 12/11/2009 8:53 AM, Dominic Stalder wrote: we use the skydome.osg of the OSG examples. Is it possible to make this one transparent, so that only the clouds are visible. We converted the skymap.jpg to a PNG

Re: [osg-users] [vpb] Usage question

2009-12-11 Thread Gordon Tomlinson
http://www.osgeo.org/gdal_ogr OGR is part of the GDAL project OT: what happened to www.remotesensing.org ? __ Gordon Tomlinson gor...@gordontomlinson.com IM: gordon3db...@3dscenegraph.com www.vis-sim.com

Re: [osg-users] [vpb] Usage question

2009-12-11 Thread Chris 'Xenon' Hanson
On 12/11/2009 9:54 AM, Torben Dannhauer wrote: Hi, what is OGR? http://lmgtfy.com/?q=OGR ;) I'm searching for a tool which can flat terrain (cut volume away, that surface is not geocentric but flat at this area) at a specified area for adding 3D HiRes submodels. Are your models

Re: [osg-users] Transparent skydome

2009-12-11 Thread Chris 'Xenon' Hanson
On 12/11/2009 10:15 AM, Dominic Stalder wrote: How can I set the state to include transparency? Here's an example: http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/2009-June/029244.html You might be able to skip the rendering hint, and the backface cull will probably

Re: [osg-users] OpenGL capture/logging in OSG

2009-12-11 Thread Chris 'Xenon' Hanson
On 12/11/2009 9:46 AM, Paul Martz wrote: Lack of support for multiple threads, and no obvious way to add that support, was one reason for abandoning it. Also, when I attempted to use GLIntercept with (single threaded) OSG, I encountered problems as described recently in the discussion thread

Re: [osg-users] Transparent skydome

2009-12-11 Thread Dominic Stalder
Hi Chris I will try this, thanks a lot. regards Dominic Chris 'Xenon' Hanson schrieb: On 12/11/2009 10:15 AM, Dominic Stalder wrote: How can I set the state to include transparency? Here's an example:

Re: [osg-users] [vpb] Usage question

2009-12-11 Thread Norman Vine
On Dec 11, 2009, at 12:24 PM, Gordon Tomlinson wrote: http://www.osgeo.org/gdal_ogr OGR is part of the GDAL project OT: what happened to www.remotesensing.org ? The server crashed a couple of years ago and while rebuilding it, it was decided that www.osgeo.org was a better home for the

Re: [osg-users] Hi, everyone! I've got one question about negative parallax stereo rendering.

2009-12-11 Thread Jan Ciger
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, On 2009-12-11 03:35, HyeongCheol Kim wrote: Hi, Jan! Thanks again, but I wonder what appropriative coordinates means. I'm using trackball manuplator so I have been trying to get camera pointer when I set stereo mode as

Re: [osg-users] Large coords and _clampProjectionMatrix not applied

2009-12-11 Thread Martin Beckett
I've upgraded to 2.9.6 and done some more tests With just vertex data it can handle large coordinates in the scans. But fails if I also have marker and text components. However that does work if I subtract off the large part of the coords and put that offset in a root level PAT, leaving all the

Re: [osg-users] Hi, everyone! I've got one question about negative parallax stereo rendering.

2009-12-11 Thread Jan Ciger
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2009-12-11 03:35, HyeongCheol Kim wrote: If my knowledge is too short as you think, haha;; I'm so sorry about that! One more thing - the reason why I have pointed you to Paul Bourke's web site (an excellent resource for anything

[osg-users] Terrain generation question

2009-12-11 Thread Clay, Bruce
This is probably a dumb question but is there any rule of thumb or logic to use when creating terrain databases of differing resolutions that will reduce edge differences. For example if I create a full world database from the Blue Marble images and higher resolution local area database from

[osg-users] [vpb] Geocentric Database, how to flattening area or cut out piece

2009-12-11 Thread Torben Dannhauer
Hi, I use a lowRes local database and want to add small 3D townmodels for local areas which require a completely flat underground. Unfortunately the global elevation model is not flat and not correct at the models area. Is it possible to flatten the geocentric database at specific coordiantes,

[osg-users] BuGLe (was: OpenGL capture/logging in OSG)

2009-12-11 Thread Paul Martz
Alberto Luaces wrote: Another program worth for considering would be Bugle (http://www.opengl.org/sdk/tools/BuGLe/). Being thoroughly underwhelmed by OSG community interest in my proposal :-), I might take a second look at this. Please tell me about your experience with BuGLe. Was it easy

Re: [osg-users] [vpb] Geocentric Database, how to flattening area or cut out piece

2009-12-11 Thread Chris 'Xenon' Hanson
On 12/11/2009 2:20 PM, Torben Dannhauer wrote: Hi, I use a lowRes local database and want to add small 3D townmodels for local areas which require a completely flat underground. Unfortunately the global elevation model is not flat and not correct at the models area. Is it possible to

Re: [osg-users] Terrain generation question

2009-12-11 Thread Chris 'Xenon' Hanson
On 12/11/2009 1:44 PM, Clay, Bruce wrote: This is probably a dumb question but is there any rule of thumb or logic to use when creating terrain databases of differing resolutions that will reduce edge differences. For example if I create a full world database from the Blue Marble images and

Re: [osg-users] Terrain generation question

2009-12-11 Thread Jason Beverage
Hi Bruce, Take a look at osgEarth (http://www.osgearth.org) and see if it can help you out. osgEarth can composite multiple layers at runtime, so there is no need to create a low-res base database and high-res inset databases. This also allows you to add/remove layers from your scene quite

Re: [osg-users] Some overview of OSG and VPB databases

2009-12-11 Thread Paul Martz
Hi Chris -- One thing I've learned about PagedLOD... Even though it derives from LOD, it has a couple restrictions not present in the LOD base class. For example, there can only be one highest-res PagedLOD child, and its range can not overlap with other children. LOD allows this usage. So,

Re: [osg-users] [vpb] Geocentric Database, how to flattening area or cut out piece

2009-12-11 Thread Torben Dannhauer
Hi, yes, a simple rectangular region would be enough. Does your algorithm determine the height of your flattend area itself by the selected area, or do you specify a destination height and you lift/sink your rectangular area to this level? I'm interested in both methods. Some models are always

Re: [osg-users] [vpb] Geocentric Database, how to flattening area or cut out piece

2009-12-11 Thread Chris 'Xenon' Hanson
On 12/11/2009 3:55 PM, Torben Dannhauer wrote: Hi, yes, a simple rectangular region would be enough. Does your algorithm determine the height of your flattend area itself by the selected area, or do you specify a destination height and you lift/sink your rectangular area to this level? I'm

Re: [osg-users] Hi, everyone! I've got one question about negative parallax stereo rendering.

2009-12-11 Thread HyeongCheol Kim
Hi, jan, Thanks, a lot. I don't know how to appreciate that, Thanks. When I started how to use osg it was really difficult because there was no any reference book except for just function reference book. I am a student in master degree in Korea and I have took lectures related to graphics, but

Re: [osg-users] Clarification with regard to Dragger

2009-12-11 Thread Neil Clayton
Thank you. That does help. I will take a look at node masks and see what I come up with. Cheers, Neil -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=21359#21359 ___ osg-users mailing list

Re: [osg-users] Hi, everyone! I've got one question about negative parallax stereo rendering.

2009-12-11 Thread Jan Ciger
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, On 2009-12-12 00:20, HyeongCheol Kim wrote: Hi, jan, Thanks, a lot. I don't know how to appreciate that, Thanks. When I started how to use osg it was really difficult because there was no any reference book except for just function

Re: [osg-users] OSG on IPhone

2009-12-11 Thread Thomas Hogarth
I commited a fix for the bounding box computation. It should fix your problem. Could you update and have a try ? Hi Cedric Had a chance to try your new changes, seems to have worked a treat. Much appreciated. Whilst I'm here I was wondering if you had any advise regarding the best approach

Re: [osg-users] OSG on IPhone

2009-12-11 Thread Cedric Pinson
Hi Thomas, I dont know in which state is the 3ds max osg exporter. I use the osg exporter for blender, i maintain it and use it. Examples from osg-data comes from blender so it's a working path and the one i use. In futur there will be a collada that will support osgAnimation but not yet ready.