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.
Hello everyone,
I would like to add in the ar_piano.xos, on the cubic the texture (file .png).
What is the most basic mode?
thanks
Offline
Hi,
In the ar_piano demo, it's not possible to add texture on cubics because material that applicated on don't have a pass texture.
But to add a texture on an object that have a pass texture, you can use material/change_texture PlugIT.
Documentation : http://www.openspace3d.com/documentatio … lugit.html
Don't forget that you have to put your png file in your scol partition ^^
Offline
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
Offline
You have to play with the "Marker size" parameter, augmenting this value will scale down your object size.
Offline
the new cube is always visible, even without the marker, where am I wrong?
thanks
Offline
Ok, I had misread your previous message, missed the "reduce the size" line...
So, the problem is that you forgot to change the objects in the "Hide n" plugIt instances.
Offline
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.
Last edited by gius (9-Jun-2011 13:51:02)
Offline
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
Offline
You will have to change your pivot point, object is centered on it.
In Sketchup, I think that the option is named "change axes" or something like that...
Offline
All solved!
thanks
Offline
Hi gius
a new version of the sketchup exporter is available on http://www.openspace3d.com
Offline
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
Offline
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
Offline
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?
Offline
like in the sensor example,
- 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
- if all markers found.True -> do what you want
- if all markers found.False -> do what you want
Offline
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
Offline
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
Offline
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
Offline
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?
Offline