Re: [osg-users] Heightfield allocation fails

2009-12-29 Thread Ralph Kern
Hi Isabelle, are you working under Windows or Linux or Mac? if you are working under Windows, take care of linking with the right set of libraries. If you are compiling with debugging info on, you must link against the debug runtime libraries and use the debug versions of the OSG libs and

Re: [osg-users] HUD-Problem

2009-12-29 Thread Carl Johnson
Hi, does no one has an idea? I realy dont know what i did wrong! Thank you! Cheers, Carl -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=21905#21905 ___ osg-users mailing list

Re: [osg-users] HUD-Problem

2009-12-29 Thread selman duatepe
Hi, set HUD_Text position z value 0.0 HUD_Text-setPosition( osg::Vec3( 30.0, 30.0, 0.0 ) ); On Tue, Dec 29, 2009 at 11:38 AM, Carl Johnson uto...@gmx.net wrote: Hi, does no one has an idea? I realy dont know what i did wrong! Thank you! Cheers, Carl -- Read this

Re: [osg-users] HUD-Problem

2009-12-29 Thread Carl Johnson
Hi, thanks for your answer. i changed the z value to 0 and the HUD_Transform-setReferenceFrame( osg::Transform::ABSOLUTE_RF ); but there i no HUD with Text Thank you! Cheers, Carl -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=21907#21907

[osg-users] particles

2009-12-29 Thread Guy
Hi all, I was wondering what are the criteria to decide upon using display lists or just openGL instruction. Particularly why the rendering of the particles in the osgParticle::Particle::render is done by openGL instructions and not display list or something more efficient. If the reason is

[osg-users] osgShadow ECEF precision problems

2009-12-29 Thread Marius Heise
Hi! I have been using osgShadow::LightSpacePerspectiveShadowMapVB very successfully in previous osg projects. I am currently making the transition from a local XYZ to a whole earth ECEF database. In general the shadow still works correctly, but jumps around by about a meter or two when my

[osg-users] WindowManager and setHomePosition

2009-12-29 Thread Wagner Dias
Hi, I did an application that you can move around an object using mouse or joystick. Then I change it for using WindowManager but the command viewer-setHomePosition doesn't work anymore. Can anybody help me? Thank you! Cheers, Wagner -- Read this topic online here:

Re: [osg-users] HUD-Problem

2009-12-29 Thread Carl Johnson
Hi, it is unbelievable that nobody can help. [Question] http://www.openscenegraph.org/projects/osg/wiki/Support/Tutorials/HudsAndText This tutorial dont work :- It looks like so easy and plausible, so i can not understand what i do wrong. Thank you! Cheers, Carl -- Read

Re: [osg-users] osgShadow ECEF precision problems

2009-12-29 Thread Wojciech Lewandowski
Hi Marius, I am not sure what ECEF acronym means. I guess its WGS84 eliposoid coordinate system with origin in ellipsoid center. We are using LispSM with VPB generated terrain. Do you use setModellingSpaceToWorldTransform method ? It should be helpful in your work. See example of usage and

Re: [osg-users] HUD-Problem

2009-12-29 Thread Trajce Nikolov
dont panic :)) here is your code modfied and working osg::ref_ptrosg::Group CreateHUD() { osg::ref_ptrosg::Group Root( new osg::Group ); // HUD osg::ref_ptrosgText::Text HUD_Text( new osgText::Text ); HUD_Text-setCharacterSize( 25 ); HUD_Text-setFont( fonts/arial.ttf ); HUD_Text-setText( Not

Re: [osg-users] osgShadow ECEF precision problems

2009-12-29 Thread Marius Heise
Hi Wojtek, thanks for your reply. Sorry for the ECEF (earth-centered-earth-fixed) acronym. Basically we are talking about the same thing. A quick update. I activated setDebugDraw() and both the geometry bounding volume and light volume were jumping. I just noticed and undefined the

Re: [osg-users] HUD-Problem

2009-12-29 Thread Ümit Uzun
Hi Carl, Please download http://www.openscenegraph.org/projects/osg/attachment/wiki/Support/Tutorials/NPS_Tutorials_src.rarand test Tutorial_06 which is given link osgHud in OSG website by you. I have already tried and it is working pretty good. I think your problem was that you didn't control

[osg-users] osgOcean Sky problem

2009-12-29 Thread Andrew Xie
Hi, i am new to graphics programming.I used osgOcean's skydome in my project ,it works very well.But now i want to transparency the skydome ,how to do that?Any suggestions are greatly appreciated Thank you! Cheers, Andrewxie -- Read this topic online here:

Re: [osg-users] osgOcean Sky problem

2009-12-29 Thread Trajce Nikolov
Hi Andrew, get the stateset of the skydome and: apply transparent osg::Material; apply Blend set the renderbin to Transparent Nick http://www.linkedin.com/in/tnick Sent from Devlet, Ankara, Turkey On Thu, Oct 29, 2009 at 10:51 AM, Andrew Xie rongyao...@163.com wrote: Hi, i am new to

Re: [osg-users] osgShadow ECEF precision problems

2009-12-29 Thread Marius Heise
Hi Wojtek, I have done various tests with the osgShadow demo. All three versions of the LightSpacePerspectiveShadowMap (VB/CB/DB) have the same precision problem even if setModellingSpaceToWorldTransform() is used. I did the following to reproduce: Simulate a large database by changing

Re: [osg-users] osgShadow ECEF precision problems

2009-12-29 Thread Wojciech Lewandowski
Hi Marius, When I do this I see empty blue screen. No model displayed. Looks like camera is positioned far from the model. Perhaps you have done more modifications ? Wojtek - Original Message - From: Marius Heise mhe...@heise-network.com To: osg-users@lists.openscenegraph.org

Re: [osg-users] HUD-Problem

2009-12-29 Thread Carl Johnson
Hi, I will give up. I dont get the HUD. Thank you all for your answers but it dont work on my machine and all others i tryed. Cheers, Carl -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=21921#21921

Re: [osg-users] osgShadow ECEF precision problems

2009-12-29 Thread Marius Heise
Hi Wojtek, sorry.. press '1' and then SPACE ... the camera home position is then calculated automatically to fit the model into the view. This is all caused because the model is so far away. Good luck :-) Cheers, Marius -- Read this topic online here:

