Pick of the Day: Scream Estate

Scream Estate is a Hallowe’en-themed Sansar experience by JCat. When you arrive, you are greeted with the following sign:

Scream Estate 22 Oct 2017.png

One of the biggest problems in Sansar so far is the lighting of experiences. Users in a VR headset see experiences lit much brighter than desktop (non-VR) Sansar users. JCat is to be commended for coming up with an elegant solution to this problem. Behind this sign is located a cobblestone plate that, when you walk on it, automatically brightens the Scream Estate experience for desktop users!

JCat explains how this magic was done:

The stepping stone has a volume trigger which activates Galen’s people sensor…..
I have a light in the center of the experience — way off the one side and far underneath the landscape (so it’s dark at first)…
The light is attached to a tiny object…which has Galen’s position script. When someone steps on the cobblestone. The position script lifts the object with the light all the way above the experience, so now it lights it up.
The one problem… if you’re in VR, and someone else is in desktop at the same time… it gets too bright for VR users, and by far, it is not as creepy. The experience for VR users is automatically set to correct lighting. Desktop is much darker (by default) than when in VR.
A very clever solution!
Scream Estate features a wandering maze of a house, you never know what you will encounter just around the corner!
Scream Estate 3 22 Oct 2017
JCat’s experience is well worth a visit, if for no other reason than to test out his ingenious solution to an experience lighting problem that bedevils many Sansar creators.
Advertisements

Sansar Creator Interview: Galen

Note: This interview, conducted by Sansar user GranddadGotMojo, originally appeared in Chris Jackson’s News One blog, which has since shut down. Chris was kind enough to give me a copy of this interview, and Granddad consented to have it republished here in the Sansar Newsblog so it wouldn’t be lost. Thank you, Christ and Granddad!

Interview With Galen “The Programmer”, by GranddadGotMojo

Galen, who is one of Sansar’s most prolific and talented programmer/creators, sat down with me to answer some questions and share his thoughts.

Granddad: What is your programming background? What did you program in before Sansar?

Galen: I’ve been a software engineer my entire career. I started programming in high school in the late 1980’s. Like many senior programmers, I’ve worked with a lot of platforms and languages. Much of my more recent career has been in Microsoft’s mainline platform. For most of 2017, I’ve been developing software and some other content for both Second Life and Sansar, focusing on LSL, C#, T-SQL, and JavaScript.

Granddad: Tell us about Reflex and Clockwork and your ideas for creating frameworks of programs that interact? Where do you see this going to?

Galen: From day one upon arrival to Sansar during the closed alpha, it was clear to me that the main thing people felt was lacking was interactivity. By my third day, I had created the very first working door script.

My goal was to create a fleet of simple scripts that could be hooked together, LEGO-style, by non-programmers to create interactive behaviors. It took a couple of weeks to release the first version of the Reflex scripts for that purpose. Then a few more weeks to release a second version that revamped the communication and programming style.

It also featured a website with a detailed user guide to help users understand how to use the scripts. I also documented the approach that other programmers could take to write their own Reflex-compatible scripts. I genuinely wanted to set an early standard to encourage everyone to work together.

Granddad: I have looked at that site and will probably try to create an actuator. What kind of actuators or sensors do you think other programmers should try?

Galen: For now, I think I have the basic options covered because there’s not much we have access to in the existing Script API, but that will change over time. And chances are I won’t keep up with it all, so it’ll be good for others to contribute new types of sensor scripts. There are endless types of actuators people could make.

My initial goal was to cover some of the obvious basics, like making sounds, opening and closing doors, switching on lights, etc. Honestly, I have expected the first Reflex scripts other than my own to be what you might call “beadboard controllers”. By that, I mean scripts that listen to standard sensors and put together more complex responses. Like if you’ve visited three required spots, now you can open a door.

I have plans to add a bunch more features to Reflex in the near future, too. Most notably, I’d like to add a sort of personal inventory box. Picture the many video games where walking over a coin or weapon causes you to instantly add it to your inventory. Instead of your avatar having to carry a 3D object around or wait for Linden Labs to introduce a new local-inventory feature, this would just remember what you’ve acquired for you while you’re in that scene. I think that hints at the potential we have for creating sophisticated games, even now, despite Sansar’s limitations.

In my Clockworks Club demo, I have about 100 objects running the unit script that keeps them in constant motion. They compute complex motions at a rate of 50 updates per second. That’s about 5,000 total updates per second. And these are not simple computations, either. So Clockworks is all about dynamic motion.

One day I visited a nightclub styled experience. I was impressed with the feel, but I immediately noticed everything was motionless except the music video playing. It occurred to me that I had everything I needed to make a sort of light show system. I’ve already released two versions of Clockworks now. The second one introduced the idea of multi-segmented machines.

Right now, you can’t assemble a teddy bear and get scripts to move its arms in relation to its body, for example. You have to compute the motions of every single piece of it and make it act like it’s all connected together. That’s what Clockworks does. Reflex and Clockworks represent my foray into the broad field of dynamics in Sansar.

