WorldViz User Forum  

Go Back   WorldViz User Forum > Search Forums

Showing results 51 to 75 of 148
Search took 0.01 seconds; generated 49 minute(s) ago.
Search: Posts Made By: Frank Verberne
Forum: Vizard 12-09-2013, 08:30 AM
Replies: 4
Views: 19,078
Posted By Frank Verberne
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
Posted By Frank Verberne
If I understand correctly, avatar2 is not updated...

If I understand correctly, avatar2 is not updated in client1, and avatar1 is not updated in client2?

If avatar1 is controlled by client1 and avatar2 is controlled by client2, then you should pass...
Forum: Vizard 12-02-2013, 08:57 AM
Replies: 18
Views: 41,384
Posted By Frank Verberne
I think you can just apply a vizproximity sensor...

I think you can just apply a vizproximity sensor with a circlearea of 5 (meters) to one (moving) avatar, and add a vizproximity target to the other (moving) avatar. When the avatars are within 5...
Forum: Vizard 11-28-2013, 03:55 AM
Replies: 18
Views: 41,384
Posted By Frank Verberne
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
Posted By Frank Verberne
I have tested it with the code below. With that...

I have tested it with the code below. With that code, the text appears when you enter the small red sphere.
import viz
import vizshape
import vizproximity

viz.go()...
Forum: Vizard 11-26-2013, 07:01 AM
Replies: 18
Views: 41,384
Posted By Frank Verberne
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
Posted By Frank Verberne
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
Posted By Frank Verberne
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
Posted By Frank Verberne
I don't exactly understand your problem (as you...

I don't exactly understand your problem (as you sample code is not complete). However, you can get rid of the border of a window using:
viz.window.setBorder(viz.BORDER_NONE)
Forum: Vizard 11-14-2013, 05:18 AM
Replies: 5
Views: 32,187
Posted By Frank Verberne
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
Posted By Frank Verberne
If I understand correctly, you want your code to...

If I understand correctly, you want your code to handle different screen sizes, so that you can test your code on with a Lite license and a full license. Furthermore, you only seem to have a problem...
Forum: Vizard 11-13-2013, 04:21 PM
Replies: 4
Views: 27,318
Posted By Frank Verberne
Seem like you have the reverse problem of the OP...

Seem like you have the reverse problem of the OP of this thread (http://forum.worldviz.com/showthread.php?t=4875). It should not matter whether you're running your program fullscreen or not. Again,...
Forum: Vizard 11-13-2013, 03:58 PM
Replies: 6
Views: 22,323
Posted By Frank Verberne
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
Posted By Frank Verberne
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
Posted By Frank Verberne
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
Posted By Frank Verberne
I think you're looking for something like this: ...

I think you're looking for something like this:
positionOffsets = [x,y,z]
rotationOffsets = [yaw,pitch,roll]
grabLink = viz.link(hand,object,1)
grabLink.preTrans(positionOffsets)...
Forum: Vizard 11-06-2013, 01:07 AM
Replies: 4
Views: 33,796
Posted By Frank Verberne
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
Posted By Frank Verberne
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
Posted By Frank Verberne
Just updated the code. Old version: def...

Just updated the code. Old version:
def playback():
def subTask():
for bones in boneObjList:
bones.lock()
currentBone = 0

for mat in boneMatList:...
Forum: Vizard 10-21-2013, 01:36 PM
Replies: 7
Views: 31,506
Posted By Frank Verberne
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
Posted By Frank Verberne
Okay, I'm pretty sure the eyelids are not moved...

Okay, I'm pretty sure the eyelids are not moved by bones. I've tried recording a little piece of one of the standard animations of the sample HD character, with blinking included. Uncomment...
Forum: Vizard 10-16-2013, 01:20 AM
Replies: 2
Views: 24,921
Posted By Frank Verberne
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
Posted By Frank Verberne
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
Posted By Frank Verberne
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
Posted By Frank Verberne
Hi Christian, You can use relative files in...

Hi Christian,

You can use relative files in the .cfg files of complete characters in this way:

skeleton = Skel\male_high_Skeleton.CSF
Showing results 51 to 75 of 148

 
Forum Jump

All times are GMT -7. The time now is 05:30 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC