2013/10/14 James Turner :
> +catch(...)
> +{
> + naRuntimeError(c, "Unknown exception in method call.");
> +}
> +
>
> I am slightly concerned about catching all exceptions this way - I agree
> catching std::exception is worthwhile, with the specialis
2013/7/1 Pat :
> and when you do, there will be a download_and_compile.sh version to
> support it..
There should be no need to change anything. During compile time the
installed OSG version is automatically detected and the according
version of the API is used. So for OSG < 3.1.8 nothing should ha
2013/6/29 Clement de l'Hamaide :
> Today OSG has moved to 3.1.9 introducing a new bug :/
I can see the same - at least the last one - and was not able to find
a quick fix or problem report. For now I will stay with OSG 3.1.8 and
wait for a later development release or the 3.2 stable release. Maybe
Am 2013-06-30 20:44, schrieb James Turner:
> Actually we can fix that a little better, and detect the OSG version at
> compile time. I will need to check exactly which #ifdefs are needed for
> that.
Just wait. I'll push something soon...
--
Am 2013-06-26 22:43, schrieb Alex Romosan:
> these are the changes i made to get simgear to compile with
> openscenegraph from svn:
Thank you Alex! I've just commited your patch.
Tom
--
This SF.net email is sponsored by
Hi Torsten,
2013/6/25 Torsten Dreyer :
> I'm failing to build SimGear on 64bit linux:
> EffectGeode.cxx:83:136: error: no matching function for call to
> ‘osg::Geometry::setVertexAttribArray(int&, osg::Geometry::ArrayData)’
>
> OSG is stable 3.0.1 from svn (same with OSG trunk)
> SimGear is git ne
ccepted.
> Only positioning via the property browser leads to exact results.
Maybe you are using an operating system with a low precision atof? In
the property browser strtod is used to convert the number whereas for
the dialog and arguments atof is used.
Tom
--
Thomas Geymayer www.tom
: FGGlobals::~FGGlobals() (globals.cxx:199)
==9401==by 0x6EF768: FGGlobals::~FGGlobals() (globals.cxx:220)
==9401==by 0x6F677D: fgMainInit(int, char**) (main.cxx:367)
==9401==by 0x6B9913: main (bootstrap.cxx:244)
hth,
Tom
--
Thomas Geymayer www.tomprogs.at / C-Forum und Tu
the crash is that you
somehow receive a key event (for you left alt key) without a graphics
context set.
I have now also installed the latest (svn) OpenSceneGraph but was not
able to reproduce this problem. What exact OS are you using?
Tom
- --
Thomas Geymayer www.tomprogs.at
;sc::MouseEventPtr event(new sc::MouseEvent(ea));
Seems like your simgear is not up-to-date. Either you have not checked
out the latest version or you have not installed it/use the correct
version with flightgear.
Tom
--
Thomas Geymayer www.t
is nothing textured yet and also the video quality is not the
best, but I think the animations are demonstrated quite well.
Tom
--
Thomas Geymayer www.tomprogs.at / C-Forum und Tutorial: www.proggen.org
Stude
r which
checks if writing/read to/from a path (/do-not-access) which should
never be accessible is allowed.
So if you see this messages your IOrules are probably not working (or
not as expected).
Tom
--
Thomas Geymayer www.tomprogs.at / C-Fo
2013/5/9 grtuxhangar team :
> Hello,
>
> With recent fg git
> I am getting these messages, at fgfs run
>
> Check your IOrules! (write to '/do-not-access' is allowed)
> Check your IOrules! (read from '/do-not-access' is allowed)
> Why these new messages ?
> What must be done , to avoid it.?
Update
e should create a timeline of the VDGS (inside one/multiple of
the larger cockpit/outside views).
Tom
--
Thomas Geymayer www.tomprogs.at / C-Forum und Tutorial: www.proggen.org
Student of Co
2013/5/8 grtuxhangar team :
> Hello, Thomas
>
> Sorry my question was not clear, and i probably misunderstood the feature.
> So,
> just a question: how do you define the main parent actuator axis rotation ?
> that one which trigger every other child components.
I am using the normal rotate animat
Hi Ahmad,
2013/5/8 grtuxhangar team :
> Congratulation for the work, the team is giving a try, with one of our most
> complex landing gear.
> Though, like Vivian, we are not Blender user.
> However since :
>
>>Currently the alternate form is not possible.
> We will want to define and to draw the
Hi Vivian,
2013/5/7 Vivian Meazza :
> Thanks, interesting. As a non-Blender user (it makes my brain hurt) the
> references are a bit obscure.
If you get used to Blender its a really powerful tool (I have problems
if trying to work with other modelling programs :P) and with using the
right scripts
2013/5/7 Vivian Meazza :
> The tracking animation sounds useful - do you have any documentation
> available? In due course it should end up in fgdata/Docs/model-howto.html
> with all the other animations.
I have now added some examples and a basic documentation to the wiki:
http://wiki.flightgear
gears with independent compression while still tracking each
other can be realized. Also any type of strut for eg. cargo ramps can
be easily animated.
If you want I can create a video of my work in progress C-130J making
use of these animations.
Tom
--
Thomas Geymayer www.tomprogs.at
Am 2013-05-03 19:15, schrieb Vivian Meazza:
> Check your IOrules! (write to 'Z:/do-not-access' is allowed)
>
> Check your IOrules! (read from 'Z:/do-not-access' is allowed)
Have you installed a recent fgdata? If so these messages should not appear.
Tom
--
Thomas
ns.exe
This seems to be a bug introduced with Visual Studio 2008 while using
multiple libraries which have classes deriving form i/ostream. I've
pushed a workaround/linker flag which at least allows compiling the
tests. I don't know if they run correctly, but it only affects the test
and n
SCENEGRAPH_LIBRARIES} from
simgear/scene/model/CMakeLists.txt:62?
Tom
--
Thomas Geymayer www.tomprogs.at / C-Forum und Tutorial: www.proggen.org
Student of Computer Science @ Graz University of Technology
-
re between
the props.nas module and the C++/Nasal bindings.
[1] http://www.flightgear.org/forums/viewtopic.php?f=30&t=9493
--
Thomas Geymayer www.tomprogs.at / C-Forum und Tutorial: www.proggen.org
Stude
g.getBoolValue("do_it");
Using getprop on the one hand does not allow getting a property
converted to a given type and on the other hand is tedious to use for
more than one property, as one has to assemble the according property
paths
//svn.boost.org/trac/boost/attachment/ticket/4073/function_template_for_c%2B%2B0x.patch
Tom
--
Thomas Geymayer www.tomprogs.at / C-Forum und Tutorial: www.proggen.org
Student of Computer Science @ Graz Univ
le
occurrence. Could you try it with adding -Dstrdup=_strdup to the
respective set(MSVC_FLAGS commands in FlightGear/SimGear root
CMakeLists.txt files?
Tom
--
Thomas Geymayer www.tomprogs.at / C-Forum und Tutorial: www.proggen.org
--
Am 2013-03-03 12:27, schrieb Frederic Bouvier:
> Hi,
>
> I am pretty sure msvc already has
> #define strdup _strdup
> In one of its standard header. At least something to check
But then why does it crash with using strdup and with _strdup not?
Tom
--
Thomas Geymayer www.tompro
uot;, AFAIU their TOS at
> https://www.dropbox.com/terms , maybe the reason nobody has
> done anything with your patches.
Nothing against the request for gitorious urls, but Dropbox allows
sharing folder/files without requiring to sign up, eg:
https://www.dropbox.com/sh/tqrmrvuc1r2s5s
t;>>
>>> https://www.dropbox.com/home/Public/Patches/MoveModels
>>
>> Dropbox won't let me in, can you email me the patches?
>>
> Dropbox won't let you in! Why not? Did you offend it in some way? Have you
> been black balled?
You've posted
Yes, there strdup is used 7 more times, but we can not replace all with
std::string as eg. in BufferedLogCallback.cxx it would get very slow.
Maybe you can try if somehow adding a #define strdup _strdup works with
MSVC?
Tom
--
Thomas Geymayer www.tomprogs.at / C-Forum und Tutorial
oc() within the strdup() is probably using a different heap than the
> outside free())
As I normally don't use Windows/VS I don't know if this is really possible.
Anyhow, I have just pushed a fix which replaces the manual string
copying with directly using std::string. Please test if this al
ums-simgear/commit/0455e8f3253a2bc26e4a34265e1227984408713a
--
Thomas Geymayer www.tomprogs.at / C-Forum und Tutorial: www.proggen.org
Student of Computer Science @ Graz University of
nge that might reduce some support questions on the forum.
>>
>> (Sorry - can't give the commit hash right now as I'm away on business)
>
> I'm away with work until Thursday night, so I'm not ideally placed to
> pick this one either - could someo
Am 2012-12-17 10:09, schrieb James Turner:
> Thomas, I think you may have forgotten to git add nasal_traits.hxx?
May be possible :) Should be complete now...
Tom
--
Thomas Geymayer www.tomprogs.at / C-Forum und Tutorial: www.proggen.
Debian/Ubuntu download and compile script. I tried on 3
>>> different Computers with nvidia and AMD Graphics A compile from last
>>> Saturday worked without Problem.
>>>
>
> It's now Monday 3rd Dec, and I'
ready saw
some discussion about it a few months ago.
Yes. Hooray has suggested adding the profiling commands while speeding
up the airport selection dialog.
Tom
--
Thomas Geymayer www.tomprogs.at / C-Forum und Tutorial: w
VS seems
to be very buggy.
If something doesn't work I normally fix it within a few hours, so sorry
for any inconveniences if you happen to checkout before I've been able
to push a fix.
Tom
--
Thomas Geymayer www.tomprogs.at / C-Forum
Am 2012-11-16 14:12, schrieb Alan Teeder:
> Another heads up.
Thanks. Fixed.
Tom
--
Thomas Geymayer www.tomprogs.at / C-Forum und Tutorial: www.proggen.org
Student of Computer Science @ Graz University
Am 2012-11-15 13:20, schrieb Jon Stockill:
> commit fe1222a90dd809560e787ce09391d5cf97bbe6fe
> Author: Thomas Geymayer
> Date: Thu Nov 15 11:55:25 2012 +0100
>
> Optional profiling commands using gperftools
>
>
> This appears not to be so optional:
Should be fix
x27;ve pushed a workaround which delegates the specialization to the
programmer by using different function names :)
Tom
--
Thomas Geymayer www.tomprogs.at / C-Forum und Tutorial: www.proggen.org
Student of Computer S
before neither...
Tom
--
Thomas Geymayer www.tomprogs.at / C-Forum und Tutorial: www.proggen.org
Student of Computer Science @ Graz University of Technology
tNode('background',
1).setValue(_getColor(arg)); me; }
in your Nasal/canvas/api.nas?
Are there /canvas/by-index[i]/color-background/[red,green,blue,alpha]
nodes in your property tree or just a single
/canvas/by-index[i]/background string property per canvas?
Tom
--
Thomas Geymayer www.tom
for the whole
color instead of one for each color component) and defaults to opaque
black. Using the latest Nasal API for setting the background color
should still work the same as before.
Tom
--
Thomas Geymayer www.tomprogs.at / C-Forum und Tutor
k where to put it best? I currently need it only with
SimGearScene/osg::Vec4 so I don't really mind if it is not available in
Simgear headless.
Tom
--
Thomas Geymayer www.tomprogs.at / C-Forum und Tutorial: www.proggen.org
-
Am 2012-11-05 12:14, schrieb Alan Teeder:
> Just a heads up. The error report is :-
Thanks for the report. Should now be fixed.
Tom
--
Thomas Geymayer www.tomprogs.at / C-Forum und Tutorial: www.proggen.org
Stud
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Am 2012-11-04 23:48, schrieb Roland Haeder:
> That is a small fix for missing simgear/elements/element.hxx. It
> must be applied on fgfs source.
Thanks, but I have already pushed the fix :)
Tom
- --
Thomas Geymayer www.tomprogs.at / C-For
Hi,
recently I've been asked by the FGRadar developers if we could modify
the canvas system such that it can be reused in other applications and
we can all work on a single and stable implementation, instead of a
separate implementation for each single application. I think thats I
good idea and I
t a lawyer to tell if we really need the agreement of every
author, even if the contribution left is just an include statement or
bracket.
Tom
--
Thomas Geymayer www.tomprogs.at / C-Forum und Tutorial: www.proggen.org
---
verified this in the debugger - but I don't hear
> any audio output until a restart.
After a restart or reset? For me it works after a reset but also after
pausing and resume again.
Tom
--
Thomas Geymayer www.tomprogs.at / C-Forum und
GPositioned::Filter object is
passed to all of them but the pass() method is never called)
Tom
--
Thomas Geymayer www.tomprogs.at / C-Forum und Tutorial: www.proggen.org
Student of Computer Science @ Graz University of
27;s fixed now, and things seem correct here. Please test and confirm
> or deny :)
Looking good! For me it works.
Tom
--
Thomas Geymayer www.tomprogs.at / C-Forum und Tutorial: www.proggen.org
Student of Com
e value of /controls/engines/engine/magnetos.
In the c172p-set.xml it is set to 3 but upon startup it is 0. The same
thing happens also to other variables in the *-set.xml.
Tom
--
Thomas Geymayer www.tomprogs.at / C-Forum und Tutorial: www.proggen.org
-
s ways from different sources. Even older steam
gauges just show data from sensors - normally just limited to a specific
data source.
This separation would be great for reusable but nevertheless highly
customizable instruments/displays.
Tom
--
Thomas Geymayer w
d disk an reused the
next time FlightGear is started up.
Tom
--
Thomas Geymayer www.tomprogs.at / C-Forum und Tutorial: www.proggen.org
Student of Computer Science @ Graz University of Techno
he projection doesn't noticeably while just zooming
and scrolling around at a single airport. To improve this I want to
implement some kind of one-time projected path which after the initial
geographic projection only gets scaled and translated instead of
completely recalculated.
Tom
a graphics textbook year ago...
I've now changed the default fill rule from even-odd to non-zero. Should
probably work better now...
Tom
--
Thomas Geymayer www.tomprogs.at / C-Forum und Tutorial: www.proggen.org
S
g, it would be fantastic. (And will
make my life porting the MapWidget really easy)
That should be very easy to implement. I think I can do it the next days.
Tom
--
Thomas Geymayer www.tomprogs.at / C-Forum und Tutorial: www.proggen.org
-
emory which can cause a crash :)
I've pushed a commit witch recursively triggers childRemoved for all
nodes controlling the canvas. Any objections on moving this behavior
directly into simgear?
Tom
--
Thomas Geymayer www.tomprogs.at / C-Forum und Tutorial: www.p
Am 2012-09-05 21:03, schrieb Alan Teeder:
> The current version of FGRun crashes when the C172p canvas demo aircraft
> is selected.
Should be fixed now.
Tom
--
Thomas Geymayer www.tomprogs.at / C-Forum und Tutorial: www.progg
wrap
> the event in a ghost and run whichever callbacks apply.
>
> If you want me to prototype some code for this, I am happy to do so!
Would be great :)
Tom
--
Thomas Geymayer www.tomprogs.at / C-Forum und Tutorial: www.proggen.org
---
ll be placed on top of all other windows, if
you exit a menu with the mouse it normally closes, so it should work.
Maybe we should create different categories/priorities (just a numeric
value) of windows where one window can only raise to the top inside a
category.
Am 2012-07-31 15:30, schr
an 'event'
> object with:
>
> event.button (button that triggered the event)
> event.type (press / release / click / double-click)
> event.time (maybe...)
> event.buttons (state of all the mouse buttons)
> event.modifiers
> event
It's
also just passing x/y and some more values to the property tree, but we
need to forward the values somehow.
Also I had to create a new event class (which uses most of the osgGA
types) because the coordinates of the mouse where passed in the range
[-1,1] which would make handling
2012/7/26 James Turner :
> Okay, I wasn't clear from the Wiki page what the final idea was. As you say,
> so long as we're going through show-dialog it should be fine. My feeling is
> we still want a C++ hook around creating individual widgets, so we have the
> option the create custom widgets in C
2012/7/26 James Turner :
>> We could for example just add some more parseXXX functions (like
>> parsesvg) which parse a dialog/hud/whathever file and create a canvas
>> from it. So we would just have to modify eg. the show-dialog command
>> to create a canvas and call the parser.
>
> We need to kee
I have now added some more thoughts about the GUI implementation and
support of the current xml files to the wiki:
http://wiki.flightgear.org/Canvas_Widgets#Fully_Canvas_based_implementation_.28planned.29
Regards,
Tom
--
2012/7/25 James Turner :
> Thomas, I have the impression you've been working on this stuff for a while,
> could you please summarise how you see it developing so Stefan and I can see
> where we might help.
I think it now slowly reaches a state where everything starts to
stabilize. The API is reall
ot, don't hesitate to ask :)
Regards,
Tom
--
Thomas Geymayer www.tomprogs.at / C-Forum und Tutorial: www.proggen.org
Student of Computer Science @ Graz University of Tec
s://gitorious.org/~tomprogs/fg/toms-fgdata/blobs/canvas/gui/dialogs/canvas-demo.xml
Regards,
Tom
--
Thomas Geymayer www.tomprogs.at / C-Forum und Tutorial: www.proggen.org
St
t worth the efforts.
Regards,
Tom
--
Thomas Geymayer www.tomprogs.at / C-Forum und Tutorial: www.proggen.org
Student of Computer Science @ Graz University of Technology
-
settings
- Have a look at the Shader Options
Regards,
Tom
--
Thomas Geymayer www.tomprogs.at / C-Forum und Tutorial: www.proggen.org
Student of Computer Science @ Graz University of Technology
--
itted.
Please, someone can commit the patch.
Thanks,
Tom
[1] https://gitorious.org/fg/flightgear/merge_requests/1563
--
Thomas Geymayer www.tomprogs.at / C-Forum und Tutorial: www.proggen.org
Student of Computer Sc
,
Tom
--
Thomas Geymayer www.tomprogs.at / C-Forum und Tutorial: www.proggen.org
Student of Computer Science @ Graz University of Technology
--- Au
Am 2012-04-30 15:27, schrieb Thomas Geymayer:
> I'm currently experimenting with a 2D Canvas and rendering everything to
> a texture. For this I use FGODGauge to render to texture and
> FGODGauge::set_texture to replace a texture in the cockpit with the
> texture from the fbo
a texture, such that it
also stays there if effects are enabled (eg. generic effect).
Thanks,
Tom
--
Thomas Geymayer www.tomprogs.at / C-Forum und Tutorial: www.proggen.org
Student of Software Engineer
or changes from scripts.
The merge request can be found on gitorious:
https://gitorious.org/fg/flightgear/merge_requests/1559
Regards,
Tom
--
Thomas Geymayer www.tomprogs.at / C-Forum und Tutorial: www.proggen.org
76 matches
Mail list logo