My Hoverpark experience is a next step. Reflex and Clockworks solve a nasty problem of what I call “jitter”, where gravity keeps pulling massy objects down while your script keeps putting them back in place, by setting the mass of those objects to zero so they won’t fall.

That solves one problem but creates another: You can’t really interact with those objects. Most notably, you can’t stand on them. My hover platforms are my first attempt to solve that problem using “real physics” instead of the simulated motions involved in rapidly calling Body.SetPosition() and Body.SetOrientation(). Right now, there is a huge complexity barrier plaguing all scripters hoping to deal with getting objects to move in stable, predictable ways like my hover platforms do. It took a lot of research to get them to work as I wanted.

The basic problem has to do with dynamic balance. Think of the classic problem of balancing an upside-down broomstick on your finger. The so-called “inverted pendulum problem”. The good news for scripters is that there are algorithms that solve the inverted pendulum problem. I found and deployed one. The resulting dynamic behavior with the Hoverpark is not perfect and I would argue that that’s largely due to limitations of Sansar’s physics engine right now. I hope Linden Labs is using that experience as a testing environment.

Granddad: The Reflex, Clockwork and Hover Scripts are available on the Sansar Store aren’t they?

Galen: Yes they are.

Granddad: Speaking of Linden Labs, what do you feel are the 3 top features they should add to help programmers/scripters?

Galen: I guess the HTTP request capability will have the greatest impact on what we do. As most people know, there is no long-term persistence available to scripts right now. When the last person leaves a scene and some time has elapsed, the server running it shuts down. This is a brilliant cost-saving measure that also differentiates Sansar from Second Life in several surprising ways. But it presents a nasty challenge for us, too. I think we are all waiting for the most obvious solution to this problem is HTTP requests. That is, we expect our scripts to eventually be able to make requests out to web servers.

This would let us store data on our own custom databases, for example. And have additional computing power outside Sansar. Linden Labs has not announced exactly how or when they plan to enable this or any other external communications. I suspect they are concerned about some of the abuses that happened early on in SL’s history when they enabled scripts to send and receive emails. In general, my sense is that Linden Labs is trying to take their time when introducing new features. By contrast, LL used to introduce features very rapidly and, arguably, without much careful forethought in Second Life’s first 7 years or so.

“Touch” type interactions will have a huge impact as well. But let me expand that to say “hand and mouse interactivity”, more broadly. Right now, the closest thing we have to a touch interface is asking people to walk around. It’s like a primitive mouse. Step on this teleporter pad. Walk left or right to tilt this hover platform.

What we really need is to be able to use a mouse (or laser pointer in VR mode) to point and click. Ideally, to be able to register mouse/controller movements, too. Imagine if my hover platforms could be steered just by waving your hand or moving your mouse around. Combine that with precision pointer clicking (“touch”) and you can create complex UI panels.

One thing I want to advocate for, that Linden Labs may balk at, is text-on-a-surface. Linden Labs never really implemented this in Second Life properly, so people had to come up with torturous, clever solutions. Sadly, one of the biggest problems is that they don’t scale well to multiple languages. Ideally, Linden Labs would implement Unicode text as a form of dynamic texture. Including basic text formatting (font sizes, italics) and hyperlinks.

Let me add at this point that Sansar’s scripting capability is amazing in many ways. I don’t want to sound negative by just mentioning new features. One thing that blows my mind is how fast scripts can run.

Granddad: I think most of us programmers are glad to have your willingness to make available what you have programmed and also your willingness to help in the forums and Discord. Any last advice to the Programmers?

Galen: I guess the first is to approach it with a positive attitude. I’ve noticed there are quite a few people who complain loudly about the things Sansar doesn’t have yet. Not that asking for things is a bad idea, of course, but when you conclude that Sansar is doomed to failure because of those limitations, you’re bound to give up trying to create anything. I get frustrated by Sansar’s limitation, of course, and I put in my feature requests and bug reports. I try to make sure they are down-to-Earth achievable, too. But most importantly, I prefer to look at what we have available right now and say to myself: what cool things could I do with this now?

Honestly, that’s the main reason I’ve been so focused on dynamics in the short time I’ve been in Sansar. I don’t have a lifelong passion for it. It’s just that the combination of rapid script execution and a basic ability to move stuff around led me down that path. In a way, I’m grateful for some of the limitations. If I could do all the basic things I think Sansar’s script API should offer, I would probably be focused more on business systems and less on fun dynamics projects.

Another piece of advice for scripters is: reach out to other creators. Make friends. Offer all you can to help them. Honestly, most of us are stuck in our hidey-holes creating stuff on our own. This isn’t always good. One sad outcome is that people seem to be flexing their own skills brilliantly and not really collaborating enough with one another. Collaboration should be one of our rallying cries for the rest of 2017. Linden Labs should rush to support and encourage it.

Granddad: Great advice. One last question, If we came to your house for dinner, what would you prepare for us?

