WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
Old 07-24-2017, 07:25 PM
pitbool pitbool is offline
Join Date: Oct 2012
Posts: 31
intersection with texquad


If we use texquads as objects that intersect with a ray from the vive controller, is there a way to change the names of the texquads to have something other than "drawable"? Already tried hardcoding the name to something like below, but didn't work:
myTexQuad = viz.addTexQuad(size=[1.21, 1.71]) = "texQuadCustomName"

The intersection with the vive controller is the standard function from the worldviz example for vive that shipped with vizard (below). It returns the intersected object, which could be a VizChild or a VizTexQuad.

def IntersectController(controller):
"""Perform intersection using controller"""
line = controller.model.getLineForward(viz.ABS_GLOBAL, length=100.0)
return viz.intersect(line.begin, line.end)
Reply With Quote

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Determine specific quad from intersection Novakin Vizard 1 02-19-2016 02:25 AM
Attach a TexQuad to pit.osgb screen Ducky Vizard 1 01-17-2013 03:57 PM
TexQuad (viz.screen) and alpha issues kovitch Vizard 2 05-17-2012 11:28 AM
Using a texquad to cover a window Enlil Vizard 4 02-07-2012 04:13 PM
texquad shai Vizard 1 02-23-2005 02:09 PM

All times are GMT -7. The time now is 01:47 PM.

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