WorldViz User Forum  

Go Back   WorldViz User Forum > Search Forums

Showing results 251 to 275 of 500
Search took 0.07 seconds; generated 79 minute(s) ago.
Search: Posts Made By: farshizzo
Forum: Plug-in development 04-24-2012, 05:21 PM
Replies: 7
Views: 91,698
Posted By farshizzo
The easiest way would be to simply place the .h...

The easiest way would be to simply place the .h file in the same directory as the Visual Studio project for your extension.


No, getPosition/getOrientation are methods of the VizExtensionSensor...
Forum: Vizard 04-24-2012, 05:09 PM
Replies: 4
Views: 29,785
Posted By farshizzo
The TMF_WANTPALM flag seems to just disable...

The TMF_WANTPALM flag seems to just disable filtering of palm touches, resulting in slightly lower delays for touch events. I can add an option for using this flag, but I'm still not sure how to...
Forum: Plug-in development 04-23-2012, 05:25 PM
Replies: 7
Views: 91,698
Posted By farshizzo
It sounds like you will need to create a class...

It sounds like you will need to create a class that extends the "VizExtensionSensor" interface. Sensors are objects that provide position, orientation, button, and analog data. Your sensor class...
Forum: Vizard 04-18-2012, 09:57 AM
Replies: 1
Views: 21,613
Posted By farshizzo
Are you using the viztask module to run your...

Are you using the viztask module to run your trials? Either way, here is some code that shows how you can detect every third trial:import viz
import viztask
viz.go()

NUM_TRIALS = 10

def...
Forum: Vizard 04-18-2012, 09:50 AM
Replies: 3
Views: 25,595
Posted By farshizzo
Here is an example that applies a clip plane to a...

Here is an example that applies a clip plane to a model and updates it every frame so that the plane is relative to the current viewpoint. Let me know if this isn't what you were asking for.
import...
Forum: Vizard 04-18-2012, 09:21 AM
Replies: 16
Views: 92,358
Posted By farshizzo
When exporting to .ive, are you enabling vertex...

When exporting to .ive, are you enabling vertex normals and lighting in the export options dialog?
Forum: Vizard 04-16-2012, 10:54 AM
Replies: 16
Views: 92,358
Posted By farshizzo
What format are you exporting the model to?

What format are you exporting the model to?
Forum: Vizard 04-16-2012, 09:53 AM
Replies: 7
Views: 46,425
Posted By farshizzo
Unfortunately you won't be able to load the...

Unfortunately you won't be able to load the models within an external program. Vizard uses its own osg::Transform derived class for transforming models, so this class can only be serialized within...
Forum: Vizard 04-16-2012, 09:50 AM
Replies: 4
Views: 52,165
Posted By farshizzo
Sorry, I'm not familiar with PyCharm, but is it...

Sorry, I'm not familiar with PyCharm, but is it outputting any error messages when you attempt to debug a Vizard script?
Forum: Vizard 04-16-2012, 09:48 AM
Replies: 2
Views: 52,695
Posted By farshizzo
Vizard creates an OpenGL 2.x compatible context....

Vizard creates an OpenGL 2.x compatible context. From my understanding, the deprecated built-in uniforms (gl_Vertex, gl_Normal, ...) should still be available to shaders under this context. If your...
Forum: Vizard 04-16-2012, 08:49 AM
Replies: 7
Views: 46,425
Posted By farshizzo
Sorry, I forgot to mention that this will only...

Sorry, I forgot to mention that this will only work with the newer osgb format.
Forum: Vizard 04-16-2012, 08:30 AM
Replies: 1
Views: 39,726
Posted By farshizzo
The docs you are referring to are for Vizard 4.0....

The docs you are referring to are for Vizard 4.0. You seem to be using Vizard 3.0, which that feature did not exist for.

If you are not able to upgrade to Vizard 4.0, then you can workaround the...
Forum: Vizard 04-16-2012, 08:23 AM
Replies: 7
Views: 46,425
Posted By farshizzo
If you parent the model to a group node, then...