Galen: Man. Save the hard questions for last, will ya? Just going on what I have in my kitchen now, I’d probably make fresh tacos from scratch. First thing that comes to mind.

Granddad: Sounds good. We will be right over. I will bring the Cervezas.

Galen: Awesome.

 

Photos from the Karaoke Party at SIN’s Studio Club, Oct. 21

Here is a picture of my karaoke debut in VR, courtesy of Solas. For the record, I was singing Michael Jackson’s Thriller, and I was just killing it (literally)! 😉

Karaoke Ryan at SINs 21 Oct 2017

And here are a couple more that I took:

Karaoke at SINs 21 Oct 2017Karaoke Tyler at SINs 21 Oct 2017

The last photo is Tyler Scarborough, singing Sweet Transvestite from The Rocky Horror Picture Show….

And then I crashed out of the Sansar client completely 😦

UPDATE 4:45 p.m.: Let’s Do the Time Warp Agaaaain….

Karaoke Ryan at SINs Lets Do The Time Warp Again 21 Oct 2017

Let’s just be happy that there are no audio recordings of this event!

Inara Pey Blogs the Sansar Product Meetups Oct. 20th

Inara Pey blogged this past Friday’s in-world product meetups.

Inara Pey: Living in a Modem World

Carolyn (right) addresses the afternoon product meeting, Friday October 20th, 2017

The following notes are taken from the Sansar Product Meetings held on Friday, October 20th. These meetings are held every Friday at 9:30am PTD and 4:00pm PTD, and are open to all. There is currently no set agenda, and the meetings are a mix of voice and text. The official meeting notes are published in the week following each pair of meetings, while venues change on a weekly basis, and are announced in the Meet-up Announcements.

The October 6th meetings took place at Witchy’s Upside Down, a Halloween themed experience by Beverly Zauberflote.Product team members Cara and Carolyn attended the morning and afternoon sessions respectively, with Jenn and Brett Linden, the Digital Content Manager at the Lab leading / attending both.

General Announcements

  • Contest results: both the attachments and the Sansar’s Scariest competitions have now…

View original post 1,542 more words

Atlas Hopping in Sansar Episode 9

Today Draxtor Despres led us all on a tour of the newly-redecorated 114 Harvest, and then we visited two Hallowe’en-themed Sansar experiences:

  1. Spinnervale by Debi Baskerville, and
  2. Trick or Treat by Solas and SIN.

Unfortunately, we all crashed out of Trick or Treat, and I decided to just watch Drax’s livestream instead of logging back into Sansar.

Here is Drax’s livestream:

And here is Strawberry’s livestream:

Religion, Spirituality, and Virtual Reality

 

annie-spratt-87466.jpg

Basilique Notre Dame de Montréal, Montréal, Canada. Photo by Annie Spratt on Unsplash

Religion/spirituality and VR may seem like an odd pairing, but the idea of churches in virtual worlds is not a new thing. There have been churches operating in Second Life for many years now.

In the virtual world of AltspaceVR (which was recently bought by Microsoft), D. J. Soto is launching what might be the first church service in virtual reality:

VR_Church_in_AltspaceVR

He says:

Welcome to the Virtual Reality Church! VR Church exists to encourage you on your spiritual journey.

What’s Virtual Reality Church like? The first 30 minutes are somewhat formal with worship music and a mini-sermon. The rest of the time is very informal with discussion and hanging out.

At the beginning, a VR pastor will welcome everyone. Then we will spend the first 5 to 10 minutes listening to worship music. During this time, you can sing, mediate, pray, or simply take it all in by enjoying the worship music.

After the worship music, a VR pastor will give us a short interactive sermon. Sermons are designed to encourage your spiritual journey.

At the end of the sermon, we encourage attendees to meet each other and to discuss the sermon. This is a great opportunity to ask questions, make new friends, or simply hang out.

Who can attend? Everyone is invited! It doesn’t matter if you believe in God or not.

Who is Pastor DJ? DJ Soto is a pastor, apostle, and film-maker from the United States. He has a passion for movies, gaming, technology, and virtual worlds. He also has a passion to think of new ways to spread the message of God’s love for the world. Feel free to email your prayer needs to Pastor DJ at djsoto@sonata7.com.

Also of note is SacredVR, which bills itself “The World’s First VR Spiritual Community”, and which hosts weekly meetings in AltspaceVR and Sansar. Here’s a link to their Sansar experience, which is just one of the Sansar standard scene templates for now. Meetings are every Tuesday at 1:00 p.m. Pacific Time/Sansar Time.

sacredvr.png

Stupid Sansar Tricks: Baby Walking

At yesterday’s product meetup at Witchy’s Upside Down, Tyler Scarborough announced that he has discovered a new form of locomotion in Sansar: the baby walk. He had us all laughing as he demonstrated how, by just barely touching the arrow keys on his XBOX controller, he could make his avatar slowly move forward in tiny, baby steps!

Well, Ravioli said “hold my beer”, whipped up a walker as an avatar attachment, et voilà!

Baby Walking in Sansar