MASH INSTANCES

Forums: MASH INSTANCES
Autodesk Maya (Plugin developed by JimStar)

Moderator: JimStar

MASH INSTANCES

Postby philipni » Fri Nov 02, 2018 9:59 am

philipni Fri Nov 02, 2018 9:59 am
So I would like to ask you to do a simple Maya Octane scene with:

1 create 1 poly cube
2 assign 3 different octane materials to some cube faces
3 create a MASH INSTANCER network with the poly cube selected
4 check your render (if your render is white or shows nothing you are good! "means you get the same result I'm getting= NOTHING)
5 now, assign a single material to the cube.
6 re-render (renders ok)

I'm asking for some help, as I have troubles rendering the scattered meshes with multiple materials as trees or flowers.
They do render fine if MASH MESH is created. (The problem with this method is the weight of the scene computer really slows down)
But nothing with MASH Instances.

I must specify, the MASH REPRO node works fine, but makes the scene very heavy.

My problem is how to use MASH INSTANCER with complex MESHES (multiple material on single/combined mesh)

PLS HELP
philipni
Licensed Customer
Licensed Customer
 
Posts: 24
Joined: Wed Aug 06, 2014 4:39 pm

Re: MASH INSTANCES

Postby calus » Mon Nov 05, 2018 10:51 pm

calus Mon Nov 05, 2018 10:51 pm
Right I can reproduce this bug, this happen because even if for each face group you have an Octane material assigned, the initial lambert 1 is still assigned to the mesh globally (but overriden by each group face assignement).
So to prepare a base mesh that works with Mash and Octane you need first to assign an Octane material to the object, then you can assign per face Octane materials and no problem with Mash instancer :)

But this should not happen, the Octane plugin should be able to detect the per face Octane material assigned even if there is a lambert assigned at "Comp Inst Obj Groups" level.
@Bikram if you read this thread, can you log this bug please, easy to reproduce following exactly the steps described by Philipni ...
Pascal ANDRE
calus
Licensed Customer
Licensed Customer
 
Posts: 1308
Joined: Sat May 22, 2010 9:31 am
Location: Paris

Re: MASH INSTANCES

Postby BK » Tue Nov 06, 2018 4:16 am

BK Tue Nov 06, 2018 4:16 am
Thank you philipni and calus,

A ticket has been added now.
@ Plillipni, the latest v4 now support Mash instancers having group nodes which can be useful for trees, flowers, etc . Have you tried using it?

cheers
Kind Regards

bk3d
BK
OctaneRender Team
OctaneRender Team
 
Posts: 1323
Joined: Mon Oct 31, 2016 7:54 pm

Re: MASH INSTANCES

Postby philipni » Wed Nov 14, 2018 8:42 am

philipni Wed Nov 14, 2018 8:42 am
Holly Molly!!!

Tank you a lot guys.
I will start messing around asap.

@calus
I will try out your method, assigning Oct.Material, than assign few faces different Oct.Materials.
Tnx

@BK
I'll try that V4
tnx
philipni
Licensed Customer
Licensed Customer
 
Posts: 24
Joined: Wed Aug 06, 2014 4:39 pm

Re: MASH INSTANCES

Postby philipni » Wed Nov 14, 2018 9:59 am

philipni Wed Nov 14, 2018 9:59 am
calus wrote:............the initial lambert 1 is still assigned to the mesh globally (but overriden by each group face assignement).
So to prepare a base mesh that works with Mash and Octane you need first to assign an Octane material to the object, then you can assign per face Octane materials and no problem with Mash instancer :)
................[/b]


Not working
Steps taken:
Created 1 PolyCube
Assigned 1 x Oct.Diffuse (to the whole mesh PolyCube) "as suggested"
Assigned 3 x different Oct.Diffuse (to different faces)
Created MASH Instance Network.
Render=White (nothing nada zero)
Steps taken to solve the issue:
I tried to export the PolyCube to OBJ (no history no nothing all File Type Specific Options = OFF)
Import back, and problem still persist.
I'm sorry to report back, that the thing with MASH&INSTANCES is persistent even in version V4.0 RC7 13.11


Today is working... I don't yet understand the complexity of the problem, but.
Today I've assigned Octane Materials before Combining multiple meshes, and for the moment is all good.

Tnx @Calus for the help, you pointed thing in the right direction.
philipni
Licensed Customer
Licensed Customer
 
Posts: 24
Joined: Wed Aug 06, 2014 4:39 pm

Re: MASH INSTANCES

Postby calus » Thu Nov 15, 2018 7:01 pm

calus Thu Nov 15, 2018 7:01 pm
philipni wrote:Steps taken:
Created 1 PolyCube
Assigned 1 x Oct.Diffuse (to the whole mesh PolyCube) "as suggested"
Assigned 3 x different Oct.Diffuse (to different faces)
Created MASH Instance Network.
Render=White (nothing nada zero)

This is interesting,
at first I couldn't reproduce your issue,
then I found this was because I don't use the button in the Octane Shelf to assign shader,
but using the Octane shelf I could reproduce the bug.

The reason I use my own shelf withproper commands is because most of the Octane commands in the Octane Shelf are crappy : they break undo, are more limited than Maya's builtin commands, and can trigger other issues as the one you describe here.

So you should not have this issue if you assign material from node editor,
or from your own Shelf button:
Code: Select all
createAndAssignShader octaneDiffuseMaterial ""

drag this line in a shelf to make a button.
Pascal ANDRE
calus
Licensed Customer
Licensed Customer
 
Posts: 1308
Joined: Sat May 22, 2010 9:31 am
Location: Paris

Re: MASH INSTANCES

Postby BK » Thu Nov 22, 2018 9:50 am

BK Thu Nov 22, 2018 9:50 am
Multiple materials in the geometry face of Mash Instancers feature is supported in this version.

viewtopic.php?f=109&t=69562

cheers
Kind Regards

bk3d
BK
OctaneRender Team
OctaneRender Team
 
Posts: 1323
Joined: Mon Oct 31, 2016 7:54 pm

Return to Autodesk Maya


Who is online

Users browsing this forum: No registered users and 15 guests

Fri Apr 26, 2024 10:47 am [ UTC ]