Bharu
08-01-2004, 10:49 PM
if someone can help me:
i want to know how the points can be marked randomly using a 3D axis
thanx in advance
ZbuffeR
08-02-2004, 02:06 AM
Can you be more pecise about what you want ?
Here is some pseudocode, if you want to create points randomly placed inside a cubic space :
for (all points) {
x= random (0,range)
y= random (0,range)
z= random (0,range)
create point(x,y,z)
}
(random is a function that returns a random float evenly distributed in the parameters range)
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.