[osg-users] wrong lighting with scaled stl

2010-03-08 Thread Martin Großer
Hello, when I load a STL-file and I scale this geometry up, it is black and when I scale down it is white. It seems that is a problem with the lighting. Any ideas, what is my mistake? Cheers Martin ___ osg-users mailing list

Re: [osg-users] wrong lighting with scaled stl

2010-03-08 Thread J.P. Delport
Hi, your normals are being scaled with the geom. You can put something in the stateset to rescale normals. I think, but check it up, GL_NORMALISE will do, but you can also use GL_RESCALE_NORMALS if you are using same scaling for all axes. If you can't find osg code for this, ping the list

Re: [osg-users] wrong lighting with scaled stl

2010-03-08 Thread Martin Großer
Hello jp it works fine! Thank you. But when I load a osg-file, I don't have this problem. What is the reason? Cheers Martin Am 08.03.2010 09:23, schrieb J.P. Delport: Hi, your normals are being scaled with the geom. You can put something in the stateset to rescale normals. I think, but

Re: [osg-users] wrong lighting with scaled stl

2010-03-08 Thread J.P. Delport
Hi, Martin Großer wrote: Hello jp it works fine! Thank you. But when I load a osg-file, I don't have this problem. What is the reason? mmm, not sure... maybe the osg file has this in already or is doing lighting in a different way (e.g. textures with lighting disabled). jp Cheers

Re: [osg-users] RefactoringDatabasePagerNeedToRemovestringflaggingtechnique

2010-03-08 Thread Robert Osfield
On Fri, Mar 5, 2010 at 5:47 PM, Wojciech Lewandowski lewandow...@ai.com.plwrote: Hi Robert, Our testing shows that everything looks good now. We will be doing some more work on the sim next week and do more testing on this occasion. We will let you know in case something suspicious pop up.

Re: [osg-users] Could not find plugin on Mac OS X 10.6.2

2010-03-08 Thread Robert Osfield
Hi Tobias, The hand maintained XCode projects are deprecated, and I believe out of date at present. Please use CMake to generate the XCode projects. Robert. On Sat, Mar 6, 2010 at 12:46 PM, Tobias Duckworth t...@orogenic.net wrote: Hi, I am having the same problem and struggling to find a

Re: [osg-users] Textures on loaded models are flipped.

2010-03-08 Thread Robert Osfield
Hi Danny, It looks like you texture coordinates in your models are all up wrong to me. Robert. On Mon, Mar 8, 2010 at 12:50 AM, Danny Lesnik danny...@walla.co.il wrote: Hi, In some cases when I'm loading models with textures (jpeg or tga was tested so far), my textures are flipped

Re: [osg-users] osgMovie and the ImageStream Object

2010-03-08 Thread Robert Osfield
Hi Bruce, The movies plugins (ffmpeg/quicktime/xine) create ImageStream objects on the heap for reading the movies and start their own threads. They pass this ImageStream back via a ReadResult where a ref_ptr holds it, then the calling code takes charge of this either via the ReadResult or via

[osg-users] RedHat versions and ffmpeg version

2010-03-08 Thread Robert Osfield
Hi All, CDash is reporting errors with some changes I made to ffmpeg to fix the deprecated warnings: http://cdash.openscenegraph.org/viewBuildError.php?buildid=1557 The build error boils down to the RHEL 5.4's avcodec.h not containing the new ffmpeg method, but still having a version number

Re: [osg-users] OSGEXP building problem...

2010-03-08 Thread alessandro terenzi
Thanks Laurens, I've solved every building problems...beyond the one described earlier, I could not build because I needed the Platform SDK in order to compile OSGExp's resources. But although the preview works fine inside 3dsMax, exporting to files do not... 1) if I export to .OSG then the osg

Re: [osg-users] Could not find plugin on Mac OS X 10.6.2

2010-03-08 Thread Tobias Duckworth
Hello, Thankyou for your reply. I have tried building using the CMake system, following the instructions in the README.txt file - This fails on building the quicktime stuff as I'm trying to build for x86_64. Also, you state, and others state, that CMake should be used to build the XCode

Re: [osg-users] Could not find plugin on Mac OS X 10.6.2

