realbasic-games
[Top] [All Lists]

Re: Tearing in trimesh morphs

To: REALbasic Games <realbasic-games at lists dot realsoftware dot com>
Subject: Re: Tearing in trimesh morphs
From: Jeff Quan <jquan at mindspring dot com>
Date: Tue, 14 Feb 2006 09:38:22 -0800
Delivered-to: realbasic-games at lists dot realsoftware dot com
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=dk20050327; d=mindspring.com; b=H6oZ68HD4aosjFXBOhgn/luXJt+vd7BnFkgN+7pVSqi9VDZuGVkaWdXa47a49TWj; h=Received:Mime-Version:In-Reply-To:References:Content-Type:Message-Id:From:Subject:Date:To:X-Mailer:X-ELNK-Trace:X-Originating-IP;
References: <AD2720A3-FE2D-43AB-A346-B11C9EAF0B19 at mindspring dot com> <a0620073bc0115bf6e836 at [10 dot 0 dot 1 dot 13]> <CB9FFBC4-8741-461E-B76C-D8BE4980D5E8 at chaoticbox dot com> <a0620073fc011766b1b83 at [10 dot 0 dot 1 dot 13]> <B78BCBE3-2AE6-4BFE-8415-3730A760860A at chaoticbox dot com> <C31343CF-851B-46FA-804F-16593F025A78 at mindspring dot com> <a06200770c01711e88cce at [10 dot 0 dot 1 dot 13]> <21F204E6-C77C-4E5B-973B-4506B7230E02 at mindspring dot com> <a06200776c017b86c93d1 at [10 dot 0 dot 1 dot 13]>

On Feb 14, 2006, at 8:43 AM, Joseph J. Strout wrote:
As a teaser, this demo app might show up in my talk at REALworld if I can clear out enough of the bugs to make it presentable :)

Sounds great! I took a moment to play with it some more this morning, and came up with this:

Wow, you beat me to it -- I was just about to look into vertexlists. Your code works great and my mesh is animating quite nicely.


This works fine, *if* I remember that you can't use something you're already morphing as either the "start" or "goal" pose. Well, you could, but the result is probably not going to be what you wanted! The simplest rule is to have one trimesh that you morph, and a set of "target" poses that you never muck with, so that you can always interpolate between them; if have a mesh that is both a target and is being morphed, it gets a lot more complicated to keep track of what's going on.

Your demo was using mObjTrimesh(0) as both the mesh to morph, and as one of the poses. I just changed this so that it uses only meshes 1 through 8 as target poses, and then it seemed to work fine.

Yeah, I just caught and fixed this problem a few minutes ago. My solution was to make a copy the first pose into mObjTrimesh.

You're right, however -- I'm not sure why the original code didn't show a problem, as the mesh I'm animating with is far more complex than a box -- with over 700 vertices, you'd think something would have visually blown up with my original code.


==
Jeff Quan
jquan at mindspring dot com
http://www.geocities.com/jeffqportfolio/

_______________________________________________
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>


From  Tue 14 Feb 2006 16:19:30 -0700
Return-Path: <realbasic-games-bounces at lists dot realsoftware dot com>
Received: from lists.realsoftware.com (209.198.132.125) by realsoftware.com
with ESMTP (Eudora Internet Mail Server 3.1.3);
Tue, 14 Feb 2006 17:19:54 -0600
Received: from lists.realsoftware.com (localhost [127.0.0.1])
        by lists.realsoftware.com (Postfix) with ESMTP
        id 3B7D310FCAEC; Tue, 14 Feb 2006 17:19:47 -0600 (CST)
X-Original-To: realbasic-games at lists dot realsoftware dot com
Delivered-To: realbasic-games at lists dot realsoftware dot com
Received: from joe-strouts-mac-mini.local (c-67-174-105-26.hsd1.co.comcast.net
        [67.174.105.26])
        by lists.realsoftware.com (Postfix) with ESMTP id 78B1B10FCADE
        for <realbasic-games at lists dot realsoftware dot com>;
        Tue, 14 Feb 2006 17:19:43 -0600 (CST)
Received: from [10.0.1.13] (localhost [127.0.0.1])
        by joe-strouts-mac-mini.local (Postfix) with SMTP id B430E91098
        for <realbasic-games at lists dot realsoftware dot com>;
        Tue, 14 Feb 2006 16:19:30 -0700 (MST)
Date: Tue, 14 Feb 2006 16:19:30 -0700
From: joe at strout dot net
To: realbasic-games at lists dot realsoftware dot com
X-Mailer: VerEx Email Gateway
Content-type: text/plain;
Content-transfer-encoding: 7bit
Message-Id: <20060214231930 dot B430E91098 at joe-strouts-mac-mini dot local>
Subject: need a quick test of Lemonade Stand
X-BeenThere: realbasic-games at lists dot realsoftware dot com
X-Mailman-Version: 2.1.2
Precedence: list
Reply-To: REALbasic Games <realbasic-games at lists dot realsoftware dot com>
Sender: realbasic-games-bounces at lists dot realsoftware dot com
Errors-To: realbasic-games-bounces at lists dot realsoftware dot com

I'm trying to clear off some old projects that have been lying around at the "99% 
complete" stage for too long.  One such is Lemonade Stand.  I think it's all ready 
to go (even supports multiple players now!), but the icon doesn't show up in the Finder 
for me, though it does show up fine in the dock.  This suggests to me that my Finder is 
simply confused (as Finders are wont to get).

So, if you have a moment, would anyone be kind enough to download the app and 
see if it has a proper icon?  I'd also like to hear about any other problems 
you may note, of course.  You can download it from here:

      <http://www.codenautics.com/lemonade/>

Many thanks,
- Joe
--
Joe Strout
joe at strout dot net
Squeezing virtual lemons since 1981
_______________________________________________
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>