View Full Version : Object origin
creart 03-28-2003, 12:40 PM Does anyone know of an 'automatic' way of setting an object origin to the lowest y-value, preferably on creation, instead of the the axis being in the centre - that would make it so much easier to 'build' architectural stuff - or am I missing something???
Hans
|
|
AdamT
03-28-2003, 01:31 PM
You *need* to get the Axis Center plugin which will allow you to do this--but only for polygonal objects and not automatically upon creation. It's free and I believe available from Plugin Cafe (on Maxon's site). In R8 you can multiselect objects and Axis Center will adjust them all at the same time, which can be a time saver.
creart
03-28-2003, 01:51 PM
Great!
Thanx, AdamT, that's a big help!!
H. Ikeda
03-28-2003, 03:08 PM
I can show you a quicker method for your purpose. You can use objects with XPresso, which lets the objects be always on the ground (y=0). A simple example is as below.
Cube on the Ground.c4d (http://www.interq.or.jp/aquarius/ikeda3dr/data/cgtalk/Cube on the Ground.c4d)
Just place this file into Library > Object folder, you could find this object in the menu Objects > Object Library.
Only one click!
AdamT
03-28-2003, 03:29 PM
That's pretty handy, but it doesn't help if you want to place the object somewhere other than the ground.
That's a good use of Xpresso. I like that... I do a lot of stuff that must sit on the ground also. And I hadn't even though about the level of control that I could get through that style of expression. Thanks!
manlio
03-28-2003, 03:45 PM
Thank you very much H. Ikeda! This Xpresso is often very useful. :applause:
creart
03-28-2003, 05:31 PM
Hiroshi,
that is a good idea, though.
I did think about XPresso, but first wanted to know if there was an other way...
Would it be possible to build a sort of 'modular' XPresso, so you could have a couple of 'master' objects that all the rest would follow?
That way, if you construct basic objects or nulls for the different levels that you use, you would be able to put everything else in, which then 'locks to that other object - hmm, sound a bit 'driven key' like...
but it would be best if you could put all of the objects for one level in a group which are then all aligned on minimumY and then 'attached' to the 'level'-null object, so you can build the levels in separate files and then combine them in a simple manner...
thx, Hans
H. Ikeda
03-29-2003, 03:12 AM
You're welcome.
Ok, here are some trials about objects on the ground.
Primitives on the Ground.c4d (http://www.interq.or.jp/aquarius/ikeda3dr/data/cgtalk/Primitives on the Ground.c4d)
For primitives, maybe one-on-one expression is best. This is a collection of primitives with XPresso. You can freely adjust sizes or shapes of them, while they are still on the ground. If you use UserData of each primitive, you can adjust the ground level.
Null for the Ground.c4d (http://www.interq.or.jp/aquarius/ikeda3dr/data/cgtalk/Null for the Ground.c4d)
This is a null that can adjust positions of polygon objects. Just put polygon objects such as made-editable primitives under this null object. You can even tweak points of the objects, while they are still on the ground!
Have fun,
this is pretty sweet mr. ikeda. your xpressions are so darn simple makes me want to cry.
thanks a million.
creart
03-29-2003, 12:02 PM
Very nice Hiroshi!!
I'll certainly play around with them and have a look at how you put everything together to try and figure out how to do it myself and 'tinker' it to my wishes
thanks again!!
Hans
H. Ikeda
03-30-2003, 01:00 AM
That's good, creart.
I also expect myself to use this kind of expressions frequently, so I'll post more useful and easy-to-use version in another thread. I may have to thank you for your first question.
Cheers,:beer:
CGTalk Moderation
01-14-2006, 06:00 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
vBulletin v3.0.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.