dimanche 24 février 2008

Camera fun

An avatar walks around with a camera.
Folks new to SL always have to get used to this.
But many peculiarities of this camera even experienced users don’t know about.
Even 5 discovered some new possibilities after a year!

Basic camera facts:
Walking and flying: the camera follows from behind, so how to see your face?
Using the arrow keys makes the camera swing, but the avatar too.
Using the mouse wheel zooms in and out.

Swinging the camera around:
Now for this you have to become a virtuoso on the keyboard! Press ALT and click on something, the terrain or an object or an avatar. Then while mouse pressed, move the mouse: the camera swings around in a horizontal plane. The vertical mouse movement gives zoom, for instance to see your own make-up or nose or beard.
To get it moving more freely (but without zoom), also press ALT CTRL, click on object, keep mouse pressed and move mouse! Freely means here in a sphere around the object.

Now to get further away from the avatar, you have to realize the camera is bound to the avatar, but it can escape quite a distance.
You can liberate the camera more using: Second Life menu-> client -> Disable Camera Constraint.
(Found no “client” in menu: press CTRL ALT D)
Then your camera can really roam through space.

Sitting Camera movement:
Sitting on an object gives other freedom. There are the same possibilities as before. But clicking an object somewhere and then using just the arrow keys makes your camera turn around this distant object! Quite fun!
Arrows up down, zoom
Arrows right left circle around chosen object or the avatar.
Page up and down (normally flying) give space up and down!
And then: ALT CTRL and SHIFT (in that order) and arrows gives parallel movement!

What I seldomly use is the Mouselook, Movements in Mouselook mode are somehow not convenient for me.

This sitting – arrow steering possibility is interesting.
The problem sometimes is that you want to show people something in Second Life in a public environment. But then they should have an avatar, most of them have no avatar nor experience moving around flying etc. It would actually be undesirable to have them roam the whole of Second Life. This sitting avatar is a solution for this problem. A Joystick can steer the arrow buttons, a wii remote control might do the same (bluetooth connection and GlovePie for instance). If the rest of the keyboard and computer is hidden, the public can fiddle with the view and the joystick and everything can be done, clicking, etc, without fear of the avatar drifting of!
5 can show the whole of the virtual museum like that!

Tele and Wide angle camera.
As written about before:
You can get quite nice shots for stills using different camera angles. Shortcuts CTRL 8 CTRL 9 CTRL 0
This picture 5 got by going to the limits (or over the limits...)

















Scripted camera
.
This is fun too, you can script the camera to follow you in all kind of positions, an example is given here: http://slhomepage.com/lsl/FollowCam.htm
In this script the camera is not really free, which is for me: steerable by the keyboard. This is possible too!
I found a nice script: a "scan camera" script of ArianeB:
http://arianeb.com/secondlife.htm (bottom of this long and usefull page)
I turned this around in a camera steering from the keyboard,
for steering camera from arrows on keyboard mind the control permissions: http://slhomepage.com/lsl/llTakeControls.htm
but combining controls and camera parameters, the camera is freed and can follow a path, or steered by the keyboard, letting 5 take a break!
You can get away pretty far steering this free camera, the problem is: the drawing distance of your avatar! The world gets empty behind this limit.

Video
For making video’s, knowing the different possibilities of the camera is great. The walking avatar gives quite an instable image.
A problem is the speed of the normal camera. More convenient for good video making would be the possibility to slow the camera movement, resulting from using the arrows in sitting position. Maybe there is a shortcut for that too? Yes, deep down in the player:
Client (CTRL ALT D) -> Debug Settings ->in the textbox type Zoomtime.
Default is .4, but making this higher (10 – 20 sec) you get a very slow moving camera, great for nice steady zooming. You can let the buttons go and the camera stays on moving, slowly, comfortably, it is like sailing! But there are disadvantages too, the camera moves on and on sometimes, so for normal living, quickly reset it to the default of .4 sec!

Have fun, explore! I imagine even more can be discovered!


skin fun

First some basic facts:
Basically a skin is the deepest texture layer of an avatar. Clothes, like shirts and trousers are covering this basic layer. T-shirts for instance are easy to make and cover the upper body.
Clothes can be taken off; the basic skin can never be pulled of. Skin is the most fundamental layer.
Even when a skin is replaced, it replaces the last one. No avatar is without skin; also this skin cannot be transparent. The most simple is the Linden skin layer.
So skins you can choose to wear are replacements of this basic layer.
Does everyone need a skin? Every avatar has a skin to start with. It is a basic model. Other free skins with features, make-up, tattoos, are easily found and freebies. “Opium” -skins are found everywhere, and are not bad.
When do you really need a skin: actually only if you plan to show it, that is if you don’t want to wear too much clothes! What is the point of buying an expensive skin, and then covering it with clothes?

