WorldViz User Forum  

Go Back   WorldViz User Forum > Search Forums

Showing results 1 to 14 of 14
Search took 0.00 seconds.
Search: Posts Made By: Penguin
Forum: Vizard 05-14-2009, 09:25 AM
Replies: 10
Views: 13,851
Posted By Penguin
Hi Gladsomebeast, the effect of slight roll...

Hi Gladsomebeast, the effect of slight roll results in the lookat call. The second argument is a optional roll value. The internal value of viz.ABS_GLOBAL is 4:

...
Forum: Vizard 05-12-2009, 02:42 PM
Replies: 4
Views: 9,791
Posted By Penguin
Hm, could you illustrate it on my sample code...

Hm, could you illustrate it on my sample code please? I had a look on the event classes but I don't know how to process my own event in class A respectively B and C.

The vizact.onevent...
Forum: Vizard 05-12-2009, 01:09 PM
Replies: 10
Views: 13,851
Posted By Penguin
Step by step I'm able to locate the source of the...

Step by step I'm able to locate the source of the problem: I use the sphere in a hierarchical group order. The following code reproduces the strange behaviour of rotating.


import viz
import...
Forum: Vizard 05-12-2009, 11:48 AM
Replies: 4
Views: 9,791
Posted By Penguin
custom events within classes

Hi, is it possible to register more than one function for listing on a custom event? When pressing the 'e'-button the following code should print out 'B' and 'C'. But only 'C' is printed out. When I...
Forum: Vizard 05-12-2009, 11:21 AM
Replies: 10
Views: 13,851
Posted By Penguin
Except for the slight roll, your code works fine....

Except for the slight roll, your code works fine. But here it comes: when I attach the sphere to the main view the rotation doesn't work any longer.


import viz
import vizmat
import vizshape
...
Forum: Vizard 05-11-2009, 09:39 AM
Replies: 10
Views: 13,851
Posted By Penguin
rotating an object

Hi, I want to rotate an object (sphere) similar to the globe in google earth.

The sphere is mapped in front of the main view. With the use of the viz.pick() command I get the intersection position...
Forum: Vizard 05-11-2009, 08:54 AM
Replies: 6
Views: 11,503
Posted By Penguin
Thank you, the code works best for me! I only did...

Thank you, the code works best for me! I only did some minor changes: translating to origin before rotating:


euler = viz.Matrix.euler(0,0,roll)
m1 = object1.getMatrix()
m2 =...
Forum: Vizard 05-06-2009, 01:20 AM
Replies: 3
Views: 7,400
Posted By Penguin
Thank you for your solution: this will do it for...

Thank you for your solution: this will do it for me.

But why is the stereo representation different when attaching objects to the head? Is this because of head mounted displays to keep the visible...
Forum: Vizard 05-05-2009, 11:45 PM
Replies: 6
Views: 11,503
Posted By Penguin
This is not exactly what I meant. For...

This is not exactly what I meant.

For illustrating I attached some screen shots:

Left picture:
Start position. object1 = blue torus, object2 = white torus)

Middle picture:
Your end...
Forum: Vizard 05-05-2009, 02:49 AM
Replies: 6
Views: 11,503
Posted By Penguin
rotate object in relation of sth. else

Probably a simple question:

How do I rotate an object (node3d) in relation to another objects local coordinate system?

For instance, I want to relatively rotate object1 by 1 degree in relation...
Forum: Vizard 05-01-2009, 12:31 PM
Replies: 3
Views: 7,400
Posted By Penguin
stereoscopic bug?

Hi, in the following code example I detected that in the stereoscopic view the red/green offset of the left sphere is greater than of the right one although the distance between the spheres and the...
Forum: Vizard 04-09-2009, 08:51 AM
Replies: 1
Views: 9,037
Posted By Penguin
wxImage to Texture

Hi,

I'm using wxPython to get a screenshot from a hidden window how it is described here (http://markmail.org/message/iw3zyw3pfhmqxos7).

Now I want to use the screenshot image as a texture on a...
Forum: Vizard 03-07-2009, 03:30 AM
Replies: 7
Views: 17,139
Posted By Penguin
Your assumption proved right: Eclipse used...

Your assumption proved right:

Eclipse used the default python.exe for running. Explicit usage of the external tool winviz.exe works fine(green arrow icon with red suitcase).

Thanks for that...
Forum: Vizard 03-06-2009, 02:31 PM
Replies: 7
Views: 17,139
Posted By Penguin
Hi Gladsomebeast I'm new to Python and...

Hi Gladsomebeast

I'm new to Python and Vizard but a bit familiar to Eclipse. So I tried to install Pydev as you described.

But when I run a Vizard script including the viz.go() command I get...
Showing results 1 to 14 of 14

 
Forum Jump

All times are GMT -7. The time now is 12:57 PM.


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