Planetside Software Forums

General => Terragen Discussion => Topic started by: cyphyr on May 01, 2009, 12:04:39 PM

Title: How do I load Image Map sequences
Post by: cyphyr on May 01, 2009, 12:04:39 PM
Quote from: planetside anouncementFilename sequences in the Image Map Shader now work in the GUI (e.g. using %04d to represent the frame number). These images are reloaded whenever the frame number is changed in the timeline and while rendering an image sequence.

Anybody got any idea how this actually works?

:)

Richard
Title: Re: How do I load Image Map sequences
Post by: neuspadrin on May 01, 2009, 12:10:42 PM
Just checked, it confirmed:

Have your images named in some format.  example: 1-9 as 1-9, 1-99 as 01-99, 1-999 as 001-999, etc.

So lets say you have have 2000 frames, so you need to go from 0001 to 2000, so Map_0001.jpg to Map_2000.jpg

Then, in terragen load one of them, doesn't really matter.  Now change the filename of the map to
Path\to\directory\of\images\Map_%04d.jpg.

It should now auto load 1-2000 depending on the frame.

But lets say you only have 2000 frames, but named your images Map_00001 to Map_02000.. it wont load those as is!
Simple fix ;), change the %04d to %05d.

The %(number)d allows you to choose how many leading zeros to use on numbers under a certain amount.  So %01d would be simply 1,2,3, etc, %02d 01,02,03.... 

Title: Re: How do I load Image Map sequences
Post by: swissAdA on May 01, 2009, 12:14:47 PM
Yes, this is how it works. 've tested it
Title: Re: How do I load Image Map sequences
Post by: neuspadrin on May 01, 2009, 12:20:17 PM
Also, in the 3d preview you may sometimes need to force it to redraw to update the shader to the current frame.
Title: Re: How do I load Image Map sequences
Post by: cyphyr on May 01, 2009, 12:46:39 PM
Gave it a quick go, and yep it dose work as advertised. I had hoped that it would motion blur the differences between frames but alas this is not to be ...
thanks
richard
Title: Re: How do I load Image Map sequences
Post by: Oshyan on May 02, 2009, 12:16:31 AM
Motion blur is only available for camera motion at present.

- Oshyan
Title: Re: How do I load Image Map sequences
Post by: cyphyr on May 02, 2009, 06:03:39 AM
Really, I was sure I'd seen its effects on moving objects as well, maybe my camera was moving at the same time :)
thanks
Richard
ps is full motion blur on the list for future updates?
Title: Re: How do I load Image Map sequences
Post by: Oshyan on May 02, 2009, 03:12:32 PM
We haven't specifically discussed "full" motion blur, but I think it's an obvious feature to add.

- Oshyan