• Welcome to World Machine Community. Please login or sign up.
 
October 15, 2019, 10:31:45 am

News:

Read the Development Diary for an inside look at World Machine's progress!


Generator "From file" misses scale data

Started by Polynaught, January 07, 2014, 05:55:45 am

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Polynaught

WM bugs out when trying to load another *.raw image file than the one that is currently loaded by the generator.
It claims that there is "No scale data present in file!" although WM loads the same *.raw image just fine when I create a new world and load it in there via a newly created "from file" generator node.
Using the latest pro build (2.9.something).

Stephen

Hi there,

Is there any problem with the file other than WM saying that there is no scale info present?

That message (which is not especially illuminating, I would agree) is something that WM should always say when loading a RAW file -- WM is referring to if there is built-in scale information about the geographical elevations in the file. So formats like TER will mention they contain scale info, while PNGs, RAWs, etc do not -- they are only greyscale image files.
-- Stephen Schmitt
- Creator of World Machine

Polynaught

Hey Remnant,

to me the file looks ok. I can open it inside Photoshop just fine by setting its channels to 1, Interleave off, color depth to 16bit and byte order to IBM PC.
It even got more interesting right now. Yesterday I created a graph from scratch and threw in the "from file" generator device. It could load the *.raw file just fine. So I copied the device into memory and switched over to the graph that already existed and which wouldn't load the *.raw file anymore.
I pasted the device from memory into the graph and voila WM correctly recognized the data. This way I could reroute the wires inside that graph to the new "from file" generator and delete the old generator. WM was perfectly able to evaluate the graph and give me the desired outputs.
I saved the graph and exited WM.
Today I restarted WM and reopened that same graph file. All wires are displayed as dashed lines. The error originates in the pasted device - all I see when opening the "from file" device is a blank preview and that message. Trying to load another *.raw image yields no different results.

Stephen

interesting. I haven't heard from anyone else with this issue before. If you are willing, can you send the relevant world and raw files to [email protected] so that I can investigate further?
-- Stephen Schmitt
- Creator of World Machine

Polynaught


hogjonny

This morning I encountered this same problem ...

I am utilizing relative paths:
        C:\depot\project\worldmachine\basicworld

And I am trying to load a *.raw file from:
        C:\depot\project\worldmachine\basicworld\inputs\height.raw

IF 'use absolute path for filename' is checked in the File Input Node, the image loads fine (and displays the warning 'No scale data present in file!')
        full path:  C:\depot\project\worldmachine\basicworld\inputs\height.raw

IF I uncheck that box (for relative path), the image will not load:
        relative path: Input\basicTemplate_4k.raw

Additionally,
- If you start with it checked, then load the image, then uncheck it ... the path doesn't update.  It seems this flag only modifies the next image load.


skype: hogjonny

Quick Reply

With Quick-Reply you can write a post when viewing a topic without loading a new page. You can still use bulletin board code and smileys as you would in a normal post.

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.

Note: this post will not display until it's been approved by a moderator.

Name:
Email:
Verification:
Please leave this box empty:
Type the letters shown in the picture
Listen to the letters / Request another image

Type the letters shown in the picture:

Shortcuts: ALT+S save/post or ALT+P preview