Jump to content




Photo

Bounding Box For Generative Objects


  • This topic is locked This topic is locked
3 replies to this topic

#1 simonrussell

simonrussell
  • Regular Member
  • 165 posts
  • C4D Version:14 Studio
  • Location: London

Posted 16 April 2012 - 07:41 AM

Hey, is there a way to access the bounding box data for objects like cloners. I've played with the Bounding Box node in Xpresso but it only works with objects which have geometry. I'd like to pull out the data which relates to cloned or deformed objects or particles etc. Is this possible?

#2 simonrussell

simonrussell
  • Regular Member
  • 165 posts
  • C4D Version:14 Studio
  • Location: London

Posted 19 April 2012 - 03:25 AM

I guess not

#3 alexanderVD

alexanderVD
  • Regular Member
  • 74 posts
  • C4D Version:12 (or older)
  • Location: United States

Posted 14 May 2012 - 04:55 PM

Attached File  BoundBox_Test.c4d   112.12KB   139 downloadsHey Simon!
one way that I access bounding box information is actually using the GetRad() function in Python. You could theoretically make a python node, pass the object into the input side(create a link port on the Left side of the python node in xpresso) and use the code:

Output1 = Input1.GetRad()

then create the output on the right side that is your Output1. I have yet to get the actual xpresso bounding box node to work. just my 2 cents.

Edited by alexanderVD, 14 May 2012 - 04:59 PM.

__Alex_Van_Dyne__

#4 simonrussell

simonrussell
  • Regular Member
  • 165 posts
  • C4D Version:14 Studio
  • Location: London

Posted 17 May 2012 - 03:42 AM

Thanks for that. I think I need to look a little into Python.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users