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.
Hi arkeon,
Many thanks for your example, really interesting!
In my game the marker showed the object. Not only is the answer.
I tried but it does happen:
after the first time that the condition "if" is true, it works the marker even when is not visible the operation, why?
I attach the folder with all
http://kktc.jimdo.com/app/download/5198 … 1309362614
many thanks
I thought this procedure:
Scene Random Output Ins Out1 -> Scene Var Inst Increment (Value 1)
Scene ArMarker Inst Found -> Scene Var Inst Increment (Value 1)
Var Inst Instance (Value 2)
Scene Var Inst Modified -> Scene Hide Inst Show
It is correct?
Thanks Tenshikris for your examples! Very interesting!
In my game the random choice between the "operations" part of an object by clicking "GO".
My problem is this:
The result is active with the marker, so if with marker 1 (it is combined with the number four) and is visible operation "3 + 1 =" we will have a positive feedback. I do not know to solve this problem, any ideas?
thanks
Hi!
the screenshot of my game is:
http://kktc.jimdo.com/
I explain my game:
If I click on the object "go" at random is "visible" - "show" an object between "primo" "secondo" "terzo" the others are "not visible".
If I click on the object "reset" all object are not visible.
problem:
if marker "test" is active and visible "show" object "first" happens ....
I can not create this event, how can I solve this problem?
thanks
Hi Tenshikris ,
there is a link in this project, I tried but the random texture does not work.
http://kktc.jimdo.com/app/download/5178 … 1308388294
thanks
I have tried, but it does not work,
no random choice of textures,
I tried with another object, and an image file to be imported,
The screenshot is at this link
http://kktc.jimdo.com/
Where am I wrong?
thanks
Hi Tenshikris, thanks for your help!
it's true! I want to change randomly texture of my cube when my game is starting.
1) on init inst -> link -> get object number?
If it's true: not work
2) on init inst -> link -> random output inst?
If it's true: not work
where am I wrong?
thanks
I want to change a texture in object of the game beginning in AR.
I think I have done the steps right but does not change randomly no textures.
The screenshot is at this link
http://kktc.jimdo.com/
It is correct that?
thanks
Game description:
on the live webcam there is a cube, loads a random texture (they are numbers),
if the marker loads a cube with the same number written on the texture is fine.
I have developed:
I create: get object number
I create: random output texture
Link: Scenes get object number -> Scene random output texture.Input
I create: change texture 1 and change texture 2
Link: Scene random texture output Out1 -> Scene change texture 1.Change
Link: Scene random texture output Out2 -> Scene change texture 2.Change
but get object number never changes at random textures, where am I wrong?
thanks
All fixed.
I solved the problem with:
IF True -> Show
IF False -> Hide
thanks
Hi arkeon,
Objective: When 3 markers are visible, we see an object (test cube) in the center of the screen.
I added these steps:
menu - object - object position - position X Y Z Favorite
menu - object - object position - position X Y Z Reset
- if all markers found.True -> object position Favorite
- if all markers found.False -> object position Reset
but even if three markers are visible do not see the object (test cube)
in my game:
if there are 3 marker (Marker 1 - Marker 2 - marker 3) we see a cube (cube test 1)
The cube is set to "Set position" at x = 0 y= 0 z=0 in Scene tree.
- var plugIT in Int type default value 0, call it "markerState" for example
- If plugIT int Int type default value 7, call it "If all markers found"
links :
- marker 01.found->markerState.Increment "1"
- marker 01.lost->markerState.Decrement "1"
- marker 02.found->markerState.Increment "2"
- marker 02.lost->markerState.Decrement "2"
- marker 03.found->markerState.Increment "4"
- marker 03.lost->markerState.Decrement "4"
- markerState.Modified->if all markers found.equal
menu - object - object position - position X Y Z Favorite
menu - object - object position - position X Y Z Reset
- if all markers found.True -> object position Favorite
- if all markers found.False -> object position Reset
but does not work
Where am I wrong?
I wish with "if true" to move a cube in specific positions xyz.
The cube is set to "Set position" at x = 1 y = 1 z = 1 in Scene tree.
if all markers from found.True -> I connect with "object position" with links "set position" x = 0 y = 0 z = 0
if all markers from found.False -> I connect with "object position" with links "set position" x = 1 y = 1 z = 1
but does not work.
Where am I wrong?
thanks
Hi arkeon,
It is possible to import a picture (test.png) and insert it on the live webcam in AR mode?
thanks
1) It is possibile while using AR, have on the live webcam a two-dimensional image file (for exemple test.png)?
2) If yes, how can we choose randomly between the three image files to be included on the live webcam?
thanks
The procedure to insert value in the link is:
- Click on the number on the link,
- open the windows "Edit links",
- click on the link of the string (for example: Scene.Ar maker.01 found-> markerState.Increment),
- just so it can insert the value.
thanks
my increment and decrement are without numbers (value),
I have link
Scene.Ar maker.01 found-> markerState.Increment
but as I can the value of this link?
thanks
I have applied this procedure:
1) I add from the "misc" and choose "if"
2) "IF 1" , choose "Data Type " "Int", write it as the value (example 1)
3) I choose "True" and connects AR Maker 1 and "IF 1"
4) same procedure for AR Marker 2 and 3, but change the value.
5) I create a variable "sum" the value equal to the sum of the three variables
6) Connect the variable "sum" with "Set Value" with "IF 1" , "IF 2" and "IF 3"
but does not work, what is wrong?
I write what I understood:
1) AR Marker 1 I add from the "misc" choose "var"
2) Var Instance, choose "Data Type " "Int", write it as the value Value (example 1)
3) I choose "Lost" and connects AR Maker 1 and Var Instance
4) same procedure for AR Marker 2 and 3, but change the value.
5) I create a variable "sum" with the value equal to the sum of the three variables
6) Connect the variable "sum " in AR Marker 1, 2 and 3?
I'm wrong in something?
thanks
Hi arkeon,
a great job the new version of the sketchup exporter!
It is possible with plugIT a situation :
if (marker 1 and marker 2 and marker 3 are visible) {
................
................
}
how?
thanks
All solved!
thanks
1) in the second image: ar_piano launched when I change a cube with a cube developed by SketchUp
I solved this problem:
Selecting "Hide on Start"
2) in the third picture: the new cube with the maker, I tried to change his position but does not move from that position.
This problem I can not fix it.
I added the picture (4) http://kktc.jimdo.com/
where you can see the axes xyz are down, they are not in the center.
How can I fix this?
thanks
Hello everyone,
In this link you will find the images:
in the first image: the original version ar_piano
in the second image: ar_piano launched when I change a cube with a cube developed by SketchUp
in the third picture: the new cube with the maker, I tried to change his position but does not move from that position.
How I can solve the problems of second and third picture?
Thanks
I am preparing a small tutorial for augmented reality and openSpace3d in Italian.
the new cube is always visible, even without the marker, where am I wrong?
thanks
I would like to change in the file ar_piano.xos the cube box #11 with the cube b#84 with textures made with SketchUp.
I imported a.scenewith with "import scene".
I put in "Set Phisics" shape and default;
I have reduced the size.
In AR_maker 1, I changed "object name" with b#84.
I saved everything but I play in live webcam of the new cube is always visible, large!
Where am I wrong?
thanks