Search found 1742 matches

by Chris Jones
Sat Nov 13, 2010 11:32 am
Forum: Recruitment
Topic: Flight Sim Project - Programmer Needed
Replies: 21
Views: 3285

Re: Flight Sim Project - Programmer Needed

experience with OpenGL
Are you using OGRE? If not then you can't post in the recruitment forum.
by Chris Jones
Sat Sep 11, 2010 9:23 am
Forum: Back to Basics
Topic: C++ Brain Teaser
Replies: 19
Views: 2677

Re: C++ Brain Teaser

So, cin can be converted too bool, right? In that case, why doesn't the following code work? Isn't it a boolean operator that is used in the while, you can specify functions for casting to particular types implicitly IIRC (correct me if im wrong). So in your other example it won't be automatically ...
by Chris Jones
Tue Aug 17, 2010 6:13 pm
Forum: General Discussion
Topic: Should we split the help forum up?
Replies: 28
Views: 1327

Re: Should we split the help forum up?

I prefer "Project Diary" or how about "Projects" or "User Projects"? I agree with renaming "Using ogre in practice", that has always been a bit confusing. Although how do you exactly define the difference between Beginner and Advanced? Advanced (as with "Expert") sounds like only the most advanced o...
by Chris Jones
Thu Jul 22, 2010 2:07 pm
Forum: Help
Topic: Loading object with 50000 number of vertices?
Replies: 6
Views: 233

Re: Loading object with 50000 number of vertices?

Where are you putting that array? If its on the stack then its probably causing it to overflow, make sure its being allocated on the heap (malloc/new) instead.
by Chris Jones
Mon Jul 05, 2010 2:05 pm
Forum: Back to Basics
Topic: Class members padding
Replies: 6
Views: 751

Re: Class members padding

Maybe i'm wrong but padding is usually only done to make the data align to certain boundaries (e.g. a 4 byte value would be aligned to a multiple of 4 bytes). In this case Real will be 4 or 8 bytes so shouldn't need padding. Any additional data/padding for the class would be before or after those me...
by Chris Jones
Mon Jul 05, 2010 8:53 am
Forum: Help
Topic: Low FPS, low CPU usage
Replies: 6
Views: 362

Re: Low FPS, low CPU usage

the cpu usage (on a dual-core machine) stays below 60%
CPU usage won't go up because it's probably running mostly on a single thread so only 1 core of the dual core will be used at any one time. Can't comment on the FPS issue though.
by Chris Jones
Thu Jun 10, 2010 9:53 am
Forum: Help
Topic: CPU overload whith a very basic application.
Replies: 6
Views: 258

Re: CPU overload whith a very basic application.

Thats correct because you haven't added any code to stop the thread from running so it will just run the loop continuously and as fast as possible without pausing. The display frequency doesn't affect how the code runs.
by Chris Jones
Wed Jun 02, 2010 11:45 am
Forum: General Discussion
Topic: Proposal: New Ogre Wiki
Replies: 471
Views: 32417

Re: Proposal: New Ogre Wiki

That's what you want right? I'm only suggesting the MIT licence because it has clauses to protect you and Ogre - if the code posted accidentally does some harm. Releasing it under the Public Domain doesn't have those kinds of clauses or protection. Isn't it possible to have it all under public doma...
by Chris Jones
Tue May 11, 2010 11:51 am
Forum: Developer talk
Topic: Idea: Extended CPU detection patch?
Replies: 13
Views: 1664

Re: Idea: Extended CPU detection patch?

I think that it's not a good idea unless theres proof that this will improve performance, i imagine this could reduce performance. Does Intel TBB set the affinity for each of its threads? IIRC windows will try to run a thread on the same hardware thread as it was run previously, if not then it will ...
by Chris Jones
Tue May 11, 2010 8:03 am
Forum: Developer talk
Topic: Idea: Extended CPU detection patch?
Replies: 13
Views: 1664

Re: Idea: Extended CPU detection patch?

I agree with all of the ideas except setting the thread affinity to certain cores. The OS will handle assigning threads to any processors that are available, if you give it a specific affinity then the thread might not get to run even though another core is free. Of course this is just theory, the b...
by Chris Jones
Tue Nov 03, 2009 3:30 pm
Forum: Using OGRE in practice
Topic: And how about an OpenGame project?
Replies: 34
Views: 3298

Re: And how about an OpenGame project?

Ogitor is LGPL (GNU Lesser GPL) - wouldn't make much sense to make it difficult for people to integrate with it. :) We do have an OUL, just in case. Oh right, on your sourceforge project page it says your using the GPL license. But, if you're interested in the actual talk, I guess we can allow you ...
by Chris Jones
Tue Nov 03, 2009 12:27 pm
Forum: Using OGRE in practice
Topic: And how about an OpenGame project?
Replies: 34
Views: 3298

Re: And how about an OpenGame project?

At the moment, Ismail and the rest of the team are in ponder mode. We need to do some thinking before moving on. Because it means that the architecture needs to be rewritten, and we'd rather rewrite it once, than several times. Any input now has a very high chance of being strongly considered. It's...
by Chris Jones
Mon Nov 02, 2009 11:48 pm
Forum: Using OGRE in practice
Topic: And how about an OpenGame project?
Replies: 34
Views: 3298

Re: And how about an OpenGame project?

