Here is the video of my problem
what type of light do you have in your scene?
have you turned on the shadows for it?
select the light. look at the attribute editor (control+A) open the shadows tab and make sure “use ray traced shadows” is turned on.
in your vid I can see the light is working. also maybe turn final gather off for the moment in the render settings and you will see more of what the light is doing by itself.
Actually. on second thoughts. how is your shader/material set up for the blocks? where is the texture plugged into?
Ill make a video tonight to show you how to set up minecraft renders in maya with mental ray nicely tonight (its morning here so Ill do it after work…) if I get time.
Just had a quick look at how mineways works and how the import works of the obj materials into maya. I can see where your problems are coming from now.
I have used j-mc-2-obj before which was pretty good but mineways does stuff a little differently.
Ill have a play and make a tutorial video for you tonight (most of the ones on youtube are pretty crap )
Could you link me to your youtube channel?
Sorry for the late reply…
Had to find the time to make and upload the videos…
So here we are: Part one.
the script that I used in part two:
(note it seems when im posting code its putting a space in front of all the lines…you may have to delete the space from each line…sad):
import maya.cmds as cmds ''' replace the rgba texture path below ''' texturePath = 'C:/Users/someuser/Desktop/minecraft_export/world_for_maya-RGBA.png' objSel = cmds.ls(sl=True, s=1, dag=1) for object in objSel : geo = object SgNodes = cmds.listConnections(object, type='shadingEngine') matMaya = cmds.listConnections(SgNodes  + '.surfaceShader') objectName = cmds.listConnections(object,p=True) mat = (matMaya) print mat colConneted =cmds.listConnections(mat+".color") fileConnedted = cmds.setAttr(colConneted+".fileTextureName",texturePath,type="string") cmds.setAttr (colConneted+".filterType",0) print fileConnedted myMat = cmds.shadingNode('mia_material_x', asShader=True) cmds.select(geo) cmds.hyperShade( assign=myMat) cmds.setAttr (myMat+'.ao_on',1) cmds.setAttr (myMat+'.ao_distance',1) cmds.setAttr (myMat+'.diffuse_roughness',1) cmds.setAttr (myMat+'.reflectivity',0) cmds.setAttr (myMat+'.refr_ior',1) cmds.connectAttr(colConneted+".outColor",myMat+".diffuse") cmds.connectAttr(colConneted+".outAlpha",myMat+".cutout_opacity")
And here are some quick test renders.
I played with the water a bit after finishing the videos
Thanks! Watching it now
This is a render that i did. Thanks!
PS. Its colored because i used a colored light, When color corrected and graded it looks awesome! Took me about 1.2 hours to render 60 frames Lasts about 3 secounds.
That looks pretty cool.
Glad you got it working.
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.