Simply Maya User Community

Simply Maya User Community (https://simplymaya.com/forum/index.php)
-   Work In Progress (https://simplymaya.com/forum/forumdisplay.php?f=34)
-   -   Chess! (https://simplymaya.com/forum/showthread.php?t=31034)

gster123 18-10-2008 08:34 AM

Right click on the secene file was it?

BennyK 18-10-2008 10:13 AM

Yep,
Is that what's called batch render?
I remember reading somewhere there are some things it can not do... could this be the problem in this case?
Benny

gster123 18-10-2008 10:27 AM

A batch render is a render that just does a batch (say all the frames for animation)

Rendering like what you did of form the command line just frees up system resource. The render should be based on the scene settings in the render globals form the last save.

BennyK 18-10-2008 01:10 PM

... I just thought so because the process in the task manager is called mayabatch.
When I render a scene from within Maya with the same render settings I get a MUCH better quality...

Oh cr*p, I've just seen for the first time after a few happy years a BSoD when I tried to render through Maya...
Not so long ago the computer stopped while rendering(twice) and I had to restart it. I guess the BSoD is an epilogue.

Here is a comparison:
Maya closed | Through Maya
http://img296.imageshack.us/img296/2418/tempmf1.png

Oh well, No comparison because my computer just stopped twice more while trying to render that scene through Maya.
This is getting on my very last nerves :angery: :headbang:
Any ideas?
Benny

BennyK 18-10-2008 02:53 PM

:attn:
Reinstalled Maya, this time with sp1, and I managed to render that scene:
http://img236.imageshack.us/img236/919/tempbr3.png
I'll try another render with Maya closed now to see if there's any difference...
(Edit: no, no difference...)
Benny

Gen 18-10-2008 03:28 PM

It stopped because it probably ran out of memory. And the other render looks like a Maya software render. I thought this tut was useful
>>>>Command Line Rendering by Peter Stratton<<<<

BennyK 18-10-2008 04:37 PM

Thanks Genny, I think I know what's the problem - It probably didn't use Mental Ray for the render...

I've got another problem though - I can't use the cmd to render because
Code:

'render' is not recognized as an internal or external command, operable program or batch file.
The tutorial doesn't say anything about that and I tried to follow it word by word...
Do I need to import something first or something like that?
Help please,
Benny

gster123 18-10-2008 05:09 PM

At what point do you get the problem, if yo open the cmd and type render -h you should get all the flags. But I dont know where you get the problem

BennyK 18-10-2008 05:40 PM

at any point in which I try to use 'render' command...

I doesn't make seance to me that using 'render' in cmd will work just like using 'ping' for instance... maybe I just don't know how windows works well enough though...
Benny

gster123 18-10-2008 06:09 PM

Create a .bat file and then execute it from there

BennyK 18-10-2008 06:10 PM

I tried that too - it's the same result.
It shouldn't be anything different anyway...
Benny

gster123 18-10-2008 06:14 PM

Theres a quite a few tutorial on doing it, google them.
I use the methond from maya the complete reference, works like a charm

BennyK 18-10-2008 07:46 PM

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

Chirone 18-10-2008 11:44 PM

Quote:

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

Gen 19-10-2008 06:01 AM

Hey Benny any luck with that command render at all?

BennyK 19-10-2008 06:18 AM

Thanks a lot Chirone... it finally makes sense...
@ Genny - I'll try it now ( :zzz: )
here's a render I left overnight:
http://img291.imageshack.us/img291/7214/tempwd9.th.jpghttp://img291.imageshack.us/images/thpix.gif

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

Benny

BennyK 19-10-2008 06:33 AM

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

Chirone 19-10-2008 06:36 AM

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

BennyK 19-10-2008 08:01 AM

I tried that as well... No luck...
I really need to reinstall windows...

BennyK 19-10-2008 12:37 PM

: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 :)

Here's an update:
http://img392.imageshack.us/img392/3360/tempwv3.jpg
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

BennyK 19-10-2008 06:50 PM

: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

Chirone 19-10-2008 07:39 PM

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)

BennyK 19-10-2008 08:26 PM

Nah, now that it's all running properly it's not a problem at all...

Update:
http://img100.imageshack.us/img100/6268/tempyx5.png
*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...

Gen 19-10-2008 08:33 PM

Quote:

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.

BennyK 19-10-2008 08:44 PM

Quote:

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 :D
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

BennyK 20-10-2008 06:36 AM

Oh well, I guess there's no escape from reinstalling Windows...
The render I left overnight didn't do anything. so is a test render I just lunched, and waited half an hour for something I later rendered through Maya in 17 min:
http://img136.imageshack.us/img136/4375/tempks3.jpg
Benny

Gen 20-10-2008 02:56 PM

Firewall blocking it maybe?

BennyK 20-10-2008 05:14 PM

No... I don't use firewalls :attn: (router)
How can a firewall block a render?

I'll try it again this night. this time I added a flag for the output file so I don't go looking for it again.

Together with lots of other stuff, search feature got f***ed up - I can't find anything in My Documents (maybe in a larger area, but in D:\ it works fine) even if when I run a search inside a folder with one item for that item...
Benny

DJbLAZER 20-10-2008 06:38 PM

It's possible that a firewall could block any program that uses network facilities. Even if it doesn't connect to another network and just uses the local network. (sockets)

BennyK 21-10-2008 05:46 AM

Oo, OK...
Apparently this render with Maya closed does work:
Here's what it did overnight:
http://img444.imageshack.us/img444/6631/tempwq5.th.jpg

I just noticed that the white king is on the wrong spot...
(I had this kind of problem in all of the renders so far...)
I tried to fix it by re-rendering that region but it left seams for some reason.

C&C please, before I re-render the whole thing this night
(not just because of the king. Other small issues as well...)
Benny

honestdom 21-10-2008 08:01 AM

how come it takes so long for your renders?

I think you should have some shadows in the scene. :)

