mcjVoxelTerraWeb


================================================================================
Introduction
================================================================================

This is the online/web version of the Daz Script mcjVoxelTerra available here :https://sites.google.com/site/mcasualsdazscripts9/mcjvoxelterra

A script that converts images into props ( wavefront .obj files )

the brightness of a pixels corresponds to the height of the terrain

there's a mode where the object is made of tall cubes and one where it's simple facets


================================================================================
History
================================================================================

January 20th 2018 6:42 AM -  Release V1



================================================================================
Installation
================================================================================

For Offline use ( web page resides on your hard disk )


The zip package is found at the bottom of this page


unzip it where you please


the files are inside a folder named mcjVoxelTerraWeb


so lets say you put it in F:\


then you can launch it with the url "file:///F:/mcjVoxelTerraWeb/index.html"




================================================================================
The "Live" Online Version
================================================================================

i may eventually see if i can get it to run on my google-sites site 


================================================================================
Use
================================================================================

Object Width ( X ): Object Depth ( Z ): Object Height ( Y ): 

Specify a size (cm) for the object that will be created.

The height is the size for the full-white pixels in the image.

Tesselation Width ( X ): Tesselation Depth ( Z ): Tesselation Height ( Y )
Also specify the tesselation / divisions.

[Invert Brighness vs Height ] checkbox
Use this  to specify if a fully-white pixel means high altitude or ground altitude

[No facets when height = 0] checkbox
Use this to specify if a facet/cube should be created for ground-level pixels

Type of object produced
Tall square sticks : 6 facets per cell, facets are not welded
Welded Square facets : 1 facet per cell, all facets are welded ( the usual terrain prop ! )

 [Choose File]  Button
Click this button and supply a path to an existing image.
the color-to-height function is Height * (Red+Green+Blue)/765
where r, G, B are values between 0 and 255

The [Click Here to Create and Download .obj File] Button
This will create the .obj file text and download it to wherever your browser saved downloads


================================================================================
License
================================================================================
This script makes use of FileSaver.js 1.3.4 * By Eli Grey, http://eligrey.com License: MIT License

// by mCasual/Jacques

// You can use this script freely for personal or commercial use.

// You may not resell, distribute for profit, sub-license or rent this script in any way.

// you may credit this script to mCasual/Jacques

//

// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,

// INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR

// PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE

// FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,

// ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.



ċ
mcjVoxelTerraWeb.zip
(54k)
mCasual Jacques,
Jan 20, 2018, 3:35 AM
Comments