Post your screenshots! WIP thread Created 16 years ago2007-12-16 00:58:58 UTC by doodle doodle

Created 16 years ago2007-12-16 00:58:58 UTC by doodle doodle

Posted 8 years ago2016-10-01 12:46:53 UTC Post #331863
How to write a custom renderer:

1) Learn C/C++.
2) Learn modern OpenGL.
3) Learn how Gold Source works technically.
4) DIY (Do It Yourself).
5) Profit!
Posted 8 years ago2016-10-01 14:35:41 UTC Post #331867
You're going to need a few years of C++ experience before you can even think about writing a renderer.
Posted 8 years ago2016-10-01 15:41:10 UTC Post #331868
I know it can quite simple to write a renderer in less than a day though. I was in a PHP meetup and the guy just showed how to create a renderer able to load .obj using PHP and OpenGl and some other technologies, so if you could do it as well in C++ I wouldn't be surprised. Of course, it was quite basic and understanding what's going on/improving the renderer would take far more skills.

But I still think writing a 3D engine in PHP is worth it. Anyone up for PhpSource? :)
(don't kill me)
Posted 8 years ago2016-10-01 16:30:52 UTC Post #331870
WebGL would be more appropriate.

Quake 3 BSP renderer using WebGL
Posted 8 years ago2016-10-01 16:49:20 UTC Post #331871
What in christ's name is wrong with the camera control in that demo...
Crollo CrolloTrollo
Posted 8 years ago2016-10-01 17:28:39 UTC Post #331873
It's a rendering demo, not a gameplay demo. It doesn't mean it isn't shit, but the rendering is quite good for being in a browser. The rest sucks. I lasted thirty seconds after wildly disagreeing with the game's interpretation of "forward".
Posted 8 years ago2016-10-02 13:57:28 UTC Post #331879
I'll attempt at modeling the fake water.
That's pretty much all you need to know.

Edit: Here's the plan:
User posted image
Admer456 Admer456If it ain't broken, don't fox it!
Posted 8 years ago2016-10-02 16:07:48 UTC Post #331880
Oh your are hater of Unity, UE4? I think other members want just learn because UE4 sees better than Source Engine 1 / 2. I have used UE4 but my computer is very slow. That is why I don't want happen my computer. That is why I will buy new strong computer than i get UE4. But Unity 5.3 has whole platforms like Mac, Linux, Windows, HTML5 and Television-app and more more.. very good but I am beginner of Unity :/ I need to learn about Unity 5.3
I'm not an Unity/UE hater, one problem I have with modern engines is their method of licensing for paid games and the fact that it encourages people to do "quality over quantity". Look at Abzu (a UE4 diving game), it looks great but you finish it in a single hour, done.

Another problem I also have is the feeling that levels aren't created in a specific editor anymore, the whole level is made of meshes (Unity)/static meshes (UE) and this just annoy the hell of out me. Look at Borderlands, Painkiller, Killing Floor 2, XIII (the map where you crash inside of an ambulance). Try to make a level in Unity/UE with only using meshes/static meshes as props and you'll see what I mean.

I do use Unity for a little project (and also education purposes) and making the map using only the built-in editor is a pain in the ass and I hate using third party dependencies/plugins if I could use the built-in tools.

Double post be gone! -Urby ;)
Posted 8 years ago2016-10-03 18:55:49 UTC Post #331888
I weren't asked anything, but here we go:
I'm a CryEngine fan. CE1 can even run well on my "tomato" laptop.
Admer456 Admer456If it ain't broken, don't fox it!
Posted 8 years ago2016-10-04 16:39:05 UTC Post #331892
I don't think you are risking anything with Xash, just dont try to make any money off of it. Doesnt take much brain to understand that
Posted 8 years ago2016-10-04 19:50:04 UTC Post #331893
Doesnt take much brain to understand that
I am brainless then :( :crowbar:

But, could not valve sue you for using the hl sdk to do a mod and run that mod under another engine, or distribute the mod togheter with other engine or even point others to use another engine than Valve's one? , the more I read the EULA the more I get confused, probably it is because my english sucks, I must give you that ;)
Posted 8 years ago2016-10-04 22:24:51 UTC Post #331896
they are more likely to offer you a job
Posted 8 years ago2016-10-05 12:17:59 UTC Post #331898
they are more likely to offer you a job
Yes,probably as shiner :\ :crowbar: , no seiously, I mean what I did say, acording to the EULA you are limited to Valve´s "environment", so I was confused about using other engine like Xash3D, not only to run, but also to distribute the mod with. :confused:
Posted 8 years ago2016-10-05 14:34:01 UTC Post #331899
G. Restrictions on Use of Content and Services

You may not use the Content and Services for any purpose other than the permitted access to Steam and your Subscriptions, and to make personal, non-commercial use of your Subscriptions, except as otherwise permitted by this Agreement or applicable Subscription Terms.
TL;DR

Xash3D is illegal
Posted 8 years ago2016-10-05 14:49:13 UTC Post #331900
Oh,crap... :gak:
Posted 8 years ago2016-10-05 15:00:02 UTC Post #331901
they are more likely to offer you a job
Yeah, like the guy who hacked their servers in 2003. Valve promised they would give him a job too.

Now, more seriously, you're certainly taking risks, not opportunities. That being said, risks are more likely to be very low.
Posted 8 years ago2016-10-05 15:47:25 UTC Post #331902
Posted 8 years ago2016-10-06 02:16:36 UTC Post #331904
Java is so crap that Microsoft had to rebuild Minecraft in C# for xbox one and windows 10 because they wouldn't want that garbage on their platform.
Posted 8 years ago2016-10-06 09:18:38 UTC Post #331906
C# can embed native code in it, Java can only link with native libraries. C# beats Java every time.

Minecraft runs pretty badly because of Java. It just can't handle the massive amount of data being processed by it, and if you run a lot of mods you'll notice the memory usage spiking to several Gb easily. Some mod packs won't run on 32 bit systems at all.
Posted 8 years ago2016-10-06 10:26:46 UTC Post #331907
Whoever says Java is crap certainly hasn't consulted the TIOBE index.

It's actually the purpose of the language which wasn't to create high-performance games.
Striker StrikerI forgot to check the oil pressure
Posted 8 years ago2016-10-06 14:24:38 UTC Post #331908
I hope both Java and Android to die. Let's pray to get a MeeGo remake soon.
Posted 8 years ago2016-10-06 15:51:41 UTC Post #331909
Nothing dies until it gets a cannonball in the chest, or becomes too old, not-literally speaking.

In this case, a "cannonball in the chest" is a very very big flaw of the programming language, and "becomes too old" simply means "not up to the standards".
Admer456 Admer456If it ain't broken, don't fox it!
Posted 8 years ago2016-10-06 17:56:49 UTC Post #331910
Guys, stop talking trash about Java. Getting motivated for my studies is already hard enough, if in addition to that I learn that what I'm learning is useless and bad, I'm not sure how I'll do... :P

But actually, I like Java. (even though that's the only language I know besides PHP)
Posted 8 years ago2016-10-06 18:27:26 UTC Post #331911
I think that when you study computing science in university you have to learn languages like C and then move to others, I think java should be the means not the end of learning. ;) I remember how I did study microbiology in the first course of university only to never touch it anymore, but it was essential in anathomopatology. ;) Don't feel you are wasting your time!.
Posted 8 years ago2016-10-06 20:29:31 UTC Post #331913
Microsoft had to rebuild Minecraft in C# for xbox one and windows 10 because they wouldn't want that garbage on their platform.
Microsoft is just stupid, they will have to support different source codes just because their Xbox One is way too much dependant of C#. Since their Xbox is just a modified version of the Windows kernel, they could have just taken any JVM and installed it on their Xbox One with the proper settings, job done.