2010-03-08 Thread Robert Osfield
Hi Tobias, On Mon, Mar 8, 2010 at 10:10 AM, Tobias Duckworth t...@orogenic.net wrote: Hello, Thankyou for your reply. I have tried building using the CMake system, following the instructions in the README.txt file - This fails on building the quicktime stuff as I'm trying to build for

Re: [osg-users] Could not find plugin on Mac OS X 10.6.2

2010-03-08 Thread Tobias Duckworth
Hello again, Thanks for your prompt response. Yes disabling Quicktime is fine for my purposes - However, from what I can work out the cleanest way to achieve this will be to get generated XCode projects, then I can pick and choose what gets built - I don't really want to hack the Makefiles

Re: [osg-users] Could not find plugin on Mac OS X 10.6.2

2010-03-08 Thread Nico Kruithof
Hi, I managed to get OSG compiling on OSX (Snow Leopard). From the top of my head, I'm using the imageio instead of quicktime. Then I had to specify the 10.6 platform in the main CMakeLists.txt and disable Quicktime. I planned to submit these changes, but didn't have time yet. I'll give it a go

Re: [osg-users] OSGEXP building problem...

2010-03-08 Thread Laurens Voerman
Hi Alessandro, I usually build the exporter with a static linked osg, so I have no recent experience with your problem. It seems to me that you might be missing a dependency for osgdb_ive.dll, as the osgdb_osg.dll is found and working I can't see any reason why the ive plugin would not be

Re: [osg-users] Could not find plugin on Mac OS X 10.6.2

2010-03-08 Thread Luigi Calori
Hi Tobias, I do not know at all OSG, the Cmake build is structured to search at configure time (cmake-gui or ccmake or cmake-Dpreset variable) the needed plugin dependencies and include plugin code if the dependencies is found. The search code for dependencies are either in

Re: [osg-users] Could not find plugin on Mac OS X 10.6.2

2010-03-08 Thread Jordi Torres
Hi Nico and Tobias, This topic have been discussed in this list several times. In order to compile osg for x86_64 you must disable Quicktime plugin and change the default plugin to imageio, and set the osg_windowing_system to Cocoa. Then you can compile with makefiles from a console, instead of

Re: [osg-users] Could not find plugin on Mac OS X 10.6.2

2010-03-08 Thread Tobias Duckworth
Hi Jordi, Thanks for your reply. I have already changed the windowing system to Cocoa, but had forgotten about the imageio bit - Many thanks. Are you able to provide a method to create the XCode projects from CMake as so many people are suggesting? Is this the current suggested method for

Re: [osg-users] Could not find plugin on Mac OS X 10.6.2

2010-03-08 Thread Jordi Torres
Hi Tobias, I come from unix world, so I rather to use the command-line. Sorry for the inconvenience. Regards. 2010/3/8 Tobias Duckworth t...@orogenic.net Hi Jordi, Thanks for your reply. I have already changed the windowing system to Cocoa, but had forgotten about the imageio bit - Many

Re: [osg-users] Could not find plugin on Mac OS X 10.6.2

2010-03-08 Thread Tobias Duckworth
Hi Jordi, I come from a Linux background and also prefer the command line - However I was under the impression (perhaps wrongly not having managed to build OSG from the command line yet) that the command line version would not generate the frameworks I need. ... Thank you! Cheers, Tobias

[osg-users] latest osg osgocean - hangs after a while running

2010-03-08 Thread Trajce (Nick) Nikolov
HI community, I am experiencing heap corruption with the latest osg osgocean after a while running, it just hangs in debug mode, in release heap corruption error happens. For you using osgocean, could you confirm the same case? Thanks -Nick ___

Re: [osg-users] Could not find plugin on Mac OS X 10.6.2

2010-03-08 Thread Nico Kruithof
Hi Jordi, I know for certain that the 10.6 framework was not specified in the root CMakeLists.txt, so I added that. I'll try to retrace my steps tomorrow. -- Nico On Mon, Mar 8, 2010 at 1:05 PM, Jordi Torres jtorresfa...@gmail.com wrote: Hi Nico and Tobias, This topic have been discussed in

