MoI discussion forum
MoI discussion forum

Full Version: Cycles for MoI

Show messages:  1-15  16-35  36-55  56-75  76-95  96-113

From: Max Smirnov (SMIRNOV)
6 Feb 2015   [#16]
First public release of Cycles for MoI script

Installation:
- extract script archive into the MoI/commands directory
- download Cycles standalone (http://blender.dingto.org/cycles_standalone/Cycles_Windows64.zip) and extract it into MoI/cycles directory
- create MoI/snapshots directory


Script usage:
_Cycles -> export selected objects as cycles xml files, start Cycles
_Cycles noexport -> If you exported scene objects once, you don't need to export it every time when you run Cycles. This mode useful while changing camera position or material settings.

Materials:
Default material - Diffuse, Rougness 80%
You can change the material by editing the style name
Examples:

[D:20] = Diffuse, Rougness 20%
[G:20] = Glossy, Rougness 20%
[S:10] = Glass, Rougness 10%
[E:1000]= Emission, Strength 1000

Cycles hotkeys:
P - pause
Q - save image and quit
I - interactive mode
From: Frenchy Pilou (PILOU)
6 Feb 2015   [#17]
A futur hit!
Prodigious! Don't know that Cycles existing as Stanalone! (So no need to learn Blender! :D

Ah damned : don't works for me!
Just appear and disapear the Cycles Windows! (1/10 second ! ;)

No problem that Moi is in the (x86) folder and Cycles who seems a 64 bits program is inside this Moi's folder ?

What exactly the process ?
I launch Moi - I export an object as .xml ??? i have not that inside Moi !
I launch Cycles (?)
or other... ?

...must I install the last version of Blender too?
From: Max Smirnov (SMIRNOV)
6 Feb 2015   [#18] In reply to [#17]
anyway it should works.
Does export window appears?

No, just install cycles standalone.

My script can have problems with special characters in the paths.. I'll check it tomorrow.
From: Frenchy Pilou (PILOU)
6 Feb 2015   [#19] In reply to [#18]
Just a Dos (?) window as I can see on this rapid view! :) and just 1/10 second then nothing!

What must be there in the Moi's Cycles folder ? All the unzip Cycles file ?

Ps It's a Zenit camera ? :)
From: Frenchy Pilou (PILOU)
6 Feb 2015   [#20]
http://wiki.blender.org/index.php/Dev:2.6/Source/Render/Cycles/Standalone

<< Cycles needs to be started from a terminal: cycles [options] file.xml

How have this terminal ?>> My script can have problems with special characters in the paths
(sure French Windows System alas has some accents... :)

Where is your script ???
I don't see it in your post!!!
http://moi3d.com/forum/index.php?webtag=MOI&msg=7208.16
From: Max Smirnov (SMIRNOV)
7 Feb 2015   [#21] In reply to [#20]
>> Where is your script ??
>> What must be there in the Moi's Cycles folder ? All the unzip Cycles file ?

Cycles.v.0.8.2015.02.06.zip -> moi directory/commands
Cycles_Windows64.zip -> moi directory/cycles

Ps It's a Zenit camera ? :)
Yes :-) My first slr.
From: moujiik
7 Feb 2015   [#22] In reply to [#20]
Hi, it's working very nicely. The exporter seems very stable and quick. Is there others options for materials?


Image Attachments:
2015.02.07-09.06.06-[Cycles]-Grille-pain.png 


From: Frenchy Pilou (PILOU)
7 Feb 2015   [#23]
Cool!
All works this time!


From: Andrei Samardac
7 Feb 2015   [#24] In reply to [#23]
Frenchy Pilou what them you use for Windows? I saw that kind of windows before and I like them.
From: Frenchy Pilou (PILOU)
7 Feb 2015   [#25]
No Special Windows, it's the natural model by default in Windows 8! :)
(i just edit the color of 2D image for the forum ;)

But you can make the same inside Moi with editing color of the UI !
Options / View

French version and manual of Cycles for Moi
http://moiscript.weebly.com/cycles-pour-moi.html
From: Andrei Samardac
7 Feb 2015   [#26] In reply to [#25]
Frenchy Pilou, I just talking about windows theme, not about MoI GUI, now I understood it is Windows 8, thanks.
From: chippwalters
7 Feb 2015   [#27] In reply to [#16]
Does anyone know if this works with the Mac?
From: Frenchy Pilou (PILOU)
7 Feb 2015   [#28] In reply to [#27]
From this http://wiki.blender.org/index.php/Dev:2.6/Source/Render/Cycles/Standalone

I suppose yes, but the Max script itself I don't know!
From: Frenchy Pilou (PILOU)
7 Feb 2015   [#29]
Seems the render Window size is not kept if this size modified at the beginning for the next renders!
From: Max Smirnov (SMIRNOV)
7 Feb 2015   [#30]
New version.
Shaders support:
[D:xx] - Diffuse : Roughness 0-100
[G:xx] - Glossy : Roughness 0-100
[S:xx] - Glass : Roughness 0-100
[V:xx] - Velvet : Sigma 0-..
[C:xx] - Toon : Smooth 0-100
[T] - Translucent
[E:xx:xx] - Emission : Strength 0-... : Size (for point light sources; optional)

Added mix shader:
[G:10 C:30] - Glossy:10+Toon:30 (50/50 default)
[G:10 C:30 70] - Glossy:10+Toon:30 (30/70)
From: Finema
8 Feb 2015   [#31] In reply to [#20]
It's possible to do the same for mac ?
From: Max Smirnov (SMIRNOV)
8 Feb 2015   [#32]
Added:
[A] - Ambient occlusion
fixed point lights export bug

Finema
chippwalters
>>Does anyone know if this works with the Mac?
Unfortunately I don't have a Mac, so I can't check this.
I'll try to install MacOS to virtual machine.

>>Seems the render Window size is not kept if this size modified at the beginning for the next renders!
It's impossible to get window size information from cycles to moi.
From: Frenchy Pilou (PILOU)
8 Feb 2015   [#33] In reply to [#32]
<< It's impossible to get window size information from cycles to moi.

I speek about the Window's size render of Cycles: who can be anywhere on the same monitor or on another one
so not in the screen of Moi !
From: Fake Pilot (FAKEPILOT)
8 Feb 2015   [#34]
OSX:

I managed to get Cycles standalone running on OSX, also managed to write out an .xml file into the temp folder with your script!
Then with Terminal, I rendered it with Cycles. With this script:

/Applications/MoI\ v3.app/Contents/Resources/drive_c/moi/cycles/cycles /Applications/MoI\ v3.app/Contents/Resources/drive_c/users/Wineskin/Temp/ball_square_scene.xml

But not a programmer, so didn't understand how to edit your script so it does this automatically.

http://blender.dingto.org/cycles_standalone/Cycles_OSX_10.9_x86_64.zip
From: Frenchy Pilou (PILOU)
8 Feb 2015   [#35] In reply to [#34]
When you say that
"Then with Terminal"
How do you process for access to a "terminal" ?

Show messages:  1-15  16-35  36-55  56-75  76-95  96-113