[osg-users] [3rdparty] osgART Mac OS Lion

2012-03-16 Thread Erick Bazan
Hi, I'm trying to install osgART on Lion but I'm having problems with it, I'm already got OSG running on Lion thanks to someone on this forum and some other plug-ins: osgWorks, osgBullet. I think ARtoolkit is pretty old and drop support for newer versions of Mac, however I want to know if is

Re: [osg-users] [build] problem compiling osg 3.0.0 for Android

2012-03-16 Thread Bernd Kampl
Hi, Thank you for your Answer, it clears up some things. I got it to work. The problem was in linking to the standard library. Like you wrote: NDK r7 has a strange bug with the order of linking std libraries just add -lgnustl_static at the end and it will be solved. For anyone having the

Re: [osg-users] Segmentation fault in osgDB::readNodeFile()

2012-03-16 Thread Mark Green
Hi Sergey, The model works with osgviewer, and replacing the link to my model with a link to a model supplied with osg (cow.osg) gives the same segmentation fault. Cheers, Mark -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=46334#46334

Re: [osg-users] Incorrect volume image

2012-03-16 Thread Robert Osfield
Hi Clement, On 16 March 2012 03:13, clement@csiro.au wrote:     When I loaded an image with using osgvolume, it cannot show probably.  I found the error listed as http://www.openscenegraph.org/projects/osg/wiki/Community/Tasks/OpenGLConformance about GL_SGIS_generate_mipmap doesn't

Re: [osg-users] Segmentation fault in osgDB::readNodeFile()

2012-03-16 Thread Robert Osfield
Hi Mark, On 16 March 2012 08:53, Mark Green hlgamead...@hotmail.com wrote: The model works with osgviewer, and replacing the link to my model with a link to a model supplied with osg (cow.osg) gives the same segmentation fault. If you are using windows you'll need to make sure you aren't

Re: [osg-users] Segmentation fault in osgDB::readNodeFile()

2012-03-16 Thread Mark Green
Hi Robert, I'm working on linux, and with my limited experience on it I'm unaware how to obtain said stacktrace (Visual Studio has been too awesome on windows). Meanwhile however I've stripped the entire program down to the bare minimum to see if there were any influences from other code, and

Re: [osg-users] Segmentation fault in osgDB::readNodeFile()