One of the major goals is to create Unity for Ogre, only better. By means of clever thinking, plugins, components - and more developers! Essentially that's what i'd like to do to but i don't have loads of time so i need to focus on the core libraries. So if ogitor could (in the future) fill the req...
by Chris Jones
Mon Nov 02, 2009 7:46 pm
Forum: Using OGRE in practice
Topic: And how about an OpenGame project?
Replies: 34
Views: 3298

Re: And how about an OpenGame project?

Oh - I am sorry to hear that. :( I *did* have a feeling that you tried to bite off more than you could chew, but I didn't expect you to grind to a halt. Maybe you'll get back to it later. It's the journey which counts, and I bet you've learned a great deal from doing it. :) I definately learnt a lo...
by Chris Jones
Sun Oct 25, 2009 7:19 pm
Forum: Showcase
Topic: Proun - OUT NOW!
Replies: 265
Views: 115617

Re: Proun

Great work, I enjoyed playing it.

With a Q6600 @3Ghz, 4GB RAM, 880GT 512MB i got roughly 150fps. I'm not sure how much it changes as i was concentrating on playing it.
I took around 44 seconds for a single lap.
by Chris Jones
Mon Oct 19, 2009 4:02 pm
Forum: Back to Basics
Topic: Windows Threading Questions
Replies: 4
Views: 604

Re: Windows Threading Questions

1) I'm periodically doing some background processing in seperate threads, so the threads aren't always needed. I thought I read somewhere once that creating new threads has a lot of overhead, so I'm wondering if it's more efficient to recreate the threads only when I need them and then let them die...
by Chris Jones
Fri Oct 09, 2009 4:45 pm
Forum: General Discussion
Topic: Multithreading Engine design
Replies: 126
Views: 11943

Re: Multithreading Engine design

Actually Chric Jone's approach seems to be the closest answer for such a situation, i havent thought about pausing the caller task during the process of waiting for the function's return value, that should do the trick :) (as long as task scheduler detects a task is paused and launches the next tas...
by Chris Jones
Fri Oct 09, 2009 2:53 pm
Forum: General Discussion
Topic: Multithreading Engine design
Replies: 126
Views: 11943

Re: Multithreading Engine design

Here dont forget that new tasks are added to the end of the queue and task scheduler wont execute them till it has a FREE THREAD and dont forget that the task calling the function needs the result of that function to continue... so, now all current tasks wait for another task in the queue to comple...
by Chris Jones
Sun Aug 23, 2009 1:36 pm
Forum: General Discussion
Topic: Gallery Broken?
Replies: 3
Views: 277

Gallery Broken?

I don't know if this is a known problem, but I was just looking at the OGRE gallery and when i click on either the "Featured Projects" and "Misc" links, the images briefly fade in on the right and then fade out straight away. This happens on firefox 3.5 and internet explorer. Does it do this for eve...
by Chris Jones
Thu Aug 13, 2009 8:57 am
Forum: General Discussion
Topic: Book: Game Engine Architecture - Jason Gregory
Replies: 15
Views: 4384

Re: Book: Game Engine Architecture - Jason Gregory

40,000 dynamic objects is a lot, i don't think you'd have nearly that amount in an actual game. What's the vector used for? You could try a different container or use a memory pool (as an allocator) for the vector so allocation is faster.
by Chris Jones
Wed May 27, 2009 1:17 pm
Forum: Developer talk
Topic: Refactoring background task support
Replies: 17
Views: 2766

Re: Refactoring background task support

Another option is to refactor WorkQueue into 2 classes, WorkQueue (interface) and DefaultWorkQueue (implementation), and let the user replace the default one in Root with another one. Again though, I don't know if that's more constraining than a Listener or not, because the more abstract the interf...
by Chris Jones
Wed May 27, 2009 9:14 am
Forum: Developer talk
Topic: Refactoring background task support
Replies: 17
Views: 2766

Re: Refactoring background task support

May we make a set of interface for WorkQueue and other thing about thread? Sinbad 's code as default implement,Ogre's Users can use they external queue to replace this when they want. So we could supply our own implementation to be used? That does sound easier and more flexible than having any kind...
by Chris Jones
Tue May 26, 2009 8:29 pm
Forum: Developer talk
Topic: Refactoring background task support
Replies: 17
Views: 2766

Re: Refactoring background task support

Will it be possible for the application or game engine to be told by ogre that a task has been added so that it can manage all of its own threads? For example, in OGE the engine itself manages all of its threads (such as creating 1 thread per logical processor). These threads should be reused by the...
by Chris Jones
Mon May 25, 2009 4:10 pm
Forum: Lounge / Off-topic
Topic: Small Protocol Buffer test
Replies: 40
Views: 12097

Re: Small Protocol Buffer test

First, using the optimize for speed hint in pbuffers can never be compared to debug vs release builds of OGRE No but i don't think he was comparing it like that. I think he meant that you can't assume that PB's are slower than the equivelent XML if you haven't tested them in their correct configura...
by Chris Jones
Sun Apr 26, 2009 10:04 am
Forum: Lounge / Off-topic
Topic: Offline Version Control
Replies: 13
Views: 865

Re: Offline Version Control

I use SVN for my final year project at uni. I have the repository on my data stick which i can take home/to uni which works really well. I don't think its too hard to move the repository later on if you need to move it to a server.