Showing posts with label Unity3d. Show all posts
Showing posts with label Unity3d. Show all posts

Wednesday, 5 September 2012

3Di Launch Cloud Based Unity for Web Pages

3Di, the Tokyo based company that has been developing solutions to place virtual world's spaces on web pages has launched a paid cloud service that promises to make it easy even for none-programmers to set it up for commercial or private use.

Presently, anyone can get an html code snippet and paste it to a web page that gives immediate access to 3Di's own world known as Teddy town but now customers can download the 3Di web kit (30 day trial valid until September 30th 2012) and make ready their own 3D rooms for the web. Charges announced in the last few days are a personal use version at 1year advance payment of 9,800 yen (about 817 yen/month) and a professional commercial version at 3 months advance payment of 29,800 yen (approximately 9,934 yen/month).



See an example of the working application on the Resources link of this blog.

Click here

Previously the company had worked on version that used Opensim for back end but the results proved unsatisfactory and they switched to using Unity 3D. Unlike Opensim or Second Life the Unity server doesn't offer in-world tools for creating content and requires templates and avatar files developed in 3D modeling software that supports export of FBX or COLLADA files. Unity is a Mesh based world but 3Di has gone to great pains to make it as easy as possible to use. None the less, while they handle the server end in cloud technology there is still a steep learning curve to develop the Mesh models so customizing one's own world is not as easy as getting the world online.


However, according to 3Di they will be providing some basic templates and avatars to get a world up and running quickly. The api kit is aimed at content creators and has been developed as an extension module on top of the multi-platform 3D game development environment Unity. It supports smartphone platforms such as Android and iPhone. The development kit focuses on ease of use through simple drag-and-drop of sample scripts. With some programming experience you can do much more.

For some time now virtual world's owners have expressed a desire to have a browser based window into their world to make it easy for casual visitors to look round without commitment or a heavy download. Having a 1st Look option is thought might encourage people from the web to eventually download a viewer in order to do more. Ideally thought, the Opensim owners wanted a portal to an Opensim world directly and a solution for that was developed some years ago by In Duality which still requires a download and launches a viewer in a web page. This solution was placed in the open source community after In Duality failed to find a market for it at the time but it is not considered ideal anyway even though it dose still enable in-world building tools. However, the In Duality version has now been re-developed by SpotON3D who have taken a patent on their code so no one can use it without a licence from them.

Another company, Tipodean, worked on a browser based Unity solution to view Opensim in a web page some time ago but gave up on it after running into problems similar to the problems 3Di had. Tipodean offers a service now to do conversions of Opensim regions. They can create templates for Unity if you can't do it yourself. A lot still has to be done to get your own unique world up and running using Unity but 3Di have at least taken some of the work out of it with the web Kit.




Another web portal that requires no plugin, Cloud Party is the latest solution that is gaining considerable interest from Second Life residents. The  application is also browser based and uses webGL which presently only works in Chrome and Firefox.  However the Cloud Party developers are updating and launching new features very quickly with an eye on capturing as much of the browser based and smart phone market as they can before more solutions become available. They have now launched their own market place and they have token coinage.

Saturday, 30 June 2012

Opensim Can Do Anything That Minecraft Can Do

Presently, the only real money being made out of Opensim is by those who host regions for other people. These are either fully fledged grids with community and economy that lease land to be bought and sold within the confines of their respective virtual environments, or basic server companies who will host full grids on behalf of their customers or host standalones and regions connected to open grids like OSgrid. There is no serious money being made by content sellers yet or from in-world services and uploads. In deed, some grids like Inworldz don't charge for uploads anyway. So, the thing is if money can only be made from hosting, how will Opensim break out of the wilderness of vast tracts of virtual land that is well enough built but is also very empty?

