Ambiera ForumDiscussions, Help and Support. |
|
|
|||||
|
I modified an old plugin that I had made some time ago. Once you've found an image format that can be loaded by javascript (PGM) I modified the old plugin to read it. There are two ways to create a pgm file compatible with the plugin. 1) the program GIMP. (creates the image). 2) the program IrfanView. (converts the image). First method. Open GIMP, create a new project by giving the X, Y (101.101 *). rempiamo the image of black (which equivalent the minimum value 0), then we use shades of gray to white (which equivalent the maximum value 255) to create the mountains. save the image in PGM format in ASCII version. Second method. We open the image with IrfanView convert in Grayscale, resize the X, Y (101.101 *). Save the image in PGM format ASCII version. Let us now CopperCube create a plane with Tile Count (10000 *), Width (3000), Length (3000), Repeat texture (100). * value required to run the plugin. We position the plane in the X, Y, Z (0,0,0). Select the plane to go to the plugins menu and launch LoadfilePGM load the image you created earlier and have fun. Download the file:https://www.dropbox.com/s/fp3i4z... Video Tutorial: http://youtu.be/I0VHDmN_nAs PS: Translation by Google. |
||||
|
Nice idea, useful. Thanks for posting! |
||||
|
@ Niko Thank you. I found a programming error does not cause problems to that object, it is just annoying. Open the plugin with a text program to go in row: if (pgmgimp <0 | | pgmirf <0) alert ('The format is not compatible with the plugin'); Replace with: if (pgmgimp <0 && pgmirf <0) alert ('The format is not compatible with the plugin'); |
|