WorldViz User Forum  

Go Back   WorldViz User Forum > Search Forums

Showing results 1 to 20 of 20
Search took 0.01 seconds.
Search: Posts Made By: IGoudt
Forum: Vizard 06-27-2010, 10:34 AM
Replies: 5
Views: 8,726
Posted By IGoudt
From my experience, you can register events only...

From my experience, you can register events only once.
For example:

Class A registers a viz.MOUSEDOWN_EVENT
Class B registers a viz.MOUSEDOWN_EVENT

Then if I recall correctly the last...
Forum: Vizard 05-03-2010, 08:28 PM
Replies: 2
Views: 12,925
Posted By IGoudt
Hello, this is a programming design issue,...

Hello,

this is a programming design issue, rather than a Vizard problem. After reading your story I can conclude that you are not familiar with the ideas of importing. Importing a module (which is...
Forum: Vizard 05-02-2010, 09:35 AM
Replies: 5
Views: 9,681
Posted By IGoudt
As far as I know an animated splash screen does...

As far as I know an animated splash screen does not exist in Vizard. I used the AdvancedSplash, based on wxpython. You can send me a PM for setup code.

As a side note, if you want to avoid long...
Forum: Vizard 04-15-2010, 01:45 PM
Replies: 4
Views: 7,426
Posted By IGoudt
Exactly *what* does not work? On which line does...

Exactly *what* does not work? On which line does the program do other than you expect it to do?
Following changes might not work, but at least it should call test_reaction_time() correctly. Issue is...
Forum: Vizard 03-08-2010, 04:24 AM
Replies: 6
Views: 8,460
Posted By IGoudt
Whenever you register a function with...

Whenever you register a function with vizact.onkeydown a reference is made in memory between the keystroke and the function. What you wish to achieve is to break that reference. A way to do that,...
Forum: Vizard 03-08-2010, 04:01 AM
Replies: 6
Views: 8,460
Posted By IGoudt
After searching in the documentation I found the...

After searching in the documentation I found the following:

<vizact>.removeEvent
Deletes an EventFunction object

<vizact>.removeEvent( eventFunctionObj )

eventFunctionObj

Remarks
Forum: Vizard 03-07-2010, 10:16 PM
Replies: 6
Views: 8,460
Posted By IGoudt
You can use: ...

You can use:
viz.callback(viz.KEYDOWN_EVENT,None)

I guess you can also use:

vizact.onkeydown(key, None)

Depending if you use vizact or viz.callback to handle your events.
Forum: Vizard 03-07-2010, 10:13 PM
Replies: 1
Views: 6,413
Posted By IGoudt
I would make use of a variable 'audioPlaying =...

I would make use of a variable 'audioPlaying = True/False' that's being checked everytime a key-event occurs.

snippets: (I use self here since I think in classes/objects)

def playAudio(self,...
Forum: Vizard 02-10-2010, 08:50 AM
Replies: 2
Views: 6,851
Posted By IGoudt
The walkTo function takes an array as argument....

The walkTo function takes an array as argument. [x,y,z]
The walkto function takes x,y,z as argument
(mind the 't' and 'T')

Also don't forget to import vizact. :)
Forum: Vizard 02-09-2010, 07:06 AM
Replies: 0
Views: 8,865
Posted By IGoudt
window offset on windows 7

Hello,

I have some "trouble" with a viewpoint/window offset on Windows 7 64bit professional. See the attachment. When I want to use the vizinfo UI elements, then I have to click the offset...
Forum: Vizard 01-30-2010, 04:10 AM
Replies: 1
Views: 6,720
Posted By IGoudt
I solved my problem with ray-tracing, you can...

I solved my problem with ray-tracing, you can leave this topic open if you want to solve it for others :)
Forum: Vizard 01-28-2010, 01:42 AM
Replies: 1
Views: 6,720
Posted By IGoudt
calculating orientation and approaching

Hello,

I am working on a collision avoidance project with avatars. I am trying to find out the angle 2 avatars are walking at to eachother.
What I do is:

- I take the Euler orientation of the...
Forum: Vizard 01-25-2010, 07:17 AM
Replies: 1
Views: 7,289
Posted By IGoudt
adding actions in front of actionlist

Hello,

I know that {avatar}.addAction adds an action pending in the end of an actionqueue, waiting to get handled. Now, in my project I would like to edit the pending actionqueue, in particular:...
Forum: Vizard 12-17-2009, 04:41 AM
Replies: 4
Views: 12,086
Posted By IGoudt
<vizact>.fadeTo() might do want you want. ...

<vizact>.fadeTo() might do want you want.

fadeAction = vizact.fadeTo(viz.BLACK,time=2)
object.addAction(fadeAction)
Forum: Vizard 10-27-2009, 11:16 PM
Replies: 5
Views: 11,510
Posted By IGoudt
Python can behave annoying sometimes when it...

Python can behave annoying sometimes when it comes to mixed indentation with tabs and spaces. Especially in the Vizard environment this can be stressing, I have 2 solutions for this:

1: Use...
Forum: Vizard 10-27-2009, 11:11 PM
Replies: 4
Views: 14,760
Posted By IGoudt
Vizard avatars are defined and loaded by a .cfg...

Vizard avatars are defined and loaded by a .cfg file. You can check male.cfg and vcc_male.cfg to see how such a .cfg looks like. Avatars consist of:

- a skeleton
- 1 or more meshes
- any number...
Forum: Vizard 10-26-2009, 02:48 AM
Replies: 3
Views: 12,442
Posted By IGoudt
I forgot to mention that you cannot use operators...

I forgot to mention that you cannot use operators and functions on the left side of the equals sign.

path + 'someinteger' = viz.add(viz.ANIMATION_PATH) would not work, but

pathDictionary[path...
Forum: Vizard 10-25-2009, 05:30 AM
Replies: 3
Views: 12,442
Posted By IGoudt
I would do the following using a list, so that...

I would do the following using a list, so that path1 is on index 0 and path n on index n-1

pathlist = list()

for curNumber in range(maxNumberOfPaths) :

path =...
Forum: Vizard 10-12-2009, 08:12 AM
Replies: 1
Views: 13,251
Posted By IGoudt
avatar walking over a sequence of points

Hello,

I would like to have an avatar walk over a sequence of points. I have a network of waypoints, which are connected, and a have an algorithm that finds a path from Begin to End. That path is...
Forum: Vizard 09-24-2009, 06:37 AM
Replies: 0
Views: 14,099
Posted By IGoudt
Trouble using custom animations for Live Characters

Hello,

I am using Vizard 3.0 Enterprise Edition and the Vizard Live Characters to create and extend virtual worlds for academical research.

I would like to use the animations as posted on the...
Showing results 1 to 20 of 20

 
Forum Jump

All times are GMT -7. The time now is 08:56 PM.


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