WorldViz User Forum  

Go Back   WorldViz User Forum > Search Forums

Showing results 101 to 125 of 500
Search took 0.11 seconds; generated 89 minute(s) ago.
Search: Posts Made By: farshizzo
Forum: Vizard 05-09-2013, 09:10 AM
Replies: 3
Views: 28,166
Posted By farshizzo
You will need to create your own model with the...

You will need to create your own model with the proper UV coordinates.

The sample image you provided looks like it can be applied to a standard cylinder. Try the following code:import viz
import...
Forum: Vizard 05-09-2013, 08:59 AM
Replies: 2
Views: 29,978
Posted By farshizzo
There is no built-in way to accomplish this with...

There is no built-in way to accomplish this with Vizard 3. You might be able to use the pywin32 library to hook the Vizard window and intercept the close button action.

With Vizard 4 you can...
Forum: Vizard 05-09-2013, 08:12 AM
Replies: 5
Views: 92,897
Posted By farshizzo
You can still use the spinto action in Vizard 3,...

You can still use the spinto action in Vizard 3, however you will need to manually calculate the final rotation to spinto. You can do this by saving the main views current rotation, call the lookat...
Forum: Vizard 05-07-2013, 08:41 AM
Replies: 5
Views: 92,897
Posted By farshizzo
Are you using Vizard 3 or 4? If you are...

Are you using Vizard 3 or 4?

If you are using Vizard 4, then you can use the vizact.spinTo action to animate the viewpoint to look towards a specific point. Example:# Animate looking at specified...
Forum: Vizard 05-06-2013, 09:57 AM
Replies: 3
Views: 28,166
Posted By farshizzo
Vizard comes with a few models that use a...

Vizard comes with a few models that use a panoramic 2d image to create a sky dome, instead of a cube map. Have a look at the sky_day.osgb and sky_night.osgb models in the resources folder. Both those...
Forum: Vizard 05-06-2013, 09:50 AM
Replies: 1
Views: 32,517
Posted By farshizzo
If you want capture all key presses, then simply...

If you want capture all key presses, then simply register a callback for viz.KEYDOWN_EVENT and viz.KEYUP_EVENT.

You can also use the viz.key.isDown() function to manually query whether a specific...
Forum: Vizard 05-06-2013, 09:39 AM
Replies: 2
Views: 29,185
Posted By farshizzo
What do you want to cover the display with? A...

What do you want to cover the display with? A solid color, an image, .. ?

If you just want to crop the display, you can change the size/position of the main window:
...
Forum: Vizard 05-06-2013, 09:33 AM
Replies: 5
Views: 43,299
Posted By farshizzo
This sounds like a clip plane issue. By default,...

This sounds like a clip plane issue. By default, Vizard will automatically compute the near/far clip planes based on the bounding box of the currently visible geometry. However, with very large...
Forum: Vizard 05-06-2013, 09:26 AM
Replies: 2
Views: 59,213
Posted By farshizzo
Yes, the view matrix will be the inverse.

Yes, the view matrix will be the inverse.
Forum: Vizard 05-06-2013, 09:23 AM
Replies: 2
Views: 43,194
Posted By farshizzo
1) You will typically use an orthographic...

1) You will typically use an orthographic projection matrix when rendering for directional lights. With regards to where to place the camera, it depends on your scene. In general, you will center the...
Forum: Vizard 04-05-2013, 02:12 PM
Replies: 5
Views: 56,964
Posted By farshizzo
It sounds like you would need to use the...

It sounds like you would need to use the viz.QUAD_BUFFER stereo mode. This would require a graphics card that supports quad buffered stereo (e.g. nVidia Quadro series)
Forum: Vizard 04-05-2013, 11:45 AM
Replies: 3
Views: 38,267
Posted By farshizzo
I contacted eMagin support about a year ago, and...

I contacted eMagin support about a year ago, and they said their tracker driver does not support 64-bit versions of Windows.
Forum: Vizard 04-05-2013, 11:37 AM
Replies: 7
Views: 54,200
Posted By farshizzo
Your code is applying the shader to all objects...

