Search found 1118 matches

by reptor
Mon Jan 30, 2012 9:58 pm
Forum: Back to Basics
Topic: Bohemia Interactive (OFP, ARMA) will use Java for scripting
Replies: 9
Views: 1946

Bohemia Interactive (OFP, ARMA) will use Java for scripting

Bohemia Interactive (OFP, ARMA) will use Java for scripting. Yeah, so they've announced such an addition to their games at their forums. They first use it with a helicopter simulator but it will apparently also come to their military simulation games, I guess ARMA 3 will have it. They say performanc...
by reptor
Mon Jan 30, 2012 9:35 pm
Forum: Back to Basics
Topic: Where to put lua/c++ binding code?
Replies: 2
Views: 1487

Re: Where to put lua/c++ binding code?

Hmm... so what's the problem exactly... Personally I've created a LuaVirtualMachine class which holds the necessary code to boot tolua++ (notice I do not use luabind, but this should not matter in this) and to set up the necessary connections to some of my c++ variables that I want to create on the ...
by reptor
Thu Jan 05, 2012 2:45 pm
Forum: Using OGRE in practice
Topic: SQLite problem
Replies: 2
Views: 733

Re: SQLite problem

XML is a terrible choice for a save game file. Just don't do it. Please research file operations performance... SQLite is much better, although not optimal for performance. A memory image would be even better considering performance. Talking about a save game file now. We don't know what the guy act...
by reptor
Mon Nov 14, 2011 5:25 pm
Forum: Lounge / Off-topic
Topic: What game are you playing now?
Replies: 1032
Views: 158531

Re: What game are you playing now?

The Mahjongg that comes with Gnome. It's awesome. I can't even beat my own records anymore. I'm barely getting on the high-score list. I have outplayed myself. Maybe I need to reset the list so I can have the satisfaction of getting on the list again.
by reptor
Thu Nov 10, 2011 9:17 pm
Forum: Lounge / Off-topic
Topic: Muhaha!!
Replies: 26
Views: 2331

Re: Muhaha!!

Okay :) How much is it in time and money? Let's try to estimate. If you spend an average of 5 minutes per post, a post count of 20,000 means that you've spent 100,000 minutes, or about 1,667 hours of your life into your posts at this forum. If one hour of your time costs 20 euros, it's about 33,333 ...
by reptor
Fri Nov 04, 2011 8:56 pm
Forum: General Discussion
Topic: about input subsystem
Replies: 4
Views: 459

Re: about input subsystem

OISB is built on top of OIS. You can find a thread from this forum. It does make it easier to create key mappings, at least. I fiddled with it and one potential problem is non-ASCII 127 set keys. It didn't accept my ö, ä and å keys which are found on my Finnish & Swedish keyboard layout. I was going...
by reptor
Fri Nov 04, 2011 8:49 pm
Forum: Lounge / Off-topic
Topic: Muhaha!!
Replies: 26
Views: 2331

Re: Muhaha!!

Can we get a comment about this from your wife? :lol:
by reptor
Tue Oct 18, 2011 9:13 pm
Forum: Help
Topic: PhysX crashes with large mesh file
Replies: 8
Views: 492

Re: PhysX crashes with large mesh file

Yeah, most often the physical models should not be the same as the visual models. The visual model needs to be much more detailed. The physical models can in many cases be very simple compared to the visual models. Some games have even more levels of models, not just visual and physical, but also fo...
by reptor
Tue Oct 11, 2011 8:43 pm
Forum: General Discussion
Topic: Using OGRE to display over game
Replies: 7
Views: 793

Re: Using OGRE to display over game

With "DLL injection" you can display your own graphics over a game you don't have source code to. An example of this DLL injection is DXDLL for the PC game Operation Flashpoint. This game uses DirectX 8. DXDLL can be found here http://www.kegetys.net/ofp/index.php?p=others Adds reflective water, pos...
by reptor
Sat Oct 08, 2011 1:48 am
Forum: General Discussion
Topic: using tolua++ to bind some functions in OgreCamera.h
Replies: 3
Views: 444

Re: using tolua++ to bind some functions in OgreCamera.h

I've worked on something like that a couple of years ago. I used tolua++ and I am happy with this library. But I stopped working on that project a long time ago. Perhaps you could show a minimal example of how you are trying to do it? Since there are probably not many tolua++ users around here, you ...
by reptor
Sat Oct 08, 2011 1:36 am
Forum: General Discussion
Topic: Using OGRE to display over game
Replies: 7
Views: 793

Re: Using OGRE to display over game

OGRE sounds like way too big for the job. I don't understand the use of Qt either. I think you need to look into DLL injection. See if that can be used in this case. I think it is the best way to do it. You'd create a DLL which you'd drop into the application's directory and let the application load...
by reptor
Sat Aug 27, 2011 1:54 pm
Forum: General Discussion
Topic: Scripting language of choice ?
Replies: 23
Views: 2122

Re: Scripting language of choice ?

Comparing Lua and Python, Lua is the easy choice. It's very easy to use with C++ at least when using tolua++. Creating bindings is very easy with tolua++.

