I Can Has Cubes?

Utilities designed primarily for the xbox version of Halo 2.
Post Reply
User avatar
DrXThirst




Connoisseur Foundry Pyre

Posts: 3011
Joined: Fri Jun 29, 2007 6:28 am
Location: Georgia
Contact:

I Can Has Cubes?

Post 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.
Image
User avatar
Yamagushi




Articulatist 500

Posts: 871
Joined: Wed Jun 13, 2007 12:38 pm
Location: The Mainframe.

Post 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.
Don't be.
Image
User avatar
DrXThirst




Connoisseur Foundry Pyre

Posts: 3011
Joined: Fri Jun 29, 2007 6:28 am
Location: Georgia
Contact:

Post 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.
Image
User avatar
neodos
Readers Club




Artisan Miner

Posts: 1394
Joined: Thu Aug 12, 2004 11:57 am

Post 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.
User avatar
CaptainPoopface




Artisan Advisor Literarian 250

Posts: 408
Joined: Mon Jul 23, 2007 7:56 am

Post 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.
Retired. Thank you neodos, DemonicSandwich, DarkShallFall, Dragonfire, foxfanatic2317, GOWO and everyone in the hall of fame.
If you want to know how I did something, take apart my mods.
User avatar
neodos
Readers Club




Artisan Miner

Posts: 1394
Joined: Thu Aug 12, 2004 11:57 am

Post 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.
User avatar
Eaton




Enthraller

Posts: 1639
Joined: Thu Jun 14, 2007 4:16 pm
Location: USA

Post by Eaton »

I'm liking the UI! :D Good job.
Image
User avatar
DrXThirst




Connoisseur Foundry Pyre

Posts: 3011
Joined: Fri Jun 29, 2007 6:28 am
Location: Georgia
Contact:

Post 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
Image
User avatar
CaptainPoopface




Artisan Advisor Literarian 250

Posts: 408
Joined: Mon Jul 23, 2007 7:56 am

Post 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...
Retired. Thank you neodos, DemonicSandwich, DarkShallFall, Dragonfire, foxfanatic2317, GOWO and everyone in the hall of fame.
If you want to know how I did something, take apart my mods.
User avatar
neodos
Readers Club




Artisan Miner

Posts: 1394
Joined: Thu Aug 12, 2004 11:57 am

Post 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.
User avatar
mockey
Readers Club





Posts: 138
Joined: Mon Mar 03, 2008 9:12 pm
Location: You know, over there.

Post by mockey »

What does this actually do?
User avatar
neodos
Readers Club




Artisan Miner

Posts: 1394
Joined: Thu Aug 12, 2004 11:57 am

Post by neodos »

You can create boxes of any sizes, platforms, ramps, etc all box but of any dimension.
OwnZ joO




Articulatist 500

Posts: 980
Joined: Thu Nov 10, 2005 4:24 pm

Post 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.
User avatar
Eaton




Enthraller

Posts: 1639
Joined: Thu Jun 14, 2007 4:16 pm
Location: USA

Post 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.
Image
User avatar
DemonicSandwich




Advisor Connoisseur

Posts: 1198
Joined: Sat Sep 30, 2006 6:10 pm
Location:

Post 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
AIM wrote:Demonic5andwich (6:10:10 PM): structure of a first person weapon animation:
Demonic5andwich (6:10:43 PM): mess, mess, maybe a node?, another header?! wtf!, more mess, tacos, more shit
User avatar
Eaton




Enthraller

Posts: 1639
Joined: Thu Jun 14, 2007 4:16 pm
Location: USA

Post by Eaton »

Ah, thank you! :)
Image
Post Reply