OctaneRender® for Maya® beta 3.0 [OBSOLETE]

Autodesk Maya (Plugin developed by JimStar)

Moderator: JimStar

User avatar
Q-Games
Licensed Customer
Posts: 94
Joined: Wed Sep 07, 2011 8:56 am
Location: Japan
Contact:

TBFX wrote:
Q-Games wrote:I have a question: in the standalone version you can specify the focus point by
In an IPR active render you can use the render region to select the focus point. It will set focus to the center of the area you swipe out.
T.
Thank you for the info!
How about the broken specular material? Am I the only one having this problem? :?
Intel Core i7-2600 CPU @ 3.40GHz | RAM 16GB DDR3 | GeForce GTX 480 Core 405 MHz | Win7 64bit Jap
User avatar
TBFX
Licensed Customer
Posts: 501
Joined: Sun Dec 11, 2011 9:43 pm
Location: Wellington, New Zealand

Q-Games wrote:How about the broken specular material? Am I the only one having this problem?
I have not been using version 3.0 of the plugin as it's too broken just yet but on my initial tests with it the diffuse and glossy materials were both working as expected, haven't tried a specular in that version. I'll give it a go when I next get a chance.

T.
Win10 x64|i7-9750H 2.6 GHz|32 GB RAM | RTX2080 max Q 8GB
doctorpangloss
Licensed Customer
Posts: 38
Joined: Wed Dec 15, 2010 7:56 am

JimStar wrote: Do you mean that MentalRay can't have the own shader for each particle?.. Only for object itself?..
That's right, mentalray for Maya doesn't let you set a shader for a particular instance. You typically have to deinstance the particle-geometries. Ideally, Maya would translate a "particleSamplerInfo" nodes' outRGB attribute to mesh shaders. particleSamplerInfo does work for software-rendered particles--i.e., the way you color a software rendered particle is by connecting a particleSamplerInfo outRGB attribute to an attribute on a particleCloud node. However, if you connected the same particleSamplerInfo to say, a blinn or mia_material node's diffuse attr., and then applied that mesh shader to the parent (instanced) mesh, the instanced meshes would not be colored per particle.

In a perfect world, Octane would do the following:

Code: Select all

If the shader is applied to an instancer node:
....If the shader has any connections downstream from a particleSamplerInfo node:
........For each instanced mesh:
............Set up a Octane proxy object
............Compute the particleSamplerInfo node using the particle that corresponds to the instanced mesh
............Shade with the graph, substituting the computed particleSamplerInfo
Plugin authors I think have had trouble with that very very last step. There's something about the Maya API that makes it difficult to find the particle that corresponds to a mesh computed by Maya's instancer node.

However, you have the advantage of writing your own instancer node, so as long as you store the particle attributes with the instance and provide a way to pipe that data into an Octane shader, it sounds like you're good to go.

I will package up a sample scene for you to use shortly.

Thanks, and excellent work as always-
Win7x64 | GTX 580 | Maya 2011
User avatar
Q-Games
Licensed Customer
Posts: 94
Joined: Wed Sep 07, 2011 8:56 am
Location: Japan
Contact:

Another bug I found, if you have an emissive material, than you save the scene and reopen it, the intensity of the emission is turned down to a very low intensity, but if you check the settings are correct as you saved them. You need to touch slightly one of the values and the intensity goes back as it should... :?

Also, it would be nice if when I export a .ocs file it will include the mesh as well...
Intel Core i7-2600 CPU @ 3.40GHz | RAM 16GB DDR3 | GeForce GTX 480 Core 405 MHz | Win7 64bit Jap
doctorpangloss
Licensed Customer
Posts: 38
Joined: Wed Dec 15, 2010 7:56 am

Instancing shading test scene:

http://goo.gl/SErjF

Made with 2.58p and Maya 2013x64. Click the annotation and read the nodes for details.

Below is the ideal setup for shading instanced particles.

[Edit: File updated with license for Otoy to use for testing.]
Attachments
Ideal instancer shading network.
Ideal instancer shading network.
Last edited by doctorpangloss on Wed Sep 26, 2012 7:54 pm, edited 1 time in total.
Win7x64 | GTX 580 | Maya 2011
User avatar
JimStar
OctaneRender Team
Posts: 3816
Joined: Thu Jul 28, 2011 8:19 pm
Location: Auckland, New Zealand

doctorpangloss
Thank you!
jmfowler
Licensed Customer
Posts: 278
Joined: Wed Mar 24, 2010 8:27 am
Location: Auckland, New Zealand.
Contact:

Hi Jimstar,

I've got a problem, I have an animation to render in 2 weeks but I can't find any 580 (3gb ) cards to buy for a system, some of my scenes need the instancing feature. It looks like my only option is to render using 680's etc Currently I have one 580 3gb I'm using maya 2013 64bit.

I realise your very busy fixing bugs on v3, BUT I'm really stuck at the moment So my question is - When do you think you can do a kepler compile of the Maya-Octane renderer? 1-2 weeks?

Thanks.
Maya 2013 / W7 64bit / Intel i7 980 / 24GB / Gigabyte gtx 580 3GB + 2*EVGA gtx 680 4gb / MB Gigabyte X58A-UD3R / NZXT Phantom - white/black case
Maya 2013/W7 64bit/Intel i7 3820/16GB/ MB Gigabyte GA-X79-UD3 /4*EVGA gtx 680 4gb/SSD 6Gb.s /CM HAF X case
doctorpangloss
Licensed Customer
Posts: 38
Joined: Wed Dec 15, 2010 7:56 am

face wrote:
JimStar wrote:Do you mean that MentalRay can't have the own shader for each particle?.. Only for object itself?..
MentalRay can change the shader by a particle attribute, also the color of each particle.
At least with Softimage, should be also possible with Maya...

face
Sadly not in Maya.
Win7x64 | GTX 580 | Maya 2011
User avatar
JimStar
OctaneRender Team
Posts: 3816
Joined: Thu Jul 28, 2011 8:19 pm
Location: Auckland, New Zealand

doctorpangloss wrote:
face wrote:
JimStar wrote:Do you mean that MentalRay can't have the own shader for each particle?.. Only for object itself?..
MentalRay can change the shader by a particle attribute, also the color of each particle.
At least with Softimage, should be also possible with Maya...

face
Sadly not in Maya.
But I see that I can set the shader to the particle itself in Maya, not only to the object... Maya does not have the standard API means to get the material of the particle when iterating particles and particle's instances, but it can be done during the attributes connections... And in this case I can bind own Octane material to each particle...
Is that what you mean?..
Attachments
1.png
User avatar
TBFX
Licensed Customer
Posts: 501
Joined: Sun Dec 11, 2011 9:43 pm
Location: Wellington, New Zealand

JimStar wrote:But I see that I can set the shader to the particle itself in Maya, not only to the object... Maya does not have the standard API means to get the material of the particle when iterating particles and particle's instances, but it can be done during the attributes connections... And in this case I can bind own Octane material to each particle...Is that what you mean?..
Yes, as I understand it in Maya you can set per particle RGB values and shaders but the particle instancer node gives us no access to the indivudual instances at the shader level, though as I'm not hugely experienced with particles in Maya there could be a way I'm unfamiliar with. The way I've delt with it in the past is to have more than one base object, one each for every shader variation I need, and then use the instancer multi object controls to distribute them. Not as efficient as you require more than one base object just for shader variation.

If you can find a way to give us control of shader distribution in a particle instancer node that would be awesome!

Trev.
Win10 x64|i7-9750H 2.6 GHz|32 GB RAM | RTX2080 max Q 8GB
Post Reply

Return to “Autodesk Maya”