Forum: Vizard
05-31-2009, 06:32 AM
|
Replies: 2
Views: 8,500
|
Forum: Vizard
05-25-2009, 03:02 AM
|
Replies: 2
Views: 12,361
|
Forum: Vizard
05-25-2009, 02:58 AM
|
Replies: 2
Views: 12,361
video help
hi...im trying to add a video to my application with the following code:
[code]
import viz
viz.go()
myroom=viz.add('room.wrl')
#Create a texture quad to display video texture
quad =...
|
Forum: Vizard
05-24-2009, 12:26 AM
|
Replies: 2
Views: 8,500
want to add a stop watch to my application!
i want to add a stop watch to my application so that when ever i press a key from the keyboard it should start the watch and when i press another key it should stop.. is there any inbuild function in...
|
Forum: Vizard
05-19-2009, 04:21 AM
|
Replies: 17
Views: 16,486
|
Forum: Vizard
05-17-2009, 05:43 AM
|
Replies: 1
Views: 7,320
|
Forum: Vizard
05-15-2009, 12:32 PM
|
Replies: 17
Views: 16,486
|
Forum: Vizard
05-15-2009, 12:28 PM
|
Replies: 17
Views: 16,486
def toggleLink():
global link
if link: ...
def toggleLink():
global link
if link:
#If link exits, stop grabbing
link.remove()
link = None
if vizmat.Distance(hand.getPosition(), ball.getPosition()) < .5:
link = viz.grab(...
|
Forum: Vizard
05-15-2009, 11:46 AM
|
Replies: 17
Views: 16,486
def toggleLink():
global link
if link: ...
def toggleLink():
global link
if link:
#If link exits, stop grabbing
link.remove()
link = None
if vizmat.Distance(hand.getPosition(), ball.getPosition()) < .5:
link = viz.grab(...
|
Forum: Vizard
05-15-2009, 11:16 AM
|
Replies: 17
Views: 16,486
hello paul...i tried rotating the object using...
hello paul...i tried rotating the object using the keyboard..by assigning keys for each axis....but i want to do this using mouse in order to reduce the number of lines of code...could u please tell...
|
Forum: Vizard
05-14-2009, 12:49 PM
|
Replies: 17
Views: 16,486
paul thankyou very much for your...
paul thankyou very much for your suggestions...could you tell the code for rotating the ball using the mouse...i dont have any idea how to do it...just give me the clue...
thankyou..
|
Forum: Vizard
05-13-2009, 12:45 PM
|
Replies: 17
Views: 16,486
|
Forum: Vizard
05-13-2009, 05:46 AM
|
Replies: 17
Views: 16,486
vizmat.Distance(hand.getPosition(),...
vizmat.Distance(hand.getPosition(), ball.getPosition()) < .5: link = viz.grab( hand, ball )
vizact.onpick(ball,toggleLink)
paul
in the above code im able to grab the ball only. if im trying...
|
Forum: Vizard
05-13-2009, 12:09 AM
|
Replies: 17
Views: 16,486
|
Forum: Vizard
05-12-2009, 02:38 AM
|
Replies: 0
Views: 8,779
how to do it using mouse
def toggleLink():
global link
if link:
#If link exits, stop grabbing
link.remove()
link = None
else:
#If no link, grab the ball with the hand
...
|
Forum: Vizard
05-12-2009, 02:26 AM
|
Replies: 17
Views: 16,486
how to move the other part
def toggleLink():
global link
if link:
#If link exits, stop grabbing
link.remove()
link = None
elif vizmat.Distance(hand.getPosition(), ball.getPosition()) < .5:
link = viz.grab(...
|
Forum: Vizard
05-11-2009, 04:04 AM
|
Replies: 17
Views: 16,486
how to write the interface code
hello all,
my university got a virtual reality suite which consists of a projector, a transluscent screen, amx controller, intersense 900 inertial ultra sonic motion tracking system, wand and head...
|
Forum: Vizard
05-11-2009, 02:00 AM
|
Replies: 2
Views: 8,748
jeff thanks for you reply...
now im moving,...
jeff thanks for you reply...
now im moving, rotating the objects using the keyboard keys but if the number of objects in the application are increased it is becoming difficult to assign the keys...
|
Forum: Vizard
05-11-2009, 01:57 AM
|
Replies: 2
Views: 10,461
|
Forum: Vizard
05-09-2009, 06:39 AM
|
Replies: 2
Views: 10,461
how to move seperately?
im trying to move the marker and ball seperately but both are moving simultaneously...how can i move both of them seperately?
<code>
import viz
viz.go()
import vizinfo
info = vizinfo.add(...
|
Forum: Vizard
05-08-2009, 11:49 PM
|
Replies: 2
Views: 8,748
how to move front and back
vizact.whilekeydown(viz.KEY_UP,hand.translate,0,vizact.elapsed(1),0,viz.RELATIVE_WORLD)
vizact.whilekeydown(viz.KEY_DOWN,hand.translate,0,vizact.elapsed(-1),0,viz.RELATIVE_WORLD)...
|
Forum: Vizard
05-05-2009, 03:11 AM
|
Replies: 5
Views: 11,112
|
Forum: Vizard
05-05-2009, 12:34 AM
|
Replies: 5
Views: 11,112
|
Forum: Vizard
05-02-2009, 11:59 PM
|
Replies: 5
Views: 11,112
|
Forum: Vizard
04-26-2009, 11:35 PM
|
Replies: 5
Views: 11,112
|