Re: [osg-users] osgShadow ECEF precision problems

2009-12-29 Thread Wojciech Lewandowski
Marius, We must have been using different OSG versions. 1 , SPACE seems to not work on my trunk code. I solved this by setting home postion manually. I was able replicate your problem but unfortunately have no more time to spare now and any aditional hints do not cross my mind at the moment.

Re: [osg-users] Coordinate system in all readerwriters

2009-12-29 Thread Paul Martz
Sukender wrote: What I like with you is that your answers are clear! Ha! The only thing that bothers me is: should write( read(A) ) == A? As far as I'm concerned, I would answer yes. And you? Yes, for the coordinate system, definitely. This is not the case when reading FBX and writing,

Re: [osg-users] Heightfield allocation fails

2009-12-29 Thread Isabelle Gouwy
Hi, I'm working under linux, and I'm using qmake to generate the makefile. Maybe it comes from my .pro file because I've tried to comment all the code in my project, except for the heightfield creation and it doesn't work either : I've put my code in main function and commented the rest of my

Re: [osg-users] HUD-Problem

2009-12-29 Thread Carl Johnson
Hi, yes I tryed the code, but I dont know why it work with you and not with me. Thank you! Cheers, Carl -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=21927#21927 ___ osg-users mailing list

Re: [osg-users] HUD-Problem

2009-12-29 Thread Trajce Nikolov
can you post the project file you are using? Nick http://www.linkedin.com/in/tnick Sent from Ünalan, İstanbul, Turkey On Tue, Dec 29, 2009 at 7:24 PM, Carl Johnson uto...@gmx.net wrote: Hi, yes I tryed the code, but I dont know why it work with you and not with me. Thank you! Cheers,

Re: [osg-users] HUD-Problem

2009-12-29 Thread Carl Johnson
Hi, k i can. you have to rename it because vcproj attachments not allowed. Thank you! Cheers, Carl -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=21929#21929 ?xml version=1.0 encoding=Windows-1252? VisualStudioProject

Re: [osg-users] HUD-Problem

2009-12-29 Thread Trajce Nikolov
huh .. I made it work .. all looks good ... send a snapshot what you are getting Nick http://www.linkedin.com/in/tnick Sent from Ünalan, İstanbul, Turkey On Tue, Dec 29, 2009 at 7:39 PM, Carl Johnson uto...@gmx.net wrote: Hi, k i can. you have to rename it because vcproj attachments not

Re: [osg-users] HUD-Problem

2009-12-29 Thread Carl Johnson
Hi, and here is my cpp file. Thank you! Cheers, Carl -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=21931#21931 /**\ * HUD

Re: [osg-users] HUD-Problem

2009-12-29 Thread Carl Johnson
Hi, without the line HUD_Camera-setRenderOrder( osg::Camera::NESTED_RENDER ); I get only the blue backgroundcolor and with an error. Thank you! Cheers, Carl -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=21932#21932

Re: [osg-users] Coordinate system in all readerwriters

2009-12-29 Thread Paul Martz
Paul Martz wrote: I've noticed the same thing with OBJ. A little digging reveals that the OBJ plugin has a noRotation Option that disables the x axis rotation. The rotation is only done on file load, not on file write. Rotation about x is on by default. I'd suggest a change to off by

Re: [osg-users] HUD-Problem

2009-12-29 Thread Trajce Nikolov
ok .. I got it. The HUD text is there but is black (for example, if you dont attach the polygon to the scene graph you will be able to see the text but in black) uncomment //HUD_Geode-setStateSet( HUD_StateSet.get() ); and do HUD_StateSet-setMode( GL_LIGHTING, osg::StateAttribute::OFF );

Re: [osg-users] HUD-Problem

2009-12-29 Thread Carl Johnson
Hi, very strange! Thank you! Cheers, Carl -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=21934#21934 ___ osg-users mailing list osg-users@lists.openscenegraph.org

