Indigo Materials Scene Generator
Indigo Materials Scene Generator
Hi,
As promised, here is the small prog I wrote to generate test scenes like this one : http://www2.indigorenderer.com/joomla/f ... php?t=2003
It's a very basic console application, and should run under Dot.Net Framework 2.0. It could be improved to be more user friendly, but I'm not sure it is necessary as it is just a small test application, not intended to have a long life.
It works with xml template files. I recommand to copy the "Indigo Materials Scene Generator" folder into Indigo's one, because that's how I installed it at home and the templates are configured for this.
There is a small manual inside the zip. I'm not very comfortable in english so don't hesitate to tell me if something is not clear.
Well, I could only test it on two computers (at home and at work), so, I'm waiting to see if it works on yours.
You must install .Net Framework 2.0, and it should be OK.
http://www.microsoft.com/downloads/deta ... laylang=en
As promised, here is the small prog I wrote to generate test scenes like this one : http://www2.indigorenderer.com/joomla/f ... php?t=2003
It's a very basic console application, and should run under Dot.Net Framework 2.0. It could be improved to be more user friendly, but I'm not sure it is necessary as it is just a small test application, not intended to have a long life.
It works with xml template files. I recommand to copy the "Indigo Materials Scene Generator" folder into Indigo's one, because that's how I installed it at home and the templates are configured for this.
There is a small manual inside the zip. I'm not very comfortable in english so don't hesitate to tell me if something is not clear.
Well, I could only test it on two computers (at home and at work), so, I'm waiting to see if it works on yours.
You must install .Net Framework 2.0, and it should be OK.
http://www.microsoft.com/downloads/deta ... laylang=en
- Attachments
-
- Indigo Materials Scene Generator.zip
- Version 1.0, runs under Microsoft .Net Framework 2.0.
- (1.04 MiB) Downloaded 500 times
Vista 64bit gave:
EDIT: OK, it works when on my local C: drive, but not on my network U: drive
Code: Select all
U:\render\indigo\Indigo Materials Scene Generator>"Indigo Materials Scene Generator.exe"
Reading XML configuration file ... OK.
Reading XML element file ... OK.
Reading XML scene template file and generating output file ... Error while saving the output file : Request for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
Thx for testing
I've just checked my Control Panel, and noticed that the installation of the .net framework created a new user : "ASP.NET Machine A...". I guess .net exe are run under this profile. If you give this user the right to write on your U: drive, maybe it will solve your problem.
edit : normally, this user is used only for asp.net applications though ... So i'm affraid my first guess is wrong.
I've just checked my Control Panel, and noticed that the installation of the .net framework created a new user : "ASP.NET Machine A...". I guess .net exe are run under this profile. If you give this user the right to write on your U: drive, maybe it will solve your problem.
edit : normally, this user is used only for asp.net applications though ... So i'm affraid my first guess is wrong.
Hey Stur...
A very usefull gift for the community.... perfect to test 100 material settings with some few clicks!
I just wanted to confirm that you have to put the whole folder into your Indigo dir, and the imsg-outfile.igs directly into the Indigo folder otherwise the generated paths are wrong.
Thank you very much!
A very usefull gift for the community.... perfect to test 100 material settings with some few clicks!
I just wanted to confirm that you have to put the whole folder into your Indigo dir, and the imsg-outfile.igs directly into the Indigo folder otherwise the generated paths are wrong.
Thank you very much!
polygonmanufaktur.de
np ZomB, thx for feedback
If you want to change the directories, you have to edit the paths into imsg-scene.xml and imsg-mats.xml.
You can event get rid of imsg-mats.xml and imsg-meshes.xml if you put their content inside the imsg-scene.xml instead of the <include> tag.
Furthermore, I can give sources if someone is interested in improving something.
If you want to change the directories, you have to edit the paths into imsg-scene.xml and imsg-mats.xml.
You can event get rid of imsg-mats.xml and imsg-meshes.xml if you put their content inside the imsg-scene.xml instead of the <include> tag.
Furthermore, I can give sources if someone is interested in improving something.
doesn't matter....I get this error message with the test file it comes with in any version
Fatal Error: SceneLoaderExcep: failed to load XML doc from path 'G:\Renderers\INDIGO\indigo_09_test4\Indigo Materials Scene Generator\Indigo Materials Scene Generator\imsg-mats.xml': Failed to open file Line 0, column 0
Fatal Error: SceneLoaderExcep: failed to load XML doc from path 'G:\Renderers\INDIGO\indigo_09_test4\Indigo Materials Scene Generator\Indigo Materials Scene Generator\imsg-mats.xml': Failed to open file Line 0, column 0
Ooops, sorry CoolColJ, I didn't see you posted here until now. (don't hesitate to PM me in the future )
No, the templates files are not compatible with 0.9, so I've been requested to update them and here they are (Erf ! For some reasons I can't upload files to the forum from work. I will post it later from home.)
Concerning your problem, your path is wrong. You have two choices :
- Edit the imsg-scene.xml to modify the path to the mats and meshes files
- Or change your path to 'G:\Renderers\INDIGO\indigo_09_test4\Indigo Materials Scene Generator\' instead of 'G:\Renderers\INDIGO\indigo_09_test4\Indigo Materials Scene Generator\Indigo Materials Scene Generator\'
No, the templates files are not compatible with 0.9, so I've been requested to update them and here they are (Erf ! For some reasons I can't upload files to the forum from work. I will post it later from home.)
Concerning your problem, your path is wrong. You have two choices :
- Edit the imsg-scene.xml to modify the path to the mats and meshes files
- Or change your path to 'G:\Renderers\INDIGO\indigo_09_test4\Indigo Materials Scene Generator\' instead of 'G:\Renderers\INDIGO\indigo_09_test4\Indigo Materials Scene Generator\Indigo Materials Scene Generator\'
Here are the files "v0.9 compliant"
- Attachments
-
- Examples.zip
- Unzip this file in the "Examples" directory to override existing files.
To test it, just copy the files of one of the directory in "Indigo Materials Scene Generator" main directory, and launch the exe.
Then copy the generated file in I - (672.56 KiB) Downloaded 396 times
I had to delete the "Indigo Materials Scene Generator\" from 2 entries in the imsg-scene.xml to get the path to work properly. I don't think that addition to the path is needed
--
also some error messages
WARNING: Using deprecated element 'colour'. Use 'albedo_spectrum' instead. (In element 'diffuse', around line 6, column 9)
WARNING: Using deprecated element 'colour'. Use 'albedo_spectrum' instead. (In element 'diffuse', around line 18, column 9)
trying to load texture from 'G:\Renderers\INDIGO\indigo_09_test4\Indigo Materials Scene Generator\textures\grille5cm.jpg'...
Loaded texture successfully.
WARNING: Using deprecated element 'colour'. Use 'albedo_spectrum' instead. (In element 'diffuse', around line 33, column 9)
Processing included XML file 'G:\Renderers\INDIGO\indigo_09_test4\Indigo Materials Scene Generator\imsg-meshes.xml...
1 UV coordinate set(s) found.
0 UV coordinate set(s) found.
0 UV coordinate set(s) found.
0 UV coordinate set(s) found.
WARNING: Using deprecated element 'diffuse'. Use 'diffuse_albedo_spectrum' instead. (In element 'phong', around line 104, column 5)
Calculating energy loss compensation curve for exponent 0.000000
(around line 130) WARNING: Overriding material definition for material 'MyMat'.
WARNING: Using deprecated element 'diffuse'. Use 'diffuse_albedo_spectrum' instead. (In element 'phong', around line 132, column 5)
Calculating energy loss compensation curve for exponent 100.000000
(around line 158) WARNING: Overriding material definition for material 'MyMat'.
WARNING: Using deprecated element 'diffuse'. Use 'diffuse_albedo_spectrum' instead. (In element 'phong', around line 160, column 5)
Calculating energy loss compensation curve for exponent 200.000000
(around line 186) WARNING: Overriding material definition for material 'MyMat'.
WARNING: Using deprecated element 'diffuse'. Use 'diffuse_albedo_spectrum' instead. (In element 'phong', around line 188, column 5)
Calculating energy loss compensation curve for exponent 300.000000
(around line 214) WARNING: Overriding material definition for material 'MyMat'.
--
also some error messages
WARNING: Using deprecated element 'colour'. Use 'albedo_spectrum' instead. (In element 'diffuse', around line 6, column 9)
WARNING: Using deprecated element 'colour'. Use 'albedo_spectrum' instead. (In element 'diffuse', around line 18, column 9)
trying to load texture from 'G:\Renderers\INDIGO\indigo_09_test4\Indigo Materials Scene Generator\textures\grille5cm.jpg'...
Loaded texture successfully.
WARNING: Using deprecated element 'colour'. Use 'albedo_spectrum' instead. (In element 'diffuse', around line 33, column 9)
Processing included XML file 'G:\Renderers\INDIGO\indigo_09_test4\Indigo Materials Scene Generator\imsg-meshes.xml...
1 UV coordinate set(s) found.
0 UV coordinate set(s) found.
0 UV coordinate set(s) found.
0 UV coordinate set(s) found.
WARNING: Using deprecated element 'diffuse'. Use 'diffuse_albedo_spectrum' instead. (In element 'phong', around line 104, column 5)
Calculating energy loss compensation curve for exponent 0.000000
(around line 130) WARNING: Overriding material definition for material 'MyMat'.
WARNING: Using deprecated element 'diffuse'. Use 'diffuse_albedo_spectrum' instead. (In element 'phong', around line 132, column 5)
Calculating energy loss compensation curve for exponent 100.000000
(around line 158) WARNING: Overriding material definition for material 'MyMat'.
WARNING: Using deprecated element 'diffuse'. Use 'diffuse_albedo_spectrum' instead. (In element 'phong', around line 160, column 5)
Calculating energy loss compensation curve for exponent 200.000000
(around line 186) WARNING: Overriding material definition for material 'MyMat'.
WARNING: Using deprecated element 'diffuse'. Use 'diffuse_albedo_spectrum' instead. (In element 'phong', around line 188, column 5)
Calculating energy loss compensation curve for exponent 300.000000
(around line 214) WARNING: Overriding material definition for material 'MyMat'.
Last edited by CoolColJ on Thu Sep 27, 2007 9:05 pm, edited 1 time in total.
Who is online
Users browsing this forum: No registered users and 26 guests