The owners of Inworldz have done a lot of work to build community over the past few years and, while it has grown to be the largest and most populated individual grid on the open Metaverse, it can hardly be sighted as an example of meteoric growth. In the same time that Inworldz has existed Minecraft has grown to in excess of 33 million registered users and that includes some 7.5 million since the start of the 2012 alone. Both worlds can be described as open-ended build, share and connect with friends type platforms and when comparing their graphics, well, there really is nothing in it! Minecraft is out of the 8-bit world of NES for blocky graphics while Inworldz is as good as state of the art. Minecraft is old school while Opensim is up to date. And yet Minecraft pulls in the gamers like tomorrow is the end of the world!
I know, the graphics are awful but the kids love Minecraft and perhaps it's not the graphics they love but the game play itself. There is a whole bunch of monsters to kill and they give you things when defeated. Spiders give you string to make bows and Zombies will drop feathers that can be used in arrow making. With 33 million users it must have some pretty powerful magic!


Minecraft has got something that is not particularly special or that unique but it works. It works to such an extent that the owners, Mojang are now rolling in money. The blocky graphics have even worked in their favour to secure a deal with LEGO. So what is it with Opensim worlds that they can't pull in more users quickly even though Second Life is flat-lining?

I am sure brighter people than I can offer better answers to these question than I can but I am just looking at the way it is and wondering how an Opensim world could steal some of Minecraft's magic. I mean, what is that something that is not particularly special that works for Minecraft and can it be made to work in an Opensim world?

Actually, the more I look at it the more I realize it has all been done before in Second Life. In fact, I did very similar when I scripted the Barbary coast combat meter. Minecraft has several modes of play but Survival is the mode that best highlights it's specialness - if you can call it that. In Survival mode you enter a random world and you own nothing but you can wonder around gathering resources including food, materials and tools with which to construct a house for example or even a small fortress. Creating the stuff you need is the most important thing to do in Minecraft and you do this by basically converting the resources you find to the items you need. How it is done is explained on the various forums and Wiki pages. It's not very well explained actually and takes a lot of effort to learn everything. There are a lot of recipes and items you work with in the game and it can be quite intimidating and time consuming to learn yet people dedicate countless hours to it.


Here, Air Buccaneers from LudoCraft on Unity3D
demonstrates exciting game play in a Steampunk
inspired world with all the action of battling air ships.
Imagine the fun of finding the meterials to build
such an ship then using it to dominate the skies


Minecraft dose actually have quite a steep learning curve but once you gain mastery over the system there is a great sense of fulfillment and it's all very addictive anyway. It gets mildly scary too when night falls and the monsters come out to play! This is when all that work gathering and learning to make stuff pays off. You need simple things like a torch to light your way and a sword to kill the monsters with. Indeed, you are by and large the master of your fate by what you can make.

Opensim worlds are rich in features that can simulate pretty much anything that Minecraft dose except perhaps mining down through the blocky landscape. Opensim has NPC bots now and they are getting quite sophisticated in what they can be programmed to do so what is to stop a nifty script that turns a bot into a monster? An NPC can be given purpose just like monsters in Minecraft which can be found inhabiting deep dark mines where the most precious resources are to be found. Surely this can be done in an Opensim world one way or another. Why not?

You just need a combat meter that enables certain functions related to the game system you want to make. Your NPC monsters need to suffer damage from your sword and your character needs to suffer damage from the horrid actions of the monsters. Moreover, you need to gather food resources that can be eaten or converted into consumables to maintain your avatar's health. You should be able to grow food or hunt meat and net fish. It should also be possible to fight other avatars and even capture them too. It should even be possible to force a captive to work in a mine or in fields getting resources for you.

The drawback with Opensim is that if you run your sim on, say, OSgrid where content can easily be copied at present then the combat meter is wide open to hacking and cheating which rather undermines the game experience. In a closed world like one of the commercial grids this is not a problem but if you are like me and would prefer to be connected with the rest of the open Metaverse then  a security solution is required. It is one thing to develop features that resemble Minecraft but, in my view, it makes no sense to then shut yourself off from the potentially huge market Hypergrid is likely to make possible. Absolutely not. But no worry, Hypergrid II promises to offer new solutions to the content security issue that can work for us.

Here an Amazon warrioress at Barbary coast in Second Life. Over her head you can make out the meter tag with her name, role, status, health level, skill level and the balance of her money.


