YOUR ACCOUNT

Login or Register to post new topics or replies
bigdog
Mike
Posts: 3
Hi,
This is similar to my last post but with a more specific topic.

I am getting my head around the command line renderer and trying to find a simple way to output multiple maps (diffuse/bump spec etc)

Firstly let me define filter.ffxml as the file with the filter definition and config.xml as the file that is passed to the commandline renderer.

I understand that map_type is the switch that changes the map type between (diffuse/bump/spec etc). It is defined in the filter.ffxml in the <Settings> section of the <Preset>.

My question is, is it possible to override this setting in the config.xml file?
I have tried a number of variations but with no luck.

<Map Type = "2" />
<Map_Type = "2" />

If this were possible it would be a simple case of having multiple <Task> entries with a different map_type setting for each map.

ie. Make changes to filter.ffxml in Filter forge, save, rerender config.xml and get all required maps.

I hope I am making sense.

Any guidance would be greatly appreciated.

Cheers
Mike
  Details E-Mail
Kraellin
Kraellin

Posts: 12749
Filters: 99
you might try emailing sjeiti, since we know already that he understands this stuff. i had completely forgotten about the new command line stuff, since i dont use it at all. so, try sjeiti or maybe someone else will come along that knows this.
If wishes were horses... there'd be a whole lot of horse crap to clean up!

Craig
  Details E-Mail
GMM
Moderator
Filter Forge, Inc
Posts: 3491
Bigdog, welcome to Filter Forge smile:)

I'm not sure I understand your question. What do you need to change in the batch renderer config?

You need to specify <Map Type = "2" /> in one preset, <Map Type = "3" /> in another one and so on. Then you specify these particular presets to render in the batch renderer config file. Please refer to the XML file contents help.
  Details E-Mail
bigdog
Mike
Posts: 3
Thanks for the replies.

Yes I understand that would be the way to modify the filter description (filter.ffxml in my original post) to output separate maps but it not very efficent if I am doing multiple iterations of (tweak in ff - render in ff - export to maya - render in maya).

Let me outline the two workflows again ( hopefully clearer), maybe I am missing something obvious.

Current workfow ( slow).

Tweak filter (filter.ffxml) in FF
For each map I want to output
Duplicate preset. specify map type and update preset (slow part)
Render with commandline renderer with config.xml
Render in Maya.
Goto Tweak filter.

More efficient workflow ( if possible)

Setup multiple <Task> entries in config.xml to specify different map_type (possible?)

Tweak filter (filter.ffxml) in FF
Render with commandline renderer with config.xml (outputing multiple maps)
Render in Maya.
Goto Tweak filter.


The second method would mean much more simple, efficient development. It does depend on being able to override the map_type variable in the config.xml <Task> section

Any pearls of wisdom?

Cheers
Mike



  Details E-Mail
GMM
Moderator
Filter Forge, Inc
Posts: 3491
Quote
bigdog wrote:
Setup multiple <Task> entries in config.xml


Possible! please refer to the xml file sample listed in the Help.

Quote
bigdog wrote:
It does depend on being able to override the map_type variable in the config.xml <Task> section


It rather depends on ability to specify the map_type in the filter preset itself (or am I missing your idea)? You can create many presets per single filter, and set the batch renderer to render all these presets in a row. Considering that the filter file is a plain-text xml, you can edit it manually (outside Filter Forge) much quicker than updating presets via the GUI.
  Details E-Mail
stefv
Posts: 1
Quote
You can create many presets per single filter, and set the batch renderer to render all these presets in a row.


Hi,

I have the same problem as bigdog. The command line tool is "limited" because you need to create one preset per map type. Actually, in Filter forge you can decide to create a different map for the same preset using the Filter>Render maps menu. But with the command line tool you can't do the same choice: create one preset per map is not user friendly.

I think bigdog is asking to have a feature like:

<Task>
<Image value="" width="300" height="400" />
<Selection value="" />
<Result path="D:\Images\Wood.bmp" />
<Filter value="filters\Library_284-1.ffxml" />
<Preset value="0">
<Map type="0" />
<Map type="1" />
<Map type="2" />
</Preset>
</Task>

Another reason to use this is with multiple presets per texture, you can't guarantee someone that the different presets per map will be for the same 3D texture. If one setting is changed in one preset (bump for example), it will be a bad 3D texture. But with the same preset creating different maps, you have the guarantee the maps will be coherent for the same 3D texture.
  Details E-Mail
MysticCoder
Posts: 1
Quote
It rather depends on ability to specify the map_type in the filter preset itself


I can't get this to work. No matter what value I set for map_type in the ffxml preset the command line renderer always outputs a diffuse map. Is there some trick to getting this to work or another setting or something? Both FF4 and FF5.
  Details E-Mail

Join Our Community!

Filter Forge has a thriving, vibrant, knowledgeable user community. Feel free to join us and have fun!

33,712 Registered Users
+19 new in 30 days!

153,533 Posts
+31 new in 30 days!

15,348 Topics
+73 new in year!

Create an Account

Online Users Last minute:

30 unregistered users.