Forum: Vizard
07-10-2009, 01:57 PM
|
|
Replies: 2
Views: 23,019
|
Forum: Vizard
07-10-2009, 09:13 AM
|
|
Replies: 2
Views: 23,019
Interaction solution?
Hello, I'm thinking about investigate two persons interaction in VR. Is there anyway that two persons wear HMDs see the same virtual environment but they have their own view? Thanks a lot!
|
Forum: Vizard
04-21-2009, 01:29 PM
|
|
Replies: 2
Views: 21,804
|
Forum: Vizard
04-21-2009, 09:16 AM
|
|
Replies: 2
Views: 21,804
constant speed on animation path
Hello, By pressing 'a', my script simply starts a car in a road. My question is how to make the car move in a constant speed. I use path.constantspeed(), but seems to me that the car will accelerate...
|
Forum: Vizard
04-12-2009, 08:48 AM
|
|
Replies: 11
Views: 26,842
|
Forum: Vizard
04-10-2009, 03:44 PM
|
|
Replies: 11
Views: 26,842
Thank you, Jeff. It works!
Now I make a...
Thank you, Jeff. It works!
Now I make a little change on the reset part. I would like to reset the object (duck or ball) right before being played. But I got the following error:
Traceback...
|
Forum: Vizard
04-10-2009, 02:43 PM
|
|
Replies: 11
Views: 26,842
Oh!!! I always thought the second argument of...
Oh!!! I always thought the second argument of vizact.ontimer2 was the number of times to active the timer. Sorry about that. I should set it to 0. I'll correct it and see what happened....
Thanks...
|
Forum: Vizard
04-09-2009, 07:41 PM
|
|
Replies: 11
Views: 26,842
I don't understand that "a timer object is...
I don't understand that "a timer object is created that will repeat one time, so the ball's path will be played twice." Why will it REPEAT one time? I thought the ball should be play only two times...
|
Forum: Vizard
04-09-2009, 12:45 PM
|
|
Replies: 11
Views: 26,842
|
Forum: Vizard
04-09-2009, 09:52 AM
|
|
Replies: 11
Views: 26,842
Hi,
I think the 3 is actually...
Hi,
I think the 3 is actually len(time_to_go) or len(object). Because I define 3 events. I just put "donothing" as the first event (for duck action), and put ball actions as the 2nd and the 3rd...
|
Forum: Vizard
04-08-2009, 07:33 PM
|
|
Replies: 11
Views: 26,842
|
Forum: Vizard
04-08-2009, 12:35 PM
|
|
Replies: 11
Views: 26,842
Timer Actions problem
Hello,
I wrote a small script basically want to play some animation paths in a specific schedule and every animation path can be played more than once.
In this script, I create an animation...
|
Forum: Vizard
01-20-2009, 10:15 AM
|
|
Replies: 3
Views: 56,902
|
Forum: Vizard
01-19-2009, 04:56 PM
|
|
Replies: 3
Views: 56,902
I'm not sure if I make it clear. To solve this...
I'm not sure if I make it clear. To solve this problem, I'm looking for a way to turn off the connection between the head orientation and the moving direction. The moving direction is controlled by...
|
Forum: Vizard
01-19-2009, 03:27 PM
|
|
Replies: 3
Views: 56,902
orientation question
Hello,
Generally I have two ways to control orientation. One is to turn the viewpoint with head, the code would be like:
rot_data = ppt.getEuler()
viz.reset(viz.HEAD_ORI)...
|
Forum: Vizard
11-17-2008, 07:41 PM
|
|
Replies: 8
Views: 70,206
|
Forum: Vizard
11-10-2008, 01:52 PM
|
|
Replies: 0
Views: 24,556
Cubic Bezier Curve
Hello,
What I understood about Cubic Bezier curve is that, given two endpoints and two control points, it is a smooth curve that begins and end at the endpoints, but not passes through the control...
|
Forum: Vizard
11-10-2008, 09:36 AM
|
|
Replies: 8
Views: 70,206
Hi Jeff,
Please see the following code. The...
Hi Jeff,
Please see the following code. The car speed up when it turns. Seems still not constant speed for some curves. How can I improve it? About cubic_bezier curve, do I specify only 4 points...
|
Forum: Vizard
11-09-2008, 07:52 PM
|
|
Replies: 8
Views: 70,206
Thanks Jeff. I didn't put...
Thanks Jeff. I didn't put path.translatemode(viz.CUBIC_BEZIER) in my code.:p Yes, cubic_bezier mode has constant speed.
BTW, it's not bad for me to specify all positions of a animation path using...
|
Forum: Vizard
11-05-2008, 09:19 PM
|
|
Replies: 8
Views: 70,206
|
Forum: Vizard
11-02-2008, 01:48 PM
|
|
Replies: 8
Views: 70,206
speed on animation path
Hello Jeff,
Previously you helped me out with the problem that how to get the position of an object two seconds ahead. Thanks a lot. Here is the code with slight change on your code, in which a...
|
Forum: Vizard
10-06-2008, 04:38 PM
|
|
Replies: 10
Views: 57,727
Yes, that's exactly what I want. If there is a...
Yes, that's exactly what I want. If there is a system defined variable about current speed, something like get.speed(), then I don't need to maintain them by myself. That's why I'm asking. But if...
|
Forum: Vizard
10-01-2008, 10:49 PM
|
|
Replies: 10
Views: 57,727
I do use animationpath.constantspeed when I...
I do use animationpath.constantspeed when I begin. But what I need to know is not only the initial speed. If I want to accelerate or decelerate a car, I would like to increase or decrease the car...
|
Forum: Vizard
09-26-2008, 02:45 PM
|
|
Replies: 10
Views: 57,727
Hi, Jeff
That's really helpful! Thanks a...
Hi, Jeff
That's really helpful! Thanks a lot!
I have another question. Is there any way I can get the current speed of the object, like accessing some environment variable? The reason I need it...
|
Forum: Vizard
09-20-2008, 10:34 AM
|
|
Replies: 10
Views: 57,727
|