Skins are different form “shape”, and the added features like eyebrows, beards and whiskers.

Normal skins: drawing and painted (by computer), abstractions of skins. Some skins are only partial, for instance upper body. These skins can be altered, in darkness lightness or color.
Photoskins: photoskins are based on real photos. This leaves the abstraction of an avatar a bit behind. Photo skins can be too real. Photoskins can have very convincing shiny effects, only turning around such a skin reveals that these gleams are fixed and parts of the skin, not reflection effects.
The third category: fantasy…try throwing a texture in the texture boxes for upper and lower body parts, this is great fun!


Colors:
When do you see the color of a skin: well, when you don’t have much on as clothes.
So with good prim hair (can be found free) and make-up (make-up too, it comes often as a part of free skins) a basic skin can be very sufficient, because you don’t see much of it.
But then showing yourself (haha what is yourself here?)
Going around in shorts or in tops which leave the shoulders free can already be embarrassing in a basic skin. The area of the neck and the décolleté are rather poorly represented. The subtle play of shadows fails quickly and gives nasty effects.

Adjusting the color. Trying to get “black”.
Going around tanned can be done by adjusting the top slider in the appearance menu of skins.
Some skins give the possibility of going really dark, but then there appears to be a problem: the whole detailing fails and the avatar looks like a dark blob on the screen: see the picture.

That might be the reason why the black African skin is not too much around in Second Life. Is Second Life an all white affair? That would be terrible! Asian skins are around, but these are mainly fair skins too. (The Asian effect resides also very much in the “shape” of course, the way the eyes are placed and the detailing of the face.)

So what about the African skin?
This idea of finding out about the darker colored skin became a small obsession. It is very difficult to find these dark African skins doing “normal” shopping. Also the Second Life finder doesn’t help much. The SLExchange finder neither.
White skins seem to be “normal”…???

Searching the internet gave me 2 clues, which were linked. Two blogs in which the same question was posed: what is wrong with wearing a dark skin?

Two problems: the first the one is already stated; the screen colors go very well with fair colored skins, the darker have this problem of becoming dull. (This is the same for movies and television.)

The second seems to be pure discrimination! Here are the blogs referred to:

http://secondlife.blogs.com/nwn/2006/02/the_skin_youre_.html
http://brace-coral.livejournal.com/50040.html

Avery good reason to try to buy such a skin!
In the blogs there were references to shops. Only two shops offer well made real dark African black skins. (Although pretty good abstract skins are freely available too, but you have to search quite a bit for these darker skins.)

In the end 5 bought such a skin. A photoskin of Midnight at 1500 L$, wow!

The face is realy realistic, in contrast with the absract SL head. Ears for instance, hmmm maybe even too realistic. The specials are the shining surfaces, quite a lot of work for the designer to get this right! The features cannot be changed in the appearance menu, not darker lighter, etc. The shape can be changed of course, this textures always fits around.


Then 5 had a nice skin, what a problem!
5 always went around in a gothic outfit, which covered all of the body! As stated above, if you have a skin like that, you have to show it, wearing only a few well chosen articles…so the whole habit of clothing is changed by a skin!

Worse: a good, nice skin (real beauty) wants to show itself, it seems to have a will of its own. 5 never knew this before!

Actually, as could be foreseen, other things attached to the avatar, for instance the prim hair can make quite a difference too. As seen in the images a black skin becomes really African, when the head isn’t covered by a fancy hair piece.

To accompany this blog a difficult question had to be answered: how to show the differences between the skins? Well, not by showing only the face. Ok that is the reason for this general striptease!

5 is showing of in different skins, the names are covering some all to intimate parts (5 hopes) You can see clearly the difference between the skins, abstract, basic and photo. And then the influence of the hair and eyes can be appreciated. This being able to feel “a bit” in other persons skin is one of the most fabulous features of Second Life for me.

Last question: walking around in a black skin: is 5 discriminated? Not at all! Friends walking out on 5? Not at all!










Shops:
Offering the photo skin, also a couple of good male skins (see the upper part of the picture):
Chip Midnight: http://slurl.com/secondlife/Freelon/50/62/23
Offering an abstract, but very good skin: (below in picture)
Ayesha Bisiani: http://slurl.com/secondlife/Skin%20Within/120/139/28


















Bojana Vella showed me Allessandra Island,
with two great dark skins (1200 L$)

Later i found this shop: Archan, 990 L$ with shape included...

lundi 11 février 2008

All black void













