realbasic-games
[Top] [All Lists]

Re: trimesh particles demo, version 2

To: realbasic-games at lists dot realsoftware dot com
Subject: Re: trimesh particles demo, version 2
From: "Lars Jensen" <larsjensen at gmail dot com>
Date: Tue, 17 Oct 2006 19:30:10 -0700
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-games at lists dot realsoftware dot com
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=D89bUaA96Vjc6GGUeKbpTt2V3pYDTAo1fbv3dObZExGDe1mcRJ71BFGsws5eiG+ikYgL6mPk5TxA9moLEAXh6SWYZHW6PX/gsLY9oqVM+X0Mb2EuK/zT2KoE1oSx0YmZue/HU6TZExVidE9EavHhyXi+j8Fx2uo+om0C/faBLYg=
     Direction.Append New Vector3D(Rnd-0.5, Rnd-0.5, Rnd-0.5)
     Direction(i).Normalize

Pondering this some more, I think you will not quite get a spherical
distribution this way; the distribution will be biased in the 8
directions toward the corners of an origin-centered cube.

However, in the demo, the difference is too subtle to detect. At least for me.

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