vSky 0.1a release

PC related discussion and other issues.

Re: vSky 0.1a release

Postby jister on Sun Dec 13, 2009 1:06 am

awesome tool guys! hats off!!
User avatar
jister
May Contain Skills
May Contain Skills
 
Joined: Wed May 11, 2005 7:35 pm

Re: vSky 0.1a release

Postby Surfa on Sun Dec 13, 2009 1:07 am

It should be fixed now
Last edited by Surfa on Sun Dec 13, 2009 1:29 am, edited 1 time in total.
Surfa
May Contain Skills
May Contain Skills
 
Joined: Sun Dec 30, 2007 3:04 pm

Re: vSky 0.1a release

Postby source-maps on Sun Dec 13, 2009 1:29 am

nice job, this will come in handy :)
User avatar
source-maps
Forum Goer Elite™
Forum Goer Elite™
 
Joined: Fri Feb 09, 2007 7:50 pm
Location: The Netherlands

Re: vSky 0.1a release

Postby Surfa on Thu Jan 07, 2010 4:21 pm

After a massive one request from myself I added a .txt generator for the .pfm files. Even thought this doesn't take as much time as the vmt creation it still got on my nerves so I added that feature.

I also made it so a little message box appears when it is finished. I was going to fix the progress bar but I got lazy. I will be adding the new l4d commands soon. I also wrote a small tutorial found on my site but I don't think you guys will need it.
http://www.icy-bee.co.uk/?p=23

I will be adding support for custom folders in the skybox directory at some point at the moment it think you will place the vtfs and vmts in the materials/skyvbox folder. Although today I was just mainly fixing bugs and this wasn't meant to be release anyway I was just converting vcool's app for my own personal use but if some people find it useful then it is all good in the hood.
Download Link
Surfa
May Contain Skills
May Contain Skills
 
Joined: Sun Dec 30, 2007 3:04 pm

Re: vSky 0.1a release

Postby marnamai on Tue Feb 02, 2010 4:14 pm

Surfa I found a small but rather annoying bug, when using Vsky it doesn't adds a "_" between the skyboxname and side (bk,dn,ft,lf,rt,up)

Only happens with the basetexture not with the hdrcompressedtexture.

edit: after I edited the files and running a map with my new skybox I get these errors in the console (sky shows up as purple black checkers)
Code: Select all
KeyValues Error: RecursiveLoadFromBuffer:  got EOF instead of keyname in file materials/skybox/dwnfallsky01_hdrrt.vmt
Sky,
Error! Variable "1" is multiply defined in material "skybox/dwnfallsky01_hdrrt"!
Error! Variable "1" is multiply defined in material "skybox/dwnfallsky01_hdrrt"!
Error! Variable "1" is multiply defined in material "skybox/dwnfallsky01_hdrrt"!
KeyValues Error: RecursiveLoadFromBuffer:  got EOF instead of keyname in file materials/skybox/dwnfallsky01_hdrbk.vmt
Sky,
Error! Variable "1" is multiply defined in material "skybox/dwnfallsky01_hdrbk"!
Error! Variable "1" is multiply defined in material "skybox/dwnfallsky01_hdrbk"!
Error! Variable "1" is multiply defined in material "skybox/dwnfallsky01_hdrbk"!
KeyValues Error: RecursiveLoadFromBuffer:  got EOF instead of keyname in file materials/skybox/dwnfallsky01_hdrlf.vmt
Sky,
Error! Variable "1" is multiply defined in material "skybox/dwnfallsky01_hdrlf"!
Error! Variable "1" is multiply defined in material "skybox/dwnfallsky01_hdrlf"!
Error! Variable "1" is multiply defined in material "skybox/dwnfallsky01_hdrlf"!
KeyValues Error: RecursiveLoadFromBuffer:  got EOF instead of keyname in file materials/skybox/dwnfallsky01_hdrft.vmt
Sky,
Error! Variable "1" is multiply defined in material "skybox/dwnfallsky01_hdrft"!
Error! Variable "1" is multiply defined in material "skybox/dwnfallsky01_hdrft"!
Error! Variable "1" is multiply defined in material "skybox/dwnfallsky01_hdrft"!
KeyValues Error: RecursiveLoadFromBuffer:  got EOF instead of keyname in file materials/skybox/dwnfallsky01_hdrup.vmt
Sky,
Error! Variable "1" is multiply defined in material "skybox/dwnfallsky01_hdrup"!
Error! Variable "1" is multiply defined in material "skybox/dwnfallsky01_hdrup"!
Error! Variable "1" is multiply defined in material "skybox/dwnfallsky01_hdrup"!
KeyValues Error: RecursiveLoadFromBuffer:  got EOF instead of keyname in file materials/skybox/dwnfallsky01_hdrdn.vmt
Sky,
Error! Variable "1" is multiply defined in material "skybox/dwnfallsky01_hdrdn"!
Error! Variable "1" is multiply defined in material "skybox/dwnfallsky01_hdrdn"!
Error! Variable "1" is multiply defined in material "skybox/dwnfallsky01_hdrdn"!


