Re: [Flightgear-devel] Further 3D Clouds updates
Frederic Bouvier wrote: > Stuart Buchanan a écrit : > > Hi All, > > > > Attached is a small patch for 3D clouds. > > > > It provide the following: > > 1) Proper spherical distribution of sprites (previously they were > > distributed > cylindrically - whoops) > > 2) Better shading, so the bottom of the cloud is darker than the top. > > 3) Fixed a couple of texture sizing bugs. > > > > I don't think any of these are controversial, so if someone would commit > > it, > I'd be grateful. > > > > I applied your patch. I noticed this message being repeated endlessly > when clouds are activated : > > Warning: detected OpenGL error 'valeur non valide' after RenderBin::draw(,) Fixed in the patch below. For some reason the shader didn't like index 16 being used... The patch also fixes the chequer-board effect that was causing very sparse cloud cover. I've still to work out why the Fair Weather scenario isn't displaying clouds consistently. -Stuart Index: CloudShaderGeometry.hxx === RCS file: /var/cvs/SimGear-0.3/source/simgear/scene/sky/CloudShaderGeometry.hxx,v retrieving revision 1.3 diff -u -p -r1.3 CloudShaderGeometry.hxx --- CloudShaderGeometry.hxx23 Nov 2008 12:14:57 -1.3 +++ CloudShaderGeometry.hxx24 Nov 2008 01:19:56 - @@ -42,12 +42,12 @@ class CloudShaderGeometry : public osg:: { public: +const static unsigned int CLOUD_HEIGHT = 10; const static unsigned int TEXTURE_INDEX_X = 11; const static unsigned int TEXTURE_INDEX_Y = 12; const static unsigned int WIDTH = 13; const static unsigned int HEIGHT = 14; const static unsigned int SHADE = 15; -const static unsigned int CLOUD_HEIGHT = 16; CloudShaderGeometry() { Index: cloudfield.cxx === RCS file: /var/cvs/SimGear-0.3/source/simgear/scene/sky/cloudfield.cxx,v retrieving revision 1.22 diff -u -p -r1.22 cloudfield.cxx --- cloudfield.cxx23 Nov 2008 12:14:56 -1.22 +++ cloudfield.cxx24 Nov 2008 01:19:56 - @@ -157,14 +157,16 @@ SGCloudField::SGCloudField() : } } +int leafs = QUADTREE_SIZE / BRANCH_SIZE; + for (int x = 0; x < QUADTREE_SIZE; x++) { for (int y = 0; y < QUADTREE_SIZE; y++) { field_group[x][y]= new osg::Switch; field_group[x][y]->setName("3D cloud group"); // Work out where to put this node in the quad tree -int i = (int) (BRANCH_SIZE * ((float) x) / ((float) QUADTREE_SIZE)); -int j = (int) (BRANCH_SIZE * ((float) y) / ((float) QUADTREE_SIZE)); +int i = x / leafs; +int j = y / leafs; quad[i][j]->addChild(field_group[x][y].get(), 0.0f, 2.0f); } } - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] Further 3D Clouds updates
Frederic Bouvier wrote: > I applied your patch. I noticed this message being repeated endlessly > when clouds are activated : > > Warning: detected OpenGL error 'valeur non valide' after RenderBin::draw(,) I'm not sure what is going on here. I'm seeing the same warning, but I haven't yet managed to track it down. > I also noticed that even in the Thunderstorm scenario, the cloud > coverage is very sparse. Maybe the message tells us it doesn't draw > every cloud instance. Possibly, though there is an existing bug that not all cloud tiles are being drawn. > In fair weather, I have no clouds ( my cloud > density is set at 100% in the rendering options ) This is a new bug, but I don't think it has been introduced by the patch. Still working on it :) -Stuart - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] screen.window size of font
On dimanche 23 novembre 2008, Csaba Halász wrote: > On Sun, Nov 23, 2008 at 11:17 PM, gerard robin <[EMAIL PROTECTED]> wrote: > > Hello, > > Nasal screen.window, and MP message > > How can we modify the size of font ? > > With a high Format screen (1920X1440) , without glasses it is very > > difficult to read the messages. > > Set /sim/gui/style[1]/fonts/message-display/name > No idea about the nasal console. Thanks, with TIMES_24 it is great .Now, i am not blind :) I can notice that It is valuable for any messages MP or specific to the aircraft coming from Nasal script :) Cheers -- Gérard http://pagesperso-orange.fr/GRTux/ J'ai décidé d'être heureux parce que c'est bon pour la santé. Voltaire - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] screen.window size of font
On Sun, Nov 23, 2008 at 11:17 PM, gerard robin <[EMAIL PROTECTED]> wrote: > Hello, > Nasal screen.window, and MP message > How can we modify the size of font ? > With a high Format screen (1920X1440) , without glasses it is very difficult > to read the messages. Set /sim/gui/style[1]/fonts/message-display/name No idea about the nasal console. -- Csaba/Jester - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
[Flightgear-devel] screen.window size of font
Hello, Nasal screen.window, and MP message How can we modify the size of font ? With a high Format screen (1920X1440) , without glasses it is very difficult to read the messages. Regards -- Gérard http://pagesperso-orange.fr/GRTux/ J'ai décidé d'être heureux parce que c'est bon pour la santé. Voltaire - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] Further 3D Clouds updates
Hi Stuart, Stuart Buchanan a écrit : > Hi All, > > Attached is a small patch for 3D clouds. > > It provide the following: > 1) Proper spherical distribution of sprites (previously they were distributed > cylindrically - whoops) > 2) Better shading, so the bottom of the cloud is darker than the top. > 3) Fixed a couple of texture sizing bugs. > > I don't think any of these are controversial, so if someone would commit it, > I'd be grateful. > I applied your patch. I noticed this message being repeated endlessly when clouds are activated : Warning: detected OpenGL error 'valeur non valide' after RenderBin::draw(,) I also noticed that even in the Thunderstorm scenario, the cloud coverage is very sparse. Maybe the message tells us it doesn't draw every cloud instance. In fair weather, I have no clouds ( my cloud density is set at 100% in the rendering options ) -Fred -- Frédéric Bouvier http://my.fotolia.com/frfoto/ Photo gallery http://fgsd.sourceforge.net/FlightGear Scenery Designer - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
[Flightgear-devel] Memory corruption in Nasal with MSVC
Hi Andy, I get memory corruption caused by writing outside an malloc'ated memory bloc. I tracked the problem down to the recsize() function ( in hash.c ) computing a memory size that is not enough for subsequent initialization in resize() ( also in hash.c ). I think the problem lies in the fact that the TAB macro expect the HashRec object to be aligned in memory on the size of a naRef, which is 8 here. But the HashRec structure only contains pointers that are 4 bytes long. So here the address of a HashRec is a multiple of 4, and may be sometimes a multiple of 8 ( sizeof(naRef) ), but not always. As recsize use a local variable that is not the one being initialized, the two variables may trigger different ROUNDUPOFF result here, and then the overwrite of an invalid memory position at line 116 of hash.c. In debug mode, the included memory debugger triggers an exception that stops the program. In release mode, the overwrite is silent but may corrupt memory allocation structure. I hope I was clear enough Regards, -Fred -- Frédéric Bouvier http://my.fotolia.com/frfoto/ Photo gallery http://fgsd.sourceforge.net/FlightGear Scenery Designer - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] problem with Seneca engine from cvs
> Hi, I am Francesco > > I have found a problem with the Seneca engine settings from the cvs > version. > > I have posted the description of the problem in the fgfs forum here: > http://www.flightgear.org/forums/viewtopic.php?f=2&t=2508&sid=f4ab973323246 >e8ed81af91ade8c1ec0&p=21779#p21602 > > Other 2 people found this problem too. > I am writing here since jentron told me to so. > > Seneca from stable version of fgfs is not effected at all. > > Hope I can provide further information, just ask me. > > Bye Hi Francesco Thanks for the report. The piston engine model in JSBSim had some modifications recently and I know that an improvment for the supercharger code is currently being worked on. I will have a look into it and see if I can find anything. Thanks, Torsten - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
[Flightgear-devel] problem with Seneca engine from cvs
Hi, I am Francesco I have found a problem with the Seneca engine settings from the cvs version. I have posted the description of the problem in the fgfs forum here: http://www.flightgear.org/forums/viewtopic.php?f=2&t=2508&sid=f4ab973323246e8ed81af91ade8c1ec0&p=21779#p21602 Other 2 people found this problem too. I am writing here since jentron told me to so. Seneca from stable version of fgfs is not effected at all. Hope I can provide further information, just ask me. Bye -- Brisa Francesco Via Gabelli 16 22077 Olgiate Comasco (CO) http://brisa.homelinux.net [EMAIL PROTECTED] __ / / / / /___ ___ / / __/ / __ / / / __ \/ __ `__ \/ __ \ / /_/ / /___ /_/ / /___/ /_/ / / / / / / /_/ / \/_/\/\/_/ /_/ /_/\/ http://www.gl-como.it My public gpg key: http://minsky.surfnet.nl:11371/pks/lookup?op=get&search=0xC67DC12DC4361693 - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] Another person selling FlightGear under dubious pretenses
On dimanche 23 novembre 2008, Stuart Buchanan wrote: > James Sleeman wrote: > > Arnt Karlsen wrote: > > > [a whole bunch of stuff cut] > > > > Sigh, I'm sorry Arnt but trying to debate this with you seems to be a > > waste of time, and it's just getting off topic in my opinion. > > > > For once and for all, I have nothing to do with this other than as an > > observant bystander trying to be helpful, I am not a sock puppet of this > > fellow Casey as you seem clearly to think I am, I have never so much as > > met the guy. > > > > And with that, I bid you adieu, I hope that a resolution can be made > > between the developers and Mr Casey quickly so FlightGear developers can > > sleep easy again, but I can't and won't waste further time on this. > > Thanks very much for your efforts to find a resolution to this. I really > appreciate that you took the time to contact Andrew and bring him onto the > list. > > BTW, don't think Arnts opinion carries any particular weight on this list. > AFAIK he has not contributed anything to FG other than the occasional > request for dynamic sea-levels (nice idea, but way down the priority list) > and noise about GPL violations liberally sprinkled with groklaw URLs and > paranioa. > > > PS: I apologise to the list unreservedly if I have upset readers in any > > way or dragged this so far off topic, my intention was to help, not > > cause an argument. I'll just go back to lurking now in the perhaps vain > > hope that one day FlightGear may need something done which is in my > > small realm of skill that I may render assistance to this noble project. > > I'm sure you'll find something :) > Yes +1 , thanks James. And thanks to Arnt , who give us some good information regarding the Law. We just have to select from it ( the Law) what can be really done. When i am talking with my lawyer , at the end of the talk , i never understand what can be done :) so, i let him to do instead of me :) . Which could be the case with these snapshots , if necessary :) :) :) Cheers -- Gérard http://pagesperso-orange.fr/GRTux/ J'ai décidé d'être heureux parce que c'est bon pour la santé. Voltaire - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] Another person selling FlightGear under dubious pretenses
James Sleeman wrote: > Arnt Karlsen wrote: > > [a whole bunch of stuff cut] > > Sigh, I'm sorry Arnt but trying to debate this with you seems to be a > waste of time, and it's just getting off topic in my opinion. > > For once and for all, I have nothing to do with this other than as an > observant bystander trying to be helpful, I am not a sock puppet of this > fellow Casey as you seem clearly to think I am, I have never so much as > met the guy. > > And with that, I bid you adieu, I hope that a resolution can be made > between the developers and Mr Casey quickly so FlightGear developers can > sleep easy again, but I can't and won't waste further time on this. Thanks very much for your efforts to find a resolution to this. I really appreciate that you took the time to contact Andrew and bring him onto the list. BTW, don't think Arnts opinion carries any particular weight on this list. AFAIK he has not contributed anything to FG other than the occasional request for dynamic sea-levels (nice idea, but way down the priority list) and noise about GPL violations liberally sprinkled with groklaw URLs and paranioa. > PS: I apologise to the list unreservedly if I have upset readers in any > way or dragged this so far off topic, my intention was to help, not > cause an argument. I'll just go back to lurking now in the perhaps vain > hope that one day FlightGear may need something done which is in my > small realm of skill that I may render assistance to this noble project. I'm sure you'll find something :) - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] Another person selling FlightGear under dubious pretenses
Arnt Karlsen wrote: > [a whole bunch of stuff cut] Sigh, I'm sorry Arnt but trying to debate this with you seems to be a waste of time, and it's just getting off topic in my opinion. For once and for all, I have nothing to do with this other than as an observant bystander trying to be helpful, I am not a sock puppet of this fellow Casey as you seem clearly to think I am, I have never so much as met the guy. If you Google me, that will be quite clear for you to find out more about me. In fact I'll make it easy, have some links for free: My company site: http://code.gogo.co.nz/about/james_sleeman.html "My" open source project: http://www.xinha.org/wiki/Developers Aircraft club, you will see me here as #2: http://www.recwings.com/contact.html My blog: http://www.geekzone.co.nz/sleemanj/ My FG Multiplayer flight log: http://tinyurl.com/6feb76 Here is even my /. id: http://slashdot.org/~Bitsy+Boffin/ And with that, I bid you adieu, I hope that a resolution can be made between the developers and Mr Casey quickly so FlightGear developers can sleep easy again, but I can't and won't waste further time on this. PS: I apologise to the list unreservedly if I have upset readers in any way or dragged this so far off topic, my intention was to help, not cause an argument. I'll just go back to lurking now in the perhaps vain hope that one day FlightGear may need something done which is in my small realm of skill that I may render assistance to this noble project. --- James Sleeman - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] Z-near problem with new code
Tim Moore a écrit : > I've been completely unable to recreate the Z-near problem. From the few > details > about versions of OSG used etc., it seems to be either a mismatch between > compiled / installed versions of OSG, or possibly a bug in OSG itself. I do > recommend installing OSG SVN. > I can confirm now that the new code requires OSG 2.7.x to properly work. I built 2.7.5 and the z near clipping problem has gone. -Fred -- Frédéric Bouvier http://my.fotolia.com/frfoto/ Photo gallery http://fgsd.sourceforge.net/FlightGear Scenery Designer - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] Another person selling FlightGear under dubious pretenses
Hi all, ..first I would like to take this opportunity to apologize to Matthew, for taking his prudent caution, for reluctance to enforce copyright for a wee while, which had me _wonder_, I'm afraid I'm much better at finding 'n sensing vague subtle things quickly, rather than understand them as quickly. ;o) On Sat, 22 Nov 2008 16:00:03 +1300, James wrote in message <[EMAIL PROTECTED]>: > Arnt Karlsen wrote: > > ..excellent, then you would be in an excellent position to verify > > there indeed _is_ a house [...] I found none and said so. > > > Err, you can see it yourself, at least the roof... if you look on > Google maps, click Map view, type in the address. It will show you > the house section numbered 5A slightly to the left and down from > where Google puts the marker, put your finger on the section, now > click Satellite view, it will show you the house. It's a back > section with a grey roof. ..not the green one? Bordering onto the park, #5A is behind #5 which is the one with the dark grey roof facing the cul-de-sac: http://maps.google.com/maps?num=100&hl=en&q=%225a+Jasmine+place%22+Wigram+%22Christchurch,+Canterbury+8004%22&ie=UTF8&ll=-43.552829,172.539025&spn=0.001819,0.004447&z=19&g=%225a+Jasmine+place%22+Wigram+%22Christchurch,+Canterbury+8004%22&iwloc=addr Zoom in _all_ the way down to see #'s & property border lines. Then check against the eye in the sky: ;o) http://maps.google.com/maps?num=100&hl=en&q=%225a+Jasmine+place%22+Wigram+%22Christchurch,+Canterbury+8004%22&ie=UTF8&g=%225a+Jasmine+place%22+Wigram+%22Christchurch,+Canterbury+8004%22&ll=-43.552829,172.539023&spn=0.003631,0.004866&t=h&z=18&iwloc=addr > Got to love the eye in the sky. ..aye, thank you, looks like I might owe Andrew an apology for suggesting he used a fake address, instead we now have a few new verified addresses. ;o) > > ..respect for who? > > > Well I think it's just rude to post such personal details on public > lists, sure it's available elsewhere I guess (whois) but still, I > don't personally feel comfortable in posting such information. ..I can understand that. ;o) Now tell us all, James, all about: http://www.mail-archive.com/flightgear-devel%40lists.sourceforge.net/msg16485.html How did it all work out for you, etc? ;o) > > ..I certainly missed _your_ half of this conversation, > > _did_ you try post this to FG-dev or > > > Eh? You've lost me here. I posted only to FG-dev. ..ok, I didn't see it there before I responded to Matthew's response to you. -- ..med vennlig hilsen = with Kind Regards from Arnt... ;o) ...with a number of polar bear hunters in his ancestry... Scenarios always come in sets of three: best case, worst case, and just in case. - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] Another person selling FlightGear under dubious pretenses
On Sun, 23 Nov 2008 14:15:08 +1300, James wrote in message <[EMAIL PROTECTED]>: > Arnt Karlsen wrote: > > >>> perhaps the simplest means of resolution would be for the > >>> infringing party to take down the screen shots, take their own > >>> screen shots, and apologise for the mistake. > >> Agreed. :-) > >> > > ..under GPLv2, they _also_ need to ask _every_ copyright owner > > violated, for a _new_ _explicit_ permission to distribute. > > GPLv3 is more lenient, here you must "just" comply. > > > Hmm, I'm not sure why you are bringing the GPL to the screen shot > discussion... ..I am? I thought I was responding to Melchior talking about his rights under copyright law and the GLPv2 to his own code. > We know that: > The screen shots are not GPL. ..which means you had _no_ permission to put them on your or Andrew's etc websites. ;o) > The code is GPL. ..correct, and I was just pointing out Melchior's right to deny you guys the commercial re-branded sale of his code under GPLv2. ;o) > The subject has infringed the copyright of the screen shots. > They claim they have not infringed the terms of the GPL. ..how interesting, urls? ;o) > No other license has been given for the screen shots, the GPL does > not apply to them. The GPL does still stand for the code itself and > the person infringing the screen shot copyrights can continue to > distribute the code under GPL without seeking further permission to ..I would have consulted the relevant GPL version before drawing such bombastic conclusions. ;o) > do so, so long as they meet the GPL conditions for the code which is > licensed under the GPL. > > This of course does not change the fact that in order to use a screen > shot one must obtain permission from the copyright holder of that > image -- or cease to use the image and beg forgiveness, which is > probably the much more likely solution than getting permission. ..not to mention the probable punitive tremble damages. ;o) > --- > James Sleeman > > > - > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge Build the coolest Linux based applications with Moblin SDK > & win great prizes Grand prize is a trip for two to an Open Source > event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > ___ Flightgear-devel > mailing list Flightgear-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/flightgear-devel > -- ..med vennlig hilsen = with Kind Regards from Arnt... ;o) ...with a number of polar bear hunters in his ancestry... Scenarios always come in sets of three: best case, worst case, and just in case. - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] Z-near problem with new code
Tatsuhiro Nishioka wrote: > Hi, > > I have similar problem, but a bit different (on Mac OS X) > When launching with non 800x600, the splash screen is centered. no problem. > but when resetting after resizing window has a clipping problem. > > Here is the screenshot: > http://macflightgear.sourceforge.net/wp-content/uploads/800x600bug.jpg > > I launched fgfs with 800x600. When on runway, I resized window and then reset. > I used fg/cvs, sg/cvs, plib/svn, and osg/svn as of 11 hours ago. > I made sure the version of CameraGroup.cxx is 1.7 (the latest) > It seems that the screen size (view size?) is also reset to the one settled > at the launch time. > > If I specify --geometry=1024x768 option, the view size on reset always goes > to 1024x768 > no matter what actual window size at rest is. > > I guess we need to update the view size on reset. Yes, there is a bug when the actual window size doesn't match the requested window size; for example, 1024x768 on my laptop is too tall for the window manager menu bars. A workaround for now is to supply dimensions that you will actually get. I've been completely unable to recreate the Z-near problem. From the few details about versions of OSG used etc., it seems to be either a mismatch between compiled / installed versions of OSG, or possibly a bug in OSG itself. I do recommend installing OSG SVN. Tim > > Best, > > Tat > > > On Nov 23, 2008, at 9:00 AM, Frederic Bouvier wrote: > >> Scott Hamilton a écrit : >>> On Sat, 2008-11-22 at 18:39 -0500, Matthew Tippett wrote: I have seen something similar too. The splash screen seems to be 800x600 unscaled in the bottom left of the screen. It then seems to go full screen shortly after though. I doubt it is related to clipping issue mentioned elsewhere. >>> I also did a cvs update and noticed (I think) one or two file change >>> in SimGear and a few file changes in fg source, I also see the >>> same clipping problem. In "helicopter view" large parts of the >>> aircraft are invisible, with parts just floating by themselves >>> and I think in one of the "chase views", there is a circular object >>> (perhaps a cloud) that when a aircraft flies behind it is masked. >>> And the cockpit view is missing, well the entire cockpit, however if >>> you switch to the 2D cockpit you get the default cessna panel... >>> >>> I haven't had time to go back and work out which files changed when I >>> did the cvs update... >>> >> On the computer where I built OSG 2.7.5, there is no clipping problem. >> >> -Fred > > > > - > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > ___ > Flightgear-devel mailing list > Flightgear-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/flightgear-devel > - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel