WorldViz User Forum  

Go Back   WorldViz User Forum > Search Forums

Showing results 476 to 500 of 500
Search took 0.07 seconds; generated 79 minute(s) ago.
Search: Posts Made By: farshizzo
Forum: Vizard 11-12-2010, 09:00 AM
Replies: 3
Views: 18,268
Posted By farshizzo
Try enabling back face...

Try enabling back face culling:node.enable(viz.CULL_FACE)
Forum: Vizard 11-10-2010, 07:11 PM
Replies: 2
Views: 24,479
Posted By farshizzo
Try adding another light to scene 2.

Try adding another light to scene 2.
Forum: Vizard 11-10-2010, 07:02 PM
Replies: 2
Views: 17,395
Posted By farshizzo
You can register a callback for...

You can register a callback for viz.WINDOW_SIZE_EVENT and resize your object whenever the window is resized.
Forum: Vizard 11-10-2010, 06:59 PM
Replies: 3
Views: 30,683
Posted By farshizzo
The ARToolkit plugin should support multiple...

The ARToolkit plugin should support multiple cameras. Just call ar.addCamera for each camera you have attached.
Forum: Vizard 11-10-2010, 06:57 PM
Replies: 2
Views: 19,250
Posted By farshizzo
Here is a sample script showing how to draw a...

Here is a sample script showing how to draw a black line over the wireframe of a model:import viz
import vizact
viz.go()

viz.clearcolor(viz.GRAY)

frag_black = """
void main()
{...
Forum: Vizard 10-18-2010, 08:59 AM
Replies: 7
Views: 33,150
Posted By farshizzo
Is the model file in the same directory as the...

Is the model file in the same directory as the Vizard script?

Can you post the Virtual Path of the model and texture files that appear in the asset list?
Forum: Vizard 10-18-2010, 08:54 AM
Replies: 2
Views: 23,018
Posted By farshizzo
Your example code is adding the render node to...

Your example code is adding the render node to scene 2. Instead, you should add the render node to the main scene and have it render scene 2. The following change should do...
Forum: Vizard 10-18-2010, 08:34 AM
Replies: 2
Views: 24,252
Posted By farshizzo
You can customize the global theme to change the...

You can customize the global theme to change the colors of all GUI objects. If you just want to change the color of a single textbox, then you can use the following...
Forum: Vizard 10-12-2010, 03:12 PM
Replies: 1
Views: 15,728
Posted By farshizzo
How much lower is the resolution? Add the...

How much lower is the resolution? Add the following line at the end of each sample to see what the images sizes are:print T.getSize()
Forum: Vizard 10-08-2010, 01:18 PM
Replies: 3
Views: 23,816
Posted By farshizzo
Create your own class that inherits from...

Create your own class that inherits from PivotNavigate and override the mouse wheel behavior:class MyPivotNavigate(vizcam.PivotNavigate):

def _camMouseWheel(self,e):

# Compute new distance...
Forum: Vizard 10-08-2010, 11:16 AM
Replies: 1
Views: 16,768
Posted By farshizzo
I'm not familiar with pspice, but you can call...

I'm not familiar with pspice, but you can call any external process and pass it arguments by using the Python subprocess module. Example:import subprocess...
Forum: Vizard 10-07-2010, 12:48 PM
Replies: 2
Views: 19,446
Posted By farshizzo
If you have the bounding box the enclosed area...

If you have the bounding box the enclosed area and the position of the wheelchair, then you can use the following code to check whether the wheelchair is inside the enclosed area:# bb is bounding box...
Forum: Vizard 10-07-2010, 12:31 PM
Replies: 5
Views: 30,935
Posted By farshizzo
The previous sample is incorrect. The following...

The previous sample is incorrect. The following sample should do what you want:import viz
viz.go()

gallery = viz.add('gallery.ive')

#add a subwindow
subWindow = viz.addWindow()...
Forum: Vizard 10-07-2010, 12:18 PM
Replies: 1
Views: 28,903
Posted By farshizzo
Vizard uses the Python programming language for...

Vizard uses the Python programming language for scripting. This means you will need to manually convert the Java program to Python. Depending on the size of the Java program, this can be a time...
Forum: Vizard 10-07-2010, 12:14 PM
Replies: 1
Views: 24,208
Posted By farshizzo
Timer events behave differently than all other...

Timer events behave differently than all other events. They are only sent to the event handler that started the timer. Also, waiting for any timer event doesn't seem very useful, since a lot of other...
Forum: Vizard 10-07-2010, 12:06 PM
Replies: 3
Views: 19,016
Posted By farshizzo
This looks like a draw ordering issue between the...

This looks like a draw ordering issue between the text and the object behind it. Does the object behind the text object contain transparency? If not, then try forcing that object to a lower draw...
Forum: Vizard 09-27-2010, 11:23 AM
Replies: 1
Views: 16,688
Posted By farshizzo
Just don't apply the scale factor to the chair...

Just don't apply the scale factor to the chair object, and let it inherit the scale from the parent.van=viz.add("van.osg",scale=(0.1,0.1,0.1))
chair=viz.add("chair.osg",parent=van)
Forum: Vizard 09-27-2010, 11:20 AM
Replies: 1
Views: 17,013
Posted By farshizzo
Please use the tags when posting sample code on...

Please use the tags when posting sample code on the forum. This will preserve indentation which is necessary for running Python code.

In your code, you are incorrectly using the valid attribute...
Forum: Vizard 09-27-2010, 11:15 AM
Replies: 1
Views: 15,569
Posted By farshizzo
Search the Vizard docs for "powerwall". There...

Search the Vizard docs for "powerwall". There should be an example script showing how to setup a powerwall using the vizcave module.
Forum: Vizard 09-27-2010, 11:14 AM
Replies: 2
Views: 21,494
Posted By farshizzo
The second dialog in the publish wizard contains...

The second dialog in the publish wizard contains a checkbox labelled Display console. You can use this option to display an output console for your published exe.

If you prefer to log the ouput to...
Forum: Vizard 09-14-2010, 03:07 PM
Replies: 3
Views: 18,136
Posted By farshizzo
The texture objects have a few functions for...

The texture objects have a few functions for loading images from memory.

<texture>.setImageData allows you to set the raw RGB data of an image. This is the most efficient method.

If the data is...
Forum: Plug-in development 08-24-2010, 10:51 AM
Replies: 1
Views: 35,570
Posted By farshizzo
Try adding the following line to your...

Try adding the following line to your script:viz.directormode(viz.DIRECTOR_FAST)
This essentially tells Vizard to allow Python threads to run while rendering the scene, which should give more time...
Forum: Vizard 08-24-2010, 09:17 AM
Replies: 1
Views: 23,559
Posted By farshizzo
The node.setMatrix command sets the entire...

The node.setMatrix command sets the entire transform matrix of the node, which includes position, rotation, and scale. The individual setPosition, setEuler, setScale, etc.. command only affect that...
Forum: Vizard 07-27-2010, 11:26 AM
Replies: 4
Views: 21,369
Posted By farshizzo
This feature is not built-in to Vizard 3.0....

This feature is not built-in to Vizard 3.0. However, you can use the Python pdb module to debug Vizard scripts. I have also used the more advanced winpdb (http://winpdb.org/) debugger with Vizard,...
Forum: Vizard 07-21-2010, 09:32 AM
Replies: 3
Views: 19,394
Posted By farshizzo
If you only care about whether the object is on...

If you only care about whether the object is on screen, then you should ignore all cases where the distance is negative.
Showing results 476 to 500 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