As for Windows 10, the UWP (Universal Windows Platform) is a waste of time and a shit load of crap, also, if like me you prefer to use the standard PC login method instead of a MS account (because the "use an Internet account as PC account" is stupid), you can't access the Windows Store which means you can't download/install the game. Even the CEO of Epic Games can tell you that our "legacy" Win32 still have years to live. There is no difference between Minecraft UWP and Minecraft Win32 on Windows 10 so in the end it's just "OH LOOK, WE PORTED OUR GAME TO OUR PLATFORM THAT NOBODY WILL USE BUT WE'LL DO IT FOR MARKETING PURPOSES #YOLO_SWAG_PROGRAMMING_MONEY".
client and server libraries jar file if you do not worry whatever you play under Linux or Mac OS X because LWJGL has a lot of native extensions via class define calling so like LoaderInfo of AS3.

But how are Mac OS X , Solaris OS and Linux? I think they are mad to Windows users. If you use Linux than Minecraft has not to load native extension for Linux OS.
Who uses Solaris to play video games ? About the native librairies, I have (re)downloaded Minecraft on Linux, I typed "java -jar Minecraft.jar" in my Terminal and voilà, the game just ran fine (and I even managed to gain 7 FPS compared to Windows 10). If LWJGL is yelling at user because of "missing OpenGL extension or something" it's the user's fault, not yours. This reminds me of the early days of Minecraft where you had to update LWJGL and such yourself because the launcher downloaded obsolete versions (it caused a huge pain in the asses of Linux users too).
Minecraft runs pretty badly because of Java. It just can't handle the massive amount of data being processed by it, and if you run a lot of mods you'll notice the memory usage spiking to several Gb easily. Some mod packs won't run on 32 bit systems at all.
Microsoft also made a mistake, 1) if you take the standard Windows installer, you'll get a built-in outdated JVM. 2) Regardless of 1) the default settings point to a 32 bits JVM (even on a 64 bits PC). 3) The default JVM settings are designed by retarded monkeys who can't read a documentation properly which is causing the problem you describe.