Re: [osg-users] HUD-Problem

2009-12-29 Thread Trajce Nikolov
uh .. that was from my testing. Replace NESTED_RENDER with POST_RENDER Nick http://www.linkedin.com/in/tnick Sent from Ünalan, İstanbul, Turkey On Tue, Dec 29, 2009 at 7:51 PM, Carl Johnson uto...@gmx.net wrote: Hi, without the line HUD_Camera-setRenderOrder( osg::Camera::NESTED_RENDER ); I

Re: [osg-users] HUD-Problem

2009-12-29 Thread Trajce Nikolov
here is the code Nick http://www.linkedin.com/in/tnick Sent from Ünalan, İstanbul, Turkey On Tue, Dec 29, 2009 at 7:58 PM, Trajce Nikolov nikolov.tra...@gmail.comwrote: uh .. that was from my testing. Replace NESTED_RENDER with POST_RENDER Nick http://www.linkedin.com/in/tnick Sent from

Re: [osg-users] HUD-Problem

2009-12-29 Thread Trajce Nikolov
is it working now? Nick http://www.linkedin.com/in/tnick Sent from Ünalan, İstanbul, Turkey On Tue, Dec 29, 2009 at 7:58 PM, Carl Johnson uto...@gmx.net wrote: Hi, very strange! Thank you! Cheers, Carl -- Read this topic online here:

Re: [osg-users] HUD-Problem

2009-12-29 Thread Carl Johnson
Hi, no i get an access violation error. Thank you! Cheers, Carl -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=21939#21939 ___ osg-users mailing list osg-users@lists.openscenegraph.org

Re: [osg-users] HUD-Problem

2009-12-29 Thread Carl Johnson
Hi, I will try it on my laptop now. Thank you! Cheers, Carl -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=21940#21940 ___ osg-users mailing list osg-users@lists.openscenegraph.org

Re: [osg-users] HUD-Problem

2009-12-29 Thread Trajce Nikolov
then must be the osg version you are using, try the latest from the svn: http://www.openscenegraph.org/projects/osg/wiki/Downloads/SVN get it from here. you will then need to download the thirdth party libs from here: https://osgtoy.svn.sourceforge.net/svnroot/osgtoy/3rdParty

Re: [osg-users] HUD-Problem

2009-12-29 Thread Carl Johnson
Hi, dont work on my laptop too. Thank you! Cheers, Carl -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=21941#21941 ___ osg-users mailing list osg-users@lists.openscenegraph.org

Re: [osg-users] HUD-Problem

2009-12-29 Thread Carl Johnson
Hi, ok thanks I will try it. Thank you! Cheers, Carl -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=21944#21944 ___ osg-users mailing list osg-users@lists.openscenegraph.org

[osg-users] Need OSG BOF organizer

2009-12-29 Thread Paul Martz
Hi all -- I'm repeating my plea. Both Mike Weiblen and myself would like to step down as BOF organizer for this year's SIGGRAPH. We need someone from the OSG community to step forward and organize this event. Can someone please take this on? If no one steps up for this, there will be no OSG

Re: [osg-users] HUD-Problem

2009-12-29 Thread Carl Johnson
Hi, YEAH now it works. Thanks a lot for your help. But now please tell me the different between the developer release and the binary release !? why does the developer release works and the other release not? Thanks a lot again! Cheers, Carl -- Read this topic online here:

Re: [osg-users] Need OSG BOF organizer

2009-12-29 Thread Wang Rui
Hi Paul, I'd like to help, based on the premise that all the organizational matters could be done in internet. :) Wang Rui 2009/12/30 Paul Martz pma...@skew-matrix.com: Hi all -- I'm repeating my plea. Both Mike Weiblen and myself would like to step down as BOF organizer for this year's

Re: [osg-users] Need OSG BOF organizer

2009-12-29 Thread Paul Martz
Thanks, Wang Rui. Yes, everything can be done by Internet. With SIGGRAPH in Las Angeles this year instead of New Orleans, your flight from China will be just a few hours shorter. :-) I haven't checked the SIGGRAPH web site to see if BOF registration is possible yet. I know the deadline is

[osg-users] [3rdparty] OSG Volume / FixedFunctionTechnique

2009-12-29 Thread Thomas Canipel
Hi, I would like to know what is the difference between the RayTracedTechnique and the FixedFuntionTechnique, apparently in the second there is no shader, this function correspond to a raycasting technique ?, so in this technique we can only play with the Alpha property to modify the display .

Re: [osg-users] HUD-Problem

2009-12-29 Thread Trajce Nikolov
Hi Carl, good you made it work!!! I dont know the details of the bin release you are using. It is a good practice to work with the latest code from the svn repository since improvements and bug fixes are done all the time. Cheers, Nick http://www.linkedin.com/in/tnick Sent from Ünalan,

Re: [osg-users] HUD-Problem

2009-12-29 Thread Guy
Maybe you had problems with the font loading dlls and when you compiled the code the binaries matched and the dll could load properly... I had similar problem once and required to compile many 3rd party dlls from scratch in order to make them work. But this is only a guess... Guy.