October 23, 2019, 02:05:18 AM

Author Topic: Something Tasty...  (Read 5708 times)

Offline iWasAdam

  • Hero Member
  • *****
  • Posts: 1337
Re: Something Tasty...
« Reply #135 on: July 05, 2019, 01:39:46 PM »
yep - it's something that has been bothering me too. Lets just say that It's now in my view and I'm looking closely at the code...

ok, here's the first go with the jaggies:


and now the modified version with temporal blur applied (plus the post so it is using the same sort of setting as the first one):


It's not perfect, but I think it looks a whole lot better now :)
Plus it has a sort of occlusion effect that adds some very subtle shadows where objects meet - You can't quite see it here, but it is present

Offline Derron

  • Hero Member
  • *****
  • Posts: 2499
Re: Something Tasty...
« Reply #136 on: July 05, 2019, 03:51:12 PM »
Think what you mean is "contact shadows".

Bye
Ron

Offline iWasAdam

  • Hero Member
  • *****
  • Posts: 1337
Re: Something Tasty...
« Reply #137 on: July 05, 2019, 06:58:08 PM »
possibly - it becomes difficult to find the correct terms when you are making it up as you go along... :)

latest pic:


This is much more interesting as the cube is white and the base is grey.
But wait - that's not a white box? Yep - it's taking the base environment colors from the supplied background and using them with the lighting to give a variant of global illumination. When you spin the cube around, the lighting does change on the surfaces - this is the first step in activating the pbr :)

There's (almost) a photographic thing going on - completely unintentional...

Offline iWasAdam

  • Hero Member
  • *****
  • Posts: 1337
Re: Something Tasty...
« Reply #138 on: July 06, 2019, 08:35:30 AM »
That was a nice trip...

Offline iWasAdam

  • Hero Member
  • *****
  • Posts: 1337
Re: Something Tasty...
« Reply #139 on: July 06, 2019, 03:29:56 PM »
And something went wrong with the metal parameter... Guess who's keeping it in :)

Offline Qube

  • Administrator
  • Hero Member
  • *****
  • Posts: 2165
Re: Something Tasty...
« Reply #140 on: July 07, 2019, 05:26:12 AM »
And something went wrong with the metal parameter... Guess who's keeping it in :)
Yeah, something went wrong there but in a very cool way. I'd definitely keep that error as an alternate feature ;D
Until the next time...

Offline iWasAdam

  • Hero Member
  • *****
  • Posts: 1337
Re: Something Tasty...
« Reply #141 on: July 07, 2019, 12:38:35 PM »
Thanks Qube - definitely being kept in :)

OK and now for the great reveal...  :o


This is the full Editor now with loading and saving. There is a single bitmap (the same one being used throughout this thread which is 256x256 pixels) and just a single material - the pbr is per material, and there can be many if wanted/needed.

The actual end result is made from 6 separate meshes:
- the angled back piece with the light vertical
- the brown upright buttress
- the green crate
- 2 red railings
- the floor
these are all combined into a single mesh preserving all settings/color/material allocation, etc. and the result being shown with post effects and shadows in OpenGL

This ends the proof of concept, base code and developments  ;D

And here's the full editor with the software render window being used and the same file reloaded:


It shows the new PBR tab, the single bitmap plus the sorting errors the software renderer suffers from

Offline Derron

  • Hero Member
  • *****
  • Posts: 2499
Re: Something Tasty...
« Reply #142 on: July 07, 2019, 01:24:49 PM »
SHAME ON YOU !!!11eleven!
No real railings but faked ones -> billboards.

This is no 50s SciFi-Flick, this is gonna be the next xCom meets Trading Game meeting Faster Than Light!


Hope you now start coding on your planet game again. 'Nough of excoursion into "building my own 3d toolset) :-)


bye
Ron

Offline Xerra

  • Hero Member
  • *****
  • Posts: 736
    • Retro Evolved
Re: Something Tasty...
« Reply #143 on: July 08, 2019, 07:02:26 AM »
Yep, time to get back to the original game you were doing, Adam. Progress was looking great on that until you, erm, branched out :)

Offline iWasAdam

  • Hero Member
  • *****
  • Posts: 1337
Re: Something Tasty...
« Reply #144 on: July 08, 2019, 08:44:01 AM »
Branched out!  ;D
I wanted to create the entire universe... and the ships and the interiors...  :))


single loaded object instanced 6 times, no post, no pbr. Very little cpu hit, static 60fps!!!! YAY!!!!!

with post on and default settings:


fullscreen 1920x1200 static 60fps - looks lush!

Hmmm. maybe extend the center part, put generator/engine/tanks in the middle...?

Offline Qube

  • Administrator
  • Hero Member
  • *****
  • Posts: 2165
Re: Something Tasty...
« Reply #145 on: July 08, 2019, 05:25:05 PM »
Looking great, nice work indeed :)
Until the next time...

Offline iWasAdam

  • Hero Member
  • *****
  • Posts: 1337
Re: Something Tasty...
« Reply #146 on: July 10, 2019, 08:24:54 AM »
minor adjustments being made. added ability to set color per model when drawn:

plus lots of minor things being tidied up and editor improvements. Also sorta looking into how best to deal with collisions and entity movement with a map - interesting stuff...

Offline iWasAdam

  • Hero Member
  • *****
  • Posts: 1337
Re: Something Tasty...
« Reply #147 on: July 12, 2019, 03:29:18 PM »
playing around. thought I'd go for a dirty tiled subway look:

Offline iWasAdam

  • Hero Member
  • *****
  • Posts: 1337
Re: Something Tasty...
« Reply #148 on: July 13, 2019, 10:34:54 AM »
Here's a 123 showing how a model is constructed and looks in wire, flat shade, etc with the final opengl

Offline peteswansen

  • Jr. Member
  • **
  • Posts: 54
Re: Something Tasty...
« Reply #149 on: July 13, 2019, 07:27:02 PM »
you must be a board wargamer as well as smart programmer!!