Re: export terrain block crash

#11
Hey there, I have taken the liberty of deleting the duplicate posts. Please be aware you can edit your posts rather than create new duplicates ;).
To show an inline image you must first add an image as an attachment.

When creating your post, go to Attachments below the submit button and choose "Add Files". Choose your image. Then choose Place Inline next to the image that you have attached to display it where you desire in your post.
--

Interesting how the resize flatted the original area. I cannot reproduce on my end.
Can you run through some steps to easily reproduce this?

You can also export the heightmap, load in an image editing tool like photoshop, resize terrain and re-export, paste your block in the new exported heightmap and save, then import the heightmap back into CRYENGINE.
This should not be necessary, but it would be a working workflow for now while you are having issues with resizing.
Uniflare
CRYENGINE Technical Community Manager
Here to help the community and social channels grow and thrive.

My personal belongings;
Beginner Guides | My GitHub | Splash Plugin

Re: export terrain block crash

#12
" I'll use the manual way , but I hope my image makes it clear what I did was a very simple resize which should be easily reproduciable , unless its bc I chose to use .25 for meters ?
Please elaborate a bit. "

EDIT aBOve: I can't , though I tried , thought I knew what you mean, but its making zero sense, I'm fine UP to where I export my terrain in CE, but where its NOT making sense , is where you want me to re-size and re-export, and past 'block' into my 'exported terrain.
IE:
" You can also export the heightmap, (DONE), load in an image editing tool like photoshop, (DONE) , resize terrain and re-export, paste your block in the new exported ( How can I 'paste' anything into something , that at that point has only be 'exported' ? That's what isn't making sense to me .


Something is missing ? ;00-

Anymore here are two pics, one before I resized and after, to 4096 keeping all the same.Before waS 1024 ( and too small given my sculpting)::
Attachments
pic2.jpg
pic2.jpg (93.77 KiB) Viewed 631 times
pic1.jpg
pic1.jpg (93.66 KiB) Viewed 631 times

Re: export terrain block crash

#13
Hey there,

These are the steps I took;

1. Create a new level with 1024 at 1mpu
2. Generate Terrain
3. Resize terrain to 2048 at 1mpu

This is the result:
TerrainGenResize.PNG
TerrainGenResize.PNG (843.7 KiB) Viewed 538 times
If you change the mpu from 1mpu at 1024 to 0.25mpu at 2048 then the terrain will "shrink" (it will be half the size of the original). In which case it may break the terrain.
---

Regarding using Photoshop;
1. Create a new level with 1024 at 1mpu
2. Generate Terrain
3. Export the terrain heightmap (terrain_gen.raw)
4. Resize terrain to 2048
5. Export heightmap again (terrain_new.raw)
6. Open terrain_new.raw in photoshop as 16bit single channel IBM PC byte order.
7. Open terrain_gen.raw the same settings (ofc, smaller)
8. Copy the data from terrain_gen to terrain_new somewhere you want.
9. Save as .raw file in IBM byte order as normal.
10. In sandbox, import the newly saved terrain heightmap.
Uniflare
CRYENGINE Technical Community Manager
Here to help the community and social channels grow and thrive.

My personal belongings;
Beginner Guides | My GitHub | Splash Plugin

Re: export terrain block crash

#14
Working on it, btw:
I do not have Photoshop given my current ECO situation.
I have gimp but it does NOT like raw files, at all- even though I have darktable- darktable can't load raw files well - not at least this one, and I never was given a option to choose options as you suggested,,,Krita does offer settings on import, but none of them matched what you said to use,,not even close, or I"m not seeing it...

I tried Krita- epic failure as Gimp.
I use windows 10 pro
I do have Photoshop elements 4, but its semi limted for raw files, - can't install it as atm I have no working dvd drive , and on disability income , ain't happenin--I 'could' grab my laptop ( newer, decent ISH, and copy to usb, but I"m not in the mood after this giant headache.
Rather annoying that everyone assumes we're all made of money ;) Yes I know you can use PS for $10 mo or whatever that is, but why would I at my income level , knowing I won't get out of it what's worth the investment, given my relatively current, weak image skills ,,WIP :_)_

So I went with PGM export which seems to have loaded fine in Gimp,update as this goes...
OK so I can't cancel this post,,,,why ?

SO I must keep going ( new edit as I can't canel ) ;
The open image in gimp, paste ,all worked fine if not crazy annoying--I'm patient to a point . Tried to import into CE, did not work got error about: PGM size 0x0, heightmap is 1024x1024, proceed with cliping ?

No idea why, I made the image as instructed , it look right,,big image, much smaller 'paste' of my terrain in the middle...all fine ...but it won't import , I exported this time with Kirta as it has overall DECENT export settings...I exported as pgm binary not ascii.

Any idea whats up ?


ty

Re: export terrain block crash

#16
PS:
I also tried:

Used method: Export the file on Gimp: Ctrl Shift E. On the export window, choose Raw Image Data on Select File Type. Click on Export button. On the raw image export window, Choose Planar for the RGB Save Type Click on Export button. Open the folder where the file was saved and rename his extension from .data to .raw.

Import error:
Bad raw file: raw file must be 8192xd 16 bit image. Well its def. 8192,,and the rest is obvious.
EDIT: btw, I waS able to resize 'a' terrain ( not my actual terrain !), by following your example of making 1024 1 ppm, generated terrain which changes it alot and interestingly and resized successsfully!

I tried editing mine around the edges, flattening it completely around the edges.
One time you noted, you successfully exported a block of yours with much higher terrain than mine, yet mine isn't working at all.

CE certainly does NOT like something to do with my terrain, and trying to go the long way around with gimp/krita, is NOT working and I tried everything,including exporting pgm and completely nadda.


Ideas ?

Who is online

Users browsing this forum: No registered users and 4 guests