WorldViz User Forum  

Go Back   WorldViz User Forum > Search Forums

Showing results 1 to 25 of 27
Search took 0.00 seconds.
Search: Posts Made By: omidbrb
Forum: Vizard 02-20-2010, 09:41 AM
Replies: 1
Views: 6,969
Posted By omidbrb
setEuler method of Shadow module

Hi,

I was wondering about the effect of position and Euler angles of the Shadow projector in the Shadow module. Specifically:

- Does the position determines the point in which the imaginary...
Forum: Vizard 02-07-2010, 03:14 AM
Replies: 1
Views: 4,063
Posted By omidbrb
About getAlpha function

Hi,

I have a problem using the getAlpha function. I'm calling getAlpha on the resulting object from the pick function:


intersect = win.pick(True, viz.WORLD, pos = [xNorm, yNorm])
alpha =...
Forum: Vizard 10-02-2009, 04:23 AM
Replies: 4
Views: 7,649
Posted By omidbrb
Thanks. Yes the problem was relativity to the...

Thanks. Yes the problem was relativity to the graphics window.
Forum: Vizard 09-23-2009, 06:52 AM
Replies: 1
Views: 6,753
Posted By omidbrb
Calling vizard functions in a loop

Hi,

I noticed that if I call Vizard functions that have a visual effect in a loop, the commands wouldn't be run before the encapsulating function returns (even with delays in between) :


def...
Forum: Vizard 09-23-2009, 06:38 AM
Replies: 4
Views: 7,649
Posted By omidbrb
I think I didn't describe the problem clearly....

I think I didn't describe the problem clearly. Imagine I created a window:


UpperRightWindow = viz.addWindow()
UpperRightWindow.position (0.6, 1.0)
UpperRightWindow.size(0.4, 0.4)...
Forum: Vizard 09-15-2009, 07:40 PM
Replies: 4
Views: 7,649
Posted By omidbrb
window.pick function over sub-window

Hi,

I have a function that examines all the pixels of the MainWindow using the window.pick function. The problem is that when I use a sub-window instead of MainWindow, I get strange results....
Forum: Vizard 08-25-2009, 03:58 PM
Replies: 3
Views: 6,204
Posted By omidbrb
Hi Jeff, Thanks a lot for the reply. Pick...

Hi Jeff,

Thanks a lot for the reply. Pick works exactly as I expected. Unfortunately it doesn't return an id for unnamed objects.

Apart from that, I want to have a function similar to pick, but...
Forum: Vizard 08-16-2009, 06:07 PM
Replies: 3
Views: 6,204
Posted By omidbrb
Identifying different nodes

Hi,

Im using the screenToWorld and intersectLine functions to identify the object being seen at a specific point on the screen, like this:
...
Forum: Vizard 07-20-2009, 05:40 AM
Replies: 1
Views: 4,947
Posted By omidbrb
Collision with objects having alpha channel applied to

Hi,

I'm using some models in Vizard that alpha channel is applied to them. Hence, there are some transparent areas belonging to the model which collides with other objects. Is there any way to...
Forum: Vizard 05-15-2009, 05:39 AM
Replies: 2
Views: 8,211
Posted By omidbrb
Thanks a lot. I'll try the solutions. I'm...

Thanks a lot. I'll try the solutions.

I'm wondering why it wasn't written in the documentation that the viz.addGroup function accepts the "pos" parameter.
Forum: Vizard 05-14-2009, 05:23 AM
Replies: 2
Views: 8,211
Posted By omidbrb
A point in avatar's coordinate system

Hi,

This is probably a very simple question but I couldn't find a simple function to calculate that in vizard. How can I find the position of a point that we have it in global coordinate system...
Forum: Vizard 04-23-2009, 05:21 AM
Replies: 7
Views: 8,319
Posted By omidbrb
It seems a bit complicated to me but it'll...

