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.

#26 25-Oct-2011 03:53:58

addriangembel
Member
Registered: 1-Oct-2011
Posts: 46

Re: AR driving simulation (need help)

owh that things is solved sir, and may i as about the teori to use plugin if, i really confused how it works..... itt's not like an if in another language programing. big_smile
may u give a simple example how to use plugin if?

Offline

#27 25-Oct-2011 08:08:32

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

Re: AR driving simulation (need help)

Hi,

in the if plugIT you can set a value, and then test the value sent to the link by an another plugIT

Offline

#28 26-Oct-2011 09:36:15

addriangembel
Member
Registered: 1-Oct-2011
Posts: 46

Re: AR driving simulation (need help)

so if i use 2 marker, and when one of the marker i closed (hide, or lost) then the value plugin is increase decreased, and if it was founf again then the var plugin is increase, and when the value of var plugi is equals with the condition of if plugin then the object is animating???

is my teory is right?

sorry i was too much asking a noob question

Offline

#29 26-Oct-2011 09:49:37

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

Re: AR driving simulation (need help)

yes just as in the advanced sensors example

Offline

#30 1-Nov-2011 15:58:51

addriangembel
Member
Registered: 1-Oct-2011
Posts: 46

Re: AR driving simulation (need help)

oh yea... i tried to make a light for my traffic light... but i still doesn't get how does the light spotting an area

Offline

#31 2-Nov-2011 09:02:26

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

Re: AR driving simulation (need help)

Hi !

not sure of what you are looking for bu maybe this will help you understand lighting (difference between vertex and pixel lighting): http://www.opengl.org/discussion_boards … 757&page=2

Offline

#32 2-Nov-2011 20:41:23

addriangembel
Member
Registered: 1-Oct-2011
Posts: 46

Re: AR driving simulation (need help)

http://www.mediafire.com/?sbcabephzf95io3#1

hey... mr arkeon... how if i want my car didn't surpass the black path.. how could i make it??? may you help???

Offline

#33 2-Nov-2011 20:44:37

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

Re: AR driving simulation (need help)

the xos file do not contain the graphic resources
if you want you send your project you must export it "as standalone" and zip the export directory smile

Offline

#34 2-Nov-2011 20:46:02

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

Re: AR driving simulation (need help)

ha ok you use resources from demos smile ok don't need another file then

Offline

#35 2-Nov-2011 20:54:19

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

Re: AR driving simulation (need help)

Arkeon is too nice big_smile

Offline

#36 2-Nov-2011 20:56:41

addriangembel
Member
Registered: 1-Oct-2011
Posts: 46

Re: AR driving simulation (need help)

but i like it.... he's helping me very much...teach me from the basic of using AR with openspace

Offline

#37 2-Nov-2011 21:11:32

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

Re: AR driving simulation (need help)

yes I know i am :-p

I can't see the black path without your graphic resources (i think)
I only have the car and a white plane

Offline

#38 3-Nov-2011 03:44:47

addriangembel
Member
Registered: 1-Oct-2011
Posts: 46

Re: AR driving simulation (need help)

here........  this is my project..... please can you activate the traffic light....... and i wan't the car is not surpassed the black path???

Offline

#39 3-Nov-2011 09:44:59

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

Re: AR driving simulation (need help)

? sorry i don't understand ^^
(I was sleeping a 3 o'clock smile)

Offline

#40 3-Nov-2011 12:52:21

addriangembel
Member
Registered: 1-Oct-2011
Posts: 46

Re: AR driving simulation (need help)

http://www.mediafire.com/?x5iskjki1jqwobj

here is my project....... i want my car is not surpassed the black path... sorry i forget to attach the file before.....

big_smile

Offline

#41 3-Nov-2011 21:53:39

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

Re: AR driving simulation (need help)

you have to enable physics and add boxes with collision tree to simulate the buildings or the road border

Offline

#42 4-Nov-2011 03:41:07

addriangembel
Member
Registered: 1-Oct-2011
Posts: 46

Re: AR driving simulation (need help)

i mean give me an example for the left side path... i confused

Offline

#43 4-Nov-2011 18:54:54

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

Re: AR driving simulation (need help)

did you try physics examples first ?

Offline

#44 8-Nov-2011 16:16:09

addriangembel
Member
Registered: 1-Oct-2011
Posts: 46

Re: AR driving simulation (need help)

still have no idea how that physical ray works.......  i still confused.... is taht physical rays can be scaled.. so the area of effect is much bigger??  this is last thing on my project..

Offline

#45 8-Nov-2011 16:17:39

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

Re: AR driving simulation (need help)

as in the example the ray cast is managed by two dummies to manage the maximum raycast distance and direction

Offline

#46 8-Nov-2011 16:26:00

addriangembel
Member
Registered: 1-Oct-2011
Posts: 46

Re: AR driving simulation (need help)

how if used the physic contact... in mi mind i think if the car contact that thing the game will ended....? could it works??

Offline

#47 8-Nov-2011 16:27:05

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

Re: AR driving simulation (need help)

Yes it could but you need a different physic material for the car and the "wall"

Offline

#48 8-Nov-2011 16:29:36

addriangembel
Member
Registered: 1-Oct-2011
Posts: 46

Re: AR driving simulation (need help)

so i need another physic material, i need to manipulated my object again?  like i need to add some black path that very2 thin along side the wall??

Offline

#49 8-Nov-2011 16:33:31

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

Re: AR driving simulation (need help)

the physic material is simply applied in the object physic properties.
right click on the object in the tree > Set physic > put a name and click the "+" button to add it to the list and select it

Offline

#50 8-Nov-2011 16:37:57

addriangembel
Member
Registered: 1-Oct-2011
Posts: 46

Re: AR driving simulation (need help)

what about the body type... it must be a collision tree or what?

Offline

Board footer

Powered by FluxBB