Alice Community

Alice Community (http://www.alice.org/community/index.php)
-   The Lounge (http://www.alice.org/community/forumdisplay.php?f=4)
-   -   Merging objects in Alice (http://www.alice.org/community/showthread.php?t=6503)

arty-fishL 05-09-2011 07:25 PM

Merging objects in Alice
 
3 Attachment(s)
So here's the scenario - you are either bad at importing 3D models, can't be bothered or think its easier to mix models in Alice. Instead of trawling the web for models, or creating your own ones you decide to just make something up out of the objects and shapes in the Alice gallery.

Then you hit an issue - you cannot merge these objects, you cannot create subparts - they are not part of one object. This has especially bad implications if you want to export the model as one piece to be used again.

So here is my solution: as part of my project I am developing I have designed a simple UI that allows objects to be glued together.

I call it [B]Gloo[/B].

Really simple to use, just go to the Tools > Gloo menu at the top of Alice and click to Gloo. A nice dialog box pops up, just type in the parent and as many objects as you would like to glue to it as you want. Confirm it and viola.

Easy as that.

Now you can right click on the parent object and go to [I]save object...[/I] to export it and it will save with all the glued on objects attached.

While I am not yet ready to release this yet, I can provide two screenshots and a compound object. This is Chris101b's motorbike from his video "[I]War Zone[/I]", it originally consisted of several models, but I glued them altogether and it should import nicely as one.

Give it a try.

debussybunny563 05-09-2011 07:29 PM

[SIZE="2"]Looks promising. =)[/SIZE]

arty-fishL 05-09-2011 07:34 PM

[QUOTE=debussybunny563;35475][SIZE=2]Looks promising. =)[/SIZE][/QUOTE]That's probably the fastest response I've ever got on one of my threads.

Well I'm hoping it does look promising, because I certainly find it useful even in its unfinished state.

DensetsuNoKaboom 05-09-2011 07:43 PM

Looks AWESOME RELEASE IT I WANT IT LETS GO NNNNNNNG

Seriously, I want that.

arty-fishL 05-09-2011 07:47 PM

[QUOTE=DensetsuNoKaboom;35480]Looks AWESOME RELEASE IT I WANT IT LETS GO NNNNNNNG

Seriously, I want that.[/QUOTE]Patience is a virtue. If I was to release it now I would probably kill your Alice. Bugs, bugs, bugs.

I forgot to mention, my Alice is all funny coloured in the picture because I also made another themes for Alice thing.

sfunk 05-09-2011 10:04 PM

the only problem I can see with this is that it will deter people from actually trying to create their own models using other means such as 3dmax or sketch up, but this is a brilliant idea and will be helpful to those who don't have the ability to use one of those previously mentioned applications, so Good Job!!!

ieges 05-09-2011 10:29 PM

What version of alice is that? I like the green.

And I want... oh so very badly.

arty-fishL 05-10-2011 03:02 AM

[QUOTE=sfunk;35489]the only problem I can see with this is that it will deter people from actually trying to create their own models using other means such as 3dmax or sketch up, but this is a brilliant idea and will be helpful to those who don't have the ability to use one of those previously mentioned applications, so Good Job!!![/QUOTE]Another use for this could be for people who cannot export models properly etc and need to join them up in Alice.

[QUOTE=ieges;35490]What version of alice is that? I like the green.

And I want... oh so very badly.[/QUOTE]Its just the latest version, except I modified all of the icons, modified the style and then applied a theme as I posted above.

reuben2011 05-10-2011 03:39 AM

Looks very promising. You probably already thought this through but make sure you don't allow:

-Objects to be their own parents/children. (Ex: You can't be your own mother or daughter.)
-Children to have multiple parents (this seems so sad :rolleyes:)
-The child of the parent to be the parent's parent. (Ex: Your son can't also be your father.)
-Other "recursive" parenting

You could always allow some of these things above, (like multiple parents) but just make it clear for the user.

arty-fishL 05-10-2011 04:25 AM

[QUOTE=reuben2011;35502]Looks very promising. You probably already thought this through but make sure you don't allow:

-Objects to be their own parents/children. (Ex: You can't be your own mother or daughter.)
-Children to have multiple parents (this seems so sad :rolleyes:)
-The child of the parent to be the parent's parent. (Ex: Your son can't also be your father.)
-Other "recursive" parenting

You could always allow some of these things above, (like multiple parents) but just make it clear for the user.[/QUOTE]I like the way you explained everything. :)

Ive dealt with:
- same parent
- multiple parents (there's only one variable for this anyway)
- parenting of the camera (this shouldn't be allowed, it causes all sorts of issues)
- non-existent parents or children
- adding world as a child (this would really mess things up)
- parenting at a higher level than the world
:D

I have not dealt with the [I]"child of the parent to be the parent's parent" [/I]thing, so thanks.
[IMG]http://www.alice.org/community/images/icons/icon3.gif[/IMG]

The bugs I'm hitting right now are:
- When an object becomes a child it doesnt move to be a subpart of the parent. It just changes its icon to the child icon and becomes the parent's child, but it stays where it is in the object tree.
- When importing, the glued on children cannot be seen in the object tree, but you can click on them and get their properties etc.
- When automatically vehicling the objects glitch position and shape.
:(


All times are GMT -5. The time now is 08:41 PM.

Copyright ©2024, Carnegie Mellon University
Alice 2.x © 1999-2012, Alice 3.x © 2008-2012, Carnegie Mellon University. All rights reserved.