Material duplication problem when instancing

Generic forum to discuss Octane Render, post ideas and suggest improvements.
Forum rules
Please add your OS and Hardware Configuration in your signature, it makes it easier for us to help you analyze problems. Example: Win 7 64 | Geforce GTX680 | i7 3770 | 16GB
Post Reply
vipvip
Licensed Customer
Posts: 726
Joined: Fri Apr 22, 2011 9:28 am

I was very happy because the particles instancer of lightwave was workink with Octane.But there is a big problem:

when duplicating the instance geometry ( see attahced pict) with the particle FX linker, and after expoting the scene to Octane, Each cube has A NEW MATERIAL in octane ( ex: 500 cube -> 500 materials ): so that is quite impossible to change the material of cube, specially when working with animation...

I sent this report, of course , to the lightwave plugin forum.

BUT IT'S PERHAPS AN OCTANE PROBLEM
because when i load the exported octane-OBJ in lightwave, it doesn't shows the 500 cubes-mats but only ONE (this is logic... -> see the top attached pict).

Anyone has a solution ?

Thanks per advance

I join the obj file too...
Attachments
cubesmats_lw.JPG
cubesmats.JPG
User avatar
kubo
Posts: 1377
Joined: Wed Apr 21, 2010 4:11 am
Location: Madrizzzz

open the mlt file in the notepad and check out how many materials there are. There you should see if there is only one material definition, or there is hundreds like it shows in Octane. I don't quite know how it works in LW, but in max when you apply a particle instancer by default they get no material assigment, and you have to reassign a new material, depending on the instancer the particles can be a single object or multiple, hence have one material or many, so if you don't assing any, I guess something like what you see should happen at export.
windows 7 x64 | 2xGTX570 (warming up the planet 1ºC at a time) | i7 920 | 12GB
vipvip
Licensed Customer
Posts: 726
Joined: Fri Apr 22, 2011 9:28 am

THANKS A LOT FOR THE TIP.
I've reedited the mlt file, deleted the 499 materials definitions and saved it with read only mode ( so that animation can't rewrite mlt file) and now it works ! :)

In fact it seems to be an exporter problem, which rewrites a new material definition for each duplication...
Holocube, are you here ? :)
Post Reply

Return to “General Discussion”