WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 02-12-2016, 06:05 AM
Novakin Novakin is offline
Member
 
Join Date: Dec 2015
Posts: 9
Determine specific quad from intersection

I have a very big object that consists of a lot of quads. In Vizard I'm creating this object by calling viz.startLayer(viz.QUADS), then a couple hundred (or thousand) viz.vertex calls, then viz.endLayer (splitting this up into multiple layers is unfortunately not an option for me in this context).

Now I would like to perform a line intersection on this big object and get the specific quad that was intersected. Is this possible in Vizard?

When I do an intersection now, the lowest level intersected object I get back is the big object. I could do my own math to make a line-plane intersection on each individual quad in the big object, but it seems to be duplicate work, seeing as Vizard / OpenGL already knows under the hood which quad was intersected, right? Is there any way of getting this information?
Reply With Quote
  #2  
Old 02-19-2016, 01:25 AM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,455
I don't see any way to get this information directly but I'll check with a developer in case I'm missing something.
Reply With Quote
Reply

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
AMD Dual FirePro d700 Quad Buffering Stereo under Bootcamp? Marc Mellors Vizard 0 07-22-2015 10:05 PM
Issue Getting Quad Buffer Working nabrahamson Vizard 2 08-30-2012 09:43 AM
Masking specific color on texture applied Chapre Vizard 1 05-03-2011 12:20 PM
Create specific motion in avatar disbeat Vizard 1 12-23-2010 04:41 PM
quad buffered stereo? halley Vizard 2 10-19-2005 12:28 PM


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


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