Digital humans the art of the digital double
Ever wanted to know how digital doubles are created in the movie industry? This course will give you an insight into how it's done.
# 91 18-10-2008 , 06:10 PM
BennyK's Avatar
Registered User
Join Date: Oct 2007
Location: IL
Posts: 738
I tried that too - it's the same result.
It shouldn't be anything different anyway...
Benny


When in doubt, delete history and freeze transformations.

My latest snake game
(Requires DirectX9 SDK and Framework)
# 92 18-10-2008 , 06:14 PM
gster123's Avatar
Moderator
Join Date: May 2005
Location: Manchester Uk
Posts: 6,300
Theres a quite a few tutorial on doing it, google them.
I use the methond from maya the complete reference, works like a charm


"No pressure, no diamonds" Thomas Carlyle
# 93 18-10-2008 , 07:46 PM
BennyK's Avatar
Registered User
Join Date: Oct 2007
Location: IL
Posts: 738
Nvm... probably just my computer...
It won't accept ping and ipconfig commands as well, giving the same error...
I think I'll need to reinstall windows...
Thanks anyway,
Benny


When in doubt, delete history and freeze transformations.

My latest snake game
(Requires DirectX9 SDK and Framework)
# 94 18-10-2008 , 11:44 PM
Chirone's Avatar
Subscriber
Join Date: Dec 2007
Location: NZ
Posts: 3,125

Originally posted by BennyK

Code:
'render' is not recognized as an internal or external command, operable program or batch file.

i love these errors don't you?

you get this because 'render' is not a command you can use (on anyones computer, not just yours)

to be able to use this command you need to add stuff to your class path.

I assume you're still using XP (works the same with vista anyway)

Go
Control Panel > System > Avanced tab > Enironment Variables (button)

A new dialog appears with two box things (i forget what they are called)
One should be called "System variables"

Scroll down until you see the variable "Path", double click and add
Code:
C:\Program Files\Autodesk\Maya2008\bin;
to it.
Well... add the address of the bin folder of your maya directory and type semicolon ; after it

and you will be able to use the command "render" from any location, because in that bin folder is the render.exe


Maya adds itself to the classpath when it installs so i have no idea why it's not there for you.....



if that fails then you can't use the exe files in the bin folder from the command line :p




that's a "Ch" pronounced as a "K"

Computer skills I should have:
Objective C, C#, Java, MEL. Python, C++, XML, JavaScript, XSLT, HTML, SQL, CSS, FXScript, Clips, SOAR, ActionScript, OpenGL, DirectX
Maya, XSI, Photoshop, AfterEffects, Motion, Illustrator, Flash, Swift3D
# 95 19-10-2008 , 06:01 AM
Gen's Avatar
Super Moderator
Join Date: Dec 2006
Location: South FL
Posts: 3,522
Hey Benny any luck with that command render at all?


- Genny
__________________
::|| My CG Blog ||::
::|| My Maya FAQ ||::
# 96 19-10-2008 , 06:18 AM
BennyK's Avatar
Registered User
Join Date: Oct 2007
Location: IL
Posts: 738
Thanks a lot Chirone... it finally makes sense...
@ Genny - I'll try it now ( :zzz: )
here's a render I left overnight:
user added imageuser added image

I liked the first one better... there's something crazy going on with the reflection of the murky figures...

Benny


When in doubt, delete history and freeze transformations.

My latest snake game
(Requires DirectX9 SDK and Framework)
# 97 19-10-2008 , 06:33 AM
BennyK's Avatar
Registered User
Join Date: Oct 2007
Location: IL
Posts: 738
No... still no luck...
I looked into Path and it was already there. the files themselves (Render.exe, ping.exe etc) exist but It won't use them for some reason...
Benny


When in doubt, delete history and freeze transformations.

My latest snake game
(Requires DirectX9 SDK and Framework)
# 98 19-10-2008 , 06:36 AM
Chirone's Avatar
Subscriber
Join Date: Dec 2007
Location: NZ
Posts: 3,125
try opening the comand prompt in the bin folder (or if you dont have that ability just type in the command prompt cd <adress-of-bin-folder>) and see if you can use the 'render' command



if you don't want to type in the entire adress just highlight the adress in the folder, copy that and right click in the command prompt and click paste




that's a "Ch" pronounced as a "K"

Computer skills I should have:
Objective C, C#, Java, MEL. Python, C++, XML, JavaScript, XSLT, HTML, SQL, CSS, FXScript, Clips, SOAR, ActionScript, OpenGL, DirectX
Maya, XSI, Photoshop, AfterEffects, Motion, Illustrator, Flash, Swift3D
# 99 19-10-2008 , 08:01 AM
BennyK's Avatar
Registered User
Join Date: Oct 2007
Location: IL
Posts: 738
I tried that as well... No luck...
I really need to reinstall windows...


When in doubt, delete history and freeze transformations.

My latest snake game
(Requires DirectX9 SDK and Framework)
# 100 19-10-2008 , 12:37 PM
BennyK's Avatar
Registered User
Join Date: Oct 2007
Location: IL
Posts: 738
:attn: :attn: :attn:
Managed to run a Mental Ray render with Maya closed:
' "C:\Program Files\Autodesk\Maya8.5\bin\Render.exe" -r mr D:\Benny's\Maya\Projects\Chess\Figures5.mb '

