New hobby?? Following the advices of Bartek at everydayflash, before beginning with Unity3D I decided to begin with 3D design just to get used to 3D environments. For anybody who wants to find out what Bartek says about Unity3d post.
Blender was the 3D engine I used. First time I opened it I got scared… a linux kind interface with a lots… A LOTS of buttons, a grid and a square. Not something I could find out by myself how to make that work. I searched for a tutorial, I found one very light to reed, it is in spanish although…. here It is very simple one but it really helps to get used to the interface a sunday afternoon.
My first terrain! (I do not upload it… it really doesn’t worth it) and… a self modeled christmas tree!!! This on I will try to upload. Blender is hard to get used, but once you get the pincipal keykommands and how to make them work in the correct sequence it gets better.
This project was about recording a few seconds of work and reproducing it. We decided to do that with Red5
Streaming (biggest reason was that it is for free…). A few hours before the final final final (but this is the most final) deadline we saw that we could not have two flashplayers opened streaming voice at once. Debugging we found the Netstream.Publish.BadName that caused that nothing could be recorded, a silent killer!!!
Reading about Netstream publish at livedocs:
“Don’t use this method to let a client play a stream that has already been published and recorded”
ok and what should I do?? reading a few lines below:
“When you record a stream using Flash Media Server, the server creates a file and stores it in a subdirectory in the application’s directory on the server. Each stream is stored in a directory whose name matches the application instance name passed to
NetConnection.connect(). The server creates these directories automatically; you don’t have to create one for each application instance. For example, the following code shows how you would connect to a specific instance of an application stored in a directory named lectureSeries in your application’s directory. A file named lecture.flv is stored in a subdirectory named /yourAppsFolder/lectureSeries/streams/Monday: “
Ok then, the solution to the problem was not in the netstream, it was at the netconnection! That ment we had to connect to the red5 server but forcing it to record to a unique folder so that each publishing of the netstream pointent to a unique “publishing name”. For that we decitedt to create a folder with the getTimer();
_randomFolder = String(getTimer());
works perfectly the only disadvantage is that on the server there are a lot of created folders….
At work with already a few days deadlining….. The artdirector comes and says… just a little bug….
“When you upload the foto and you resize… see?? The photo seems to be sticking at its position”
HUhh!!?? The mask was not able to move with its container when it was repositioned by resizing.
The mask was not applied as it before the round trip with the server. (User uploads photo and flash loads it in again). So the mask was a decorative overlay before, and just at the moment where the bitmap was received the mask was set as actually mask. The problem was that the mask had applied a Filter (concretely a DropShadowFilter, not sure if that made any difference) but somehow this filter blocked the repositioning of it. So just pulling the filters off before setting the bitmap was enough!
No need to tell how stupid I felt……. 🙂
Just a quick post to mention a new comming group of creatives. Two spanish guys with the alias hazmevolar you can see a preview on youtube
After a few month hasitating and not finding time to really begin with it (it has been a really hard deadline weeks).
Unitiy 3D! Thanks reading Twitties and posts of it at everydayflash, today it was finally time to download Visual C# Express. Thanks Bartek for posting the first steps to run it, really looking forward to!
Although I am a Flash/AS3 entusiast maybe beginning with C# it worthes to take a look to Silverlight too!