Scolring - Forum

Entraides et échanges autour de la technologie Scol - Informations and exchanges on the Scol technology

Vous pouvez changer la langue de l'interface une fois inscrit - You can change the language once registered

You are not logged in.

#1 26-Apr-2011 12:40:12

hebdemnobad
Member
From: northamerica
Registered: 20-Apr-2011
Posts: 1,477
Website

couple of ??'s: attaching movable objects to avatars, custom scripting

colleagues:

is there a way to attach movable objects (i.e. primarily meshes, lights, particle systems) to the navigation PlugIt?
And is it possible to hand code an openspace 3d scene, along with getting handles to plugit objects? (another way of saying this, is there a way to use scol script itself to generate an openspace scene....and where would I find the api documentation?) I'm working on a scene in blink3d and using custom scripting (blink uses a form of javascript) to create a custom navigation system, i.e. one that mimics swimming under water with a propulsion device.

thanks!

-h

Offline

#2 26-Apr-2011 20:22:42

arkeon
Admin. / Scol language & OpenSpace3D developer
From: Nantes
Registered: 30-Mar-2009
Posts: 5,091
Website

Re: couple of ??'s: attaching movable objects to avatars, custom scripting

hi hebdemnobad!

you can link any object with the link plugIT to the current camera, selecting current camera or current camera shell in the select box.

for Scol plugIT api the documentation is not done for the moment hmm
most of 3D Engine documentation and others api are in the scol SVN.

anyway you can try to start by editing some plugIts, read the scol documentation available on scolring and post questions about the code in this forum smile

Offline

#3 26-Apr-2011 20:35:36

hebdemnobad
Member
From: northamerica
Registered: 20-Apr-2011
Posts: 1,477
Website

Re: couple of ??'s: attaching movable objects to avatars, custom scripting

arkeon wrote:

anyway you can try to start by editing some plugIts, read the scol documentation available on scolring and post questions about the code in this forum smile

sounds good....i assume i will need to include a shared object plugit so other visitors to the same environment will see others' avatars?
-h

Offline

#4 26-Apr-2011 20:41:56

arkeon
Admin. / Scol language & OpenSpace3D developer
From: Nantes
Registered: 30-Mar-2009
Posts: 5,091
Website

Re: couple of ??'s: attaching movable objects to avatars, custom scripting

there is no "Avatar plugIT" at this point.
one was started but i don't have time to finish it for the moment.
multi user avatars with the current plugIts set could be hard to implement ^^

maybe the instantiate plugIT could help.
you are welcome if you can code an avatar plugIT ^^, however i can help smile

Offline

#5 26-Apr-2011 20:56:50

hebdemnobad
Member
From: northamerica
Registered: 20-Apr-2011
Posts: 1,477
Website

Re: couple of ??'s: attaching movable objects to avatars, custom scripting

arkeon wrote:

there is no "Avatar plugIT" at this point.
one was started but i don't have time to finish it for the moment.
multi user avatars with the current plugIts set could be hard to implement ^^

maybe the instantiate plugIT could help.
you are welcome if you can code an avatar plugIT ^^, however i can help smile

i'd assume i would need to know the scol script api for openspace for that. all i really can do is a bit of javascript/vbscript coding....for handling multiple plugins in a web page, a bit of flash actioncript, discontinued adobe atmosphere atmoscript, and discontinued blink3d blinkscript.

alas. all those scripts of deadware!

Last edited by hebdemnobad (26-Apr-2011 23:51:18)

Offline

#6 27-Apr-2011 00:14:45

iri
Admin. / Scol language & Scol apps developer
From: France
Registered: 22-Feb-2009
Posts: 2,024
Website

Re: couple of ??'s: attaching movable objects to avatars, custom scripting

hebdemnobad wrote:

i'd assume i would need to know the scol script api for openspace for that.

Yes, and a part of the Scol language too
Note, you can code a lot of apps with Scol, stand alone, on web server, multi users or not, on- off- line, ... Better than atmosphere or others big_smile

Offline

#7 27-Apr-2011 01:56:24

hebdemnobad
Member
From: northamerica
Registered: 20-Apr-2011
Posts: 1,477
Website

Re: couple of ??'s: attaching movable objects to avatars, custom scripting

agreed. once i'm done with a couple of blink projects i'll see if i can create them with openspace....but learning scol may take me a bit of time. from what i saw it looks like the child of c and python....i can't seem to find the url from earlier this evening that had the source code in scol for rending a simple scene using ogre3d...if anyone knows that link please share. Iri it was on your site I think.

Does the openspace api hook into the entire ogre engine (i.e. paging landscapes in particular).

Last edited by hebdemnobad (27-Apr-2011 01:58:33)

Offline

#8 27-Apr-2011 08:32:46

arkeon
Admin. / Scol language & OpenSpace3D developer
From: Nantes
Registered: 30-Mar-2009
Posts: 5,091
Website

Re: couple of ??'s: attaching movable objects to avatars, custom scripting

nope the SO3Engine (scol 3D engine based on ogre) do not provide all ogre functionnalities yet.
this are implemented one by one.

