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 16-Aug-2013 04:20:24

illutic
Member
From: Indonesia
Registered: 10-Jun-2013
Posts: 26

[SOLVED]set scale (zoom in/out) with keyboard[SOLVED]

hello arkeon..

how to set scale (zoom in / out) with keyboard

if i use
input-> keyboard
misc-> var

what else to use?

Last edited by illutic (18-Aug-2013 22:05:30)

Offline

#2 17-Aug-2013 11:02:45

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

Re: [SOLVED]set scale (zoom in/out) with keyboard[SOLVED]

hello the zoom can be simulated with the camera Z position or the fov value.

key.down -> var.increment (with a value in the link parameter, 1.0 for example)

then
var.modified -> navigation.Set fov
or
var.modified -> object position(with current camera selected).translate with parameter in the link : 0 0 %1
so only the Z value will change

Offline

#3 17-Aug-2013 11:59:20

illutic
Member
From: Indonesia
Registered: 10-Jun-2013
Posts: 26

Re: [SOLVED]set scale (zoom in/out) with keyboard[SOLVED]

arkeon wrote:

hello the zoom can be simulated with the camera Z position or the fov value.

key.down -> var.increment (with a value in the link parameter, 1.0 for example)

then
var.modified -> navigation.Set fov
or
var.modified -> object position(with current camera selected).translate with parameter in the link : 0 0 %1
so only the Z value will change

so, zoom is not similar with set scale?
for set object can i use ARmarker PlugIT?and link parameter?

Last edited by illutic (17-Aug-2013 12:00:31)

Offline

#4 17-Aug-2013 16:40:58

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

Re: [SOLVED]set scale (zoom in/out) with keyboard[SOLVED]

ha ok ! you didn't mention that it was for AR purpose.
in this case yes you can simulate the zoom with the set scale value of the marker plugIT

Offline

#5 17-Aug-2013 18:11:26

illutic
Member
From: Indonesia
Registered: 10-Jun-2013
Posts: 26

Re: [SOLVED]set scale (zoom in/out) with keyboard[SOLVED]

arkeon wrote:

ha ok ! you didn't mention that it was for AR purpose.
in this case yes you can simulate the zoom with the set scale value of the marker plugIT

haha i'm sorry..yes I currently working project AR
so, what PlugIT used for set scale(zoom in/out)?

i used like in video in youtube, but i change marker with keyboard. and nothing happen LOL

Last edited by illutic (17-Aug-2013 18:13:07)

Offline

#6 17-Aug-2013 21:23:42

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

Re: [SOLVED]set scale (zoom in/out) with keyboard[SOLVED]

just as I've explained before :

key.down -> var.increment (with a value in the link parameter, 1.0 for example)
then
var.modified -> marker.Set scale

and the same with decrement for unzoom

Offline

#7 18-Aug-2013 08:34:38

illutic
Member
From: Indonesia
Registered: 10-Jun-2013
Posts: 26

Re: [SOLVED]set scale (zoom in/out) with keyboard[SOLVED]

arkeon wrote:

just as I've explained before :

key.down -> var.increment (with a value in the link parameter, 1.0 for example)
then
var.modified -> marker.Set scale

and the same with decrement for unzoom

only keydown arkeon? what about keyup?
in misc->var does not need to set the value?

Offline

#8 18-Aug-2013 09:21:25

illutic
Member
From: Indonesia
Registered: 10-Jun-2013
Posts: 26

Re: [SOLVED]set scale (zoom in/out) with keyboard[SOLVED]

ok arkeon i've just finished set scale with instance like this:
1150151_10201694652589006_2147324936_n.jpg

Offline

#9 18-Aug-2013 09:30:24

illutic
Member
From: Indonesia
Registered: 10-Jun-2013
Posts: 26

Re: [SOLVED]set scale (zoom in/out) with keyboard[SOLVED]

arkeon, why in my openspace, menu export to openspace 3d player is inactive??

Offline

#10 18-Aug-2013 17:21:08

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

Re: [SOLVED]set scale (zoom in/out) with keyboard[SOLVED]

the key down should be enough if you use the var.Modified -> marker.Set scale link
var.value is triggered when you call var.Get value
but var.Modified is triggered when the var change.

The export menu is enabled when you save the scene first.

Offline

#11 18-Aug-2013 22:06:05

illutic
Member
From: Indonesia
Registered: 10-Jun-2013
Posts: 26

Re: [SOLVED]set scale (zoom in/out) with keyboard[SOLVED]

arkeon wrote:

the key down should be enough if you use the var.Modified -> marker.Set scale link
var.value is triggered when you call var.Get value
but var.Modified is triggered when the var change.

The export menu is enabled when you save the scene first.

Ok, thx arkeon

Offline

Board footer

Powered by FluxBB