# Plugin Development

**URL:** https://forum.world-machine.com/c/plugin-development/10.md

[Latest](https://forum.world-machine.com/latest.md) · [Categories](https://forum.world-machine.com/categories.md) · [Tags](https://forum.world-machine.com/tags.md)

---

## [About the Plugin Development category](https://forum.world-machine.com/t/about-the-plugin-development-category/1564)

<div class="topic-metadata">

**Author:** [@system](https://forum.world-machine.com/u/system)\
**Replies:** 0

</div>

Thinking about writing a plugin for WM? All PDK-related discussion dwells within here. You can pickup the latest World Machine PDK at: World Machine PDK

---

## [Will there be a PDK for WM4?](https://forum.world-machine.com/t/will-there-be-a-pdk-for-wm4/6465)

<div class="topic-metadata">

**Author:** [@HYLK](https://forum.world-machine.com/u/HYLK)\
**Replies:** 6\
**Last updated:** [August 9, 2023, 6:09am UTC](https://forum.world-machine.com/t/will-there-be-a-pdk-for-wm4/6465 "2023-08-09T06:09:48Z")

</div>

I’m thinking of trying/looking at some plugin development for WM, but saw the latest PDK is for build 3028. I was wondering if releasing a PDK is on the roadmap, and if there are other users who would like to take a look…

---

## [How can I make my own plugins available?](https://forum.world-machine.com/t/how-can-i-make-my-own-plugins-available/4631)

<div class="topic-metadata">

**Author:** [@ZeroJosh](https://forum.world-machine.com/u/ZeroJosh)\
**Replies:** 1\
**Last updated:** [July 9, 2018, 7:54am UTC](https://forum.world-machine.com/t/how-can-i-make-my-own-plugins-available/4631 "2018-07-09T07:54:55Z")

</div>

I compiled the DLLExample on the MSVC2017 and got the corresponding DLL file (namely Example Devices32.dll). However, when i put the DLL to the folder /plugins/device/ and opened the WM, the correponding device didn’t sh…

---

## [How to "call for" different worldspace input than intended output?](https://forum.world-machine.com/t/how-to-call-for-different-worldspace-input-than-intended-output/3962)

<div class="topic-metadata">

**Author:** [@sfriedberg](https://forum.world-machine.com/u/sfriedberg)\
**Replies:** 4\
**Last updated:** [September 24, 2014, 4:30am UTC](https://forum.world-machine.com/t/how-to-call-for-different-worldspace-input-than-intended-output/3962 "2014-09-24T04:30:26Z")

</div>

So far I’ve just messed around with filters whose inputs and outputs were the same size. I’m now attempting to satisfy my own feature request for a general horizontal coordinate transform device. To supply an output ov…

---

## [Any plan to move off VS2010 Express?](https://forum.world-machine.com/t/any-plan-to-move-off-vs2010-express/3948)

<div class="topic-metadata">

**Author:** [@sfriedberg](https://forum.world-machine.com/u/sfriedberg)\
**Replies:** 1\
**Last updated:** [April 18, 2017, 9:50pm UTC](https://forum.world-machine.com/t/any-plan-to-move-off-vs2010-express/3948 "2017-04-18T21:50:34Z")

</div>

Not promoting the idea, especially, but the 3.0 release train might be a good time to move off Visual Studio 2010 to whichever of 2013 or 2014 MS is promoting as its next “stable” development platform.

---

## [Sharing (external) parameters among multiple devices?](https://forum.world-machine.com/t/sharing-external-parameters-among-multiple-devices/3934)

<div class="topic-metadata">

**Author:** [@sfriedberg](https://forum.world-machine.com/u/sfriedberg)\
**Replies:** 2\
**Last updated:** [August 21, 2014, 1:45am UTC](https://forum.world-machine.com/t/sharing-external-parameters-among-multiple-devices/3934 "2014-08-21T01:45:21Z")

</div>

I’m considering a plugin (or family of related plugins) with a potentially large list of parameters. The majority of these parameters should be set consistently across instances of the plugin (family), and ideally shoul…

---

## [ETA on 3.0 PDK?](https://forum.world-machine.com/t/eta-on-3-0-pdk/3933)

<div class="topic-metadata">

**Author:** [@sfriedberg](https://forum.world-machine.com/u/sfriedberg)\
**Replies:** 2\
**Last updated:** [August 21, 2014, 11:40pm UTC](https://forum.world-machine.com/t/eta-on-3-0-pdk/3933 "2014-08-21T23:40:52Z")

</div>

I’m assuming the 2.9 PDK is not compatible with 3.0dev, or at least not complete w.r.t. the major new features. When should we expect an initial 3.0 PDK?

---

## [Ambient occlusion plugin](https://forum.world-machine.com/t/ambient-occlusion-plugin/3770)

<div class="topic-metadata">

**Author:** [@Beherith](https://forum.world-machine.com/u/Beherith)\
**Replies:** 14\
**Last updated:** [June 29, 2015, 6:59pm UTC](https://forum.world-machine.com/t/ambient-occlusion-plugin/3770 "2015-06-29T18:59:22Z")

</div>

Would there be any interest in an ambient occlusion plugin? I coded one that looks quite reasonable, but its performance isn’t so good (takes about 10 seconds for a 1024^2 heightfield at sensible settings). The source c…

---

## [Teething problems getting started with VC2010 and PDK 2.3.5](https://forum.world-machine.com/t/teething-problems-getting-started-with-vc2010-and-pdk-2-3-5/3650)

<div class="topic-metadata">

**Author:** [@sfriedberg](https://forum.world-machine.com/u/sfriedberg)\
**Replies:** 3\
**Last updated:** [September 21, 2014, 9:53pm UTC](https://forum.world-machine.com/t/teething-problems-getting-started-with-vc2010-and-pdk-2-3-5/3650 "2014-09-21T21:53:38Z")

</div>

First a bit of context. I’ve been programming professionally in C since the late 1980’s for Unix and Linux, but have negligible exposure to the Window development environment. The last time I dabbled (correct word) wit…

---

## [3.0.dev1 PDK Available (8/21/14)](https://forum.world-machine.com/t/3-0-dev1-pdk-available-8-21-14/3591)

<div class="topic-metadata">

**Author:** [@Stephen](https://forum.world-machine.com/u/Stephen)\
**Replies:** 1\
**Last updated:** [February 6, 2018, 12:16am UTC](https://forum.world-machine.com/t/3-0-dev1-pdk-available-8-21-14/3591 "2018-02-06T00:16:32Z")

</div>

A new PDK version matching the current release version is available from the Developer Center.

---

## [Getting the Height outside the current buildcontext](https://forum.world-machine.com/t/getting-the-height-outside-the-current-buildcontext/3527)

<div class="topic-metadata">

**Author:** [@halifacx](https://forum.world-machine.com/u/halifacx)\
**Replies:** 1\
**Last updated:** [May 29, 2013, 12:51am UTC](https://forum.world-machine.com/t/getting-the-height-outside-the-current-buildcontext/3527 "2013-05-29T00:51:41Z")

</div>

Hi, I need to get the heights of an area outside of the buildcontext how can i achieve that? Its for a seamless filter plugin that should make a tile wrappable. Thanks!

---

## [Voronoi column heights from heighfield](https://forum.world-machine.com/t/voronoi-column-heights-from-heighfield/3517)

<div class="topic-metadata">

**Author:** [@Beherith](https://forum.world-machine.com/u/Beherith)\
**Replies:** 16\
**Last updated:** [August 4, 2015, 7:24pm UTC](https://forum.world-machine.com/t/voronoi-column-heights-from-heighfield/3517 "2015-08-04T19:24:52Z")

</div>

I know you are a busy man, but there is one thing that has been bugging me about the voronoi noise generator, And its the fact that I have been tryin to acheive basalt columns ever since WM 1.x, but getting the tops of t…

---

## [Exiting WM & Device IDs](https://forum.world-machine.com/t/exiting-wm-device-ids/3484)

<div class="topic-metadata">

**Author:** [@skylerd](https://forum.world-machine.com/u/skylerd)\
**Replies:** 6\
**Last updated:** [April 19, 2013, 5:10pm UTC](https://forum.world-machine.com/t/exiting-wm-device-ids/3484 "2013-04-19T17:10:08Z")

</div>

Hi again! 2 questions: How can I tell when my devices are being destroyed due to the app closing down? Is there something I can check on the core interface? I’m registering/unregistering devices as part of the commun…

---

## [Saving and loading a heightfield](https://forum.world-machine.com/t/saving-and-loading-a-heightfield/3481)

<div class="topic-metadata">

**Author:** [@skylerd](https://forum.world-machine.com/u/skylerd)\
**Replies:** 4\
**Last updated:** [August 16, 2018, 4:42am UTC](https://forum.world-machine.com/t/saving-and-loading-a-heightfield/3481 "2018-08-16T04:42:17Z")

</div>

Hello again, In another device I’m working on, I’m looking to store a heightfield of diffs from the original heightfield. i.e. If the original heightfield is \[1 1 1 1\] and I want to zero out the diagonal, my diff hei…

---

## [issue with VS2010 express ed.](https://forum.world-machine.com/t/issue-with-vs2010-express-ed/3470)

<div class="topic-metadata">

**Author:** [@kalwalt](https://forum.world-machine.com/u/kalwalt)\
**Replies:** 6\
**Last updated:** [May 31, 2019, 9:31pm UTC](https://forum.world-machine.com/t/issue-with-vs2010-express-ed/3470 "2019-05-31T21:31:21Z")

</div>

i did a succesfull build of the project, but i had to alter the resource.rc file, because i’m using the express edition of the compiler. You need afxres.h but you can switch to windows.h and the code compile. I will repo…

---

## [WM 2.3 PDK now available](https://forum.world-machine.com/t/wm-2-3-pdk-now-available/3467)

<div class="topic-metadata">

**Author:** [@Stephen](https://forum.world-machine.com/u/Stephen)\
**Replies:** 0\
**Last updated:** [March 23, 2013, 5:32am UTC](https://forum.world-machine.com/t/wm-2-3-pdk-now-available/3467 "2013-03-23T05:32:46Z")

</div>

The 2.3 preliminary PDK is now available from the PDK page of the main World Machine website. The final PDK release will include full documentation, but there’s enough example files to get started currently! Please not…

---

## [Param device questions](https://forum.world-machine.com/t/param-device-questions/3465)

<div class="topic-metadata">

**Author:** [@skylerd](https://forum.world-machine.com/u/skylerd)\
**Replies:** 24\
**Last updated:** [March 28, 2013, 9:09pm UTC](https://forum.world-machine.com/t/param-device-questions/3465 "2013-03-28T21:09:44Z")

</div>

Hi there, 2 Questions: When is 2.3 out, and where is its PDK? I noticed somebody mentioned it in a recent forum post. 2)I’m trying to write a plugin that will output parameters (like a seed value) from a separate app…

---

## [WM PDK 2.3 Build Status on Device](https://forum.world-machine.com/t/wm-pdk-2-3-build-status-on-device/3417)

<div class="topic-metadata">

**Author:** [@CKlosters](https://forum.world-machine.com/u/CKlosters)\
**Replies:** 2\
**Last updated:** [February 1, 2013, 9:56am UTC](https://forum.world-machine.com/t/wm-pdk-2-3-build-status-on-device/3417 "2013-02-01T09:56:40Z")

</div>

There used to be a pstate member variable on the device to check what render state was being used by WM I can’t find it anymore in the 2.3 PDK. Can I still access that, or has it been replaced with a get function? I us…

---

## [problem storing preview state in custom output node](https://forum.world-machine.com/t/problem-storing-preview-state-in-custom-output-node/3317)

<div class="topic-metadata">

**Author:** [@CKlosters](https://forum.world-machine.com/u/CKlosters)\
**Replies:** 1\
**Last updated:** [August 23, 2012, 4:23pm UTC](https://forum.world-machine.com/t/problem-storing-preview-state-in-custom-output-node/3317 "2012-08-23T16:23:22Z")

</div>

Hi! I’m building a new export operator that can write out either tiled or single images. All works fine except the preview. I’m calling: StoreOutputContents(output\_set, output, P\_PREVIEW); at the end of my activate fu…

---

## [Updating Parameter Flags](https://forum.world-machine.com/t/updating-parameter-flags/3187)

<div class="topic-metadata">

**Author:** [@CKlosters](https://forum.world-machine.com/u/CKlosters)\
**Replies:** 8\
**Last updated:** [July 13, 2019, 2:39pm UTC](https://forum.world-machine.com/t/updating-parameter-flags/3187 "2019-07-13T14:39:04Z")

</div>

Hi! I’m trying to change parameter flags based on a user action. For example: if the user toggles “Visualize” on or off, I want a parameter to be read only or editable based on the state of Visualize (true or false). I…

---

## [text input field parameter](https://forum.world-machine.com/t/text-input-field-parameter/3181)

<div class="topic-metadata">

**Author:** [@CKlosters](https://forum.world-machine.com/u/CKlosters)\
**Replies:** 4\
**Last updated:** [November 7, 2011, 11:25am UTC](https://forum.world-machine.com/t/text-input-field-parameter/3181 "2011-11-07T11:25:03Z")

</div>

Hi, How can I add and set the context of a simple text field parameter? I can create int/float/bool parameters and enumerators but can’t seem to find a simple method for creating a simple text input field which I can s…

---

## [MSVC 2010 Express](https://forum.world-machine.com/t/msvc-2010-express/3169)

<div class="topic-metadata">

**Author:** [@lwiseman](https://forum.world-machine.com/u/lwiseman)\
**Replies:** 4\
**Last updated:** [November 6, 2011, 4:30pm UTC](https://forum.world-machine.com/t/msvc-2010-express/3169 "2011-11-06T16:30:53Z")

</div>

Hello, I’m trying to build the Example Devices solution with MSVC 2010 Express and am receiving linker errors: 1\>PluginCore.lib(WMPacket.obj) : error LNK2019: unresolved external symbol "private: static void \_\_cdecl std…

---

## [how to force single thread instructions on a generator node](https://forum.world-machine.com/t/how-to-force-single-thread-instructions-on-a-generator-node/3162)

<div class="topic-metadata">

**Author:** [@CKlosters](https://forum.world-machine.com/u/CKlosters)\
**Replies:** 3\
**Last updated:** [April 18, 2019, 4:23pm UTC](https://forum.world-machine.com/t/how-to-force-single-thread-instructions-on-a-generator-node/3162 "2019-04-18T16:23:42Z")

</div>

Hi, What would be the best way to force a process to run single threaded (not sharing or accessing resources). I’m currently working with the ANN library and need to lock some functionality on one thread. I have tried…

---

## [World To Height Map Coordinates](https://forum.world-machine.com/t/world-to-height-map-coordinates/3156)

<div class="topic-metadata">

**Author:** [@CKlosters](https://forum.world-machine.com/u/CKlosters)\
**Replies:** 10\
**Last updated:** [August 6, 2019, 2:47am UTC](https://forum.world-machine.com/t/world-to-height-map-coordinates/3156 "2019-08-06T02:47:26Z")

</div>

Hello, I’m trying to wrap my head around the various spaces being active or available in WM. Creating generic filters or iterating over all coordinates fetching their corresponding world space coordinates works fine. …

---

## [Device::GetLayoutUI](https://forum.world-machine.com/t/device-getlayoutui/3090)

<div class="topic-metadata">

**Author:** [@semler](https://forum.world-machine.com/u/semler)\
**Replies:** 11\
**Last updated:** [March 31, 2011, 8:07am UTC](https://forum.world-machine.com/t/device-getlayoutui/3090 "2011-03-31T08:07:54Z")

</div>

Hi, I’m a games programmer and I need to create a better road layout tool for our gfx team - preferably as a plugin to world machine. I’ve looked at the PDK and I think I have to somehow provide my own layout manipulato…

---

## [I need a way to export information about 'File Input' device.](https://forum.world-machine.com/t/i-need-a-way-to-export-information-about-file-input-device/3053)

<div class="topic-metadata">

**Author:** [@dagri](https://forum.world-machine.com/u/dagri)\
**Replies:** 1\
**Last updated:** [December 2, 2010, 10:16pm UTC](https://forum.world-machine.com/t/i-need-a-way-to-export-information-about-file-input-device/3053 "2010-12-02T22:16:37Z")

</div>

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’. …

---

## [How to find a tiles name?](https://forum.world-machine.com/t/how-to-find-a-tiles-name/3052)

<div class="topic-metadata">

**Author:** [@dagri](https://forum.world-machine.com/u/dagri)\
**Replies:** 1\
**Last updated:** [November 25, 2010, 2:08am UTC](https://forum.world-machine.com/t/how-to-find-a-tiles-name/3052 "2010-11-25T02:08:43Z")

</div>

Hello, I wonder how to find a tiles name in the doOutput function? Where has a tiles name info?

---

## [How to make a device that can tiled build?](https://forum.world-machine.com/t/how-to-make-a-device-that-can-tiled-build/3051)

<div class="topic-metadata">

**Author:** [@dagri](https://forum.world-machine.com/u/dagri)\
**Replies:** 4\
**Last updated:** [November 24, 2010, 2:27pm UTC](https://forum.world-machine.com/t/how-to-make-a-device-that-can-tiled-build/3051 "2010-11-24T14:27:49Z")

</div>

Hello, I made a my device. and it works well. I want to make the device for tiled build. I changed below code. \[code\]virtual bool isExporting(OUTPUT\_MODE mode) { return false; }\[/code\] to virtual bool isExporting(O…

---

## [WM 2.2 PDK is now available](https://forum.world-machine.com/t/wm-2-2-pdk-is-now-available/2996)

<div class="topic-metadata">

**Author:** [@Stephen](https://forum.world-machine.com/u/Stephen)\
**Replies:** 0\
**Last updated:** [May 4, 2010, 1:26am UTC](https://forum.world-machine.com/t/wm-2-2-pdk-is-now-available/2996 "2010-05-04T01:26:54Z")

</div>

Hey folks, The PDK has been updated to be compatible with the new 2.2 release of World Machine! It’s available here: http://www.world-machine.com/dev.html

---

## [Possibility of new export format?](https://forum.world-machine.com/t/possibility-of-new-export-format/2976)

<div class="topic-metadata">

**Author:** [@chalackd](https://forum.world-machine.com/u/chalackd)\
**Replies:** 3\
**Last updated:** [May 30, 2010, 5:16pm UTC](https://forum.world-machine.com/t/possibility-of-new-export-format/2976 "2010-05-30T17:16:04Z")

</div>

Hi, I’ve been playing around with WM2 Pro for some time now and I have to say that it’s a wonderful program for making spectacular terrains on a large scale. I’ve been working with an online program called ActiveWorlds,…

[Next page](https://forum.world-machine.com/c/plugin-development/10.md?page=1)