If you parent the model to a group node, then saving the group will preserve the transformation of the model. Example:import viz
viz.go()

root = viz.addGroup()
model =...
Forum: Vizard 04-11-2012, 09:29 AM
Replies: 5
Views: 41,556
Posted By farshizzo
The glFinish option is not ideal because it...

The glFinish option is not ideal because it blocks at the end of the frame for the GPU to finish rendering. This can reduce the framerate in some cases because you lose the parallelization of the CPU...
Forum: Vizard 04-11-2012, 09:24 AM
Replies: 5
Views: 30,935
Posted By farshizzo
You can change the position and size of each...

You can change the position and size of each subwindow object so that it only appears on a specific monitor. Then you can add the panel to the desired subwindow.
Forum: Vizard 04-11-2012, 09:20 AM
Replies: 2
Views: 21,047
Posted By farshizzo
Along with using a lower poly mesh for collision...

Along with using a lower poly mesh for collision tests, you can also use the viz.OPTIMIZE_INTERSECT_HINT flag to speed up collision tests with a particular mesh:model.hint(viz.OPTIMIZE_INTERSECT_HINT)
Forum: Vizard 04-04-2012, 04:59 PM
Replies: 3
Views: 30,489
Posted By farshizzo
Not currently. If you monitor the memory usage of...

Not currently. If you monitor the memory usage of the process in task manager, is it nearing a 2GB limit before crashing?
Forum: Vizard 04-04-2012, 04:57 PM
Replies: 1
Views: 18,383
Posted By farshizzo
No, this is not currently supported. In your...

No, this is not currently supported. In your specific case you can define a function that creates the light and sets the parameters:def addGeneralLight():
general_light= viz.addLight()...
Forum: Vizard 04-04-2012, 04:40 PM
Replies: 2
Views: 23,222
Posted By farshizzo
I'm not sure why that line would cause an error....

I'm not sure why that line would cause an error. I just tried publishing the following script to an EXE and it worked fine on my machine:import viz
viz.go()

import datetime
open_date =...
Forum: Vizard 04-04-2012, 04:07 PM
Replies: 5
Views: 41,556
Posted By farshizzo
If your script is running at a solid 60 FPS, then...

If your script is running at a solid 60 FPS, then vsync is most likely on. Can you make sure power management is not enabled in the nVidia 3D settings. The setting should be called "Power management...
Forum: Vizard 03-30-2012, 11:43 AM
Replies: 1
Views: 27,193
Posted By farshizzo
The official version of the OSG exporter plugin...

The official version of the OSG exporter plugin uses a Z-up convention. You can download it from the official site, http://sourceforge.net/projects/osgmaxexp/
Forum: Vizard 03-30-2012, 11:42 AM
Replies: 3
Views: 30,489
Posted By farshizzo
The vizproximity module uses simple bounding...

The vizproximity module uses simple bounding spheres/boxes to detect proximity. If you need fine-grained polygon based collision testing, then the vizproximity module will not be useful in this case....
Forum: Vizard 03-27-2012, 04:02 PM
Replies: 4
Views: 22,821
Posted By farshizzo
We don't currently have access to a Colibri...

We don't currently have access to a Colibri Wireless device, so we don't have plans to add support yet. Do you know if the latest API (3.1.2) is publicly available?

If you need support for the...
Forum: Vizard 03-26-2012, 10:58 AM
Replies: 1
Views: 27,062
Posted By farshizzo
Vizard will search the script directory first...

Vizard will search the script directory first when looking for resources (images, models, plugins, etc..). If the file is not found there, then it will search for it on the Vizard resource path. By...
Forum: Vizard 03-23-2012, 02:57 PM
Replies: 1
Views: 18,179
Posted By farshizzo
You can use a render node to render the scene to...

You can use a render node to render the scene to a texture and then apply that texture to any object in the world. Here is a simple example:import viz
import vizact
viz.go()

# Add environment...
Showing results 251 to 275 of 500

 
Forum Jump

All times are GMT -7. The time now is 01:44 PM.


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