Re: [osg-users] latest osg osgocean - hangs after a while running

2010-03-08 Thread Trajce (Nick) Nikolov
I did a bit of investigation, and when there are no oceanscene children, it doesnt crash. when I add children to the ocean scene, then it crashes -Nick On Mon, Mar 8, 2010 at 3:03 PM, Trajce (Nick) Nikolov nikolov.tra...@gmail.com wrote: HI community, I am experiencing heap corruption with

Re: [osg-users] [ANN] OSG Virtual Planets, the core of gvSIG3D.

2010-03-08 Thread María Ten
Hi Allen, We publish a guide to compile osgVP 2.2.0 on Windows. Notice that the first part of the guide is in Spanish, but there is a second part in English. Please follow the guide step by step, and report us if you get any problem with it. We are moving all the project and documentation to OSOR

Re: [osg-users] Shadows and negative renderbin?

2010-03-08 Thread Jean-Sébastien Guay
Hi all, I just wanted to mention for the sake of closing this thread, that the problem was caused by the shadows and the skydome both having a texgen state on the same texture unit. This caused two things I could observe: 1. No shadows at all when the skydome's renderbin was set to a

[osg-users] vpbmaster TiffOpen too many files open

2010-03-08 Thread maya leonard
Hello osgers I'm using vpbmaster and I get TiffOpen dem.tif: Too many open files. I tried using a small subset of images, but the joins don't match. Any suggestions on how to get around this error when using thousands of tifs? Thanks Maya

Re: [osg-users] vpbmaster TiffOpen too many files open

2010-03-08 Thread Robert Osfield
Hi Maya, On Mon, Mar 8, 2010 at 3:28 PM, maya leonard mayaleon...@hotmail.comwrote: I'm using vpbmaster and I get TiffOpen dem.tif: Too many open files. I tried using a small subset of images, but the joins don't match. Any suggestions on how to get around this error when using

Re: [osg-users] vpbmaster TiffOpen too many files open

2010-03-08 Thread Torben Dannhauer
Hi Robert, There is a mechanism to cap the number of open files? I haven't found this option despite my source code dive-in... @Threadstarter: On linux, I solved this issue with reconfiguring my ressources. in ubuntu: Code: sudo vim /etc/security/limits.conf # End of file your account name

Re: [osg-users] Vicon tracking

2010-03-08 Thread Jason Daly
ted morris wrote: yup, you will need to re-compute the proper frustum dynamically. To do that, you will need to know the position/orientation of sensor coordinate system is w.r.t. the 'window'. Ah, I missed the part about the stereo projector. Yes, you will need to adjust the projection

[osg-users] Problem with looping animation in .ive 3dmodel format

2010-03-08 Thread Adrian Szymanski
Hi, I created model in 3ds Max 2010 with animation and after exporting it to .ive format with OSGExp my animation is looping indefinitely. Is there any posibility to disable looping animation and play it only once in the scene? This is part of my source where i'm loading models: Code:

Re: [osg-users] OSGEXP building problem...

2010-03-08 Thread alessandro terenzi
Thank you Laurens, we managed to solve the problem...I was assuming that the ive plugin didn't depend on osg64-osgterrain.dll and osg64-osgvolume.dll (because the ive plugin that comes with osgExp 0.9.6 actually doesn't depends on them...) so I didn't put those DLLs in max directory. My fault. To

Re: [osg-users] vpbmaster TiffOpen too many files open

2010-03-08 Thread Robert Osfield
Hi Torben, On Mon, Mar 8, 2010 at 3:57 PM, Torben Dannhauer z...@saguaro-fight-club.de wrote: Hi Robert, There is a mechanism to cap the number of open files? I haven't found this option despite my source code dive-in... A quick grep reveals points me at

Re: [osg-users] export from Blender to OSG

2010-03-08 Thread Cedric Pinson
Hi Tim, Do you have still problem with the exporter ? Cheers, Cedric -- Provide OpenGL services around OpenSceneGraph and more +33 659 598 614 Cedric Pinson mailto:cedric.pin...@plopbyte.net http://www.plopbyte.net On Fri, 2010-03-05 at 12:19 +0100, Tim Moore wrote: On Fri, Mar 5, 2010

