August 24, 2019, 08:00:38 PM

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

Offline iWasAdam

  • Hero Member
  • *****
  • Posts: 1190
Re: Something Tasty...
« Reply #45 on: May 31, 2019, 03:27:56 PM »
hehehehehehehe  :D

Offline Qube

  • Administrator
  • Hero Member
  • *****
  • Posts: 2051
Re: Something Tasty...
« Reply #46 on: May 31, 2019, 08:12:51 PM »
I like the graphics style there, I wonder why that was produced.   ;)
Viva Mortis in outer space? :)

iWasAdam hates Blender so much he writes his own modelling tool, love it :))
Until the next time...

Online Steve Elliott

  • Hero Member
  • *****
  • Posts: 1923
Re: Something Tasty...
« Reply #47 on: May 31, 2019, 09:18:51 PM »
Quote
I like the graphics style there, I wonder why that was produced.   ;)

hehehehehehehe  :D

Viva Mortis in outer space? :)

Viva Mortis in outer space, nope.   ;D
Windows 10, 64-bit, 16Gb RAM, CPU Intel i5, 3.2 GHz, Nvidia GeForce GTX 1050 (2Gb).
MacOS Mojave, 64-bit, 8Gb RAM, CPU Intel i5, 2.3 Ghz, Intel Iris Plus Graphics 640 1536 MB.
Linux Mint 19.1, 64-bit, 16Gb RAM, CPU Intel i5, 3.2 GHz, Nvidia GeForce GTX 1050 (2Gb).
Raspbian Buster, pi4 4Gb RAM,1.5Ghz

Offline iWasAdam

  • Hero Member
  • *****
  • Posts: 1190
Re: Something Tasty...
« Reply #48 on: June 01, 2019, 08:14:11 AM »
Quote
IWasAdam hates Blender so much he writes his own modelling tool, love it
I'm a bit lucky on that front as I have done this sort of thing before:

2014 - cripes that was a long time ago (Rameses 1):


2008 - oh even longer ago and written on XP as well. Realtime animated graphics anyone?

Offline iWasAdam

  • Hero Member
  • *****
  • Posts: 1190
Re: Something Tasty...
« Reply #49 on: June 01, 2019, 12:19:56 PM »
ok, so what have I been up to today then????



- the texture tab becomes surface
- ive added a tab to surface so you can select which shaders operate on which triangle.
As you can see I've got 4 basic shaders and the cube shows 3 of them in operation:
top = basic texture - selected texture colored and alpha applied
front = texture stamp (facing to the left). this is the base color plus and texture stamped on top preserving the correct color of the texture
side = texture merge (facing to the right). this is the basic color with the texture colored and stamped

Offline iWasAdam

  • Hero Member
  • *****
  • Posts: 1190
Re: Something Tasty...
« Reply #50 on: June 01, 2019, 02:50:30 PM »
And another test of the shaders but showing the full surface tab:


Here's a thought for you:
A while back when working on BloodCrypt I developed a really odd way of dealing with multiple lights. In effect there weren't any lights at all, they were handled by the CPU, and a texture generated which handled many lights and basic shadows without any difference to the amount.

It would be possible to take (say the above output), feed it into the light systems and automatically have lighting created with shadows and illumination... Just a thought... but a very interesting one and one that would fit!

Offline Derron

  • Hero Member
  • *****
  • Posts: 2337
Re: Something Tasty...
« Reply #51 on: June 01, 2019, 07:54:28 PM »
So in essence you plan to somehow cache light/shadow information?
Godot (surely Unity too) has some light probes you can add to a scene - they are used for the precalculation.


Bye
Ron

Offline iWasAdam

  • Hero Member
  • *****
  • Posts: 1190
Re: Something Tasty...
« Reply #52 on: June 02, 2019, 06:56:49 AM »
I'd like to use probes, but I'm not that good :(

It's the same lighting concept as used in BloodCrypt:


The essence is you have have a flat (top down) plane.
You put in the blocks (generally these would be where the walls are)
Then you put in the lights - as many as you need/want.
And here is the secret sauce... You propagate the light through the 2d plane spreading the light as you go. a bit like spreading blobs of paint - first left then right then up then down... and repeat.

it's a sort of simplified LPV (Light Propagation Volume)

Offline iWasAdam

  • Hero Member
  • *****
  • Posts: 1190
Re: Something Tasty...
« Reply #53 on: June 05, 2019, 12:56:39 PM »
not sure what it is, but it was originally a size sided solid:


Textures are all 'off' but this was a quick knock-up to see what I could make - maybe it's the front of some space freighter?

Offline GaborD

  • Sr. Member
  • ****
  • Posts: 292
Re: Something Tasty...
« Reply #54 on: June 05, 2019, 03:40:10 PM »
Autonomous vacuum cleaner with jet propulsion.
You know you want one.

Really nice how fast you are progressing with this. Cool stuff.

Offline Xerra

  • Hero Member
  • *****
  • Posts: 640
    • Retro Evolved
Re: Something Tasty...
« Reply #55 on: June 05, 2019, 04:55:06 PM »
<GASP>

Adam has been watching the Black Hole.


Offline iWasAdam

  • Hero Member
  • *****
  • Posts: 1190
Re: Something Tasty...
« Reply #56 on: June 06, 2019, 06:49:55 AM »
oooh, The Blackhole. One of my fav movies.

Offline Xerra

  • Hero Member
  • *****
  • Posts: 640
    • Retro Evolved
Re: Something Tasty...
« Reply #57 on: June 06, 2019, 07:06:51 AM »
oooh, The Blackhole. One of my fav movies.

Me too. So under-rated.

Offline iWasAdam

  • Hero Member
  • *****
  • Posts: 1190
Re: Something Tasty...
« Reply #58 on: June 06, 2019, 08:06:17 AM »
Brilliant score by John Barry. Check out his scores for StarCrash and Moonraker. They sort of form a space trllogy of scores

Offline iWasAdam

  • Hero Member
  • *****
  • Posts: 1190
Re: Something Tasty...
« Reply #59 on: June 07, 2019, 07:21:44 AM »
oky-doke... So what super interesting thing have I got for you today then?


Well that looks a complete bust!  >:D

Some random colored and textured shape - It's just not that interesting!

But wait. What if I told you that this was textured from the 3d view only - and the texture coordinates were automatically corrected?

So you select a quad. generally line it us the general way you want the texture to fit the quad and press QFit. That fits the selected set of quad vertexes. making the texture fit correctly. This works in all views as well :)

Also added object combine where visible object can be collapsed into single objects. plus I've added the ability to pass the actual xyz coordinates into the vertex data. so the 2d triangles are now 3d aware (if anyone knows what that means - get in touch - lol).  Pssst... it means lighting can now be done in the shader along with a few other things - need to work on these first
Here's a shot of this in action with the position data being shown as colors in the shader. possibly only GaborD will know what I'm on about?

it's small but really useful additons  8)