This is why I use some special JVM settings (they come from the Internet, they're not mine), if you have 1 Gb to spare for Minecraft :
-Xmx1G -Xms1G -Xmn128m -XX:+DisableExplicitGC -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+UseNUMA -XX:+CMSParallelRemarkEnabled -XX:MaxTenuringThreshold=15 -XX:MaxGCPauseMillis=30 -XX:GCPauseIntervalMillis=150 -XX:+UseAdaptiveGCBoundary -XX:-UseGCOverheadLimit -XX:+UseBiasedLocking -XX:SurvivorRatio=8 -XX:TargetSurvivorRatio=90 -XX:MaxTenuringThreshold=15 -Dfml.ignorePatchDiscrepancies=true -Dfml.ignoreInvalidMinecraftCertificates=true -XX:+UseFastAccessorMethods -XX:+UseCompressedOops -XX:+OptimizeStringConcat -XX:+AggressiveOpts -XX:ReservedCodeCacheSize=2048m -XX:+UseCodeCacheFlushing -XX:SoftRefLRUPolicyMSPerMB=2000 -XX:ParallelGCThreads=10
If you have 3 Gb to spare to Minecraft :
-Xmx3G -Xms3G -Xmn768m -XX:+DisableExplicitGC -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+UseNUMA -XX:+CMSParallelRemarkEnabled -XX:MaxTenuringThreshold=15 -XX:MaxGCPauseMillis=30 -XX:GCPauseIntervalMillis=150 -XX:+UseAdaptiveGCBoundary -XX:-UseGCOverheadLimit -XX:+UseBiasedLocking -XX:SurvivorRatio=8 -XX:TargetSurvivorRatio=90 -XX:MaxTenuringThreshold=15 -Dfml.ignorePatchDiscrepancies=true -Dfml.ignoreInvalidMinecraftCertificates=true -XX:+UseFastAccessorMethods -XX:+UseCompressedOops -XX:+OptimizeStringConcat -XX:+AggressiveOpts -XX:ReservedCodeCacheSize=2048m -XX:+UseCodeCacheFlushing -XX:SoftRefLRUPolicyMSPerMB=10000 -XX:ParallelGCThreads=10
Depending on the computer and the JVM, what I've posted may work or not, so please don't bash me if they do nothing or worse.

Also, Minecraft still relies on "immediate OpenGL" (like Half-Life), hence why OptiFine or a mod that allow you to use modern OpenGL (if your PC allow you to do it of course) is highly recommended.
I hope both Java and Android to die.
Java cannot die, it already conquered a lot of areas that C# will never conquer (like Windows can't conquer areas that are dominated by Linux). Android became a victim of Google's cancer, their forced "Google Apps" on Nexus ROMs which OEMs (Samsung, Motorola, Sony...) uses is one of those reasons. On my Motorola Moto X 2013 (codename "ghost"), my stock ROM starting to act like shit (even after multiple factory resets), I took the risk of installing "Oct-OS" and I succeeded, this result in less CPU/RAM being wasted, more battery life, no more Google/Motorola junk and my phone can live for more than 5 years. If you can, find and install a pure AOSP (Android Open Source Project) ROM or MiUI (chinese are good developers and phone manufacturers, way to go Xiaomi ^^) and you won't blame Android again. I have the feeling that Google becomes a cancer by killing everything it touches, "Google Chrome" is one of their another victim. I wish Windows/Apple/Steam/AMD/ATI and many other companies die but that won't be possible because they are supported by goats or they have monopolized their market.

Everyone should understand that Java isn't designed for fast paced games like Striker mentioned. And I think this applies to C# as well, if you are looking to make a FPS/RTS/racing game (in other words, a game where "a tiny delay matters"), then Java (and probably C#) aren't the proper languages, move to a "low level language" like C or C++. If your game is something like a Space Invaders, Tetris, Monopoly, then it's ok to use a high level language. Recently, I started programming a Were Wolf game with client-server multiplayer and maybe webcam/microphone capture support in the future, I could have used C# but I'll loose the compatibility with Linux and OS X (unless everyone install Mono as CLR), using C/C++ would require more time and I don't want to deal too much with the low level stuff and guess what I have chosen ? Java. You also need to take in account that each language has it's advantages and it's limits, even for C and C++ which some people consider as "gods". If you want to argue about programming languages, a web site already exists for you: https://wiki.theory.org/YourLanguageSucks
Guys, stop talking trash about Java. Getting motivated for my studies is already hard enough, if in addition to that I learn that what I'm learning is useless and bad, I'm not sure how I'll do... :P

But actually, I like Java. (even though that's the only language I know besides PHP)
Like I said above (and Striker said it too), Java is pretty cool as-is even if it has some downsides (a 100% programming language will never exists) and it's reputation of being used in enterprises is well deserved (at least in France, I don't know about the other countries).
think that when you study computing science in university you have to learn languages like C and then move to others, I think java should be the means not the end of learning. wink-wink - ;) I remember how I did study microbiology in the first course of university only to never touch it anymore, but it was essential in anathomopatology. wink-wink - ;) Don't feel you are wasting your time!.
Assuming we put aside the fact that I was reading tutorials and praticising on my own when I was young: during my first year of "specialization" (I was 18 years old back then), the first language I learned was C#, Java and Python and they all are "high level programming languages", when I graduated to university at 20, I was being taught C (using ANSI ISO C90 standards) which is this time a "low level programming language". Why we teach in this order ? Because the execution environment of "high programming level languages" (CLR on C#/JVM on Java/Python interpreter) makes a huge part of the dirty job for you: you don't have to deal with memory allocation, you have useful types (List, Map, Set, Dictionary...), in other words, you have the "right to be dirty". When you move to C however, you don't have the built-in List, Map, Set, Dictionary types, you have the joy and charm of dealing with pointers, you wanted memory allocation ? Do it yourself (and clean it yourself).

