Page 1 of 1

I Can Has Cubes?

Posted: Sat Jun 07, 2008 9:24 pm
by DrXThirst
After looking at "I Can Has Squares", I had to update the UI. Also, I want to point out that it would be a Cube ... not a square. Anyways, I added a help feature, and a few lines of code here and there. I also gave it an entirely new UI, with new icons and images. Enjoy! (I got full permission from Ownz Joo to release).

Pictures:

Main UI:
Image

New Features:
Image - Image

New Icon:
Image

------------
The tutorial on using the app is included under the help section, labeled "Instructions".

Oh, and I figured credits should be mentioned here as well.
Ownz Joo - Original App / Coding / etc.
Neodos - Original Research
Yamagushi - Simplified Research
DrXthirst - Upgrading App
------------

Download: (Direct Download FTW?)

I would also like to say, if this offends anyone that I released the application whilst having no part in the research, please let me know. I will take it down immediately. Thanks, thirst.

Posted: Sat Jun 07, 2008 9:49 pm
by Yamagushi
Did you include my tag? It is required to use this app properly. Either that or setting one up the same way i did.

Posted: Sat Jun 07, 2008 9:51 pm
by DrXThirst
Yes. I did not alter the original modding code in any form, way, or fashion. All I did was add a few lines of code for the message boxes, the open file dialog box, and edited the UI.

In the download, you get the updated app, and your folder with the tags.

Posted: Sun Jun 08, 2008 12:12 am
by neodos
It's kewl, could you make an app that resizes coll and phmo?

Coll doesn't work the same you you need to move vertex and planes but it's pretty simple if you and Yama talked about i am sure you could make it and that would be kick ass.

Posted: Sun Jun 08, 2008 1:46 am
by CaptainPoopface
...And while you're at it, how about adding functionality for making triangular pyramids, using the road cone from Headlong?

If you give a mouse a cookie...

Thank you for correcting it to cubes. The squares thing was bothering me.

Posted: Sun Jun 08, 2008 2:49 am
by neodos
Jackson and me tried the cone is different it's probably a model and we couldn't get it resize it's not as easy as physics boxes.

Posted: Sun Jun 08, 2008 4:26 am
by Eaton
I'm liking the UI! :D Good job.

Posted: Sun Jun 08, 2008 8:58 am
by DrXThirst
Well, sadly, I didn't alter any of the code that makes the whole "Make A Cube" code work. I'm not to that point yet. Maybe I can discuss with you guys, Neodos and others, and we can figure it out.

Or, maybe I can just do the UI again. ;p

Posted: Sun Jun 08, 2008 10:32 am
by CaptainPoopface
Here is how you make a pyramid:

In this picture,
Image

just give vertex 0 the same coordinates as vertex 1, and give vertex 4 the same coordinates as vertex 7. Give vertices 2 and 6 a Z coordinate of 1/2 the cube length, or (Z6-Z2)/2, to make the pinnacle. That should make a pyramid with a square base.

For a pyramid with a triangular base (every face is a triangle), give vertices 1 and 2 the same coordinates as vert 0, vert 3 the same coordinates as vert 5, and vert 6 the same coordinates as vert 7. It's hard to visualize, unless you draw the points in the same order as they are numbered.

Fixing the planes of the coll is a bit trickier, and I haven't wrapped my brain around it yet. But since a cube is all 90 degree angles and we are just bisecting some of the angles, the rotations should be 45 degrees (0.785 radians) for the planes that are not condensed to a single point and not in their original orientation. That should be only one plane to move for the triangular pyramid. The square pyramid is a bigger challenge...

Posted: Sun Jun 08, 2008 12:04 pm
by neodos
Not sure that it would work for coll anyway because my coll theory works only for cubes and spheres which have all planes with equal distances from 0.

And for phmo its just impossible to have a triangle, well phmo uses bouding boxes, planes but i couldn't find vertex data or whatever so no pyramids atm.

Posted: Fri Jun 20, 2008 7:27 am
by mockey
What does this actually do?

Posted: Fri Jun 20, 2008 8:09 am
by neodos
You can create boxes of any sizes, platforms, ramps, etc all box but of any dimension.

Posted: Fri Jun 20, 2008 12:05 pm
by OwnZ joO
Looks much better than mine, good work. I also thought to name it with cubes instead of squares, but yamagushi liked squares better and since it was his research I didn't really care. Thanks for fixing up the UI for me, I really haven't wanted to code at all for a while.

Posted: Sun Jun 22, 2008 4:00 am
by Eaton
Why can I not see my huge square from a distance? I made a giant surface and placed it far away, but I only see it when I zoom in on it.

Posted: Sun Jun 22, 2008 8:15 am
by DemonicSandwich
Eaton wrote:Why can I not see my huge square from a distance? I made a giant surface and placed it far away, but I only see it when I zoom in on it.
Image

Posted: Sun Jun 22, 2008 8:20 am
by Eaton
Ah, thank you! :)