Chaos Corona Forum

General Category => Porting and API => Chaos Corona for Blender => Topic started by: melviso on 2017-06-17, 23:59:40

Title: Scene object node- Add groups?
Post by: melviso on 2017-06-17, 23:59:40
Hi,

Is there a way one can group some objects in the scene and select them to be added in the object scene node because it's gonna be cumbersome to add each object one by one especially if they are a lot of assets.

Great work so far. :-)
Title: Re: Scene object node- Add groups?
Post by: burnin on 2017-06-18, 10:44:59
Groups: https://docs.blender.org/manual/ja/dev/editors/3dview/object/properties/relations/groups.html

Title: Re: Scene object node- Add groups?
Post by: melviso on 2017-06-18, 14:08:58
Thanks for the link. burnin but I know how to group objects in Blender. The corona material nodes has a scene object node that you can add objects to but my problem is I have to assign the objects one by one to the node. Isn't there a way I can select a number of objects and maybe click a 'add selected' button to the node in the material editor? or add group to the editor?

@blanchg
Any support for vertex paint as well?

Appreciate all the work, mate. Thanks.
Title: Re: Scene object node- Add groups?
Post by: blanchg on 2017-06-18, 21:36:03
I will add a button to the scene node so you can quickly add them.  Great idea!

Vertex paint nearly works, just waiting on a feature/bug in corona for it to work https://corona-renderer.com/bugs/view.php?id=2454
Title: Re: Scene object node- Add groups?
Post by: blanchg on 2017-06-18, 22:01:30
v6.0.13 includes that button.

Select all the objects you want to add and then the object that has the material you are modifying last.

Click the new Add Selection button.  It will add all the selected objects not already in the list and it won't add itself.  (You can manually choose the current object through the usual add button if required)
Title: Re: Scene object node- Add groups?
Post by: melviso on 2017-06-18, 22:54:38
Thanks a billion, Glen :-)