WorldViz User Forum  

Go Back   WorldViz User Forum > Search Forums

Showing results 1 to 18 of 18
Search took 0.01 seconds.
Search: Posts Made By: farshizzo
Forum: Vizard 04-04-2006, 11:31 AM
Replies: 40
Views: 45,160
Posted By farshizzo
In both calls to viz.screentoworld you are adding...

In both calls to viz.screentoworld you are adding an offset to the x position. You don't need to do this when using a 3D cursor. Also, after adding the cursor you should disable collisions on it so...
Forum: Vizard 04-04-2006, 10:14 AM
Replies: 40
Views: 45,160
Posted By farshizzo
I tried your script but I didn't see any bullet....

I tried your script but I didn't see any bullet. I've modified my previous code so that it shoots a bullet from the center of the viewpoint towards the direction of the crosshair. There will always...
Forum: Vizard 03-30-2006, 01:19 PM
Replies: 40
Views: 45,160
Posted By farshizzo
Yes, this is how most people implement crosshairs...

Yes, this is how most people implement crosshairs for stereo viewing. Here is a sample script that will place a crosshair 0.1 meters in front of the user.import viz
viz.go(viz.STEREO)
...
Forum: Vizard 03-21-2006, 10:57 AM
Replies: 40
Views: 45,160
Posted By farshizzo
Try incrementing the to the next avatar before...

Try incrementing the to the next avatar before you access it:nextAvatar = (nextAvatar + 1) % len(avatars)
avatar = avatars[nextAvatar]The face and body of the avatar are two separate objects, so you...
Forum: Vizard 03-20-2006, 02:17 PM
Replies: 40
Views: 45,160
Posted By farshizzo
Hi, That means you are trying to index into...

Hi,

That means you are trying to index into the avatar list with a value greater than the size of the list. Are you deleting items from the avatar list after you create it? If so then you need to...
Forum: Vizard 03-09-2006, 03:08 PM
Replies: 40
Views: 45,160
Posted By farshizzo
Hi, You are not actually executing any...

Hi,

You are not actually executing any animations on the avatar. You should add the following line before adding the WaitThenFreeze action:info.object.execute(7)
Forum: Vizard 03-08-2006, 01:32 PM
Replies: 40
Views: 45,160
Posted By farshizzo
The whole point of wearing an HMD is that each...

The whole point of wearing an HMD is that each eye gets a different view of the scene. This is what make the image look 3D. Setting IPD to zero will effectively disable stereo since both eyes will be...
Forum: Vizard 03-08-2006, 10:06 AM
Replies: 40
Views: 45,160
Posted By farshizzo
Hi, The code I posted was made with the...

Hi,

The code I posted was made with the latest internal version of Vizard. I realized that it won't work with the version you have. You just need to change the screentoworld command to the...
Forum: Vizard 03-02-2006, 05:03 PM
Replies: 40
Views: 45,160
Posted By farshizzo
Hi, I've attached a modified version of the...

Hi,

I've attached a modified version of the script which I hope will point out why you are experiencing this problem. First of all, I removed the crosshair because you shouldn't be using objects...
Forum: Vizard 03-01-2006, 01:28 PM
Replies: 40
Views: 45,160
Posted By farshizzo
Hi, Well, I wouldn't really call this a...

Hi,

Well, I wouldn't really call this a problem. What you are asking is kind of impossible to do. You want the object to appear directly at the center of the crosshair for BOTH the left and right...
Forum: Vizard 03-01-2006, 12:24 PM
Replies: 40
Views: 45,160
Posted By farshizzo
Hi, If you are viewing the world through an...

Hi,

If you are viewing the world through an HMD then you MUST enable stereo. Otherwise, your left eye will only see the left half of the world and your right eye will see the right half.
Forum: Vizard 02-28-2006, 05:10 PM
Replies: 40
Views: 45,160
Posted By farshizzo
Hi, Are you only getting this problem when...

Hi,

Are you only getting this problem when using STEREO, or do you experience it in non-STEREO mode also? Keep in mind that STEREO mode will offset the position of each eye based on the IPD value....
Forum: Vizard 02-28-2006, 01:57 PM
Replies: 40
Views: 45,160
Posted By farshizzo
Hi, Ok, that makes sense now. When using the...

Hi,

Ok, that makes sense now. When using the screentoworld command you need to account for the stereo mode. So if you are using the mouse with the left eye, then simply multiply the x component of...
Forum: Vizard 02-27-2006, 01:34 PM
Replies: 40
Views: 45,160
Posted By farshizzo
Hi, Would you mind posting a screenshot of...

Hi,

Would you mind posting a screenshot of this problem. I don't get this problem when I run the scripts here. Also, which version of Vizard are you using?
Forum: Vizard 02-27-2006, 12:18 PM
Replies: 40
Views: 45,160
Posted By farshizzo
Hi, It looks like you pretty much copied the...

Hi,

It looks like you pretty much copied the code from the duckcourt example. Do you get this same problem with the duckcourt script?
Forum: Vizard 02-24-2006, 02:04 PM
Replies: 40
Views: 45,160
Posted By farshizzo
Hi, Can you provide the code for you...

Hi,

Can you provide the code for you shootBullet function, since that is where the relevant code should be. Are you using the viz.screentoworld function similar to the duckcourt example?
Forum: Vizard 01-30-2004, 09:58 AM
Replies: 40
Views: 45,160
Posted By farshizzo
Hi, If you want to snap the viewpoint to a...

Hi,

If you want to snap the viewpoint to a certain location when a key is pressed then you will use a KEYBOARD_EVENT. This is an event that is triggered whenever a key is pressed. Here is an...
Forum: Vizard 01-28-2004, 04:34 PM
Replies: 40
Views: 45,160
Posted By farshizzo
Hi, To get information about the viewer use...

Hi,

To get information about the viewer use the viz.get() command. Take a look in the command reference of the documentation for a more detailed description. Here's an example:
#Get the head...
Showing results 1 to 18 of 18

 
Forum Jump

All times are GMT -7. The time now is 04:20 PM.


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