Your code is applying the shader to all objects in the scene. It seems like you should be applying the shader to the quad that is rendering the rendered texture instead:quad1.apply(InvShader)...
Forum: Vizard 04-02-2013, 05:38 PM
Replies: 2
Views: 75,826
Posted By farshizzo
I would recommend adding the arrow to the...

I would recommend adding the arrow to the viz.ORTHO layer, instead of viz.SCREEN. The SCREEN layer works in normalized (0-1) units, which is what causes the aspect ratio distortions. The ORTHO layer...
Forum: Vizard 03-29-2013, 07:02 PM
Replies: 1
Views: 36,153
Posted By farshizzo
There is currently no built-in way to access the...

There is currently no built-in way to access the vertices, but you can save the model to the STL format, which is a simple text format that contains all the vertices. Here is some sample code allows...
Forum: Vizard 03-29-2013, 12:03 PM
Replies: 7
Views: 54,200
Posted By farshizzo
Just to be clear, are you wanting to apply the...

Just to be clear, are you wanting to apply the shader to the entire screen, or just to a single object within the world?
Forum: Vizard 03-29-2013, 12:01 PM
Replies: 2
Views: 30,771
Posted By farshizzo
It's not exactly clear to me what the issue is....

It's not exactly clear to me what the issue is. However, I noticed that you are creating a new instance of PlaceMarkerEvt when the environment is changed, but you are not removing the previous...
Forum: Vizard 03-29-2013, 11:58 AM
Replies: 6
Views: 30,071
Posted By farshizzo
The embedded browser is based on the Windows...

The embedded browser is based on the Windows native web browser control. It appears that the browser defaults to IE7 mode, and the web page you are trying to view is not compatible with IE7.
...
Forum: Vizard 03-22-2013, 04:12 PM
Replies: 6
Views: 30,071
Posted By farshizzo
It's not clear how exactly you want to integrate...

It's not clear how exactly you want to integrate these javascript visualizations with Vizard. However, Vizard comes with a vizhtml module that allows you to display an embedded html page within the...
Forum: Vizard 03-22-2013, 02:54 PM
Replies: 5
Views: 39,864
Posted By farshizzo
If you want to view it fullscreen, then you're...

If you want to view it fullscreen, then you're better off implementing the shader as a post-process effect:import viz
viz.go()

viz.add('piazza.osgb')

NEAR = 0.1
FAR = 200.0

from...
Forum: Vizard 03-21-2013, 09:29 AM
Replies: 3
Views: 29,177
Posted By farshizzo
You can use the viz.MainWindow.setSize() command...

You can use the viz.MainWindow.setSize() command to adjust the size of the main viewport. For example, the following code will set the viewport to span half the width of the output...
Forum: Vizard 03-20-2013, 08:42 AM
Replies: 2
Views: 35,145
Posted By farshizzo
Many OpenGL drivers will internally break up...

Many OpenGL drivers will internally break up POLYGON shapes into triangles. Try using QUADS instead.viz.startLayer(viz.QUADS)
viz.vertexColor(viz.GREEN)
viz.vertex(0.0,0.0,0.0)...
Forum: Vizard 03-20-2013, 08:29 AM
Replies: 5
Views: 39,864
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 depth texture and display it on screen. Here is a quick example:import viz
viz.go()

viz.add('piazza.osgb')

# Add render texture using depth...
Forum: Vizard 03-20-2013, 08:23 AM
Replies: 2
Views: 38,863
Posted By farshizzo
This appears to be a bug with how the rotational...

This appears to be a bug with how the rotational differences are computed. It doesn't seem to be using the shortest distance in all cases. This will be fixed in the next release. In the meantime you...
Forum: Vizard 03-01-2013, 12:23 PM
Replies: 1
Views: 37,437
Posted By farshizzo
Your code is not applying a walkto action to the...

Your code is not applying a walkto action to the avatar. Where/when do you want the avatar to walk?
Showing results 101 to 125 of 500

 
Forum Jump

All times are GMT -7. The time now is 11:49 PM.


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