We live in a world today where programming is getting being taught to very young kids (I saw experiments on 6/8/10 years old with graphical programming languages then "high level programming languages"), imagine teaching to 6 year old kids structures, pointers, memory allocation.
Posted 8 years ago2016-10-06 21:07:03 UTC Post #331914
In what world does this chat belong in a WIP thread? Back on topic, please.
Archie ArchieGoodbye Moonmen
Posted 8 years ago2016-10-07 09:33:30 UTC Post #331916
Get your ass back into the core, Archie!! :D
<3
Posted 8 years ago2016-10-07 14:15:05 UTC Post #331917
In what world does this chat belong in a WIP thread? Back on topic, please.
Sorry. Here's a WIP I'm working on:
User posted image
With a bit of luck, I won't be the only one who found that funny. :P But more seriously, here are some pics of my TWHL entry (below, not above). I might improve a bit the lighting, but otherwise I can't help the fact it looks empty. I spent days doing all those models and I think I'll make a break now. :P (but I might improve things for a potential next version)
User posted image
User posted image
User posted image
User posted image
User posted image
Posted 8 years ago2016-10-07 14:33:43 UTC Post #331919
Wow O_o
Is that goldsource?
Posted 8 years ago2016-10-07 15:12:39 UTC Post #331920
HUD and lighting would indicate so.

