WorldViz User Forum  

Go Back   WorldViz User Forum > Search Forums

Showing results 1 to 25 of 43
Search took 0.01 seconds.
Search: Posts Made By: new_horizon
Forum: Vizard 12-11-2012, 05:20 AM
Replies: 1
Views: 6,064
Posted By new_horizon
Solved the issue - for anyone who wants to know...

Solved the issue - for anyone who wants to know for the future...

No_probe_vehicle = 20 # number of trials
Speedarray = ([30,30,30,30,40,40,40,40,50,50,50,50,60,60,60,60])

for j in range...
Forum: Vizard 12-11-2012, 04:32 AM
Replies: 1
Views: 6,064
Posted By new_horizon
Array Question

Hi All,

I am trying to create a program whereby an element is selected from an array and then a new array (minus the selected object is then created).

E.g.

Speed = [30,40,50,60]
...
Forum: Vizard 12-11-2012, 03:04 AM
Replies: 3
Views: 6,745
Posted By new_horizon
Sorry I've just re-read that. What I mean is if...

Sorry I've just re-read that. What I mean is if there are four entries for each speed, how can I remove them from the array once they have been used?

Thanks
Forum: Vizard 12-11-2012, 03:02 AM
Replies: 3
Views: 6,745
Posted By new_horizon
That is true, but the issue is how to ensure that...

