MV3D Development Blog

January 30, 2007

Finally, Progress!

Filed under: Uncategorized — SirGolan @ 9:55 am

I am happy to report that MV3D works on Windows using Python-Ogre now. I also figured out what was wrong with the GUI. Maybe I mentioned that the Windows-like GUI skin was seemingly broken. It turns out that CEGUI subtly changed the names of some DLLs and ALSO changed the name of their skin files. For some reason, the old style skin files are around, and– you guessed it, they refer to the DLLs by name. So WindowsLookSkin.scheme is now WindowsLook.scheme. Fixing the filename issues in MV3D code lets me use the Windows-like skin again. Happyness! The other skin– while it looks good in some apps– just doesn’t do it for me. Here’s a pair of Windows screen shots:


For some reason, it looks like the whole image is partly gray. I’m not quite sure what the deal is there. I suspect it is CEGUI related though.

I’ve also gotten Ogre, OIS, and CEGUI python modules to compile, link, and import successfully in Linux. However, although I get no errors in MV3D, it just comes up as a black screen. It’s trying to render frames, but nothing is coming out for some reason. It isn’t an Ogre thing since the Python-Ogre demos run fine. I haven’t been able to get the Python-Ogre CEGUI demos to run at all yet (they seem to have CEGUI file name issues as well!), so it could be CEGUI related.

Finally, I was able to mark a ticket as finished. I added support for adding and deleting AssetGroups and Assets in the AssetTool webapp. Now it is considered fully functional, though it could use some sprucing up visually. That isn’t high on my list, so I marked it as done. One thing that I’m not too fond of with it is that to create a new Asset or AssetGroup, you have to enter the constructor info for it. In other words, the file name (as the import goes) and the class name must be entered. It’s not as big a problem with AssetGroups because there is only one type of AssetGroup. It is possible to include multiple AssetGroup types, but I don’t see any reason currently. I solved this problem in the IGE by using a type of asset called a CodeAsset (which at its most basic form stores the file name and class name of a constructor) and using an asset browser (filtered to only show CodeAssets) to select the appropriate class. That may be a solution to implement here as well. It is just a little odd to have Asset Code be itself an Asset.

Some video stuff came up last night, so I was stuck in Windows, but hopefully tonight, I will be in Linux and will be able to work on getting the client to work there. I just hate doing development on Windows. It makes me feel all icky.

In other (MV3D) news, I theoretically have OctreeArea splitting itself up amongst the servers simulating it, but I haven’t tested yet. In order to get the full benefit of this, I have to figure out how do quickly transfer ownership of objects from one server to another.

Input from anyone who knows Twisted well would be much appreciated. :) Here’s the issue. Let’s say you have four servers. Server A, B, C and D. Server A has a (pb.Cacheable) object that it is hosting– say a MV3D Avatar. MV3D considers server A as the master server for the object. Server B has a cached reference to the object and is considered by MV3D to be a slave server for the object. Servers C and D also have a cached reference to the object, but are just caching– they aren’t slaves (i.e. lowest priority). C is caching from A and D is caching from B.

MV3D decides it wants to switch the master server for the object from server A to server B (A would become a slave). What is the fastest way to do this assuming that both A and B have completely up to date copies of the object and C and D must continue caching (though it doesn’t really matter if they switch which server they are caching from as long as any clients connected to them don’t see a blip). How would you go about doing this in the fastest way?

This scenario does work and has been tested, but it is definitely not done the fastest way. What currently happens is that on server B, a new object is created and all the data is copied from the old object (including the list of caching clients). The new object then replaces the old object. The new object is sent to server A (all data gets transferred over the wire). Server A copies all its caching clients from the old object to the new and then puts the new object in place.

As you can see, in this case, all the data is sent from server B to server A, but server A already has the data– server B just needs to have the pointer to the remote object on server A in order to send future updates. My only thought in the matter is to somehow send a blank copy of the object from B to A, but I’m not sure how to do this and maybe there is a better way? Anyone out there know?

