WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 04-20-2008, 09:12 PM
chris chris is offline
Member
 
Join Date: Apr 2008
Posts: 2
simply overlapping objects

hey guys, this should be relatively easy but I cna't figure it out.

Basically I have a set of arbitrary points and a plane that I need to put within the field of points. The thing is, the user can select 3 points and the plane has to align itself with them.

as a simple solution I thought to draw a triangle (triangle_strip) connecting the points and then take it's rotation/position and apply it to the plane (which at this point has been created, just a bunch of triangle strips).

The thing is, is I can't figure out how to do that. I've been messing around with the orientation and rotation of various things and regardless of what I try nothing works. I've tried getting the objects euler, matrix, quat and axis angle, none of which have worked (and actually all are the same for the two objects, who are in two different initial positions and orientations).

So I'm not sure that I can grab the triangles rotation, as I haven't explicitly applied one to it yet. I was just wondering if I'm on the right track, or if I'm overlooking something extremely obvious.

Any help would be appreciated.
thanks
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
Could not find plugin to load objects... halley Vizard 1 05-30-2006 11:01 AM
putting objects on the screen jargon Vizard 7 05-24-2005 11:31 AM
Changing the Color of On-the-Fly Objects vjosh Vizard 1 01-04-2005 11:48 PM
limits on number of objects benelux Vizard 3 07-22-2004 01:26 PM
3D sound & child objects FlyingWren Vizard 1 09-19-2003 12:13 PM


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


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