Forum: Vizard
12-22-2009, 01:48 PM
|
Replies: 2
Views: 31,248
Never mind, I think I've got it.
Turn off viz.DYNAMICS for both objects. Request collision notification for one of them. Examine evt.pos and evt.normal attributes of the collision event object. Yes?
|
Forum: Vizard
12-22-2009, 08:59 AM
|
Replies: 2
Views: 31,248
|
Forum: Vizard
12-22-2009, 08:24 AM
|
Replies: 2
Views: 31,248
Determining intersection point of two meshes
What's the easiest way to determine where two meshes intersect? I don't suppose it's possible to get that information out of the collision detection engine without having it modify the meshes'...
|
Forum: Vizard
10-09-2009, 12:43 PM
|
Replies: 6
Views: 46,366
Thanks, it's working now. So is wand-based...
Thanks, it's working now. So is wand-based picking, though it took me about an hour to realize that viz.intersect() was always returning the virtual rod that I'd just attached to the wand... :D
|
Forum: Vizard
10-09-2009, 09:24 AM
|
Replies: 6
Views: 46,366
|
Forum: Vizard
10-09-2009, 09:09 AM
|
Replies: 6
Views: 46,366
Not quite, I'm afraid. That is, it may be...
Not quite, I'm afraid. That is, it may be mathematically correct, but when I set parent=caveorigin, the node's drawImplementation() never gets called (determined by substituting a Python custom node...
|
Forum: Vizard
10-08-2009, 02:34 PM
|
Replies: 6
Views: 46,366
|
Forum: Vizard
10-07-2009, 12:18 PM
|
Replies: 1
Views: 21,812
Documentation error (nonexistent examples)
The "Linking Basics" page refers to scripts in a directory tutorial/link that doesn't exist. "Advanced Linking" refers to an examples/linking directory that doesn't exist either (3.14.0004).
|
Forum: Plug-in development
10-06-2009, 07:15 AM
|
Replies: 2
Views: 30,295
Yes, I've got all the Python calls properly...
Yes, I've got all the Python calls properly wrapped in GIL Ensure()/Release() calls. I'm somewhat familiar with the Python C API (I did most of the work on the Python bindings for Syzygy...
|
Forum: Plug-in development
10-05-2009, 02:27 PM
|
Replies: 2
Views: 30,295
PyOpenGL plugin
For my custom-node learning exercise I hacked out a plugin for writing custom nodes in Python with PyOpenGL. Not too pretty, but it hardly ever crashes Vizard anymore. :rolleyes:
In case anyone's...
|
Forum: Plug-in development
10-02-2009, 12:01 PM
|
Replies: 4
Views: 38,495
|
Forum: Plug-in development
10-02-2009, 11:49 AM
|
Replies: 4
Views: 38,495
|
Forum: Plug-in development
09-30-2009, 02:20 PM
|
Replies: 4
Views: 38,495
Collision detection with custom nodes?
When I add:
viz.MainView.collision(viz.ON)
to the end of testCustomNode.py (example script from the plugin API), I can still drive the viewpoint right through the middle of the polygon. What...
|
Forum: Plug-in development
09-24-2009, 12:44 PM
|
Replies: 2
Views: 31,848
|
Forum: Plug-in development
09-24-2009, 12:26 PM
|
Replies: 2
Views: 31,848
Access to VizCustomNodeObj::data
Is the float* data member of VizCustomNodeObj read-only from the Python side? I see a get() method in the docs that presumably returns it to the Python script, but no corresponding set() method...
|
Forum: Vizard
06-18-2009, 02:18 PM
|
Replies: 2
Views: 23,518
|
Forum: Vizard
06-18-2009, 08:03 AM
|
Replies: 2
Views: 23,518
Current state of command line arguments?
Hi,
I've been launching scripts from the commandline using just "winviz <script.py>" (in the script directory). That seems to work fine, except that if I pass additional arguments the first one...
|