Half-Life Re-imagined competition results on their way...
Check out Skewing textures in Hammer, our newest tutorial!
Say hello to MD_AZMAL, our newest member!

logo

Site Stuff

Reference

Maps

Community

ShoutBOX

Poll

Feeling Blue

What's your favourite shade of blue?

Azure

8

Cobalt

17

Turquoise

4

Cyan

8

Royal

3

Teal

3

Onliners

31 secs

Admer456

9 mins

Penguinboy

15 mins

rufee

25 mins

fuzun

34 mins

Snehk

36 mins

Solokiller

40 mins

Windawz

Affiliates

A gaming and technology blog by TWHL admins Penguinboy and Ant. A music blog by TWHL users Ant and Hugh.

View Journal

avatar Penguinboy 9th February 2013, 04:19 AM

I wrote about Sledge development in my blog, detailing the process I go through when implementing a new feature (decal rendering in this case). If you're interested in Sledge or programming it might interest you.

The post is here: Decal Rendering In Sledge

(For those who don't know, Sledge is a project I have worked on for a long time, it's intended to be a replacement for Goldsource Hammer and hopefully, eventually, Source Hammer as well. It's completely open source which means the code is available to all to use, modify, and add new features. It's not finished yet, however I hope to release a beta sometime this year.)

If you do take a look, please let me know any feedback you might have. Is this kind of thing interesting? Would you read something like it again? Am I just a nerd who likes really boring stuff? Let me know in the comments! (either on the blog page or here on TWHL)

Comments

avatar Jessie says: 9th February 2013, 08:31 AM
I enjoyed reading that =) It's interesting to see what kind of problems there are in implementing something that seems so simple, and how you can overcome them.
avatar rufee says: 9th February 2013, 09:22 AM
Being a bad programmer that I am, I just eye balled through. What language is it coded in ?

I would actually have a billion ideas on what should be included in it, some stupid some less stupid.
avatar Daubster says: 9th February 2013, 10:45 AM
Good read! I like how you link to the relevant implementations as you explain your thoughts behind them.

Thanks for the shoutout, would deffo read more.

rufee: C#
avatar Penguinboy says: 9th February 2013, 13:20 PM
Thanks for the feedback guys. Would love to know other people's thoughts.

@Rufee any anybody else: Write those ideas down, once I get a stable release going, I'll be asking everybody for feature ideas :)
As Daubster said, it's all written in C#.
avatar JeffMOD says: 9th February 2013, 14:01 PM
Cool! That takes all the pain out of decals right there!
Does Sledge have the ability to remember the dimensions of the last brush selected when using the brush tool, like Hammer 4.x does?
Because if it does, I might have to get back into goldsource a bit once you release it.
avatar kraken says: 9th February 2013, 15:28 PM
Great to hear Sledge is still in development. I'll be watching out for your blogs.
avatar Habboi says: 9th February 2013, 16:45 PM
It's an interesting project, quite the eye lifting read!
avatar Tetsu0 says: 9th February 2013, 16:53 PM
Wow i remember this from a year or 2 back. Fantastic work!! I've always wanted to learn a programming language other than BASIC and C
avatar Suparsonik says: 9th February 2013, 17:16 PM
Incredible. Can't wait to see more progress on this.
avatar Captain Terror says: 9th February 2013, 22:05 PM
Beyond incredible! I just wish i had a mind for coding so i could help and make tools when for it when it's released!

Rock on PB! =)
avatar Penguinboy says: 9th February 2013, 23:35 PM
Thanks guys, you're all awesome :)

@Jeff: I think it remembers the dimensions on a per-tool basis, which means that the brush tool might not remember the select tool dimensions yet. I'll have to check it out.

@Tetsu0: If you know C, you've pretty much learned all the major languages. Aside from object oriented stuff which is pretty easy to pick up, C covers pretty much everything in most other popular programming languages. So it might not be too difficult to pick up something else :)

@CapT: Eventually the plan is to get a proper plugin system going, so brush up on those coding skills :)
avatar TJB says: 11th February 2013, 10:07 AM
I remember coming up with a great idea for a feature for this but then I forgot about it when I heard the project was cancelled. :(
But one thing that would be good is an option for newly created brushes to be dimensioned relative to the current grid size. As in the fact that when you create a brush, you click and drag in two dimensions, and then Hammer sets the third dimension at 64 units iirc. Gets really annoying when you're zoomed in really far working on complex detailing work and you have to either scroll across to shrink the brush or zoom out until you can see the ends.
And I haven't read the blog post yet, as I am late for something, but I will read it as soon as I get back.
You must be logged in to comment.