WorldViz User Forum  

Go Back   WorldViz User Forum > Search Forums

Showing results 476 to 500 of 500
Search took 0.05 seconds; generated 63 minute(s) ago.
Search: Posts Made By: farshizzo
Forum: Vizard 11-12-2010, 09:00 AM
Replies: 3
Views: 22,545
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: 30,696
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: 21,244
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: 39,046
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: 23,426
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: 42,319
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: 28,775
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: 30,080
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: 19,584
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: 28,544
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: 20,685
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: 24,370
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: 38,871
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: 39,738
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: 29,763
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: 23,777
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: 20,459
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: 20,620
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: 19,286
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: 26,715
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: 21,867
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: 45,520
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: 29,213
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: 26,107
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: 23,705
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 06:12 PM.


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