That is true, but the issue is how to ensure that the program does not select the same speed twice (e.g there will be four entries of 30mph...how can I get it effectively "cross" these entries out...
Forum: Vizard 12-10-2012, 05:08 AM
Replies: 3
Views: 6,745
Posted By new_horizon
Method of Limits Program

Hi All,

This is a programming questions really, opposed to a Vizard specific question.

I want to set up an experiment where I have a vehicle traveling at a choice of six speeds (ranging from 20...
Forum: Vizard 05-14-2012, 07:30 AM
Replies: 3
Views: 9,090
Posted By new_horizon
Hi Jeff, Thanks for your prompt response. ...

Hi Jeff,

Thanks for your prompt response.

I have been trying this method and it does not seem to allow me to register the slider position as a variable for an output.

How can I assign the...
Forum: Vizard 05-14-2012, 05:17 AM
Replies: 3
Views: 9,090
Posted By new_horizon
Slider Assistance

Hi All,

I'm currently working on incorporating a slider into my work.

A few questions...

1) Is there a way of labelling different areas of the slider for the user? I have already specified...
Forum: Vizard 04-20-2012, 05:32 AM
Replies: 1
Views: 7,095
Posted By new_horizon
Linking Objects

Hi All,

A while ago, I had a problem with headlights, whereby when I attached them to a car, I had a jagged light effect as the vehicle approached - because it was highlighting each road texture...
Forum: Vizard 04-18-2012, 08:17 AM
Replies: 1
Views: 7,239
Posted By new_horizon
Simple Programming Question

Hi All,

Forgive my ignorance, but I am writing a program where I have a set of commands that occur for a given number of trials (for in in range (0, No_trials)).

I wish to have another event...
Forum: Vizard 10-31-2011, 09:54 AM
Replies: 0
Views: 8,031
Posted By new_horizon
TypeError: only length-1 arrays can be converted to Python scalars

Hi All,

I will not paste my code here as it is extremely long, but I have included a snippet where the error is appearing.

TypeError: only length-1 arrays can be converted to Python scalars
...
Forum: Vizard 10-14-2011, 03:48 AM
Replies: 0
Views: 5,432
Posted By new_horizon
Loading Object Time

Hi All,

I am running an experiment currently that involves loading a number of photographic stimuli into Vizard. I have created a city scene myself by scaling different photographs and also...
Forum: Vizard 09-26-2011, 04:44 AM
Replies: 3
Views: 6,385
Posted By new_horizon
Thanks for the reply. Am I correct in saying...

Thanks for the reply.

Am I correct in saying however, that you cannot combine an integer and a string to make a file name?

For example if choiceM[selectM] is a string and filename is an...
Forum: Vizard 09-20-2011, 08:50 AM
Replies: 3
Views: 6,385
Posted By new_horizon
viz.input

Hi All,

I am trying to enter some code that will allow the experimenter to enter a filename for the test subject - I would like this file name to be the participant number, however, when I input...
Forum: Vizard 08-23-2011, 02:36 AM
Replies: 1
Views: 7,062
Posted By new_horizon
To be more specific I would like to store each...

To be more specific I would like to store each buttonpress as a variable (3 in total) and then use a for loop to dictate whether the response was correct.

I have tried using mouse position...
Forum: Vizard 08-23-2011, 01:48 AM
Replies: 1
Views: 7,062
Posted By new_horizon
If statements and button presses

Hi All,

Is there any way of using an IF statement that involves a particular button press instead of a mouse position?

For example...

If buttondown = zone3button:

Thanks
Forum: Vizard 08-23-2011, 01:45 AM
Replies: 2
Views: 6,815
Posted By new_horizon
Thanks Jeff, perfect

Thanks Jeff, perfect
Forum: Vizard 08-19-2011, 07:19 AM
Replies: 2
Views: 6,815
Posted By new_horizon
IF statements and Lists

Hi All,

A very basic (I'm sure) programming question, but I am creating a list of three mouse position clicks and if one of these clicks falls within a certain range, I would like to the program...
Forum: Vizard 08-19-2011, 03:17 AM
Replies: 1
Views: 7,357
Posted By new_horizon
Multiple Button Presses

Hi all,

I'm nearing the final part of programming my latest experiment, whereby individuals see some motion within a scene and are then asked to indicate where the motion occurred (by clicking in...
Forum: Vizard 08-18-2011, 09:03 AM
Replies: 3
Views: 6,760
Posted By new_horizon
That's great thank you. Do you know if there...

That's great thank you.

Do you know if there is a way of allowing the user to select multiple zones? So if there are vehicles moving in three of the zones, they can click each one in turn before...
Forum: Vizard 08-18-2011, 08:03 AM
Replies: 3
Views: 6,760
Posted By new_horizon
OK so I managed to do this by inserting a number...

OK so I managed to do this by inserting a number of buttons within the gridlines - does anyone know how to make them transparent?

Lastly, I need to allow the user to select up to five zones of...
Forum: Vizard 08-18-2011, 06:07 AM
Replies: 3
Views: 6,760
Posted By new_horizon
Coordinates for Zones

Hi All,

I am running an experiment where participants will see a number of vehicles move towards there viewpoint.

With the help of Farshizzo (thanks), some gridlines then appear and I want the...
Forum: Vizard 08-18-2011, 05:59 AM
Replies: 2
Views: 6,607
Posted By new_horizon
Thanks - that's pretty much exactly what I was...

Thanks - that's pretty much exactly what I was looking for!

Is there any way of removing the horizontal gridlines?

Thanks again!
Forum: Vizard 08-17-2011, 08:18 AM
Replies: 2
Views: 6,607
Posted By new_horizon
Inserting Gridlines

Hi All,

I am working on a vehicle detection task whereby participants are required to watch a number of vehicles move within a scene and then click in the location where they felt that they saw...
Forum: Vizard 06-29-2011, 04:36 AM
Replies: 1
Views: 7,453
Posted By new_horizon
Randomly Choosing a WaitTime

Hi All,

I am working on a program at the moment that requires an event to occur for 0.25s, but the timing of that event to occur at some point within a 1 second time frame.

I have tried setting...
Forum: Vizard 06-20-2011, 03:02 AM
Replies: 3
Views: 8,341
Posted By new_horizon
Apologies, here is the full traceback... ...

Apologies, here is the full traceback...

Traceback (most recent call last):
File "C:\Program Files\WorldViz\Vizard30/python\viz.py", line 9091, in __update
self.nextAction(pool)
File...
Showing results 1 to 25 of 43

 
Forum Jump

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


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