2012-03-16 Thread Sergey Polischuk
Hi, Mark This is probably building\linking issue. Either you build with includes from one osg version and linking to other, or something along these lines Check if you are building with includes from same osg version as you linking to, and running with same libs, you linking with(you can get

Re: [osg-users] Texture repeats and overlaps when I don't want it to

2012-03-16 Thread Sergey Polischuk
Hi output looks ok to me, have no idea what's wrong 16.03.2012, 04:48, Zachary Hilbun osgfo...@tevs.eu: Hi, This is a dump of how I do the mapping.  I am mapping a square texture to a circle. texcoords-push_back (osg::Vec2 (x, y)); Map vertex 1, 0 to texture 1, 0.5 Map vertex 0.998027,

Re: [osg-users] Segmentation fault in osgDB::readNodeFile()

2012-03-16 Thread Mark Green
Ah this looks like it might be it, using that ldd command shows that libosgDB.so.65 = /usr/local/lib/libosgDB.so.65 (0xb7c21000) is being build, while the execution shows that /usr/local/lib/osgPlugins-2.8.3/osgdb_osg.so is being found. The Makefile which was created/generated by someone

Re: [osg-users] Segmentation fault in osgDB::readNodeFile()

2012-03-16 Thread Robert Osfield
Hi Mark, On 16 March 2012 10:13, Mark Green hlgamead...@hotmail.com wrote: Ah this looks like it might be it, using that ldd command shows that libosgDB.so.65 = /usr/local/lib/libosgDB.so.65 (0xb7c21000) is being build, while the execution shows that

Re: [osg-users] Segmentation fault in osgDB::readNodeFile()

2012-03-16 Thread Mark Green
Hi Robert, According to my employers OSG had never been installed on that particular machine before installing 2.8.3. However, the program was originally written for 1.2.0 on another computer and it and its Makefile have been directly copied to the new machine (where I would have to update the

Re: [osg-users] Segmentation fault in osgDB::readNodeFile()

2012-03-16 Thread Robert Osfield
Hi Mark, On 16 March 2012 10:56, Mark Green hlgamead...@hotmail.com wrote: Hi Robert, According to my employers OSG had never been installed on that particular machine before installing 2.8.3. However, the program was originally written for 1.2.0 on another computer and it and its Makefile

Re: [osg-users] Segmentation fault in osgDB::readNodeFile()

2012-03-16 Thread Mark Green
robertosfield wrote: Porting from osgProducer::Viewer to osgViewer::Viewer shouldn't be too difficult, it all depends upon how much code your application used Producer directly. That's good to hear, I've seen some parts that weren't immediatly obvious but I'm sure it'll be manageable

Re: [osg-users] Segmentation fault in osgDB::readNodeFile()

2012-03-16 Thread Robert Osfield
Hi Mark, On 16 March 2012 12:37, Mark Green hlgamead...@hotmail.com wrote: That's good to hear, I've seen some parts that weren't immediatly obvious but I'm sure it'll be manageable then. Most of it was reconstructable with seemingly the same functionality and it ended up compiling without

[osg-users] Nodes in osg::Group affect each other state.

2012-03-16 Thread Eldar Insafutdinov
Hi all, I am new to OSG, so maybe my question is silly, but I'm trying to apply some little knowledge on how scene graphs should work here. I've managed to reduce the problem I have to a reasonably sized testcase which I attached to the post. I have two nodes there: a quad with a texture

Re: [osg-users] GL_STENCIL_TEST in draw implementation callback

2012-03-16 Thread Doug Domke
Clearing the modelview and projection matrices helped a great deal. Thanks hybr! It now works as intended ... up to a point that is difficult to explain. I get the digital zoom effect until about 13x. At that point, the video suddenly starts translating instead of zooming. And instead of

[osg-users] [osgPlugins] TerraPage plugin for Geocentric terrains, terrapage 2.3?

2012-03-16 Thread Nico Bocio
Hi, Does anyone know if the actual terrapage plugin support geocentric terrains of terrapage 2.3 version? Thank you! Cheers, Nico -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=46350#46350 ___

Re: [osg-users] Incorrect volume image

2012-03-16 Thread Clement.Chu
Hi Robert, Last time I got the problem is related to hardware, so texture3D is not supported by the graphic card. Now I tested on other machines. I ran the testing code and there is no any error message on console, but the display image is not correct. The image problem is same as the

Re: [osg-users] GL_STENCIL_TEST in draw implementation callback

2012-03-16 Thread Doug Domke
UGH! I just found that I was mistaken about the video growing properly without the stencil. It actually doesn't. Once its viewport exceeds a certain size, it no longer renders as expected. I think I've come as far as I can here. Thanks anyway. Doug -- Read this topic online

[osg-users] [ANN] iOS Developer with OSG experience needed!

2012-03-16 Thread Guy DeRosa
Hello dear OSG-community, Hi all, I don't mean to tread on toes, perhaps this will be of interest to one of you, or someone you know. I'm finding it very hard to find a candidate with OSG knowledge! Job spec below: iOS Developer Our client, based in Central London is urgently looking for a

[osg-users] [build] [Tutorial] Building osgAndroidExampleGLES1/2 on Ubuntu 11.10

2012-03-16 Thread Bernd Kampl
I decided to write a very easy step-for-step tutorial on how to build OSG for Android. I'm going to share it here. Corrections are of course welcome. This Tutorial is to show how to compile OpenSceneGraph for Android and how to build the Example Application osgViewer on Ubuntu 11.10. It is

Re: [osg-users] Incorrect volume image

2012-03-16 Thread Robert Osfield
Hi Clement, On 16 March 2012 14:38, clement@csiro.au wrote:   Last time I got the problem is related to hardware, so texture3D is not supported by the graphic card.  Now I tested on other machines. It's still crappy Intel graphics graphics. You absolutely should expect crappy results

Re: [osg-users] [ANN] iOS Developer with OSG experience needed!

2012-03-16 Thread Chris Hanson
Our client, based in Central London is urgently looking for a skilled iOS Developer to assist in a project currently set to last for a month. A relatively new, yet established and exciting Digital Agency, there are big opportunities for extended work. You don't really say whether you're

Re: [osg-users] Frame Rate Decay w/ SilverLining Integration

2012-03-16 Thread Christiansen, Brad
Hi, Thanks for the response. I have a little more details of the problem but am still completely stumped. This is my test: Start my application and leave it running for a while. Frame rate, memory use etc all stable. Enable silverlinng. As reported by gDebugger, after the initial expected

Re: [osg-users] Frame Rate Decay w/ SilverLining Integration

2012-03-16 Thread Wojciech Lewandowski
Hi, Brad, We have SilverLining source code license. I may find few hours in next week to look at the problem, if the issue can be reproduced on one of my machines (ie Nvidia GF580/GF9400 or GF540M). I would like to have as much info as possible to replicate the issue, though. I would like to

[osg-users] osgDB::Options osgviewer

2012-03-16 Thread Paul Leopard
Is there any way to set the options for plugins (osgDB::Options) when using osgviewer? Thanks, Paul -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=46363#46363 ___ osg-users mailing list

Re: [osg-users] osgDB::Options osgviewer

2012-03-16 Thread Farshid Lashkari
Hi Paul, Have you tried the following: osgDB::Registry::instance()-setOptions(options); This should set the global default options. Cheers, Farshid On Fri, Mar 16, 2012 at 11:41 AM, Paul Leopard paul.leop...@gmail.comwrote: Is there any way to set the options for plugins (osgDB::Options)

Re: [osg-users] osgDB::Options osgviewer

2012-03-16 Thread Chris Hanson
And you can set them on the command-line with -O: -O option_stringProvide an option string to reader/writers used to load databases -- Chris 'Xenon' Hanson, omo sanza lettere. xe...@alphapixel.com http://www.alphapixel.com/ Training • Consulting • Contracting 3D • Scene Graphs (Open Scene

Re: [osg-users] osgDB::Options osgviewer

2012-03-16 Thread Paul Leopard
Chris Hanson wrote:   And you can set them on the command-line with -O: -O option_string Provide an option string to reader/writers used to load databases That's exactly what I'm looking for, a way to specify options from the command line. Thanks so much ... I searched and searched

[osg-users] Maintaining a reference to an osg node outside of osg

2012-03-16 Thread Preet
Hiya, Typically I use osg::ref_ptr to let osg handle reference counting. Right now I'm trying to create a 'rendering engine' for another library with osg. The idea for the other library is to maintain an API that allows different rendering engines -- osg, ogre, vtk, etc. The other library has

Re: [osg-users] Texture repeats and overlaps when I don't want it to

2012-03-16 Thread Zachary Hilbun
Hi, What I have found on this is that if I use a different PNG, the problem goes away. The only differences I know of between the 2 images is that the iamge that repeatedly partially overlaps itself is larger and has a transparent background. Any ideas on why the different PNG image makes it

[osg-users] Problems rendering to and capturing/readin GL_RGBA16

2012-03-16 Thread Chris Hanson
A specialized tool I'm working on needs to have a 16-bit Alpha channel for post-render analysis. I render to a screen-sized texture (1920x1080 NPOT) and then read it back to the CPU side and assess the values. I originally developed it with 8-bit per gun RGBA (32-bit total) where it works

Re: [osg-users] Maintaining a reference to an osg node outside of osg

2012-03-16 Thread Chris Hanson
I'd be very grateful if someone could verify the above logic. If I'm in the wrong here, I'd appreciate any advice pointing me in the right direction. You should be able to do that (and you could probably use RTTI features to figure out what the OSG type/class mystery pointer was pointing

Re: [osg-users] Frame Rate Decay w/ SilverLining Integration

2012-03-16 Thread Christiansen, Brad
Hi Woktej, Thanks for you offer to help out, but I have managed to track it down enough to have a good enough solution for now. For anyone else who stumbles across this issue, my work around is to disable VBOs in silverlining. If I did this by using the SILVERLINING_NO_VBO environment

Re: [osg-users] Maintaining a reference to an osg node outside of osg

2012-03-16 Thread John Kaniarz
What you're trying to do is the PIMPL design pattern. I'll leave the details to Google :) You may also want to brush up on the Factory design pattern for generating your opaque handles. In a direct answer to your question, no you can't use a void* to store a ref_ptr (without some trickery).

Re: [osg-users] Maintaining a reference to an osg node outside of osg

2012-03-16 Thread Preet
Hi, On Fri, Mar 16, 2012 at 4:43 PM, John Kaniarz john.kani...@us.army.mil wrote: What you're trying to do is the PIMPL design pattern.  I'll leave the details to Google :) You may also want to brush up on the Factory design pattern for generating your opaque handles. In a direct answer

Re: [osg-users] Texture repeats and overlaps when I don't want it to

2012-03-16 Thread Zachary Hilbun
Hi, This turned out to be a problem with the image itself rather than my code. On most PNG viewers, it looks like a normal image. When I viewed it using Internet Explorer, it overlaps itself the same way it does on my texturing. I got this image from my client so I don't know how it was

[osg-users] Question with offscreen rendering.

2012-03-16 Thread Paul Griffiths
Hi, These are the steps I would like to produce. 1. Have multiple nodes(well call these nodes 'roots') 2. Each 'root' and it's tree renders to it's own off-screen buffer. 3. Have a few 2d triangles(black) rendered in 2d space over the top. 4. Where ever there is black convert the area to