I think it happens because of the extra space behind the parameters
Code: Select all
"Sky"
{
"$hdrcompressedTexture " "skybox/dwnfallsky01_hdrbk
"$nofog " "1"
"$ignorez " "1"
"$basetexture " "skybox/dwnfallsky01_bk"
}


edit:
I think it 's something else then the space because it still doesn't works ... I redid the hdr vmt's manually and they works now.

Code: Select all
this is from the Vsky = doesn't works

"Sky"
{
"$hdrcompressedTexture" "skybox/dwnfallsky01_hdrft
"$nofog" "1"
"$ignorez" "1"
"$basetexture" "skybox/dwnfallsky01_ft"
}


this is mine and it works ingame
"sky"
{
   "$hdrcompressedTexture" "skybox/dwnfallsky01_hdrup"
   "$nofog" "1"
   "$ignorez" "1"
   "$basetexture" "skybox/dwnfallsky01_up"
}
User avatar
marnamai
Veteran
Veteran
 
Joined: Thu Nov 10, 2005 12:17 pm
Location: Belgium

Re: vSky 0.1a release

Postby Surfa on Tue Feb 02, 2010 6:15 pm

I would like to apologise to anyone who came up on these errors. I have upload a nice fixed version to
http://icy-bee.co.uk/vsky/vsky.rar
also feel free to browse through the code but if you make changes and release them give me some credit please.
http://icy-bee.co.uk/vsky/vsky-code.rar
Surfa
May Contain Skills
May Contain Skills
 
Joined: Sun Dec 30, 2007 3:04 pm

Re: vSky 0.1a release

Postby Chopium on Wed Feb 03, 2010 1:59 am

I never fully tried to work with this application, but now I really find it a time saver for these larger-scale projects. There are some things that could be added to make this program really shine. Vsky could very well be the most useful tool for skybox making!

-Instead of making all the files in one go, it should create HDR .VMTs, LDR .VMTS, and Vtex .TXTs separately.


-The Vtex .TXTs should be the same, but with one added option. You enter in the scale you want the PFM. Example:

Code: Select all
"pfm" "1"
"pfmscale" "-VARIABLE-" //Like ".6"



-LDR and HDR look right with the parameters and it works like a beauty, but I want one more option for them. $color would allow for a higher exposure skybox to mimic a lower exposure without color blobbing. Example:

Code: Select all

   "$color" "[-VARIABLE-]" //Like "[.7 .3 .2]"



-The Left 4 Deads have the same HDR VMT layout

For Left 4 Dead 1:
Code: Select all
sky
{
"GPU<1"
{
$fallbackmaterial "skybox/sky_day01_09_ldrbk"
}
$hdrcompressedTexture "skybox/sky_day01_09_hdrbk"
$nofog 1
$ignorez 1
$basetexturetransform "center 0 0 scale 1 2 rotate 0 translate 0 0"
}

(Left 4 Dead 1 needs a separate VMT and VTF for its LDR texture.)


For Left 4 Dead 2:
Code: Select all
sky
{
"GPU<1"
{
$fallbackmaterial "skybox/sky_l4d_c1_1_ldrbk"
}
$hdrcompressedTexture "skybox/sky_l4d_c1_1_hdrbk"
$nofog 1
$ignorez 1
$basetexturetransform "center 0 0 scale 1 2 rotate 0 translate 0 0"
}