Re: [osg-users] GUIEventAdapter Returns Incomplete Data

2010-03-08 Thread Chris Innanen
Since this is an MFC project, I'm just going to grab the mouse position through that, and cobble it what what other information is available to get the job done. ~ Chris Innanen ~ Nonsanity -- Read this topic online here:

Re: [osg-users] OSGEXP building problem...

2010-03-08 Thread alessandro terenzi
By the way, I'd like to build OSGExp with static links to OSG, so I built OSG (and every plugin) statically, I switched to the Static configuration defined in the OSGExp solution but I'm getting lots of linking errors (most of them are related to already defined symbols among the OSGExp's projects

Re: [osg-users] vpbmaster TiffOpen too many files open

2010-03-08 Thread Torben Dannhauer
Hi, Life is so easy.. :D Seems I should improve my grep abilities ;) Thank you! Cheers, Torben -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=25359#25359 ___ osg-users mailing list

Re: [osg-users] latest osg osgocean - hangs after a while running

2010-03-08 Thread Kim Bale
Hi Nick, I'm on holiday this week so I'll take a look at this tomorrow. I must confess I haven't tried osgOcean with the latest version of osg so there may well be some conflict. Will know more tomorrow. Kim. On 8 March 2010 13:42, Trajce (Nick) Nikolov nikolov.tra...@gmail.com wrote: I did a

Re: [osg-users] latest osg osgocean - hangs after a while running

2010-03-08 Thread Trajce (Nick) Nikolov
oko .. sounds good. Thanks ! -Nick On Mon, Mar 8, 2010 at 9:23 PM, Kim Bale kcb...@googlemail.com wrote: Hi Nick, I'm on holiday this week so I'll take a look at this tomorrow. I must confess I haven't tried osgOcean with the latest version of osg so there may well be some conflict. Will

Re: [osg-users] vpbmaster TiffOpen too many files open

2010-03-08 Thread maya leonard
Hi Robert, I'm using vpbmaster version 0.9.10 I tried changing the ratio --write-threads-ratio and --read-threads-ratio to 0.5 and 0.1 but these values didn't help me. I see an email after my posting where you suggest: export VPB_MAXIMUM_NUM_OPEN_DATASETS=X Googling I found that my machine can

[osg-users] VPB Terrain Simplification Missing?

2010-03-08 Thread Mark Yantek
Masters of the Scenegraph, In the more recent versions of Virtual Planet Builder(0.9.11-trunk) terrain simplification stopped working for me. It seems VPB is functioning as if -no-terrain-simplification is always set. Was terrain simplification killed off or disabled? Thanks -Mark

[osg-users] libjasper with jpeg decoder for jp2 plugin

2010-03-08 Thread zhenlong li
Dear all, Does anybody has experience to build the libjasper.lib embedded with the jpeg library on windows, or has a file ready to go? I need it desperately to compile the jp2 plugin with JPEG decoder, but have not figure out how to build it specifically. Thanks! with best wishes Zhenlong

[osg-users] Trying to place a shape in 100 random positions?

2010-03-08 Thread Ernie Smethurst
I am trying to place 100 spheres in different positions of the the screen, i am attempting this by using a for loop that loops 100 times and each time generates random X, Y, Z values that I then use in the setPosition() method. What i have written compiles but when I run it I get an exception

Re: [osg-users] Trying to place a shape in 100 random positions?

2010-03-08 Thread Trajce (Nick) Nikolov
my_Trans[i] = new PositionAttitudeTransform; -Nick On Tue, Mar 9, 2010 at 6:41 AM, Ernie Smethurst lentles...@googlemail.comwrote: I am trying to place 100 spheres in different positions of the the screen, i am attempting this by using a for loop that loops 100 times and each time generates

Re: [osg-users] Trying to place a shape in 100 random positions?

2010-03-08 Thread Ernie Smethurst
Trajce (Nick) Nikolov my_Trans[i] = new PositionAttitudeTransform; Thanks so much, that did the trick. Can now successfully put 100 spheres into the scene in random positions, Thanks a lot! -- Read this topic online here: