Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - dagri

Pages: [1]
1
Hello,

I need a way to export a information about 'File Input' device.

I think the information in the device third out port(File Metadata(Text/XML).
But third out port hasn't any information. That port return 'NULL'.

I need to get a loaded filename in File Input device.

2
Plugin Development Forum / How to find a tiles name?
« on: November 24, 2010, 06:34:27 AM »
Hello,

I wonder how to find a tiles name in the doOutput function?

Where has a tiles name info?

3
Plugin Development Forum / Re: How to make a device that can tiled build?
« on: November 24, 2010, 06:27:49 AM »
I changed my compiler to 2005.

It works well. Thank you. :D

4
Plugin Development Forum / Re: How to make a device that can tiled build?
« on: November 22, 2010, 07:02:46 PM »
I made simple logging code for test the outset value.

Code: [Select]
#include <fstream>
bool SimpleOutput::doOutput(OutputSet &outset, OUTPUT_MODE output_mode) {
assert(false && "TODO: doOutput() implementation!");
// TODO: DO YOUR OUTPUT!

std::ofstream of;
of.open("check outset value.txt", std::ios_base::out | std::ios_base::app);

if (output_mode == OUTPUT_TILED)
{
int n = outset.num();
of << "tiled outset num : " << n << std::endl;
}
else
{
int n = outset.num();
of << "normal outset num : " << n << std::endl;
}

return false;
};

and I built each way.

it's a result.
Quote
normal outset num : 1
tiled outset num : -10942447
tiled outset num : 525928465
tiled outset num : -10942447
tiled outset num : 525928465

I think outset value broken.

My computer spec is below
compiler : VS 2008, compile option release x64.
cpu : Intel Core2 Quad CPU Q8200
OS : windows 7 64bit
memory : 8GB



Could you send me sample code can tiled build device?

5
Plugin Development Forum / How to make a device that can tiled build?
« on: November 22, 2010, 04:56:13 AM »
Hello,

I made a my device. and it works well.

I want to make the device for tiled build.

I changed below code.

   
Code: [Select]
virtual bool isExporting(OUTPUT_MODE mode) { return false; }to
   
Code: [Select]
virtual bool isExporting(OUTPUT_MODE mode) { return true; }

and I found some problem.

Code: [Select]
doOutput(OutputSet& outset, OUTPUT_MODE output_mode)
output_mode value has OUTPUT_TILED.
but outset value has strange value.

How to make a device that can tiled build?

6
Bug Reports and Help / Re: relative path problem
« on: September 06, 2010, 06:35:11 PM »
Thank you, It works well I want.

but Tiled File Input problem don't resolve. http://forum.world-machine.com/index.php?topic=1242.0

7
Bug Reports and Help / Re: relative path problem
« on: September 05, 2010, 10:35:34 PM »
I unchecked "Use absolute path for file name". and I saved.

Following is my computer spec.

OS : windows 7 Professional Korean 64bit
WM version : 2.2 Professional Edition SITE LICENSE

CPU : Intel Core 2 Quad Cpu [email protected]
rem : 4GB
remain HDD : 11GB
Graphic : NVIDIA Geforce GTS 250





If my project path is following. It works well. The File Details value set "CommonData\input.bt".
  • D:/
    • WMProjects/
      • ReportProject/
        • CommonData
          • input.bt
        • ReportProject.tmd

8
Hello,

If I use Tiled File Input device with relative path files. It works well.
but I save the project, and load the project. WM always die with a crash.

9
Bug Reports and Help / relative path problem
« on: September 02, 2010, 08:07:24 PM »
Hello,

  • D:/
    • WMProjects/
      • ReportProject/
        • ReportProject.tmd
      • CommonData
        • input.bt

I made a project path like the above.

and I add File Input Device.
I want to set value of File Details "..\CommonData\input.bt".
but It set "D:\WMProjects\CommonData\input.bt".

Pages: [1]