WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 04-28-2006, 11:27 AM
betancourtb82 betancourtb82 is offline
Member
 
Join Date: Jan 2006
Posts: 103
Multidimensional Arrays

I was wondering if anyone could help me with a multidimensional array. I need to make an array that satisfies 3 conditions. There will be 3 different avatars, each having to hold 3 different items(gun, camera, cell phone). There has to be 10 of each of these conditions (shown in attachment). Any ideas? Thanks. I'm thinking it would be a multidimensional 3x3 array that I can call 10 times. Another idea I had was just make a 30x30 array but I think that would take too long to load. Please help.
Attached Files
File Type: txt chart.txt (184 Bytes, 1135 views)
Reply With Quote
  #2  
Old 04-28-2006, 04:50 PM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
Hi,

I don't understand what you are asking for. How many avatars do you need at any given time? What exactly do you need to do with these avatars?
Reply With Quote
  #3  
Old 04-30-2006, 11:44 AM
betancourtb82 betancourtb82 is offline
Member
 
Join Date: Jan 2006
Posts: 103
I need 3 separate avatars, a mexican-american, a white-american, and the experimenter. Each of these avatars will hold one of three items, a camera, a cell phone or a gun. Technically I have to have 90 different avatars, but I think I can use the same three avatars and just do different "link" commands. They will be coming toward the subject relatively quickly and the subject will have to decide whether or not they feel threatened and if they are threatened, shoot the person coming at them. The avatars should come at the subject at a randomized fashion, but at the end of the study, the following conditions must be met:

Mex-american - 10 cameras, 10 cell phones, 10 guns
wht-american - 10 cameras, 10 cell phones, 10 guns
experimenter - 10 cameras, 10 cell phones, 10 guns

Each avatar must hold one of the three items 10 different times. To the subject it should appear as if 90 avatars are coming at them (not necessarily all at once). I hope that's a little more clear. If not, please let me know.

Thanks
Reply With Quote
  #4  
Old 05-01-2006, 03:31 PM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
Hi,

If you are only viewing each avatar one at a time, then you only need to add 3 avatars. When you are starting an avatar link the appropriate object to it. When you are done with the avatar unlink the object from it.
Reply With Quote
  #5  
Old 05-02-2006, 08:15 AM
betancourtb82 betancourtb82 is offline
Member
 
Join Date: Jan 2006
Posts: 103
The only problem with that is that I would need more than 3 avatars to come out at once. The experimenter wants a continous flow of avatars. Would I be able to do this w/only an array of 3 avatars and the link and unlink?
Reply With Quote
  #6  
Old 05-02-2006, 09:49 AM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
Hi,

You need to create at least the same number of avatars that you want to be visible at the same time. So if you only need 6 avatars to be visible at a time, then you need at least 6 avatars.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 02:07 AM.


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