This forum board is in read-only mode.
WPF 3D exporter
16 posts
• Page 1 of 2 • 1, 2
I checked your code,but can not found the predefined Raytracing settings.
for your class KerkytheaExporter,I only found some properties like BackgroundColor,MaterialType,Shadows,Width,Height etc. it can not control use RenderSettings.
and used
string programFiles = Environment.GetFolderPath(Environment.SpecialFolder.ProgramFiles);
string exe = System.IO.Path.Combine(programFiles, @"Kerkythea Rendering System\kerkythea.exe");
Process.Start(exe, file);
starup Kerkythea.exe that maybe used default RenderSettings.becasue when Kerkythea.exe starup only pop-up a rendering window no any option.llik the attached picture.
and I found kerkythea installation directory have a folder named \RenderSettings, the Kerkythea main application can use this RenderSettings.
so how I can used Kerkythea RenderSettings in my program ?
for your class KerkytheaExporter,I only found some properties like BackgroundColor,MaterialType,Shadows,Width,Height etc. it can not control use RenderSettings.
and used
string programFiles = Environment.GetFolderPath(Environment.SpecialFolder.ProgramFiles);
string exe = System.IO.Path.Combine(programFiles, @"Kerkythea Rendering System\kerkythea.exe");
Process.Start(exe, file);
starup Kerkythea.exe that maybe used default RenderSettings.becasue when Kerkythea.exe starup only pop-up a rendering window no any option.llik the attached picture.
and I found kerkythea installation directory have a folder named \RenderSettings, the Kerkythea main application can use this RenderSettings.
so how I can used Kerkythea RenderSettings in my program ?
One option is to use kerkythea messaging system and merge suitable render settings before rendering or you can directly manipulate advanced settings with messages.
http://www.kerkythea.net/docs/Kerkythea ... System.doc
http://www.kerkythea.net/docs/Kerkythea ... System.doc
Thanks a lot~
I found the RenderSettings written in XML file,so I can control it.
but I don't know how to used the kerkythea messaging system. for example, I want use SaveImage message to save image to another path, so where can I sent to the message and how to sent it ?
in addition I found my Material lost, I think that because of the KerkytheaExporter class have some code. so can give me more detail for XML format information?
I found the RenderSettings written in XML file,so I can control it.
but I don't know how to used the kerkythea messaging system. for example, I want use SaveImage message to save image to another path, so where can I sent to the message and how to sent it ?
in addition I found my Material lost, I think that because of the KerkytheaExporter class have some code. so can give me more detail for XML format information?
16 posts
• Page 1 of 2 • 1, 2
Return to Exporter-Plugin Development
Who is online
Users browsing this forum: No registered users and 1 guest