How to pick a group object?

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
  06 June 2013
Originally Posted by miauu: My son have 39.5 deg body temperature. I don't have much time, but
Denis, can you tell me(us) when this will not works?

while obj.parent != undefined and (isGroupHead obj.parent) do obj = obj.parent

Sorry bud I did not know? I saw that you active on these threat.
If you ask that kind of questions this "5 pages torture" will never end.
Denis, I tried for second condition:
#1 (not isgrouphead node and isGroupMember node.parent)
#2 (not isgrouphead node and not isGroupMember node.parent)
#3 (not isgrouphead node and isGroupMember node)
#4 (not isgrouphead node and not isGroupMember node)
But without luck. I not see your kindness today. Can this torture to be completed
__________________
Looking in the right side. [bgaTools]

Last edited by gazybara : 06 June 2013 at 09:26 PM.
 
  06 June 2013
He got this temperature 1,5 h ago.
 
  06 June 2013
Originally Posted by miauu: He got this temperature 1,5 h ago.

You need to take care for your son, go, I will stay to see Denis mystery fn. But maybe
__________________
Looking in the right side. [bgaTools]
 
  06 June 2013
Originally Posted by gazybara: You need to take care for your son, go, I will stay to see Denis mystery fn. But maybe

do you wanna the answer? easy... i can show. and i'm absolutely sure you will say after that: "FUKC... how simple is it!"
 
  06 June 2013
Last attempt and I will leave you:
fn getRootGroupHead node = if isValidNode node do
 	(
 		while node.parent != undefined and (isgrouphead node.parent and isGroupMember node) do node = node.parent
 		node
 	)
 	getRootGroupHead $Box001

returns the correct result, but i removed
not isgroupHead node
 
  06 June 2013
Originally Posted by denisT: do you wanna the answer? easy... i can show. and i'm absolutely sure you will say after that: "FUKC... how simple is it!"

Maybe after we finish getGeometryGroupMembers function I'm kidding.
You start the challenge. Me and Kostadin are tried tho solve the riddle and we did in some way.
But you have another probably better solution that works in any cases. So its up to you to decide is it time to show your result and continue challenge
__________________
Looking in the right side. [bgaTools]
 
  06 June 2013
the lite porno lucky (69) is famous now. his really primitive question made a discussion.
 
  06 June 2013
Originally Posted by denisT: the lite porno lucky (69) is famous now. his really primitive question made a discussion.

He asked here first and on scriptspot he have different "area" number.
this is the good weekend discussion
__________________
Looking in the right side. [bgaTools]
 
  06 June 2013
Originally Posted by miauu: Last attempt and I will leave you:
fn getRootGroupHead node = if isValidNode node do
  	(
  		while node.parent != undefined and (isgrouphead node.parent and isGroupMember node) do node = node.parent
  		node
  	)
  	getRootGroupHead $Box001

returns the correct result, but i removed
not isgroupHead node

bingo! it's so close!
 
  06 June 2013
?
fn getRootGroupHead node = if isGroupMember node do
 
  06 June 2013
Originally Posted by miauu: ?
fn getRootGroupHead node = if isGroupMember node do

Why do we need other nodes when you look for GroupHead.
Your first function is better then last one ei. it's the same. Denis did not surrender
__________________
Looking in the right side. [bgaTools]
 
  06 June 2013
Just a shot in the darkness
Ok. Good night to both of you.
 
  06 June 2013
Originally Posted by miauu: Just a shot in the darkness
Ok. Good night to both of you.

is a group head a group member?
 
  06 June 2013
Originally Posted by miauu: Just a shot in the darkness
Ok. Good night to both of you.

Good night friend
__________________
Looking in the right side. [bgaTools]
 
  06 June 2013
Originally Posted by denisT: is a group head a group member?

Yes if is nested
__________________
Looking in the right side. [bgaTools]
 
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 09:52 AM.


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