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 9-Apr-2011 19:35:48

slavavs
Member
Registered: 9-Apr-2011
Posts: 137
Website

menu

How to create the menu from several buttons. Each button has the name and by pressing it there is an object. This object can be moved. Pressing thus buttons, I create object and moving their system a figure. Finally I want to make the program - the designer. Which would allow to build online models of type such http://ycatuk.ru/components/com_virtuem … d875ca.gif 
I from Russia, excuse for my English

Offline

#2 9-Apr-2011 22:10:55

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

Re: menu

hi slavavs,

i'm not sure of the question, but if you ask about interfaces, you can use flash content to make a menu and bind actions to plugITs.

however, try to detail your question smile

Offline

#3 10-Apr-2011 08:14:53

slavavs
Member
Registered: 9-Apr-2011
Posts: 137
Website

Re: menu

You can advise lessons to make flash content? It is not enough information under the given program on the Internet.
I can't well explain in details. It is just necessary to create the designer that users on a site could create models from my elements and send me a photo.

Last edited by slavavs (10-Apr-2011 08:17:10)

Offline

#4 10-Apr-2011 08:49:04

Greg
Member
From: Angers
Registered: 26-Mar-2011
Posts: 60
Website

Re: menu

Hi, i'll try to understand what you want :
- At first, visitors can see an empty scene with a list of object (at a side of the screen : top, left, bottom or right)
- The visitor can add objects of the list in the scene
- The visitor can move the objects to create some compositions
- The visitor can take a screenshot of (or save) the project and send it to you

Am I right ?

Greg

Offline

#5 10-Apr-2011 09:01:04

slavavs
Member
Registered: 9-Apr-2011
Posts: 137
Website

Re: menu

You have read my thoughts smile

Offline

#6 10-Apr-2011 10:20:44

Greg
Member
From: Angers
Registered: 26-Mar-2011
Posts: 60
Website

Re: menu

Hum, many way to do this.
You cant add a Flash interface, or add a fix camera and rebuild a 3D interface. The first might be more simple wink
But if you want add action on added objects (move, scale, rotate), this could be harder, because you need 3D helpers for the transformations (like in edit mod).
To communicate with the Flash interface, I past what Arkeon said to me :
In Flash :
ExternalInterface.addCallback("myParam", myFunction);
function myFunction(param:String)
{
    dosomething with param;
}

("myParam" is the name of the variable passing to flash from OS3D, and "param" is the value)

In the other way :
ExternalInterface.call("myParamToOS3D", param);

In OS3D :
plugIT globalVar > FlashInterface (connect with "Object")

But you need to know about ActionScript 3 wink

Good luck wink

Greg

Offline

#7 10-Apr-2011 12:51:52

slavavs
Member
Registered: 9-Apr-2011
Posts: 137
Website

Re: menu

thanks!

may have something similar in a demo or read somewhere? smile

Offline

#8 10-Apr-2011 13:00:56

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

Re: menu

Hi, and welcome

Another idea, just another idea without Flash ...
A "3d menu" = some objects to launch any action (add, move, ...) by a click in the 3d scen
Ok, you should "make" these actions but, i said this, it's just another idea smile

Offline

#9 10-Apr-2011 13:09:00

slavavs
Member
Registered: 9-Apr-2011
Posts: 137
Website

Re: menu

Thank you!
I will try different ways. I do not know much programming, so I will look for sources of information ...

Offline

#10 10-Apr-2011 13:34:06

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

Re: menu

Yes and you can open new threads in this forum to ask yours questions

Offline

#11 10-Apr-2011 15:35:16

slavavs
Member
Registered: 9-Apr-2011
Posts: 137
Website

Re: menu

where you can find an example of a 3D menu?

Offline

#12 10-Apr-2011 15:58:07

Greg
Member
From: Angers
Registered: 26-Mar-2011
Posts: 60
Website

Re: menu

No example sorry.
To do this, juste make it inside your 3D soft (design as you want with meshes). In OS3D, add interactions on 3D items with plugIT.
But the flash interface should be more simply hmm

Greg

Offline

#13 10-Apr-2011 17:23:58

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

Re: menu

there is a demo of flash interface in car showroom demo
c:\program files\scol voyager\Partition_LockedApp\demos

you can open the xos and the  interf.fla in media directory

Offline

#14 10-Apr-2011 17:52:04

slavavs
Member
Registered: 9-Apr-2011
Posts: 137
Website

Re: menu

what program is easier to make all the objects for import into OS3D and in what format to import?

Offline

#15 10-Apr-2011 17:54:22

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

Re: menu

it depend of witch program you prefer.
openspace import Ogre mesh and scene format :
here a list of available export : http://www.ogre3d.org/tikiwiki/OGRE+Exporters

Offline

#16 10-Apr-2011 19:28:08

slavavs
Member
Registered: 9-Apr-2011
Posts: 137
Website

Re: menu

anyone working with Sketchup? I installed the plug-in exports, it creates files xxx.material and xxx.mesh.xml And how to create a .mesh for OS3D smile

Offline

#17 10-Apr-2011 20:54:30

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

Re: menu

some exports only generate mesh.xml so you need to convert them to .mesh
you need the ogre MeshTool for Ogre 1.8 available here : http://www.openspace3d.com/lang/en/support/
lookat the sketchup exporter code i think that you can set the ogre mesh converter path for automatic conversions

Offline

#18 11-Apr-2011 08:14:05

slavavs
Member
Registered: 9-Apr-2011
Posts: 137
Website

Re: menu

very very grateful smile

Last edited by slavavs (11-Apr-2011 08:15:10)

Offline

#19 11-Apr-2011 09:44:24

slavavs
Member
Registered: 9-Apr-2011
Posts: 137
Website

Re: menu

sorry, maybe it is not the topic...

anyone have any examples of open source software to create a menu swf?

Offline

#20 11-Apr-2011 10:31:47

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

Re: menu

Hi,

You can visit this page : http://osflash.org/open_source_flash_projects
If you need to have a tutorial : http://osflash.org/tutorials

Others projects :
* DrawSWF

* JGenerator (maybe down ?)

* SWFtools

* http://www.google.com smile

Good luck

Offline

#21 11-Apr-2011 10:56:36

slavavs
Member
Registered: 9-Apr-2011
Posts: 137
Website

Re: menu

On Russian forums such information should not be found. If I still knew well the English, to quickly read the tutorial smile

thank

Last edited by slavavs (11-Apr-2011 10:57:59)

Offline

#22 11-Apr-2011 18:49:57

slavavs
Member
Registered: 9-Apr-2011
Posts: 137
Website

Re: menu

where I can find instructions for using MeshTool for Ogre 1.8. How to run?

Offline

#23 11-Apr-2011 18:51:30

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

Re: menu

there must be a command for help
anyway try to simply drag your mesh.xml on the exe

Offline

#24 11-Apr-2011 19:05:35

slavavs
Member
Registered: 9-Apr-2011
Posts: 137
Website

Re: menu

dragged the xml file. was created by the mesh file. when you try to insert it into OS3D crash bug: your file have to be in a scol partition

uncomfortable asking silly questions smile

Offline

#25 11-Apr-2011 19:26:29

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

Re: menu

have a look to the openspace documentation about scol partitions

your files must be in my documents/scol voyager/Partition_LocalUsr/...

Offline

Board footer

Powered by FluxBB