May 21, 2018, 06:17:14 AM

Author Topic: 3D TileEditor  (Read 1393 times)

Offline Steve Elliott

  • Hero Member
  • *****
  • Posts: 993
Re: 3D TileEditor
« Reply #15 on: February 13, 2018, 03:29:25 PM »
Quote
It's certainly atmospheric and you can see how the Inferno game will possibly look...

Yep, I agree.  Good stuff.
Windows 10, 64-bit, 8Gb RAM, CPU Intel i5, 3.2 GHz, Nvidia GeForce GTX 750 Ti (2Gb)

Offline RemiD

  • Hero Member
  • *****
  • Posts: 582
Re: 3D TileEditor
« Reply #16 on: February 13, 2018, 07:12:29 PM »
nice fire effect :)

Offline GaborD

  • Full Member
  • ***
  • Posts: 106
Re: 3D TileEditor
« Reply #17 on: February 14, 2018, 01:11:04 AM »
Looks really good.

Online iWasAdam

  • Hero Member
  • *****
  • Posts: 521
Re: 3D TileEditor
« Reply #18 on: February 14, 2018, 08:28:58 AM »
OK. Now we're getting somewhere...
For todays pic, it's all about the table. It's gone and replaced with construction blueprints - this fits better with the building concept I think?



All we need to do is add in some nice 70's furniture and we're good to go...

Online iWasAdam

  • Hero Member
  • *****
  • Posts: 521
Re: 3D TileEditor
« Reply #19 on: February 15, 2018, 08:46:13 AM »
So for todays pic. It's all about the browser:


The browser is the 128 available tiles. initially these could be selected using the bottom tile slider and nudge arrows (at the bottom of the ui)
I've now added a browse button, this brings up the screen as shown with a grid of 15 tiles. these correspond to the tile positions, and you can select then by clicking, or by using the original UI.

You can see that the camera angle changes to allow you to see 15 tiles at a time. This is using a new camera class, which will also be used throughout as well and will allow smooth camera sweeps from one camera to another.

You can see that the tiles are completely rendered with all FX and lights, etc.

Online iWasAdam

  • Hero Member
  • *****
  • Posts: 521
Re: 3D TileEditor
« Reply #20 on: February 16, 2018, 12:26:39 PM »
Todays pic as about buildings:


You can see the 4x4 tile and how the buildings relate to it. Basically this is a single tile just rotated with a couple of quick building added. If one of the aims is to make a towering inferno game, there need to be some context...?

Online iWasAdam

  • Hero Member
  • *****
  • Posts: 521
Re: 3D TileEditor
« Reply #21 on: February 17, 2018, 12:41:36 PM »
The Century Plaza has caught fire...

Offline RemiD

  • Hero Member
  • *****
  • Posts: 582
Re: 3D TileEditor
« Reply #22 on: February 17, 2018, 04:02:06 PM »
Looks good, but the roads are broken, this is weird...

Offline 3DzForMe

  • Full Member
  • ***
  • Posts: 182
Re: 3D TileEditor
« Reply #23 on: February 17, 2018, 10:36:48 PM »
Impressive work  8)
happy coding ;)

Online iWasAdam

  • Hero Member
  • *****
  • Posts: 521
Re: 3D TileEditor
« Reply #24 on: February 18, 2018, 08:24:17 AM »
I've closed the gaps between the roads and sub tiles so it looks let 'gappy'

I think I'm getting a better idea of how this all fits together now :)

Online iWasAdam

  • Hero Member
  • *****
  • Posts: 521
Re: 3D TileEditor
« Reply #25 on: February 19, 2018, 07:13:26 AM »
Been tinkering with the shaders to increase the fidelity of the input bitmaps.

Here's a look VERY close (much closer than I designed it to support)



You can see that the rod textures are 'off' a bit, but I am amazed at how reasonable it looks. And with very low res textures and simple models. I could easily up the scale of both...

Offline Steve Elliott

  • Hero Member
  • *****
  • Posts: 993
Re: 3D TileEditor
« Reply #26 on: February 19, 2018, 08:53:07 PM »
A Towering Inferno AND an earthquake?!!  Those roads   ;)
Windows 10, 64-bit, 8Gb RAM, CPU Intel i5, 3.2 GHz, Nvidia GeForce GTX 750 Ti (2Gb)

Offline Derron

  • Hero Member
  • *****
  • Posts: 943
Re: 3D TileEditor
« Reply #27 on: February 19, 2018, 09:45:57 PM »
Not an Earthquake... It's Elm Street and Freddy sliced the road for us.


bye
Ron

Offline Steve Elliott

  • Hero Member
  • *****
  • Posts: 993
Re: 3D TileEditor
« Reply #28 on: February 19, 2018, 09:54:35 PM »
lol sounds like the game is evolving into a disaster movie/horror  ;)
Windows 10, 64-bit, 8Gb RAM, CPU Intel i5, 3.2 GHz, Nvidia GeForce GTX 750 Ti (2Gb)

Online iWasAdam

  • Hero Member
  • *****
  • Posts: 521
Re: 3D TileEditor
« Reply #29 on: March 05, 2018, 11:52:57 AM »
Final 3d to 2d code:

What you are looking at is the opengl 3d with a 2d layer.
The 2d layer has a red/blue grid applied. This means that I can now correctly track the 2d mouse in 3d space without models being present.

I spent a lot of time reversing the 3d to get the actual 2d projection, and it is now consistent with all zooms, rotation, transforms etc.  ;D