HTML applied to object?

7 views
Skip to first unread message

Neil Rerup

unread,
Jul 26, 2010, 7:42:23 PM7/26/10
to Open Wonderland Scripting
I'm not sure if this should be part of the scripting discussion and,
if not, my apologies.

I'm wondering if it's possible to apply HTML to an object. For
example, in the case of an interactive button (click if you want
<action>) to send information / create an email / fill a form / etc.
For example, if someone wanted to leave a message, they could fill out
a form and then click send. I would think it would be something
simplier than creating a script but I haven't seen anything on HTML
anywhere other than adding a URL to an object.

Thoughts?

Neil Rerup

unread,
Jul 26, 2010, 7:51:25 PM7/26/10
to Open Wonderland Scripting
I've found the following URL associated with Java titled "How to use
HTML in Swing Components" but it's about formating of text on swing
components using HTML ( http://download.oracle.com/docs/cd/E17409_01/javase/tutorial/uiswing/components/html.html
from the Poster module). Nothing more complicated though.

Neil Rerup

unread,
Jul 27, 2010, 2:13:07 AM7/27/10
to Open Wonderland Scripting
I'm wondering if the Poster module can be a work around. It seems to
hint that you can add complex HTML to the Poster so how far can that
go. And, ideally, it's not so much about using the Poster module as it
is adding HTML functionality to any object you wish. There still is a
need for the written language ...

Jonathan Kaplan

unread,
Jul 28, 2010, 2:03:55 AM7/28/10
to open-wonderl...@googlegroups.com
The poster uses the same HTML rendering mentioned in the article above -- it will let you do simple text formatting, but not complicated things like forms. I'm still not sure about the concept of adding HTML functionality to an arbitrary 2D  (or 3D?) object in the world. Can you give a more concrete example? 

Neil Rerup

unread,
Jul 28, 2010, 12:24:29 PM7/28/10
to Open Wonderland Scripting
It doesn't have to be HTML, it could be something else. Looking at the
scripting component, I can probably do it with that. But, that said,
there are always cases where text information needs to be passed from
one person to another - it's why there's the collaborative Apps, so
that conceptual information can be passed back and forth. But, for
things like virtual worlds (or anything information based to grow),
there will be a point where you want to communicate with someone that
is NOT in world.

To that end, say you want to host a store front in world. Someone
comes in and wants to add a product to a shopping cart. This is text/
database related information exchange, not 3D. Or someone wants to
leave a message about customer service.

Another example is if you want to show a list of members to a world.
You can show the avatar but what about other information such as real
world location?

A good example is by asking the question "Why allow HTML in the Poster
module?" Again, it's the presentation of text information.

As long as there's a need for a database and an exchange of
information between in-world and out of world, there is a need for
textual information and, hence, the need for a way of exchanging text
information. I suspect that PHP/JavaScript/other scripting language is
going to solve a lot of this but...

Hope that explains why I ask ...
Reply all
Reply to author
Forward
0 new messages