BennyK 21-10-2008 08:13 AM

Quote:

Originally posted by hammer.horror
how come it takes so long for your renders?
It's a combination om my old PC, the high quality and the huge resolution. The last render through Maya took ~ 9h
I don't know how much it takes with Maya closed...

Quote:

Originally posted by hammer.horror

I think you should have some shadows in the scene. :)

I do have shadows, they're simply very weak. They were weak before but now that I increased the light radius and decreased the intensity of the key light the shadows kind of disappeared.
They would've disappeared completely only when the render time will go down by 1-2 h :)

I'll see what I can do about it... Thanks for the advice :bow:

Benny

BennyK 21-10-2008 10:06 AM

Modifications...
 
http://img352.imageshack.us/img352/6758/tempxw2.png
Shadows are still a bit too weak...
C&C please,
Benny

honestdom 21-10-2008 10:26 AM

i like the faint shadows. :)

Gen 21-10-2008 12:56 PM

The board still looks like its floating. Also, you're not doing yourself any favors by making the renders such a high res and waiting hours unless you're completely (and I can't stress this enough) completely satisfied and now you're doing a final render.

BennyK 21-10-2008 01:21 PM

Well, I'm not COMPLETELY satisfied but I've got nothing better for the computer to do overnight so why not? I see more details and stuff I need to improve that way...
Any advice for making the board look better? I can't think of anything that'll help...
Thanks for the replies :bow:
Benny

Gen 21-10-2008 02:38 PM

Haha sorry for the hassle :p

BennyK 21-10-2008 02:57 PM

Quote:

Haha sorry for the hassle
nvm it.

I'm going to sleep now... Another render overnight I hope...
Holiday's over :shakehead - I've got school tomorrow. Some tests as well soon...
I expect to slow down for a while. No other big holiday in almost two months :(
Benny

BennyK 22-10-2008 08:11 AM

Another test render:
http://img399.imageshack.us/img399/5115/tempbe6.png
Shadow annotation raised to as high as it gets. shadows are a bit darker but still not as much as they should be...

Another full sized render I left overnight:
http://img406.imageshack.us/img406/8...ess2yq1.th.jpghttp://img406.imageshack.us/images/thpix.gif

I think that's it for this project... It lasted far longer then I intended it to.

Thanks a lot to everyone who helped me through it :bow:
Couldn't have done it without you
Benny

Gen 22-10-2008 11:46 AM

I guess its about that time to move on. Well you stuck with it and you finished it.:p


All times are GMT. The time now is 06:59 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Simply Maya 2018