Black, all black, void black.
That was the status of my avatar.
Sometimes the eyes were visible, only.
Clothes I changed, sometimes they got visible, most turned black too.
Reinstalling Second Life doesn’t help.
Rebaking textures doesn’t help.
Logging out and in doesn’t help.

Something good came out of it though:
I decided to make my own head, of a pumpkin…, in reality it was a fox avatar I rebuilt. I took so many features away it looked like a pumpkin with too eyes on it in the end. Then I made a script moving these eyes around, and I made the pumpkin open up a bit and changing this opening at the back. This opening revealed my “brains”. It was fun, I have put a book inside and a few pictures. Just to get an idea of my brains.
Later on I added a compass structure (script and object) and could steer a robot in RL, just moving my brains! (My brains sent http request to a server and these were detected by a prog on my laptop, which sent signals through Bluetooth to a Lego NXT robot.)











But that did not resolve my all black void status. I decided to check on internet. I had happened to me before, but it went away, now this all black thing was persistent. Somehow somebody told something about two screens? Yes I am using two screens, yes I remember having had problems with beamers, trying to display shockwave animations on the second screen….it didn’t work out.
Ok let’s try this, one screen, black, other, main screen, shift Second Life, rebake textures. Behold! My colors are back. Shift back again, change clothing: all black, a void again. SO this is resolved! Working with two screens, depending on graphical cards, an avatar can go in the all black status.
By the way, my preview on importing pictures: sculpties was gone too in the all black status. Very annoying, because sculpties tend to come in wrong! So that problem is tackled to.

I must keep on to the idea of creating my own brains though. It was fun putting all kind of things into it, and showing it so now and then by a script which opens randomly my pumpkin – skull …





mercredi 6 février 2008

SL connects to RL (scripting)

Second Life is a world in itself. A world, what is a world? Something which exists in itself and provides the means for its inhabitants to exist like humans. A world has to have enough variety, being a whole, being “closed” in itself. Being closed means here that things in “the world” stay in this world, it is more or less self contained.
Stay ''mainly'' into itself, because only RL is in this sense a world: we cannot get outside of reality, example: the world of music.
All worlds we make up finally reside in reality somehow. Also Second Life!

Unlike Real Life, this Second Life has connections to another world, outside of it, which is, of course Real Life. Quite a few! Besides its own structure, of rendering, objects and avatars here is input of images, sounds, even video, and on the constructive level of course input of ideas and energy of its residents. What would be SL if there were not any avatars having their proper behaviour, well, we see that sometimes: emptiness, void, silence!
Avatars in this world have motives and are independent of each other.
A drive for a lot of people is the money; Linden money can be exchanged in real money and the other way around, this is a connection too! But for some, money is not everything! Some avatars like to program.
Using the Linden script you can enter information in this 3D world, and get it out again. Not as thoughts or memories, but as real hard data!
Linden script has a special function for this, the httprequest. It is a call to a page on the internet, or a page connected to a server. This is it:

key llHTTPRequest(string url, list parameters, string body)

where url is the web address, parameters can simple be [HTTP_METHOD,"GET"], and the body left empty, that is to say the empty string “”.

This request gives a reply, being the text of the web or php page called back into Second Life as a string, a text, and this response can be monitored by the method

http_response(key request_id, integer status, list metadata, string body)

Well and this server can be connected to other “worlds”. The world of internet for instance. Doing statistics of visitors can be stored on a server. Also a microphone can be installed in SL, recording what has been said in its neighbourhood. This microphone can store the recordings on a server.
Connections to servers can be made from a PC, using progs made for instance in C# (or whatever language also allows to make a http-request, say, FLASH, DIRECTOR). So information retrieved from the server can be stored and used on the PC.
This same PC program can make a Bluetooth connection. These connections have two directions. So a cell-phone can tell something to this PC program, telling it the server, and an object in Second Life can ask the server what happened, so through Bluetooth, PC, and server a Second Life object can be commanded.
The other way around is the second direction:
Some object give information on movement, speed and angle to the server, the server is asked for speed and angle by a PC prog and this prog provides a small robot for motor speed and steering angle using a Bluetooth connection. The small robot being for instance a NXT, the Lego robot. And this all works!



Five March was flying around with a sender and this flying around caused the robot to move!
Very funny, but imagine, sometimes it doesn’t work! What can be the reason? In the end it turned out that quite a few owners of land don’t give permission to run scripts! So the http request doesn’t work, and the robot bumps into a wall!
This robot can be steered also using an in between script called GlovePie with a wii remote control. So this means again that the wii remote control can easily get information into Second Life, moving object.
Connecting worlds is wonderful. It is where the cold technical world becomes social.

Big fun also is: I am writing two blogs, one about the NXT and the other is about Second Life. Now these two blogs have met!