WiP in WiP, post your screenshots!

fubarFX

The "raw" in "nodraw"
aa
Jun 1, 2009
1,721
1,985
EB46A6EDA28659D66CDFCDB874EE493362724217
should I be expecting a witch house map?
 

Skittelz

L6: Sharp Member
Mar 17, 2016
399
281
I'm hyped. Well, you should be hyped but i'm hyped too.
Snowforest A4/B1 (will be B1)
Holy shit Point C added a building and more stuff
And my very first successful boat import/export place.
a4.PNG

a42.PNG
 

re1wind

aa
Aug 12, 2009
644
588
That doesn't make it any less impressive.

Curious as to how many T-junctions that creates and how you'd go about optimizing visibility and rendering.
 

Hyperion

L16: Grid Member
aa
Jun 8, 2015
840
659
Doing unnecessary detailing before even completing the map
t27F978.jpg
t4tv2JS.jpg
AOUK6Jr.jpg

I just realised how small the silo is...
 

re1wind

aa
Aug 12, 2009
644
588
players will get caught on those blue signs, unless you've pre-emptively clipped them. Also, the doorway.

edit: are those light props solid?
 
Last edited:

Hipster_Duck

L2: Junior Member
Dec 20, 2015
99
71
Yep, all clipped. I only clipped the sides of the signs though, this allows people to get on top of the shorter display cabinets by using them as steps.

Edit: Nope, light props arn't solid.
 
Last edited:

leops

L1: Registered
Jun 30, 2012
20
36
Unexpectedly entering the discussion by smashing through the window, here comes your bi-annual (Valve time) report of me trying to render VMF files in JavaScript !

So, I suddenly decided to start working on that again. You know, for fun ! But, I was quickly pulled back into the dark realm of reality when I remembered just how terrible my existing code was:

6f48a4431d.png

(346 lines of undocumented code in a single file, yay)

Some cleanup had to be done. With a flamethrower. Then I recoded everything. I'll skip most of the uninteresting implementation details, just know that instead of a monolithic approach the code is now broken up in many small components. This makes it incredibly easy to implement things that should be easy to implement anyway, like brush entities (just add a brush component for each solid in the entity) or instances (just throw another map in the map).

5520bd470b.PNG


As you may have noticed from the above screenshot, I also add lights in the scene corresponding to the various light entities in Source. It doesn't have the exact same look however since this is all done in realtime AND in a browser, but it makes the map look a little less flat.

da71bbb34e.PNG


Of course, it would be even better with the textures. And guess what, I've been working on it ! I wrote a simple bridge to Terabithia VTFLib and HLLib in C++. Then, when the app starts, I try to find out where the SteamApps folder is, and search for every *_dir.vpk file I can find. And load every single one. It's not actually that long, about one minute on my machine, and the process is asynchronous anyway, so it just happens in the background while the application is in use.
The only problem here is: it doesn't work in the browser. Not because of the native code, as it's actually possible to compile that to JavaScript, but running it in a sandboxed environnement would mean loading all the data through HTTP (= wait one hour while the browser downloads the entire game in memory).
Another approach would be to load the pre-exracted textures from a web server. This is something I tried (by loading all the tools textures from the Wiki page), and it works well (it's also really easy to implement, I just have to swap the texture loading module), but it also means redistributing copyrighted materials (litteraly). I'm a developper, not a lawyer, but I have enough common sense not to try it.
So for now, you can visualize your map with the textures in an Electron app, or in the browser but only as colored solids.

c3a9757339.PNG


The UV Mapping still needs some work anyway, as well as the displacements.

b32525d4fb.PNG

(Dispinfo must be the most unpractical way to encode a tesselated plane ...)
 

Hyperion

L16: Grid Member
aa
Jun 8, 2015
840
659
I like that orange-ish sand/rock,although it doesn't blend quite well with that white-ish wood. With the red one it fits real nice.

Anyways,it looks good. ye. ;D
I didn't find enough different reddish wood textures without making it look boring