Forum: Vizard
03-27-2015, 02:54 AM
|
|
Replies: 2
Views: 29,196
Hi,
you can do that by defining a function...
Hi,
you can do that by defining a function and calling that function repeatedly at a give rate with the vizard <ontimer> function. See my quick example below.
import viz
import vizact
...
|
Forum: Vizard
03-25-2015, 04:23 AM
|
|
Replies: 18
Views: 159,911
|
Forum: Vizard
03-17-2015, 06:44 AM
|
|
Replies: 2
Views: 34,520
Hi,
you don't need sensors to do that. I...
Hi,
you don't need sensors to do that. I would rather use a timer to call a function every frame that constantly checks the view direction and sends a signal when a certain value is reached, e.g.:...
|
Forum: Vizard
02-18-2015, 06:07 AM
|
|
Replies: 2
Views: 23,389
|
Forum: Vizard
02-18-2015, 06:05 AM
|
|
Replies: 18
Views: 159,911
|
Forum: Vizard
02-08-2015, 08:05 AM
|
|
Replies: 2
Views: 23,389
setPosition() and collision
Hello,
I have a question about the setPosition() function, specifically when using it to move the viewpoint:
when I enable collision for the viewpoint (by viz.MainView.collision(viz.ON)), the...
|
Forum: Vizard
02-07-2015, 07:08 AM
|
|
Replies: 18
Views: 159,911
|
Forum: Vizard
12-17-2014, 02:11 AM
|
|
Replies: 8
Views: 28,988
Hi,
I think you should look into the...
Hi,
I think you should look into the viz.MainView.stepsize(x) command. It sets how much distance (in meters) the viewpoint is allowed to climb up when it encounters an object (like a stair).
...
|
Forum: Vizard
12-10-2014, 05:58 AM
|
|
Replies: 2
Views: 33,154
Thank you for the quick reply!
While...
Thank you for the quick reply!
While debugging, I also noticed that the background can be faded in and out (e.g. textPanel.message('Bla', fade = 2)), but for text items in a panel the...
|
Forum: Vizard
12-09-2014, 08:30 AM
|
|
Replies: 2
Views: 33,154
Changes in vizdlg or vizact in Vizard 5?
Hello,
I have a problem running most of my files in Vizard 5:
To display text, images, ... I build my own vizdlg.Dialog class to create a panel which I can use to display and hide messages...
|
Forum: Vizard
12-09-2014, 06:02 AM
|
|
Replies: 1
Views: 20,227
It seems that the behavior of the debugger has...
It seems that the behavior of the debugger has just changed slightly. I get an error message, but only if I stop the debugger manually once the error occurs, if I just continue to execute the code...
|
Forum: Vizard
12-09-2014, 01:31 AM
|
|
Replies: 1
Views: 20,227
Debugger error messages in Vizard 5
Hello,
I recently switched from Vizard 4 to 5 and the debugger does not display the error message inside the 'interactive' window anymore when an error is encountered.
When I run the script...
|
Forum: Vizard
11-07-2014, 01:04 AM
|
|
Replies: 3
Views: 32,660
|
Forum: Vizard
10-24-2014, 09:38 AM
|
|
Replies: 3
Views: 32,228
|
Forum: Vizard
10-24-2014, 09:20 AM
|
|
Replies: 3
Views: 32,228
That worked wonderfully, thanks!
I the...
That worked wonderfully, thanks!
I the meantime, I also managed to fix it by manually correcting the offset by the scaling factor * initial offset.
Your solution is much more elegant, thanks...
|
Forum: Vizard
10-24-2014, 08:49 AM
|
|
Replies: 3
Views: 32,228
|
Forum: Vizard
10-24-2013, 11:51 PM
|
|
Replies: 2
Views: 26,589
For each group of objects, I create a small...
For each group of objects, I create a small sphere in the center of the group of objects. I grabbed the sphere handle in Vizard and could get their position.
However, this is very tedious with a...
|
Forum: Vizard
10-18-2013, 01:19 AM
|
|
Replies: 2
Views: 26,589
Getting position of a group of objects
Hello all,
I am trying to get the position of a group of objects (a tent composed out of small objects) in Vizard. I have read through the Hierarchical model tutorial and all is well, but it only...
|
Forum: Vizard
07-24-2013, 12:02 AM
|
|
Replies: 9
Views: 57,235
Hello Jeff,
thank you very much! That solved...
Hello Jeff,
thank you very much! That solved the problem. The movement speed of the viewport is now consistent throughout all of our environments.
What do you think was the problem? Is there a...
|
Forum: Vizard
07-22-2013, 07:56 AM
|
|
Replies: 9
Views: 57,235
|
Forum: Vizard
07-15-2013, 06:03 AM
|
|
Replies: 4
Views: 34,138
|
Forum: Vizard
07-15-2013, 05:07 AM
|
|
Replies: 9
Views: 57,235
Hello Jeff,
thanks for your reply and the...
Hello Jeff,
thanks for your reply and the time you invest in helping me.
As far as I can tell, there are no framerate drops during the scene. I am using the info-panel to assess framerate and...
|
Forum: Vizard
07-09-2013, 11:48 PM
|
|
Replies: 4
Views: 34,138
Thanks for your reply!
Do you think the...
Thanks for your reply!
Do you think the problem might also be reduced when I call the timer function in a new thread (i.e. viz. director(function))? Or would the vizard rendering loop still delay...
|
Forum: Vizard
07-09-2013, 07:35 AM
|
|
Replies: 9
Views: 57,235
|
Forum: Vizard
07-08-2013, 01:13 PM
|
|
Replies: 9
Views: 57,235
|