realbasic-games
[Top] [All Lists]

Creating a trimesh whose cross section is a user specified oval

To: REALbasic games list <realbasic-games at lists dot realsoftware dot com>
Subject: Creating a trimesh whose cross section is a user specified oval
From: Martin Dillon <martin dot dillon at optusnet dot com dot au>
Date: Fri, 30 Sep 2005 22:59:55 +1000
Delivered-to: realbasic-games at lists dot realsoftware dot com
I'm using the new trimesh class to create and manipulate trimeshes on the fly. One of the types of models I'm generating has a body with an oval cross section. I plan to allow my users to have the ability to adjust the degree of 'flatness' of the models oval cross section using a slider.

Can anyone point me to an algorithm that would allow me to determine the correct positions to place vertices so that they define an oval with arbitrary width/height ratio?

Thanks,
Martin

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

<Prev in Thread] Current Thread [Next in Thread>
  • Creating a trimesh whose cross section is a user specified oval, Martin Dillon <=