[Addressed] Please help me with an editing problem.

[Addressed] Please help me with an editing problem.

Postby Dratz-_C » 15 Dec 2012, 01:49

Hi folks,
I am having some difficulty with the map editor in the latest SVN. I would like to make the center of the envlayer match the center of the picture I choose for it. Seemingly however there is a problem offsetting /envlayer skyboxes/stormydays_dn to match the original picture. There seems to be no way I can do it. Is this intentional behavior, or should I report this as a ticket on the SVN trac, suggesting something like /envlayeroffset? I am very grateful for your help.
For those of us who are visually oriented I'll post some pictures.
Here is the original picture.
stormydays_dn_example.jpg

Here is what the editor does with it when I add it as an /envlayer seemingly with no way to right the offset. I am using /envfade so it might not be so obvious but look at the cross in the middle of the envlayer. This is using /envscale 1.
envlayer-_unwanted-offset.jpg

Cheers
Last edited by Dratz-_C on 18 Dec 2012, 23:01, edited 1 time in total.
User avatar
Dratz-_C
 
Posts: 409
Joined: 03 Mar 2012, 00:13
Location: North Carolina, United States of America

Re: Please help me with an editing problem.

Postby S.E.S » 15 Dec 2012, 13:14

Not sure I understand correctly, but if you used a file to a skybox in envlaeyr, then, I think, is something crooked and should be, for it is no good for this, because the are not glued edges.
User avatar
S.E.S
 
Posts: 82
Joined: 08 Apr 2012, 11:43

Re: Please help me with an editing problem.

Postby Dratz-_C » 15 Dec 2012, 15:59

Hi S.E.S,
Thanks for your post. I shall try to explain. I am spinning it so it won't always be straight with the gridlines. What I am talking about is that the corners of the original image are in the center of the envlayer. However, I would like center of the image, the eye of the storm, to be in the center of the envlayer. I would like it displayed in a 1:1 ratio with no tiling so seamless edges are unnecessary.
To clarify here is what is happening to the image. Please remember that I would like the eye in the center of the envlayer and not divided between the four corners.
envlayer-_unwanted-offset_02.jpg

Cheers
User avatar
Dratz-_C
 
Posts: 409
Joined: 03 Mar 2012, 00:13
Location: North Carolina, United States of America

Re: Please help me with an editing problem.

Postby raiden » 15 Dec 2012, 18:47

I would help if I could. I havn't seen this phenomenon until now. There must be a simple reason for it. Maybe someone of the specialists on irc can help you?
sorn
cutec
syndicate
metalhead

ingame: .uEn|r4iden
User avatar
raiden
 
Posts: 331
Joined: 23 Jan 2012, 12:59
Location: Berlin, Germany

Re: Please help me with an editing problem.

Postby Dratz-_C » 15 Dec 2012, 19:39

Hi raiden,
Thanks for your suggestion. I'll check irc.
Cheers
User avatar
Dratz-_C
 
Posts: 409
Joined: 03 Mar 2012, 00:13
Location: North Carolina, United States of America

Re: Please help me with an editing problem.

Postby Dratz-_C » 15 Dec 2012, 20:42

Hello again,
For 1.3.1 according to eihrul on irc the way to offset envlayer is to type /envlayer <offset:512,512>skyboxes/stormydays_dn. This method works for cloudlayer as well. Here is what he said in irc.
[13:53] <@eihrul> you are putting /envlayer <offset:512,512>skyboxes/stormydays_dn
[13:53] <Dratz-_C> ok, from the editor then
[13:54] <@eihrul> in the long term i could add some envoffsetx and envoffsety vars
[13:56] <@eihrul> well, i added the offset vars to svn too
[13:56] <@eihrul> but that's svn only
[13:57] <@eihrul> the <offset:512,512> will work for all versions, so for now is best way

Cheers
User avatar
Dratz-_C
 
Posts: 409
Joined: 03 Mar 2012, 00:13
Location: North Carolina, United States of America

Re: Please help me with an editing problem.

Postby S.E.S » 16 Dec 2012, 13:28

To Dratz-_C:

Already added up and running. Good news!

New parameters:
"cloudoffsetx" and "clodoffsety" for cloudlayer.
"envoffsetx" and "envoffsety" for envlayer.

In contrast to the method described Eihrul, new parameters is floating point (from 0.0 to 1.0).
That is, in your case, the parameters may need to be equal to 0.5.
User avatar
S.E.S
 
Posts: 82
Joined: 08 Apr 2012, 11:43

Re: Please help me with an editing problem.

Postby raiden » 16 Dec 2012, 14:11

Hey, thumbs up Dratz-_C and thanks to Eiruhl again :) .
sorn
cutec
syndicate
metalhead

ingame: .uEn|r4iden
User avatar
raiden
 
Posts: 331
Joined: 23 Jan 2012, 12:59
Location: Berlin, Germany

Re: Please help me with an editing problem.

Postby Dratz-_C » 18 Dec 2012, 22:58

I looked on the repository and eihrul added cloudoffsetx and cloudoffsety, in addition to envoffsetx and envoffsety, to SVN version 4547.
Cheers
User avatar
Dratz-_C
 
Posts: 409
Joined: 03 Mar 2012, 00:13
Location: North Carolina, United States of America

Who is online

Users browsing this forum: No registered users and 1 guest