HG2 is expected to uphold the permissions set by the content creator rather than leaving it to the region owner to set the OutwardBounds permission to allow all content to leave, or not leave, the grid or standalone. Once we have this method for setting permissions then the grid can remain open to Hypergrid travel and the free flow of perm-allowed content while keeping our combat meter safely locked into our world no mater who gets to own a copy. What's more, it is perfectly feasible for the meter to be supplied on other HG2 grids that have been approved trust worthy. And the meter, provided it uses data storage on a http server independently of the virtual world we are active in, it should have no problem recognizing individual avatar names across worlds.

As mentioned already, in Minecraft you have to master the art of making what you need from the resources you gather or mine. Nothing is infinitely durable in Minecraft either. It will wear out, get consumed or perish eventually. Thus, there is constant demand and it is the job of meeting this demand that takes up a good deal of your time. In Opensim and Second Life we don't have resources in the form bricks, fire or wooden doors like Minecraft has but we do have a supply of prim's that can be shaped, linked together and textured to look like all kinds of items from clothes to sail boats. We have token currencies too and people create items that never wear out and sell them on the open market. There is no real sense of value until we consider leaving Second Life and find we can't take all that stuff we paid for with us. Then we suddenly realize it has value but it's a real world value and it is the ability to use real world money to buy your way through Second Life or Opensim that actually undermines some of the functionality that should be enriching your experience and sense of immersion.

Here a store room at the Port of Moresh in OSgrid
holds some innocent looking crates and barrels.
Sure enough the barrels hold ale that was brewed
in the port using grain gathered locally by slaves.
The barrel can dispense tankards of ale but it
could just as easily be a powder keg made from
saltpeter mined near by. It can be used to

blow a scripted door open no less!
To take an example consider a role play game in Second Life where warriors slog it out in countless fights using swords, bow and arrows or guns even. To register hits from the weapons some kind of combat meter must be worn by the combatants and, where the meter will probably be supplied for a particular RPG theme, most often the weapons themselves are bought on the open market. No one has to do anything but spend some Linden dollars or local currency (perhaps OMC or Paypal) which they buy with real world money. So there is little or no regulation as to what the weapons can do or how fast they do it come to that. There may be something in the rules of the RPG that forbid certain types of weapon but I have never heard of a role play game were the rules require you to find or use up resources to justify the use of a particular weapon. Indeed, I doubt if it could be enforced even if there were such rules without doing the actual scripting one's self as I did.

Another example might be the use of a ship with an array of cannons on either side. Who is to say what kind of ship you can own? Here again some venues list a selection of acceptable ship types but I don't know of any that basically say in their rules, if they have any, that you have to justify using a particular ship for reasons such as the resources you spent or the training you can prove to have received. For Second Life and even Opensim it basically comes down to what you can afford to spend which is really quite unfair on the guy who can't afford it. There are few games that do sell their own weapons which depend on the dedicated meter the game developer has made available to work. We have this in Barbary Coast RPG but it is still just part of the solution I would want in order to get anywhere near that model on which Minecraft functions. Generally, however, most combat meters in Second Life don't require resource gathering, no weapons making, no skill earned and really no work involved at all other than the speed of your connection and your quickness to hit the buttons. You buy your ship or sword or gun and do your worst and S/he that owns the best kick-ass-kit stands to win the day.

Here we need to reconsider what content really means and what value to place on it in our Opensim worlds if we want to have better, fairer and more impressive gaming. We need to engage players in the way Minecraft dose. We want to make their experience enjoyable whether they content themselves some days to gather or mine resources, another day to turn those resources into products useful to anyone in the game, or yet another day in which they battle with enemies, capture slaves of just kill monsters and vermin that infest the world.

