WorldViz User Forum  

Go Back   WorldViz User Forum > Search Forums

Showing results 351 to 375 of 500
Search took 0.06 seconds; generated 83 minute(s) ago.
Search: Posts Made By: farshizzo
Forum: Vizard 10-04-2011, 09:45 AM
Replies: 3
Views: 25,522
Posted By farshizzo
I forgot to mention, you should also disable...

I forgot to mention, you should also disable blending when using alpha to coverage. This might fix the issue with the corners:
model.disable(viz.BLEND)
Forum: Vizard 09-27-2011, 12:16 PM
Replies: 3
Views: 26,847
Posted By farshizzo
The command uses a normal map. Normal maps...

The command uses a normal map. Normal maps usually are a bluish color. It sounds like you have a height map.
Forum: Vizard 09-27-2011, 12:09 PM
Replies: 3
Views: 25,522
Posted By farshizzo
Try enabling viz.SAMPLE_ALPHA_TO_COVERAGE on the...

Try enabling viz.SAMPLE_ALPHA_TO_COVERAGE on the tree model. You will need to enable multisampling in order for this to work.
viz.setMultiSample(8)
viz.go()

model = viz.add('tree.osgb')...
Forum: Vizard 09-27-2011, 12:04 PM
Replies: 1
Views: 22,691
Posted By farshizzo
There is currently no built-in support for the...

There is currently no built-in support for the nVidia APEX library in Vizard.
Forum: Vizard 09-27-2011, 12:03 PM
Replies: 1
Views: 24,426
Posted By farshizzo
Can you post an example WRL file and the code you...

Can you post an example WRL file and the code you are using to spin the door?

If the door node is contained in a hierarchy, then you might be getting a handle to the wrong node. For example, if...
Forum: Vizard 09-27-2011, 11:59 AM
Replies: 3
Views: 33,658
Posted By farshizzo
Yes, just convert the integer to a string and...

Yes, just convert the integer to a string and then you can concatenate it with another string:
filename = str(filename) + choiceM[selectM]
Forum: Vizard 09-27-2011, 11:58 AM
Replies: 2
Views: 38,203
Posted By farshizzo
You can use the os.path.isfile command to check...

You can use the os.path.isfile command to check for file existence.
import os
if os.path.isfile('foo.txt'):
print 'File exists'
Forum: Vizard 09-21-2011, 10:48 AM
Replies: 3
Views: 33,658
Posted By farshizzo
You can manually convert the string to an...

You can manually convert the string to an integer. Example:
strValue = viz.input('Enter a number:')
try:
intValue = int(strValue)
print intValue
except ValueError:
print 'You did not enter a...
Forum: Vizard 09-15-2011, 10:33 AM
Replies: 3
Views: 26,847
Posted By farshizzo
Are you referring to the <node3d>.bumpmap...

Are you referring to the <node3d>.bumpmap command? It's not documented, but it should still be available in Vizard 4.0.
Forum: Vizard 09-15-2011, 10:25 AM
Replies: 1
Views: 25,883
Posted By farshizzo
This is not currently possible. The text is...

This is not currently possible. The text is rendered as a single mesh, so you would need to manually split up the text into multiple objects.
Forum: Vizard 08-31-2011, 02:49 PM
Replies: 1
Views: 28,026
Posted By farshizzo
Most of the functionality in the vizhtml module...

Most of the functionality in the vizhtml module is based on the Python BaseHTTPServer module, which comes with Vizard 3.0. You should be able to find examples online showing how to use BaseHTTPServer...
Forum: Vizard 08-31-2011, 10:14 AM
Replies: 2
Views: 26,796
Posted By farshizzo
During a button release event,...

During a button release event, viz.getFocusedNode() should return an invalid node.
Forum: Vizard 08-31-2011, 10:11 AM
Replies: 4
Views: 40,901
Posted By farshizzo
Support for controlling osg::Sequence nodes is in...

Support for controlling osg::Sequence nodes is in the latest version of Vizard (4.02). Here is some sample code:

