Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Baune

Pages: [1]
1
Support / Re: Creating a Box with different parameters
« on: July 20, 2010, 08:41:17 pm »
That helped, thanks !

2
Support / Re: Creating a Box with different parameters
« on: July 20, 2010, 06:48:13 pm »
Ok just tried it and it seems like some surfaces are missing or ot showing...
I tried to make my own version from scratch, to see if there was something missing but with the same result:
Here's my version, acts just the same as the first one. Hope someone knows how to make a proper box.

Code: [Select]
box.addTriangle( v( -x, -y, -z ),v( -x, y, -z ),v( x, y, -z ));
   box.addTriangle( v( x, -y, -z ),v( -x, -y, -z ),v( x, y, -z ));//X,Y
     
   box.addTriangle( v( -x, -y, z ),v( -x, y, z ),v( x, y, z ));//X,Y
   box.addTriangle( v( x, -y, z ),v( -x, -y, z ),v( x, y, z ));
   
   box.addTriangle( v( -x, -y, -z ),v( -x, y, -z ),v( -x, y, z ));//Y,Z
   box.addTriangle( v( -x, -y, z ),v( -x, -y, -z ),v( -x, y, z ));
   
   box.addTriangle( v( x, -y, -z ),v( x, y, -z ),v( x, y, z ));//Y,Z
   box.addTriangle( v( x, -y, z ),v( x, -y, -z ),v( x, y, z ));
 
   box.addTriangle( v( -x, -y, -z ),v( -x, -y, z ),v( x, -y, z ));//X,Z
   box.addTriangle( v( x, -y, -z ),v( -x, -y, -z ),v( x, -y, z ));
   
   box.addTriangle( v( -x, y, -z ),v( -x, y, z ),v( x, y, z ));//X,Z
   box.addTriangle( v( x, y, -z ),v( -x, y, -z ),v( x, y, z ));

3
Support / Re: Creating a Box with different parameters
« on: July 03, 2010, 12:48:12 am »
Thanks again all..you've been very helpful

4
Support / Re: Creating a Box with different parameters
« on: July 02, 2010, 05:41:15 pm »
Thanks, I'll try that.

5
Support / Creating a Box with different parameters
« on: July 02, 2010, 03:43:04 pm »
Hello again

Yes I'm aware of the Primitives.getBox(float scale, float scaleHeight)

But is there a way to create it with these parameters  getBox(scale, x,y,z) where

x - the size of the box along the x axis, in both direction.
y - the size of the box along the y axis, in both directions
z - the size of the box along the z axis, in both directions

Thanks



6
Support / Re: How to make your own geometry ?
« on: June 11, 2010, 10:16:41 pm »
Thanks, that should do it.

7
Support / How to make your own geometry ?
« on: June 11, 2010, 01:34:50 pm »
Hello

I can see that you can make standard primitives but how do you setup your own geometry using your own vertices-arrays ?

Thanks alot


Pages: [1]