Very impressive work. Nice clean, yet complex architecture. The textures look a little under-detailed, but then again looking around the room I'm in right now there's not much of a 'grain' on the walls or ceiling, and you wouldn't want any grunge on a house like that, so I guess that's a non-issue.
Notewell NotewellGIASFELFEBREHBER
Posted 8 years ago2016-10-07 16:36:24 UTC Post #331921
Thanks guys! :)
I think the fact the textures look under-detailed is an impression, since I resized them in Hammer to like 0.3 in general.
Posted 8 years ago2016-10-07 16:43:37 UTC Post #331922
I love seeing architecture in goldsource. It's always been my favorite way to flesh program out.

Loulimi, i'd recommend aligning the wood textures with the timbers, other wise it doesn't feel as believable.
Posted 8 years ago2016-10-08 00:35:44 UTC Post #331926
Yeah sure! Don't know how I missed that one. :o
Posted 8 years ago2016-10-08 04:23:03 UTC Post #331928
That looks pretty good.
Posted 8 years ago2016-10-08 07:42:14 UTC Post #331930
Shepard's post gave my mouse wheel a workout it's never had before.

also nice house Loulimi
Posted 8 years ago2016-10-08 20:49:54 UTC Post #331943
Yeah the lighting is too bright, I'll try to make it less bright but the thing is, since windows are actually models, a not-high-enough brightness made them looking strange.
Concerning your two other suggestions, that's actually a real location, so I don't have much freedom on that. But worry not! There is actually a fireplace. Somewhere...
And you're right, I think the bed is a bit more distant from the edge of the ceiling in reality. :P

Concerning your screens: I like the neat, detailed and precise mapping. Really nice architecture as well. Apart from that, it's hard to make other comments without the lighting.
I'm not a big fan of the grey/desaturated aspect, but again, I don't know how it looks in game.
Posted 8 years ago2016-10-11 13:33:00 UTC Post #331980
Loulimi

You can control the light position on the models just by adding "zhlt_copylight" in SmartEdit
so the models in map dont rly contsrain you and fit as you need.

Highlander

Heh XD im now redoing some of my own old work for a mode i whant to finish
Got smilar isues now with lack of color wariations with the textures i made;p
User posted image

trying to use some color on light but at the end i will need to do more color variations and more textures.
User posted image


The more i work with the mod the more i whant to fix ;p
strted with character that is ..6 years old 0-o since i dont have the source files but i go the mdl with all animations ;p
just trying to retexture it with prerendering the light, did a base test with no colors just the shapes and light.
User posted image

User posted image

Posible will redo as more as i can since it seems to work ok in game?
Posted 8 years ago2016-10-11 13:38:33 UTC Post #331981
Sounds promising Kruk, I'll try this out!
Posted 8 years ago2016-10-14 15:23:11 UTC Post #332010
Emphasizing the "Gold" in GoldSource:
User posted image
I recently added a nice tunnel:
User posted image
User posted image
Admer456 Admer456If it ain't broken, don't fox it!
Posted 8 years ago2016-10-14 17:26:24 UTC Post #332011
You didn't run into any issues with clipnodes? If so I'm impressed! :P

Map is barren, you could may be add some models / play on the lighting to make the view more pleasant perhaps, although filling such a big empty area will be challenging.

Other than that, quite impressive shapes and size for Goldsource, although I hope it allows for a decent FPS. Tunnel textures need aligning. I'd suggest Align To View, but while not impossible, that would be a hell of a pain to do with your particular tunnel.
Posted 8 years ago2016-10-14 18:31:56 UTC Post #332012
I think the map is entirely under what you're looking at and what you see is mostly inaccessible.
Posted 8 years ago2016-10-14 18:54:54 UTC Post #332013
Well, I uploaded the map, test it for yourselves, don't just stand here.