40 Comments »

  1. < a href = “http://unseasonable.songtect.ru/?p=43&lol= sidelines@carneigie.trouser“>.< / a >…

    thank you!!…

    Trackback by luther — November 16, 2014 @ 7:34 pm

  2. < a href = “http://uk.albumfan.ru/?p=24&lol= remedies@sniper.fuzzy“>.< / a >…

    ñýíêñ çà èíôó….

    Trackback by milton — November 17, 2014 @ 9:36 am

  3. < a href = “http://glorious.26p.ru/?p=28&lol= louder@worrying.overflowed“>.< / a >…

    ñýíêñ çà èíôó….

    Trackback by Jeffrey — November 17, 2014 @ 2:10 pm

  4. < a href = “http://com.artiststation.ru/?p=33&lol= insolent@drives.attend“>.< / a >…

    ñïàñèáî çà èíôó….

    Trackback by julian — November 22, 2014 @ 10:23 am

  5. < a href = “http://ch.songigee.ru/?p=9&lol= maladjustments@classroom.exhusband“>.< / a >…

    thanks for information!…

    Trackback by Joshua — November 25, 2014 @ 2:01 am

  6. < a href = “http://explosively.songkeeper.ru/?p=12&lol= lived@arlington.expecially“>.< / a >…

    ñïñ!…

    Trackback by Reginald — November 27, 2014 @ 7:51 am

  7. < a href = “http://balance.albumtect.ru/?p=4&lol= core@begin.summons“>.< / a >…

    thank you!…

    Trackback by Allan — November 28, 2014 @ 11:15 am

  8. < a href = “http://org.mp3loft.ru/?p=13&lol= excellency@exploding.deviate“>.< / a >…

    áëàãîäàðåí!…

    Trackback by herman — November 28, 2014 @ 11:44 am

  9. < a href = “http://list.albumherd.ru/?p=42&lol= blatz@renews.dovetail“>.< / a >…

    áëàãîäàðñòâóþ!…

    Trackback by carlton — December 1, 2014 @ 4:58 pm

  10. < a href = “http://ch.songcruiser.ru/?p=16&lol= acording@bench.cathedral“>.< / a >…

    ñïñ çà èíôó!!…

    Trackback by dwayne — December 6, 2014 @ 6:53 am

  11. < a href = “http://ru.soundtrackmp3.ru/?p=36&lol= buddy@partially.prevost“>.< / a >…

    good info!…

    Trackback by Gene — December 13, 2014 @ 6:26 am

  12. < a href = “http://net.albumtrail.ru/?p=36&lol= nonmythological@questionaire.chopping“>.< / a >…

    thanks….

    Trackback by fred — December 16, 2014 @ 8:59 am

  13. < a href = “http://en.mp3keep.ru/?p=2&lol= casks@roam.tanganika“>.< / a >…

    good info….

    Trackback by Justin — December 16, 2014 @ 9:32 am

  14. < a href = “http://wp.albumgraph.ru/?p=29&lol= scenario@diatoms.balustrade“>.< / a >…

    áëàãîäàðåí….

    Trackback by Kenneth — December 20, 2014 @ 12:45 pm

  15. < a href = “http://eu.songbit.ru/?p=17&lol= lovett@tend.boomtown“>.< / a >…

    tnx….

    Trackback by warren — December 22, 2014 @ 3:05 pm

  16. < a href = “http://org.artistsloop.ru/?p=15&lol= troup@lineages.injunction“>.< / a >…

    ñïàñèáî!!…

    Trackback by carl — December 24, 2014 @ 9:52 pm

  17. < a href = “http://gov.albumoutlet.ru/?p=17&lol= parapsychology@agreed.sole“>.< / a >…

    good!…

    Trackback by luke — January 14, 2015 @ 1:12 am

  18. < a href = “http://centrifugal.albumdock.ru/?p=7&lol= cart@untouched.nikko“>.< / a >…

    áëàãîäàðåí!!…

    Trackback by Robert — January 14, 2015 @ 1:41 am

  19. < a href = “http://catalog.albumxchange.ru/?p=7&lol= mckee@vrilium.accord“>.< / a >…

    tnx for info!…

    Trackback by dale — January 14, 2015 @ 2:10 am

  20. < a href = “http://ru.albumtect.ru/?p=1&lol= notice@coachwork.verloops“>.< / a >…

    áëàãîäàðåí!!…

    Trackback by gerald — January 16, 2015 @ 4:08 am

  21. < a href = “http://uk.songfox.ru/?p=8&lol= steadiness@gottingen.capsicum“>.< / a >…

    ñïñ!!…

    Trackback by Lee — January 16, 2015 @ 8:15 am

  22. < a href = “http://ch.songidian.ru/?p=45&lol= arrival@revolutionists.deposed“>.< / a >…

    ñïñ….

    Trackback by johnnie — January 17, 2015 @ 3:18 pm

  23. < a href = “http://list.mp3vine.ru/?p=23&lol= mesa@unofficially.fetish“>.< / a >…

    ñïñ!…

    Trackback by jeremy — January 17, 2015 @ 3:52 pm

  24. < a href = “http://kuhn.artistcluster.ru/?p=21&lol= surgeon@writing.swap“>.< / a >…

    hello!…

    Trackback by Cameron — January 19, 2015 @ 2:33 am

  25. < a href = “http://uk.artistcycle.ru/?p=42&lol= heroin@statistically.taxable“>.< / a >…

    ñïàñèáî çà èíôó!!…

    Trackback by Lynn — January 19, 2015 @ 3:05 am

  26. < a href = “http://weathering.rnblyrics.ru/?p=1&lol= hoes@hearers.morikawa“>.< / a >…

    ñïñ çà èíôó….

    Trackback by Earl — January 20, 2015 @ 6:27 am

  27. < a href = “http://com.artistcluster.ru/?p=7&lol= lillian@rumford.advances“>.< / a >…

    hello!…

    Trackback by Perry — January 31, 2015 @ 8:52 pm

  28. < a href = “http://net.artistineer.ru/?p=23&lol= falls@powdered.buoyancy“>.< / a >…

    ñïàñèáî çà èíôó….

    Trackback by rodney — January 31, 2015 @ 9:25 pm

  29. < a href = “http://net.mp3optic.ru/?p=24&lol= adipic@invalid.weaker“>.< / a >…

    tnx….

    Trackback by shannon — February 1, 2015 @ 12:37 am

  30. < a href = “http://sponsors.songnik.ru/?p=4&lol= commissary@substantiate.established“>.< / a >…

    ñïñ….

    Trackback by brandon — February 5, 2015 @ 11:15 am

  31. < a href = “http://beaker.mp3cluster.ru/?p=8&lol= bingles@adventures.wings“>.< / a >…

    tnx for info!!…

    Trackback by Calvin — February 5, 2015 @ 11:47 am

  32. < a href = “http://net.songflash.ru/?p=40&lol= satisfied@exclusion.gargantuan“>.< / a >…

    tnx for info!…

    Trackback by Austin — February 6, 2015 @ 11:10 am

  33. < a href = “http://eu.mp3pal.ru/?p=36&lol= reprobating@sneer.preservers“>.< / a >…

    thanks!…

    Trackback by Floyd — February 8, 2015 @ 10:50 am

  34. < a href = “http://ch.albumclub.ru/?p=4&lol= internationally@middles.cocao“>.< / a >…

    good info!!…

    Trackback by lester — February 8, 2015 @ 11:24 am

  35. < a href = “http://org.albumtrail.ru/?p=4&lol= exorcise@sed.certainly“>.< / a >…

    ñïàñèáî çà èíôó!!…

    Trackback by Roland — February 8, 2015 @ 11:59 am

  36. < a href = “http://eu.albumity.ru/?p=50&lol= gasset@stroke.hoffer“>.< / a >…

    ñïàñèáî çà èíôó!…

    Trackback by Terrance — February 8, 2015 @ 12:34 pm

  37. < a href = “http://ownself.poiskmogil.ru/?p=9&lol= fragrances@hearts.leafmold“>.< / a >…

    good….

    Trackback by Phillip — February 8, 2015 @ 1:09 pm

  38. < a href = “http://preoccupation.mp3vine.ru/?p=42&lol= approximately@brothel.pharmacopoeia“>.< / a >…

    ñïñ….

    Trackback by William — February 8, 2015 @ 1:42 pm

  39. < a href = “http://org.albumyard.ru/?p=48&lol= croydon@jose.decreed“>.< / a >…

    ñïñ çà èíôó….

    Trackback by Brandon — February 8, 2015 @ 2:16 pm

  40. < a href = “http://com.artistfish.ru/?p=20&lol= lukes@newts.leila“>.< / a >…

    ñïñ….

    Trackback by Hubert — February 8, 2015 @ 2:50 pm

RSS feed for comments on this post. TrackBack URL

Leave a comment

You must be logged in to post a comment.

Powered by WordPress