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.
hehe glad to know
you can use the mouse plugit, and check 3D coords option
then you place a large plan with the transshadow material to make it transparent
then when you click the plan is touched returns the xyz coords to place your object
Offline
Could you please explain in brief steps also Is there's a better way by using only mouse plugit or multi touch plugit
Offline
to be able to get a 3D coords from a screen point, you need to project a ray (raycast) from the camera
this ray must intersect with an object to be able to compute the 3D position.
first place a large plane in the scene around Y - 1.65 for common human tall so it will correspond to the ground when you stand up
mouse plugIT with 3D coords option checked
mouse.LeftClick -> object position.set position
Offline
to be able to get a 3D coords from a screen point, you need to project a ray (raycast) from the camera
this ray must intersect with an object to be able to compute the 3D position.first place a large plane in the scene around Y - 1.65 for common human tall so it will correspond to the ground when you stand up
mouse plugIT with 3D coords option checked
mouse.LeftClick -> object position.set position
if i need to freeze z position i need to use only x,y coordinates
but by using (object click) > (object move to) plugit-s
such as player control example
Offline
well not sure to understand ^^
if this is to get X Z (Y is up)
then in the lik parameter set "$1 0 $3" or "$1 $2 0" to set z to 0
hello
i need to fix z axis to 0
and change only x,y coordinate when user click the mouse
Offline
yes just override the z parameter in link
mouse move/click -> use coors : $1 $2 0 in link parameter
mouse events sent the cursor coords in 2D or 3D coords in "x y" in pixel or "x y z" in 3D world coordinates
Offline
I was on the way to this theme idea. Now produce smartphones with the definition of space. But in fact it can be done programmatically using markers on all 4 walls and the special calculation of the distance from the fixation position in the phone memory.
but for this we need to write special code control, measure the distance between the markers and create a virtual box inside which can be a model. Then you need to write the code of behavior of the camera when moving through the virtual box. This overlay will allow you to capture 3D objects in space without special cameras.
Offline
Yes, it's the principle of the new cameras. They create 3d fixed grid on the image. Determining the distance to objects. The mesh is fixed and already placed inside objects live on it. And the camera calculates the position within the generated mesh.
Offline
Offline
here's the result but not as i expected the object not placed correctly in the place of mouse touch
Offline
I was on the way to this theme idea. Now produce smartphones with the definition of space. But in fact it can be done programmatically using markers on all 4 walls and the special calculation of the distance from the fixation position in the phone memory.
http://savepic.ru/12199569m.pngbut for this we need to write special code control, measure the distance between the markers and create a virtual box inside which can be a model. Then you need to write the code of behavior of the camera when moving through the virtual box. This overlay will allow you to capture 3D objects in space without special cameras.
Yes, of course because the markers fix the position of 3d object in space
And there's also SLAM technology can fix the position of 3d object in space
also maybe you can use gps data to fix the position of 3d object
Offline
maybe you should add a dummy to set the position of the solar system with a correct offset
or move the solar system to make it centered on the parent dummy you set when you place it
Offline
ho an idea passing though ^^
to get 3D position you need a 3D object, so add a transparent plane you place in front of the camera and as son of this camera
so when you rotate the plane still facing the camera and you can grab 3D coords from it.
Offline
ho an idea passing though ^^
to get 3D position you need a 3D object, so add a transparent plane you place in front of the camera and as son of this camera
so when you rotate the plane still facing the camera and you can grab 3D coords from it.
great idea
I'm already used four transparent planes and put them in the four sides
But the problem is when you put a transparent plane in front of the camera, it will hide What behind it
Offline