The game builder needs to design a combat meter that can handle a fair few interactions including regulating the state of health of the avatar both in terms of nutrition as well as combat injury. Healing must be possible and the ability to eat food and take drink. The meter must have a skill level determined by winning and losing fights at least. There must be token money as well (not money that can be bought with real world money) to buy some of the goods being produced (you can't make everything). Players need to be able to trade goods, resources and make token money. For that the system must be able to deliver finished freebie goods that can only be bought and traded in the game. The same goods must have resource value and a life expectancy attached to them in a way the meter and world understands. They should perish or become unusable once they reach the end of their service life. And, above all, the freebies must be quality products that are locked into your game world even if the region is open to Hypergrid travel.

So the developer needs to get content made that is in theme or serves special purpose in the game such as food products. They need a meter and a well built region or set of regions that accurately represent their game world. They also need some rules - not necessarily intensive rules but enough to set the player on the right course quickly. This is especially needed for those players - probably more than you might think - that don't bother or skip over the material and prefer to rush off and learn by trial and error (just the sort that get it wrong, upset others and cause much of the angry exchanges in role play worlds). There should be a well written bio as well from which to gain a sense of the world the player will inhabit. Preferably, write a short novel in an ebook or PDF file for those who do take the trouble to read and are likely to be your most stable long term players. They would appreciate a story centered in your world and it would convey a lot more meaning to it which can place the gamer in the right mind set to begin their adventure.

Minecraft has something special that works for a lot of people but Opensim has huge potential to do some of what Minecraft dose. It can create a more realistic environment too. Minecraft's blocky graphics are part of it's unique character and it appeals to the very young and not so young alike. It can't do anything that is more suited to a mature user base and certainly not adult stuff. In contrast the Opensim platform is powerful, sophisticated and you can script for it. It can be used to develop most types of game both interactive and graphically realistic. The game we want to build and sell is not meant to be anything like Minecraft but it should exploit some of the features that work for Minecraft but done in a totally Opensim way. 

Here a somewhat bow legged Gaga visits the all new Cloud Party to check it out. My real interest of course is if webGL -  which puts this viewer in a web page (no download!) - holds out any hope it may become a usable application for Opensim. Certainly, with such ease of use it would be ideal for role playing on a web page while doing all the hard work and building in a full viewer. I must admit though is was quite good and I didn't need to use Facebook to get in. Just use https://its.cloudpartytime.com. Mind you I couldn't gain any land without a real login but, hey!


Opensim has clear advantages over Second Life. For one, you as owner, can decide what terms of use to impose. You don't have to allow the kind of pornography allowed in Second Life. But you might want to allow the kind of adult behavior that is erotic but not vile beyond reason or involving child avatars. You, as owner, can also control much of what happens in your sims unlike SL and while it is true many people stay with SL for the sake of their personal inventory or the traffic that affords them some income from sales it remains a closed world and basically a dead end street. Opensim continues to develop all the time. It's free and open source but yes it still has bugs and short comings which give Second Life that vital edge for now. But Hypergrid is developing too and soon it will offer new avenues to a greater market. We may even be able to experience Opensim via webGL before long similar to the new Cloud Party viewer in a web browser. The bottom line is there is everything to play for and Opensim really is a fantastic tool for creating virtual worlds by just about any body.

Saturday, 22 January 2011

Kinect. It's all Happening!

In my new Year predictions which I am expecting to get totally wrong I actually got something right already!

Someone has managed to hook up a Kinect to their PC and use it in Second Life to control their avatar movements and gestures.

Those same guys from the University of Southern California, Institute for Creative Technologies, have pulled it off again so it's sure to surface in an Opensim world before long. I understand there is a two second delay though which might make it a bit laggy for combat. Still,those who need exercise might soon have great way to work out while chating to and dancing with their friends in their favourite virtual world.

Two video clips to follow; the first Second Life but in the next video clip a little more magic takes the form of 3D rendering and animation using 3ds Max software. A Chinese hacker has used the OpenNI drivers to get Kinect to translate the motions of the user. This works by detecting the position of body and hands to control the animated avatar on screen. Anyone with 3ds Max will be able, at low cost, to easily generate lifelike gestures to use with their avatar in an Opensim world.

The future is defiantly on the march!



Wednesday, 5 January 2011

FAAST. Open source control software for Kinect

WOW! No I don't mean World of Warcraft I really mean WOW!

Following Pathfinder's lead, which he gave in my Predictions for 2011 comments I came upon a hack for the Microsoft Kinect sensor from  researcher, Even Suma of the University of South California. Working with his team at the school's Institute of Creative Technologies they have managed to put a middleware program together based on the open source framework tool, OpenNI that exploits Kinect's sensor to recognize the player's skeleton and translate body gestures, movements and voice into keyboard commands. This lets World of Warcraft players plug Kinect into their PC USB and directly interact with the game. The software package is called FAAST (Flexible Action and Articulated Skeleton Toolkit) and released as open source so anyone, they say, can downloaded it and use with WoW or modify to work with other applications.




Given that FAAST is open source anyone working with virtual worlds like Opensim should be able to play with the functions to get an avatar to sit, walk, run, turn about and activate a selection of gestures. I am sure a lot more might be possible too such as bringing up the inventory menu and clicking to wear an item of clothing while at the same time the avatar is seen, apparently, dressing as the result of an appropriate gesture getting activated (I have always wished for this since clothes simply appearing seems to me very un-life like).

Currently, the number of gestures available to WoW players is limited but the researchers aim to add more. In the video the team released (seen here), Suma uses his body to walk, his left hand to move the camera and his right hand to select attack spells. I can imagine in a virtual world a gun or sword can be taken in hand and used in combat too by those users more inclined to action adventure but the possible application for interactive social, medical and education use would benefit tremulously. As Skip Rizzo, said in the video, the system could help get young people out of their chairs doing more exercise. In deed, rehabilitation exercises and the fight against childhood obesity and diabetes could all be helped with this system.

I make no secret that want to see a free and open metaverse of hypergrid-connected virtual worlds come about where we, our avatars, can live some precious moments as extra-sentient beings playing, socializing, working and making money and, above all, being able to marvel at the creativity of others and enjoy the fantastic worlds we create. I think Kinect could open up new and exciting possibilities for virtual worlds and facilitate interaction in ever more life-like ways. I imagine too that a few more years ahead Haptics will come into play too and we will be meeting and shaking hands no matter where on Earth we live.

Imagine being separated by thousands of miles from work colleagues or those you love and yet being able to walk towards their hologram while they walk towards yours. You meet and shake hands or just hold the hand of your wife or husband, and by the miracle of technology you actually feel the touch. How amazing would that be?

Sunday, 2 January 2011

Predicting the Metaverse in 2011

Everyone who blogs about virtual worlds seems to make predictions for the year ahead at this time so, not to be out done, I though I too would have a stab at it if only to look back next January and see how much I got wrong.

Gaga arrives at the Museum on Heritage Key grid

First off I want to mention that Justin Clark-Casey, a core Opensim dev, predicted last year that Open Simulator would not come out of Alpha in 2010. That's right it didn't happen but I have to say, despite it's continuing quirkiness it certainly seems a lot better and more stable than a year ago. It's frustrating when you consider how long Opensim has been in Alpha and I think the Chicken & Egg policy for submitting patches may have held it back more than anything else. I say that because the Imprudence viewer devs have decided to team up with Aurora now (a separate development of Opensim) when they had decided to work closer with Opensim in response to the Linden Labs TPV policy. They switched to Aurora and will develop the   Kokua viewer after being frustrated with core Opensim policy so I read.

So I would now guess that Opensim will finally go to Beta in the 3rd or 4th quarter of 2011, maybe (I'm playing it safe!).

Gaga at Stonehenge on Heritage Key grid


My 2nd prediction is that Hypergrid will see more growth than proprietary grids over all especially if HG 2 arrives with a means for content creators to block their creations leaving the grid in which it is sold. I have though about this a lot and it seems to me that if sales are tracked on the sellers own server they could provide outlets on trusted grids for purchasers to receive what they paid for free of charge on their home grid and, since HG 1.5, avatars  appearance is called from their home grid and not downloaded to the grid one visits this to my mind would be the kind of content protection that might just work. Certainly, objects like furniture wont be travelling to outside worlds anyway if the seller dose not allow it.

I have read that many HG-enabled grids claim up to 50% of their traffic is arriving via HG teleports so I predict substantial growth in Hypergrid travel in 2011 generally.

My 3rd prediction is that more developers will pull out of Second Life TPVs and turn their attention to Opensim, either getting involved with the official core developers (especially if they change their 'Chicken & Egg' six month rule of not looking at the code), or new teams setting their own goals and branching off. I think some of the laid-off Linden employees might end up contributing too. The  Aurora team is an example and they have set an impressive list of objectives which I am happy to say includes improving the Opensim physics which, according to one core developer, they never considered it their place to do any better with -  not that I want to knock them, I really don't. I think the whole Open Metaverse community owes a great deal of gratitude to them for their hard unpaid work over the years, without which we might not have Opensim today.

Gaga gets to see the Terracotter army on Heritage Key grid

My 4th prediction is that Second Life will continue to loose market share in the early part of 2011 due in part to the doubling of tier charges to none-profits and education but this will be offset by opening the main grid to Teens - a timely move. However, I suspect Linden Labs will alienate more of their older users by this move especially if the Lab starts bullying them about adult content still lingering in the Mature sector. I suspect many sim owners will find themselves between the devil and the deep blue sea when it comes to handling the visitors to their Sims. There will be fear about age and constant worry about nudity and public cybersex (actually, all sex is public really since one can cam in and listen through walls so LL has kind of made a nonsense of what Mature means). Probably many sim owners will either go to full Adult or shut down and be done with it and, possibly, move to Opensim where they are not subjected to looney Linden's policy.

My 5th prediction is that Second Life will recover considerably in the mid year onwards as Mesh comes to the grid and Viewer 2 and V2 TPVs get wider adoption but I don't think any of this will save Second Life from a very slow long-term decline. Simply because Opensim and other platforms will be advancing and seriously giving Linden Labs a run for their money.

My 6th prediction concerns browser based portals into virtual worlds. I am confident that some serious breakthroughs are on the cards. I have looked at a number of these and visited some of them. KataSpace from  Katalabs  which is built on WebGL and HTML 5. This can run on Firefox without a plugin. It works but still rather primitive. 3Di  was, however, the first to port Opensim through a web page back in 2008 and the company is currently re-designing it to take advantage of Unity3d. Canvas   is the latest to begin testing and based on technology licensed from IBM. Next up is  Rezzable's  Unity3d based portal and the one that impressed me the most (see pictures). I went to the page and opened the portal window. I found it smooth, and though it was merely a waltz down a corridor introducing me to Heritage Key's  Opensim-based virtual museum, I was tempted to register and see the world. I loved it!


Then there was Friends Hangout  yet another Unity3d based portal on a web page which I got to from Evolver  where I made the animated avatar image seen on these pages. Apart from these efforts Blue Mars and Linden Labs are experimenting with Cloud to stream the virtual world to the web page but this is the more expensive route so the end-user is likely to have to pay for it. My prediction then is that anything based on Unity3d are the ones to watch and I think it might be safe to predict that by the second quarter of 2011 there will be a usable Unity3d web-based portal available for Opensim from the open source community.

My 7th prediction concerns Blue Mars from Avatar Reality. This impressive virtual world, with it's bigger regions and Mesh-based objects and avatars really shows what a future virtual environment should look like but I can't say I am convinced it will get mass adoption, not in the short term anyway. The viewer is a heavy download and good graphics card and high-end computer are a must. Then you have to download each city in turn before you can visit. If the owner makes changes then you have to download again. The developers are well aware of the download problem though and, as mentioned above, they are working on a cloud streaming to deliver the experience on a web page. I think BM has a long term future if their capital holds out. I predict major improvements through 2011 if it survives.

My 8th prediction is that Kinect will come to virtual worlds during 2011 although I hesitate to put any firm date on it. What happened was someone created drivers  for a PC that allows devices to interface with the Kinect for Xbox 360. This lead to an Austrian company that makes hardcore porn videos showing how the controller can be used in interactive sex games. There demo shows a female avatar being grouped on screen. It's kind of spooky but it shows the shape of things to come and were we are heading.









Next up will be Haptics! What, you don't know what Haptics means? Think of the Holodeck in Star trek. Yes, using ultra sound to touch and feel virtual holograms. The mind boggles!