So my vote goes to Lua.
by reptor
Mon Jul 18, 2011 9:45 pm
Forum: Google Summer Of Code
Topic: [GSoC 2011 - Accepted] Terrain paging improvements
Replies: 111
Views: 78954

Re: [GSoC 2011 - Accepted] Terrain paging improvements

I agree that it's very important. Thank you for your work.
by reptor
Mon Jul 18, 2011 9:40 pm
Forum: Developer talk
Topic: Math::RealEqual sucks
Replies: 3
Views: 2421

Re: Math::RealEqual sucks

I think some Google code framework is using what http://www.cygnus-software.com/papers/c ... floats.htm proposes. I can't remember its name now though.
by reptor
Mon Jul 11, 2011 7:51 pm
Forum: Help
Topic: Could not load dynamic library /RenderSystem_GL
Replies: 4
Views: 493

Re: Could not load dynamic library /RenderSystem_GL

I don't recommend that.

Keep the OGRE DLL files local to the application, not system-wide. So it's better to put them into the directory where the .exe file of the application is. Which is hopefully not system32...
by reptor
Fri Jul 08, 2011 2:23 am
Forum: Back to Basics
Topic: Could we call the virtual functions in destructor?
Replies: 18
Views: 2967

Re: Could we call the virtual functions in destructor?

Just to clarify my position, I wasn't defending the use of the conditional. Just making the point that calling delete on a null pointer can't be totally free. As I said, nitpicking!

You won't find the conditional from my code, I guarantee.
by reptor
Fri Jul 08, 2011 12:20 am
Forum: Help
Topic: [SOLVED} CPU Usage when window out of focus too high
Replies: 5
Views: 546

Re: [SOLVED} CPU Usage when window out of focus too high

On Windows, you can call WaitMessage() It's better than Sleep(), it gives you even lower CPU usage for when you want to "pause" your application. A snippet from a "main" loop: if ( !mWindow->isActive() ) { if ( mWindow->isClosed() ) { //mSim->requestStateChange(SHUTDOWN); mRunning = false; } else { ...
by reptor
Thu Jun 16, 2011 2:32 pm
Forum: Lounge / Off-topic
Topic: KDE 4 sucks
Replies: 25
Views: 4735

Re: KDE 4 sucks

I did use some testing version of Debian some years ago. But I gave up on it as it was just too unstable for me. It actually broke many times so that it was very hard to fix, like for example package dependencies system would break and then updating would become impossible unless you would know how ...
by reptor
Thu Jun 16, 2011 2:13 pm
Forum: Lounge / Off-topic
Topic: KDE 4 sucks
Replies: 25
Views: 4735

Re: KDE 4 sucks

I used xfce for some time as a quick cure (it was installed by default?) before installing Gnome. Xfce performance is good, but it's too basic feature-wise. I may try this LXDE too out of curiosity. And indeed, I have to mention Debian Squeeze has Gnome 2.30.2 at the moment. I am a bit afraid of wha...
by reptor
Thu Jun 16, 2011 2:07 pm
Forum: Artists & Content Creators
Topic: Legal issues
Replies: 23
Views: 1927

Re: Legal issues

The law is quite generic and therefore also ambiguous. When I first learned about it I thought can it really be true. As an example case, there is a kind of a metallic sculpture in Helsinki, Finland, a so-called Sibelius monument. It's basically metallic tubes welded together. You can't take a photo...
by reptor
Thu Jun 16, 2011 1:41 pm
Forum: Lounge / Off-topic
Topic: KDE 4 sucks
Replies: 25
Views: 4735

Re: KDE 4 sucks

I used the version which comes with Debian Squeeze.

I am just about to run apt-get purge on it :)
by reptor
Thu Jun 16, 2011 1:38 pm
Forum: Back to Basics
Topic: shared_ptr and factory pattern
Replies: 8
Views: 2184

Re: shared_ptr and factory pattern

Me thinks shared_ptr::reset() should work.
by reptor
Thu Jun 16, 2011 1:33 pm
Forum: General Discussion
Topic: Eclipse or NetBeans?
Replies: 10
Views: 2405

Re: Eclipse or NetBeans?

My off-topic ranting continues here: http://www.ogre3d.org/forums/viewtopic.php?f=16&t=65227
by reptor
Thu Jun 16, 2011 1:32 pm
Forum: Lounge / Off-topic
Topic: KDE 4 sucks
Replies: 25
Views: 4735

KDE 4 sucks

I've use Debian Linux for a long time and the latest major version update from Lenny to Squeeze changed KDE from version 3 to 4 and I think the KDE project has lost their collective marbles! KDE 4 is horribly slow and buggy (I had a few crashes every month). I really didn't think this would happen b...
by reptor
Thu Jun 16, 2011 12:19 am
Forum: General Discussion
Topic: Eclipse or NetBeans?
Replies: 10
Views: 2405

Re: Eclipse or NetBeans?

I use Netbeans on Linux for C++ development. I have tried KDevelop many times and never quite liked it enough to keep using it. It's certainly faster and 'snappier' to use but I find it too messy. Netbeans has a tidier interface and that means a lot to me. The interface in Netbeans looks like someon...