Forum: Vizard
12-09-2013, 08:30 AM
|
|
Replies: 4
Views: 19,078
Hi Patrick,
Rounding off is pretty easy: ...
Hi Patrick,
Rounding off is pretty easy:
numbers = [179.3428955078125, -69.40995025634766, 88.83070373535156]
for i, number in enumerate(numbers):
numbers[i] = round(number,1)
print...
|
Forum: Vizard
12-02-2013, 03:47 PM
|
|
Replies: 18
Views: 41,384
|
Forum: Vizard
12-02-2013, 08:57 AM
|
|
Replies: 18
Views: 41,384
|
Forum: Vizard
11-28-2013, 03:55 AM
|
|
Replies: 18
Views: 41,384
Simply change
sensor = vizproximity.Sensor(...
Simply change
sensor = vizproximity.Sensor( vizproximity.CircleArea(0.1),source=sphere)
to:
sensor = vizproximity.Sensor( vizproximity.CircleArea(1),source=sphere)
Now, the warning should...
|
Forum: Vizard
11-27-2013, 12:13 PM
|
|
Replies: 18
Views: 41,384
|
Forum: Vizard
11-26-2013, 07:01 AM
|
|
Replies: 18
Views: 41,384
Hi Maya,
You forgot to make text_2D...
Hi Maya,
You forgot to make text_2D invisible in the beginning.
text_2D = viz.addText('radiation source area', viz.SCREEN )
text_2D.setPosition(0,0,20)
text_2D.color(viz.RED)...
|
Forum: Vizard
11-20-2013, 01:32 AM
|
|
Replies: 2
Views: 21,652
Hi NicoleVR,
Have a look at this knowledge...
Hi NicoleVR,
Have a look at this knowledge base (http://kb.worldviz.com/articles/350). You could create a collidebox for each foot of your avatar, and a collidebox for your plane. By tweaking the...
|
Forum: Vizard
11-18-2013, 02:56 PM
|
|
Replies: 18
Views: 41,384
Hi Maya,
Sounds like you can use a proximity...
Hi Maya,
Sounds like you can use a proximity sensor. If you set your sphere as the source of the sensor in the example below, you can do something when someone enters the area (or leaves the...
|
Forum: Vizard
11-14-2013, 02:58 PM
|
|
Replies: 4
Views: 27,318
|
Forum: Vizard
11-14-2013, 05:18 AM
|
|
Replies: 5
Views: 32,187
Hi Saajaja,
Seems like you already figured...
Hi Saajaja,
Seems like you already figured out how to solve your problem. However, a simpler solution seems like to yield a function, where you do something with the input. Everything that is in...
|
Forum: Vizard
11-14-2013, 05:02 AM
|
|
Replies: 6
Views: 22,323
|
Forum: Vizard
11-13-2013, 04:21 PM
|
|
Replies: 4
Views: 27,318
|
Forum: Vizard
11-13-2013, 03:58 PM
|
|
Replies: 6
Views: 22,323
Hi Amir,
I don't really get your problem,...
Hi Amir,
I don't really get your problem, perhaps some example code could explain your problem better.
There are several options for a window:
- either use standard height & width (800 x 600)...
|
Forum: Vizard
11-13-2013, 07:17 AM
|
|
Replies: 6
Views: 22,323
Hi Amir,
You could just put...
Hi Amir,
You could just put viz.go(viz.FULLSCREEN) in your code. Then Vizard will try to run fullscreen and if you have the Lite license, it will automatically render a small window (I think with...
|
Forum: Vizard
11-13-2013, 07:15 AM
|
|
Replies: 5
Views: 32,187
Hi Saajaja,
The code below should do what...
Hi Saajaja,
The code below should do what you want. Note that the color of the screen will be skyblue instead of black (as stated in your question). Just change SKYBLUE to BLACK to change that. I...
|
Forum: Vizard
11-13-2013, 06:51 AM
|
|
Replies: 1
Views: 53,462
|
Forum: Vizard
11-06-2013, 01:07 AM
|
|
Replies: 4
Views: 33,796
Thank you for the chapter, looks interesting!
...
Thank you for the chapter, looks interesting!
My background is in social psychology and so is the nature of this research, so please attack me with that area :)! I'm doing research on how to make...
|
Forum: Vizard
11-05-2013, 09:27 AM
|
|
Replies: 4
Views: 33,796
Hi Iva,
Thanks for your reply! I do not use...
Hi Iva,
Thanks for your reply! I do not use eye-tracking in my experiment (and don't have the equipment to do so), although I want participants to experience eye contact with a virtual agent. The...
|
Forum: Vizard
10-22-2013, 09:11 AM
|
|
Replies: 7
Views: 31,506
|
Forum: Vizard
10-21-2013, 01:36 PM
|
|
Replies: 7
Views: 31,506
Hi Kevin,
Thank you very much for your...
Hi Kevin,
Thank you very much for your example! I managed to get the animation I wanted. Never thought about the position of the bones (and never worked with matrices in Vizard), but it worked...
|
Forum: Vizard
10-16-2013, 02:26 AM
|
|
Replies: 7
Views: 31,506
|
Forum: Vizard
10-16-2013, 01:20 AM
|
|
Replies: 2
Views: 24,921
If you change: ...
If you change:
cube2.setPosition((0.0,0.0,10.0), mode = viz.ABS_GLOBAL)
to:
cube2.setPosition(0.0,0.0,10.0, mode = viz.ABS_GLOBAL)
then both cubes are set in the same position. Apparently,...
|
Forum: Vizard
10-15-2013, 09:20 AM
|
|
Replies: 7
Views: 31,506
Hi Jeff,
Sounds like a good idea! However,...
Hi Jeff,
Sounds like a good idea! However, I've tried to print the eulers (also tried quaternions) of the eye related bones, while running one of the standard animations and was unable to detect...
|
Forum: Vizard
10-08-2013, 03:45 AM
|
|
Replies: 4
Views: 33,796
Realistic gaze behavior of CCHD characters
Hi all,
I'm planning an experiment in which I want to establish eye-contact between a participant and a CCHD character. I can make the character gaze at the participant all the time, but that does...
|
Forum: Vizard
10-02-2013, 11:08 AM
|
|
Replies: 2
Views: 27,804
|