I tried this before without the quotes... my brother told me today that I should put the .exe address in quotes and it worked :attn:
Now I just need to wait and see what comes out user added image

Here's an update:
user added image
Improved the murky glass...
I'll improve the lighting and do another test render.
This time no background...

Edit: this time the render works fine, though I had to look for the output file for a pretty long time. Found it under 'My Documents\maya\projects\images\...'
also found other cool forgotten stuff... ( see first post thread in members lounge)

Benny


When in doubt, delete history and freeze transformations.

My latest snake game
(Requires DirectX9 SDK and Framework)

Last edited by BennyK; 19-10-2008 at 01:19 PM.
# 101 19-10-2008 , 06:50 PM
BennyK's Avatar
Registered User
Join Date: Oct 2007
Location: IL
Posts: 738
:headbang: :headbang: :headbang:
I found out why my cmd commands weren't working:
this is what was in 'Path'
Code:
C:\ruby\binC:\Program Files\Autodesk\Maya8.5\binC:\Perl\bin\C:\Program Files\ActiveState Komodo ED 4.1\C:\Program Files\Microsoft DirectX SDK (August 2007)\Utilities\Bin\x86C:\WINDOWS\system32C:\WINDOWSC:\WINDOWS\System32\WbemC:\Python25\ ...
I have no idea why it was written that way. maybe some stupid program added itself to Path and f***ed it up in the process?

I didn't notice it before because I've never seen how it should look. Though something was a bit funny about it.
A quick search in Google and I found out how it should look.

Funny thing - I was trying to learn some c and Visual Studio told me "can't spawn cmd" as an error. Problem is the 'cmd' command was giving the same error as 'render'...

Benny


When in doubt, delete history and freeze transformations.

My latest snake game
(Requires DirectX9 SDK and Framework)
# 102 19-10-2008 , 07:39 PM
Chirone's Avatar
Subscriber
Join Date: Dec 2007
Location: NZ
Posts: 3,125
interesting.... wonder where all the ; went....

you should be able to just type
render -r mr Figures5.mb
in the command prompt provided you have the cmd open at the
D:\Benny's\Maya\Projects\Chess\
location

if you find the powertoy for xp to open the cmd from any folder then that would make it easier for you since you just have to type that line instead of typing out the whole adress (ok, you'd only do that once but if you accidentally close the cmd then you have to do it again)




that's a "Ch" pronounced as a "K"

Computer skills I should have:
Objective C, C#, Java, MEL. Python, C++, XML, JavaScript, XSLT, HTML, SQL, CSS, FXScript, Clips, SOAR, ActionScript, OpenGL, DirectX
Maya, XSI, Photoshop, AfterEffects, Motion, Illustrator, Flash, Swift3D
# 103 19-10-2008 , 08:26 PM
BennyK's Avatar
Registered User
Join Date: Oct 2007
Location: IL
Posts: 738
Nah, now that it's all running properly it's not a problem at all...

Update:
user added image
*Changed the intensities of the lights
*Increased light radius from 0.3 to 7 (Mental Ray != Maya Software...)
*Got a new sky pic for the sky dome - I like this one a lot. Nice reflections on the marble and you can really see the Fresnel effect in this one.
perhaps I need to lower the intensity though.

- Even after installing Maya with sp1 I can't load a file onto the 'out color' of a surface shader without invoking a fatal error... sky dome is therefore a lambert.
does someone have a better idea for it?
Benny

EDIT:
I'll start another final and go to :zzz: soon...


When in doubt, delete history and freeze transformations.

My latest snake game
(Requires DirectX9 SDK and Framework)

Last edited by BennyK; 19-10-2008 at 08:28 PM.
# 104 19-10-2008 , 08:33 PM
Gen's Avatar
Super Moderator
Join Date: Dec 2006
Location: South FL
Posts: 3,522

Originally posted by BennyK

- Even after installing Maya with sp1 I can't load a file onto the 'out color' of a surface shader without invoking a fatal error...

Dude that's a really lame error lol did you google that? I'd find that very hard to live with.


- Genny
__________________
::|| My CG Blog ||::
::|| My Maya FAQ ||::
# 105 19-10-2008 , 08:44 PM
BennyK's Avatar
Registered User
Join Date: Oct 2007
Location: IL
Posts: 738

Originally posted by GecT
Dude that's a really lame error lol did you google that? I'd find that very hard to live with.

I don't user added image
Perhaps I would have if I ever used it... As I barely know what it does that doesn't bother me as much as receiving fatal errors with no obvious reason and having to open the scene and Maya over again.

Didn't find (Google) anything useful about that.
perhaps I'll check that error later....
Good night
Benny


When in doubt, delete history and freeze transformations.

My latest snake game
(Requires DirectX9 SDK and Framework)
Posting Rules Forum Rules
You may not post new threads | You may not post replies | You may not post attachments | You may not edit your posts | BB code is On | Smilies are On | [IMG] code is On | HTML code is Off

Similar Threads