import viz
viz.go()

model = viz.add('sequence.ive',pos=(0,1.5,4))

osg =...
Forum: Vizard 08-18-2011, 09:58 AM
Replies: 3
Views: 28,899
Posted By farshizzo
You can disable viz.RENDERING on a node to...

You can disable viz.RENDERING on a node to prevent it from being displayed, but still allow it to be picked. Here is an example that splits the screen into 4 zones and prints out which zone was...
Forum: Vizard 08-17-2011, 10:25 AM
Replies: 2
Views: 26,731
Posted By farshizzo
If you just want to display grid lines overlayed...

If you just want to display grid lines overlayed on the screen, then you can use the vizshape.addGrid command. Here is an example:import viz
import vizshape
viz.go()

grid =...
Forum: Vizard 08-17-2011, 10:20 AM
Replies: 4
Views: 40,901
Posted By farshizzo
There's currently no built-in support for this,...

There's currently no built-in support for this, but we will add it to a future release.

If you are familiar with C++ programming and OpenSceneGraph, you could write a Vizard extension that does...
Forum: Vizard 08-16-2011, 07:30 PM
Replies: 1
Views: 24,550
Posted By farshizzo
The pick command allows you to pass an optional...

The pick command allows you to pass an optional position argument representing the normalized (0-1) screen coordinates to perform the picking at. If not specified, it defaults to the current mouse...
Forum: Vizard 08-16-2011, 11:10 AM
Replies: 3
Views: 27,725
Posted By farshizzo
We plan on releasing a new version this week that...

We plan on releasing a new version this week that fixes this issue. If you need a fix sooner, then contact support@worldviz.com and they can provide you with a link to the previous working version.
Forum: Vizard 07-29-2011, 10:05 AM
Replies: 2
Views: 37,146
Posted By farshizzo
It is possible to get the multiprocessing module...

It is possible to get the multiprocessing module working with Vizard, but it does have a few limitations. You will not be able to use any Vizard modules within the spawned processes. The...
Forum: Vizard 07-28-2011, 04:43 PM
Replies: 5
Views: 28,400
Posted By farshizzo
Good news! I was able to test out PyQt and get it...

Good news! I was able to test out PyQt and get it working with Vizard. I've created a knowledge base article (http://kb.worldviz.com/articles/1666) describing how to get it working. Let me know if...
Forum: Vizard 07-28-2011, 11:10 AM
Replies: 4
Views: 33,907
Posted By farshizzo
Is the grass plane the only object in your model...

Is the grass plane the only object in your model that contains transparency? If you have multiple transparent objects that intersect each other, then you will have these kinds of issues.

To solve...
Forum: Vizard 07-28-2011, 11:04 AM
Replies: 6
Views: 35,442
Posted By farshizzo
There is a limit to how many textures you can...

There is a limit to how many textures you can apply to an object in OpenGL using the fixed-function pipeline. It looks like the limit is 8 in your drivers. If you need to use more, then you will have...
Forum: Vizard 07-28-2011, 10:57 AM
Replies: 4
Views: 29,828
Posted By farshizzo
The issue with changing the number of dots is a...

The issue with changing the number of dots is a bug. I've attached an update version of the plugin for Vizard 3.0.
Forum: Vizard 07-28-2011, 10:45 AM
Replies: 5
Views: 28,400
Posted By farshizzo
I haven't personally tried, but I would guess...

I haven't personally tried, but I would guess that it should be possible. The concept should be the same as wxPython.

You will need to create a blank PyQT window and pass its window handle to...
Forum: Vizard 07-18-2011, 01:07 PM
Replies: 1
Views: 32,215
Posted By farshizzo
Vizard 4 uses Python 2.7. However, you should use...

Vizard 4 uses Python 2.7. However, you should use the header/lib files that come with the 4.0 SDK, which you can get on our download page (http://www.worldviz.com/download/index.php?id=9).
Showing results 351 to 375 of 500

 
Forum Jump

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


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