(Left 4 Dead 2 doesn't need a fallback LDR VMT or VTF, it takes the HDR VTF and clamps at Stop 0.)


For other games before them, the program works fine as is. I love the program mang(es).

SURFA: I used your current version just now. If it is you that will be doing these changes, please note that your code puts the stretch parameter on the bottoms and tops. It doesn't go there.
User avatar
Chopium
Senior Member
Senior Member
 
Joined: Sun Apr 12, 2009 1:52 am
Location: Illinois

Re: vSky 0.1a release

Postby vcool on Wed Feb 03, 2010 2:40 am

Hey, great someones put the thing to good use! :D

Surfa kindly gave me his code for me to perfect it on C#, which dramatically reduces file size, but I've kinda dropped working on it. But since you are showing active interest, Chop, I might start working on it again. I have a reading week coming up in a week, I could try squeezing some things. I'll need to rediscover C# again, though.
Image

Neighborhood Forum Elitist
User avatar
vcool
Veteran
Veteran
 
Joined: Fri Jun 23, 2006 1:03 am
Location: USSR

Re: vSky 0.1a release

Postby Surfa on Fri Feb 05, 2010 10:28 pm

Sorry about this the code I gave you was outdated vcool so go download the new version. Also I will add this new stuff chop. Thanks for the information. The main bugs I had were cause by my lack of knowledge on the subject.
Surfa
May Contain Skills
May Contain Skills
 
Joined: Sun Dec 30, 2007 3:04 pm

Re: vSky 0.1a release

Postby Surfa on Sat Feb 06, 2010 12:46 am

Fuck I am knackered. Anyway I updated the program with the fixes and hopefully it should work out fine. Please remember to post any errors you come across in this thread so I can fix them thank you. Also this version comes with a little system that will tell you when your version is out of date.
Build:
http://icy-bee.co.uk/vsky/vsky.rar

Code:
http://icy-bee.co.uk/vsky/vsky-code.rar
Surfa
May Contain Skills
May Contain Skills
 
Joined: Sun Dec 30, 2007 3:04 pm

Re: vSky 0.1a release

Postby Dr. Delta on Sat Feb 06, 2010 4:09 am

Surfa wrote:Fuck I am knackered. Anyway I updated the program with the fixes and hopefully it should work out fine. Please remember to post any errors you come across in this thread so I can fix them thank you. Also this version comes with a little system that will tell you when your version is out of date.
Build:
http://icy-bee.co.uk/vsky/vsky.rar

Code:
http://icy-bee.co.uk/vsky/vsky-code.rar


What changed?
User avatar
Dr. Delta
Veteran
Veteran
 
Joined: Thu Dec 27, 2007 1:18 pm
Location: People's Republic of Porygon

Re: vSky 0.1a release

Postby Surfa on Sat Feb 06, 2010 10:59 am

The links haven't changed but: I added support for the $color parameter and you can now change the pfm scale also I fixed a bug with the stretch sides.
Surfa
May Contain Skills
May Contain Skills
 
Joined: Sun Dec 30, 2007 3:04 pm

Re: vSky 0.1a release

Postby Terr on Sat Feb 06, 2010 6:35 pm

Last time I talked about a Python program a bunch of map-developers complained about having to download it. Of course, they all already had Java because they'd been using Pakrat, so...
Terr
Sir Post-a-lot
Sir Post-a-lot
 
Joined: Mon Oct 12, 2009 11:35 pm

Re: vSky 0.1a release

Postby vcool on Sat Feb 06, 2010 9:38 pm

Terr wrote:Last time I talked about a Python program a bunch of map-developers complained about having to download it. Of course, they all already had Java because they'd been using Pakrat, so...


I knew that so I compiled an executable.
Image

Neighborhood Forum Elitist
User avatar
vcool
Veteran
Veteran
 
Joined: Fri Jun 23, 2006 1:03 am
Location: USSR

Re: vSky 0.1a release

Postby Surfa on Sun Feb 07, 2010 3:44 pm

Have you used the latest version chop? Does it work like it should?
Surfa
May Contain Skills
May Contain Skills
 
Joined: Sun Dec 30, 2007 3:04 pm
PreviousNext

Return to Hardware & Software

Who is online

Users browsing this forum: No registered users

cron