It seems a bit complicated to me but it'll probably work. I'm actually need it to implement Inverse Kinematics for the avatar hand movements. At the moment I'm gathering data using an exhaustive...
Forum: Vizard 04-03-2009, 05:18 AM
Replies: 4
Views: 6,747
Posted By omidbrb
Hi, I'm also having this problem. Is there...

Hi,

I'm also having this problem. Is there any solution for it?

Omid
Forum: Vizard 03-31-2009, 06:09 AM
Replies: 1
Views: 4,539
Posted By omidbrb
Sorry, that was my mistake. It works correctly.

Sorry, that was my mistake. It works correctly.
Forum: Vizard 03-31-2009, 04:31 AM
Replies: 1
Views: 4,539
Posted By omidbrb
Accuracy of the screentoworld function

Hi,

I'm using the screentoworld and mousepos functions:


line = viz.screentoworld(viz.mousepos())


but for every mouse position, the starting point of the line generated by screentoworld...
Forum: Vizard 03-31-2009, 02:46 AM
Replies: 7
Views: 8,319
Posted By omidbrb
That's right, but since I need to control the...

That's right, but since I need to control the bones precisely, I want to have the precise rotations that make the end of the bone point at a certain direction. Do you think it's possible?
Forum: Vizard 03-24-2009, 03:54 AM
Replies: 7
Views: 8,319
Posted By omidbrb
Hi, Thanks for the example code. I added 60...

Hi,

Thanks for the example code. I added 60 degrees to the roll and now it looks better. I did the same experiment with left upper arm, and I had to make a different correction to make it right. ...
Forum: Vizard 02-27-2009, 03:01 AM
Replies: 7
Views: 8,319
Posted By omidbrb
Using bone.lookat for bones other than head

Hi!

Is it possible to use bone.lookat for bones other than the head? I use the following code to always point the hand towards an object but it stays perpendicular!


def lookAtBall():
bone =...
Forum: Vizard 02-24-2009, 02:57 AM
Replies: 2
Views: 5,197
Posted By omidbrb
Any ideas?

Any ideas?
Forum: Vizard 02-24-2009, 02:57 AM
Replies: 5
Views: 5,949
Posted By omidbrb
I haven't tried yet but I'll post if I managed to...

I haven't tried yet but I'll post if I managed to do that.
Forum: Vizard 02-24-2009, 02:56 AM
Replies: 13
Views: 11,737
Posted By omidbrb
Yes it worked. Thanks. My misunderstanding was...

Yes it worked. Thanks. My misunderstanding was that I thought SHADOW_POS and SHADOW_AREA refers to the shadow itslef.
Forum: Vizard 02-06-2009, 02:08 AM
Replies: 13
Views: 11,737
Posted By omidbrb
But one should make a seperate...

But one should make a seperate Shadow.ShadowProjector objects for each avatar. Hence, as I get, SHADOW_AREA is not the area that all the shadows should be contained in, rather it represents a box...
Forum: Vizard 01-30-2009, 07:08 AM
Replies: 13
Views: 11,737
Posted By omidbrb
I used the example provided in this thread...

I used the example provided in this thread (http://www.worldviz.com/forum/showthread.php?t=1208), but with multiple avatars. Still only 3 avatars have shadows. Is there any demo that is not relying...
Forum: Vizard 01-30-2009, 03:46 AM
Replies: 5
Views: 5,949
Posted By omidbrb
Collisions with InfiniteTerrain

I also noticed that collisions with InfiniteTerrain are not handled automatically. Is it true? This is the code that I used to enable collisions:


view = viz.add(viz.VIEWPOINT)...
Forum: Vizard 01-28-2009, 05:24 PM
Replies: 2
Views: 5,197
Posted By omidbrb
Rendering problem in InfiniteTerrain

Hi Everyone,

I'm using InfiniteTerrain and I often encounter some rendering problems as in the attached pictures. I wonder if there is a paramater that I'm missing to set. Any ideas ?

In...
Showing results 1 to 25 of 27

 
Forum Jump

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


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