WorldViz User Forum  

Go Back   WorldViz User Forum > Search Forums

Showing results 26 to 42 of 42
Search took 0.01 seconds; generated 84 minute(s) ago.
Search: Posts Made By: JimC
Forum: Vizard 12-22-2009, 01:48 PM
Replies: 2
Views: 31,248
Posted By JimC
Smile 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
Posted By JimC
Red face Oops, ungoodly wordage.

I meant the point of initial contact of two meshes, one of which is moving...
Forum: Vizard 12-22-2009, 08:24 AM
Replies: 2
Views: 31,248
Posted By JimC
Question 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
Posted By JimC
Thumbs up 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
Posted By JimC
3.13.0002. Too old?

3.13.0002. Too old?
Forum: Vizard 10-09-2009, 09:09 AM
Replies: 6
Views: 46,366
Posted By JimC
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
Posted By JimC
Question CAVE, navigation, tracked wand, coordinate systems

I have Vizard running on two walls of a CAVE. Head-tracking is working perfectly, and I can use a tracked wand to point and fly around. Here's a code fragment to indicate what I've done so far:

...
Forum: Vizard 10-07-2009, 12:18 PM
Replies: 1
Views: 21,812
Posted By JimC
Exclamation 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
Posted By JimC
Red face 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
Posted By JimC
Talking 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
Posted By JimC
> If not for collision detection, what is this...

> If not for collision detection, what is this method for?

Culling?

-Jim
Forum: Plug-in development 10-02-2009, 11:49 AM
Replies: 4
Views: 38,495
Posted By JimC
This is just the custom-node example plugin that...

This is just the custom-node example plugin that comes with the plugin API. It draw a single (deforming) square.

I assumed that the Drawable's computeBound() method, which returns a BoundingBox,...
Forum: Plug-in development 09-30-2009, 02:20 PM
Replies: 4
Views: 38,495
Posted By JimC
Unhappy 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
Posted By JimC
OK, thanks. So if my plugin has e.g. 8 parameters...

OK, thanks. So if my plugin has e.g. 8 parameters I would set them using two calls to command() with different values for mesg...
Forum: Plug-in development 09-24-2009, 12:26 PM
Replies: 2
Views: 31,848
Posted By JimC
Question 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
Posted By JimC
Smile Thanks. Just out of curiosity, what does...

Thanks.

Just out of curiosity, what does vizard do with that first argument after the script path?
Forum: Vizard 06-18-2009, 08:03 AM
Replies: 2
Views: 23,518
Posted By JimC
Question 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...
Showing results 26 to 42 of 42

 
Forum Jump

All times are GMT -7. The time now is 02:58 PM.


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