Keeping cloned cards squared with camera.

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

THREAD CLOSED
 
Thread Tools Search this Thread Display Modes
Old 05 May 2013   #1
Keeping cloned cards squared with camera.

I have a series of cards (2D planes) in a cloner. I want the clones to always be square to the camera. That is, not just facing the camera, but also completely horizontal.

I've tried both the Target tag and the Target Effector. But neither seem to keep the cards squared perfectly flat perpendicular to the camera and completely level with the X axis.

Any idears?

__________________
----end of line
 
Old 05 May 2013   #2
Parent a cloner or matrix object to the camera/ a Null that you also use for the camera, align it with the camera, make it invisible and using an inheritance effector transpose the rotation of the placards to whatever other cloner. The cloner in the camera group naturalyl need not do anything and can be invisible, it really merely serves to provide the rotation data for the effector to keep things aligned.

Mylenium
__________________
[Pour Mylène, ange sur terre]
----------------------------------------------
www.myleniumblog.com

 
Old 05 May 2013   #3
That works great! Thank you!

I notice I have to click anywhere in the Object Manager in order to get the viewport to update the clones after I move the camera. How can I get them to update as I move the cam?
__________________
----end of line
 
Old 05 May 2013   #4
Also, would there be an easy way to keep them all the same size no matter the clone distance to the cam?
__________________
----end of line
 
Old 05 May 2013   #5
Howdy,

You may be interested in my free plugin called "CD Align to Camera":
http://www.cactus3d.com/CDAlignToCamera.html

Here's a video showing the results:
http://www.cactus3d.com/TextAlignedToCam.mov

Adios,
Cactus Dan
__________________
It doesn't matter what people say about you, just as long as they're talking about you.

cactus3d.com, cactus3d-Plugins, CD Character Plugins forum
 
Old 05 May 2013   #6
Originally Posted by Navstar: I notice I have to click anywhere in the Object Manager in order to get the viewport to update the clones after I move the camera. How can I get them to update as I move the cam?


The update issue only occurs, if you use the camera directly, parenting the cam and the setup to the Null behaves more interactive. Something to do with how C4D evaluates the transformation matrices.

Mylenium
__________________
[Pour Mylène, ange sur terre]
----------------------------------------------
www.myleniumblog.com

 
Old 05 May 2013   #7
Originally Posted by Navstar: Also, would there be an easy way to keep them all the same size no matter the clone distance to the cam?


Might be a bit tricky to get that working, since you would have to use a COFFEE/ Python effector to calculate the distance for each clone and the performnce would go down the drain. I think douwe's PolySize effector used some of that. Otherwise you can try to create a plain or step effector, parent it to the camera, set the transform space to effector and use a falloff. By tweaking the ranges and falloff curve it would be possible to keep the scale visualyl consistent...

Mylenium
__________________
[Pour Mylène, ange sur terre]
----------------------------------------------
www.myleniumblog.com

 
Old 05 May 2013   #8
Originally Posted by Navstar: Also, would there be an easy way to keep them all the same size no matter the clone distance to the cam?


Do you mean you want them to appear to be the same size in terms of screen real estate, such that the cards further from the camera are actually bigger than those close?
If so, let us know and I can put together a file that can do that.... I think

Last edited by JeremyW : 05 May 2013 at 03:52 AM.
 
Old 05 May 2013   #9
Originally Posted by Navstar: Also, would there be an easy way to keep them all the same size no matter the clone distance to the cam?


You keep asking that, don't you?

A plain effector at cam position takes care of that.
Linear falloff, scale -1, no clamp.

Cheers
Lennart
__________________
MSA | OSX | xfiles ...Cinema4D Tools
 
Old 05 May 2013   #10
Originally Posted by tcastudios: You keep asking that, don't you?


Haha, yeah, I was having the same déjà vu.
Last time I remember is: http://forums.cgsociety.org/showthread.php?t=1075553

d
 
Old 05 May 2013   #11
Originally Posted by Cactus Dan: Howdy,

You may be interested in my free plugin called "CD Align to Camera":
http://www.cactus3d.com/CDAlignToCamera.html

Here's a video showing the results:
http://www.cactus3d.com/TextAlignedToCam.mov

Adios,
Cactus Dan


nice one, thanks Dan!
 
Old 05 May 2013   #12
Howdy,

Ooooops, a buddy of mine pointed out that CD Align To Camera doesn't work on a Cloner object, so today I added support for Array and Cloner objects:
http://www.cactus3d.com/CDAlignToCam_Cloner.mov

You can re-download it from the link in the previous post of mine.

Adios,
Cactus Dan
__________________
It doesn't matter what people say about you, just as long as they're talking about you.

cactus3d.com, cactus3d-Plugins, CD Character Plugins forum
 
Old 05 May 2013   #13
Thanks for updating your plugin Dan!
__________________
Jamal Qutub
Nimpsy Studio / Vimeo / Dribbble

MacOS Sierra (MBPRMid2012) / Windows 10, C4DR18, VRAY 1.9, XP3.5, Adobe CC 2017
 
Old 05 May 2013   #14
Originally Posted by JeremyW: Do you mean you want them to appear to be the same size in terms of screen real estate, such that the cards further from the camera are actually bigger than those close?
If so, let us know and I can put together a file that can do that.... I think


Yessir!
__________________
----end of line
 
Old 05 May 2013   #15
Thread automatically closed

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.
__________________
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
 
Thread Closed share thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
CGSociety
Society of Digital Artists
www.cgsociety.org

Powered by vBulletin
Copyright ©2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump
Miscellaneous

All times are GMT. The time now is 10:15 PM.


Powered by vBulletin
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.