@DiscoStu
Most of the terrain is accessible, only the edges aren't.

@Loulimi
Heh, framerate isn't a problem on my device. I have a crappy Intel GMA 965 chipset, with only 64MB of dedicated VRAM. And it handles the map like a pro at average 20fps, and drops to 10fps on more demanding cases.
The lowest I get is 5fps. And 90% of you have 100x better systems than my "carrot" (worse than a potato!) laptop.
Admer456 Admer456If it ain't broken, don't fox it!
Posted 8 years ago2016-10-14 19:23:37 UTC Post #332014
20fps, that's a problem, especially if it's the best you can get. And newer hardware does not mean better performance when it comes to Goldsource. I had a crappy PC with 900Mhz, not much Ram either, it still used to run Goldsource maps far better than newer PC that could run modern games.
Well, I uploaded the map, test it for yourselves, don't just stand here.
We don't necessarily have time/want to test your map, and you didn't even provide a download link.
Posted 8 years ago2016-10-14 20:49:23 UTC Post #332016
20fps isn't a problem. It was the average framerate while looking at the terrain. However, if you're inside, then it's a solid 50fps, I think.

While play-testing the map, I monitored performance on 5 spots:

Spot 1. 50fps, inside
Spot 2. 5fps, outside, most detailed area
Spot 3. 20fps, asphalt road
Spot 4. 20fps, upper floor
Spot 5. +60fps, vents

So, a total average of ~33fps. But my GPU really is the bottleneck here, I've seen Intel HD Graphics perform better at any game, when compared to my laptop's GPU, including any GoldSrc game.

Of course, that is only approximate info, only raw assumptions, because I didn't really activate r_speeds when monitoring.

And yes, I didn't provide the link in this thread. But rather in the Vault.
Admer456 Admer456If it ain't broken, don't fox it!
Posted 8 years ago2016-10-15 09:32:33 UTC Post #332021
you should upgrade Bro! :D
Posted 8 years ago2016-10-15 18:45:52 UTC Post #332024
@Trempler
Sure, this will do. Don't say "Get something better", because before this one, there was this list, and it had even worse things in it.

And no, I can't buy a used PC and then upgrade it, because my dad wouldn't buy me a used PC, not even if it meant the whole world to everyone.

In fact, I think that he wouldn't buy me the parts anyways, because my PC building wish has been on since 2013. Back then I wanted the Radeon HD 6450.

And then, I can't afford a seemingly "better GPU for the same price" because I live in Bosnia and Herzegovina, where the prices are 2x higher in 2 cases. With 1 case being the USD to BAM chart (1 USD = 1.75 BAM), and the other case being that you would expect a $100 card here to cost 175 BAM, right? No, it costs twice more than that.

To keep this on-topic, I will also share a little more information:

I am currently "tessellating" the terrain, and adding the credits into the already mentioned tunnel.
User posted image
User posted image
It's nice to see how this map evolved, you know, from this:
User posted image
User posted image
User posted image
To this:
User posted image
User posted image
(of course, those are older screenshots)
User posted image
Admer456 Admer456If it ain't broken, don't fox it!
Posted 8 years ago2016-10-16 02:07:22 UTC Post #332026
I've heard some say people arn't excited about mapping anymore, so heres a little something-something I've been working on. Still flying Opposing Force high this year (someone has to!). Pretty prototypey and needs some polish (especially the stuff in the last screenie!)
User posted image
Posted 8 years ago2016-10-27 19:59:18 UTC Post #332138
I presume it looks nice, but on my phone's screen it looks too dark. On my laptop's monitor, though, it would look perfectly bright enough.
Admer456 Admer456If it ain't broken, don't fox it!
Posted 8 years ago2016-10-28 02:38:49 UTC Post #332139
Holy crap that's goldsource.
Notewell NotewellGIASFELFEBREHBER
Posted 8 years ago2016-10-28 08:20:01 UTC Post #332141
That seems incredibly dark, I can barely make out what's in that screenshot!
Instant Mix Instant MixTitle commitment issues
You must be logged in to post a response.