BlendLuxCore Development

Discussion related to the Engine functionality, implementations and API.
User avatar
B.Y.O.B.
Developer
Posts: 3087
Joined: Mon Dec 04, 2017 10:08 pm
Location: Germany
Contact:

Re: BlendLuxCore Development

Post by B.Y.O.B. » Thu Jan 09, 2020 11:15 am

Ah, I misunderstood you. Alt+D instances are already instanced in BlendLuxCore, they are just not going through the DuplicateObjects() function. But their mesh is only exported once (when no deforming modifiers are used).

Anyway, I haven't created many scenes lately, but I do put single chairs or tables into collections and then instance them with collection instances.
It's nice because you can later add objects to the collection, e.g. some elements to a chair, and they automatically appear on all instances as well. And I can use modifiers on them, like subsurf or so, and still be sure they are instanced in the renderer (be that Cycles or LuxCore).

marcatore
Donor
Posts: 353
Joined: Wed Jan 10, 2018 8:04 am

Re: BlendLuxCore Development

Post by marcatore » Thu Jan 09, 2020 11:36 am

B.Y.O.B. wrote:
Thu Jan 09, 2020 10:46 am
About Alt+D instances, they are not a priority for me right now. It might be possible to accelerate them a bit (at least when no deforming modifiers are used on them), but usually you don't have tens of thousands of them in a scene. The other methods for instancing produce more stuff I think.
My daily scene is the kingdom of the Alt+D. I have not so much base objects duplicated many and many times.
I can't imagine another way to take a relative small filesize and to organize my job.
I can make "bigger" furniture modules attaching more elements but it's not so flexible and, in anycase, I have to repeat them many times.

Every kind of speeding up on export is more than welcome.

EDIT: Sorry, I've see you reply after I've posted. So it's already at it best as export speed. right?
Interesting the collection instancing. I'll give it a test.

juangea
Donor
Posts: 37
Joined: Thu Jan 02, 2020 6:23 pm

Re: BlendLuxCore Development

Post by juangea » Thu Jan 09, 2020 11:56 am

@marcatore I recommend you to create a collection with each chair you need to duplicate and then duplicate it with an instanced collection, this will give you the best performance in both viewport and render :)

(I think it's what @B.Y.O.B. said)

User avatar
lacilaci
Donor
Posts: 1783
Joined: Fri May 04, 2018 5:16 am

Re: BlendLuxCore Development

Post by lacilaci » Thu Jan 09, 2020 12:09 pm

B.Y.O.B. wrote:
Thu Jan 09, 2020 11:15 am
... but I do put single chairs or tables into collections and then instance them with collection instances.
It's nice because you can later add objects to the collection, e.g. some elements to a chair, and they automatically appear on all instances as well. And I can use modifiers on them, like subsurf or so, and still be sure they are instanced in the renderer (be that Cycles or LuxCore).
Ok, thank you. This is important. If duplicated collections in master scene are instanced for luxcore then I'm safe. :lol:

Post Reply