Offline

#9 27-Apr-2011 22:42:15

iri
Admin. / Scol language & Scol apps developer
From: France
Registered: 22-Feb-2009
Posts: 2,024
Website

Re: couple of ??'s: attaching movable objects to avatars, custom scripting

hebdemnobad wrote:

i can't seem to find the url from earlier this evening that had the source code in scol for rending a simple scene using ogre3d...if anyone knows that link please share. Iri it was on your site I think.

http://www.irizone.net//prog/index.php? … o3_appli_1
Unlikely, my example became obsolete (the SOEngine api has changed). A new example is on my todo list.

Offline

#10 29-Apr-2011 02:33:43

hebdemnobad
Member
From: northamerica
Registered: 20-Apr-2011
Posts: 1,477
Website

Re: couple of ??'s: attaching movable objects to avatars, custom scripting

iri wrote:

http://www.irizone.net//prog/index.php? … o3_appli_1
Unlikely, my example became obsolete (the SOEngine api has changed). A new example is on my todo list.

just an idea....once you have the api published and online, you could have the openspace editor to do the ancillary scol functions that I saw in that example, i.e. setting up the operating environment, etc, and then allow the author to use the scol language to hook into just the openspace portion of the scol api, i.e. a developer could set up sensors, functions, and code that could also interact with the code generated by the plug its.

Offline

#11 29-Apr-2011 14:52:42

hebdemnobad
Member
From: northamerica
Registered: 20-Apr-2011
Posts: 1,477
Website

Re: couple of ??'s: attaching movable objects to avatars, custom scripting

arkeon wrote:

there is no "Avatar plugIT" at this point.
one was started but i don't have time to finish it for the moment.
multi user avatars with the current plugIts set could be hard to implement ^^

maybe the instantiate plugIT could help.
you are welcome if you can code an avatar plugIT ^^, however i can help smile

how could i start coding such an plugIT?

Offline

#12 29-Apr-2011 16:40:09

arkeon
Admin. / Scol language & OpenSpace3D developer
From: Nantes
Registered: 30-Mar-2009
Posts: 5,091
Website

Re: couple of ??'s: attaching movable objects to avatars, custom scripting

hmm maybe it's a little too complex for a first plugIT smile
on the subversion in os3d plugins there is a prototype of very simple avatar plugIT but it's not up to date

i'll try to make it working again and tell you when it's done

Offline

#13 29-Apr-2011 16:54:45

hebdemnobad
Member
From: northamerica
Registered: 20-Apr-2011
Posts: 1,477
Website

Re: couple of ??'s: attaching movable objects to avatars, custom scripting

ok

Offline

#14 29-Apr-2011 19:06:41

arkeon
Admin. / Scol language & OpenSpace3D developer
From: Nantes
Registered: 30-Mar-2009
Posts: 5,091
Website

Re: couple of ??'s: attaching movable objects to avatars, custom scripting

Hi again smile

I just add a page on the redmine wiki for scol beginners
http://redmine.scolring.org/projects/sc … olLanguage

Offline

#15 29-Apr-2011 22:45:54

iri
Admin. / Scol language & Scol apps developer
From: France
Registered: 22-Feb-2009
Posts: 2,024
Website

Re: couple of ??'s: attaching movable objects to avatars, custom scripting

arkeon wrote:

I just add a page on the redmine wiki for scol beginners
http://redmine.scolring.org/projects/sc … olLanguage

Cool, good job

hebdemnobad wrote:

ok

Hello,

It's a good idea : have a new contributor would a good thing.
However, trying to do with a little order.

Before coding an Avatar PlugIt for openspace3d, you could write method and algorithm.
Next, some Scol basics seems me necessary :
- read some existed PlugIts
- create a simple PlugIt

I ignore your availability. I prefer that you know the difficulty before you start.
A PlugIt is not very hard but manage avatars is harder : client > server <> clients and adapt it to opensapce3d.

So, it's my mind, if you can / want contribute (for your Avatar PlugIt) :

- read the Scol Tutorial (PDF), the link has been given by Arkeon above : chapters II, III, IV and VI.
- maybe my tutorials because they contains a lot of codes (Scol basics, no PlugIt) : tutos 0 (very basics), 1 (for loading packages, build functions, globals variables and callbacks / reflexs), 2 (locals variables and if and while loop only), 5 (debug) and 8 (client/server, channels, communications). Yes, i speak a bad english (isn't it ?!!) and theses tutorials are in french (but the code is in Scol ! big_smile). I hope they can help you.
If needed, ask yours questions in our coding forum.

Thank you for your interest and good luck !

Offline

#16 30-Apr-2011 20:20:23

hebdemnobad
Member
From: northamerica
Registered: 20-Apr-2011
Posts: 1,477
Website

Re: couple of ??'s: attaching movable objects to avatars, custom scripting

thanks colleagues i'll look through the links and work through the video tutorials. looks like scol isn't much different than javascript although it appears frightening at first.
-h

Offline

Board footer

Powered by FluxBB