Jump to content


Photo

diagonaly placed vis portal?


9 replies to this topic

#1 Zen3001

Zen3001

    Member

  • Member
  • PipPip
  • 32 posts

Posted 21 October 2018 - 07:26 AM

Anything wrong with that? Non of the tutorials I've seen and read seem to do it like that but with this you have to get a little closer to the visportals at the cornors for the next area to render.

b4OodWw.png



#2 grayman

grayman

    Master Builder, Coder

  • Active Developer
  • PipPipPipPipPip
  • 12701 posts

Posted 21 October 2018 - 08:11 AM

No problem

#3 Skaruts

Skaruts

    Member

  • Member
  • PipPip
  • 279 posts

Posted 21 October 2018 - 08:11 AM

Doesn't seem to be anything wrong with it, but take my word with a grain of salt. I'm not that experienced in this engine yet. 

 

Indeed it's the one advantage I see in this, is that the player has to be even closer to the corner for the portal to open. So the engine will be making less calculations for longer. 

 

This is also possible: two visportals that intersect the corners, in game each of them will be divided in two (ignore the different textures there, I'm making experiments with transparency). Also, that they're facing away from each other isn't accidental in this specific case. When I first tested this the bottom portal (on the 3D view) was facing the other portal, and the half that converges with the other portal was being discarded by the engine (so I ended up with 1 less portal).

27j3zzL.png


Edited by Skaruts, 21 October 2018 - 08:26 AM.

  • Anderson, VanishedOne and Zen3001 like this

#4 Zen3001

Zen3001

    Member

  • Member
  • PipPip
  • 32 posts

Posted 21 October 2018 - 08:24 AM

How do you make them translucent in the editor? that would make navigating through the 3d mode a lot easier



#5 Skaruts

Skaruts

    Member

  • Member
  • PipPip
  • 279 posts

Posted 21 October 2018 - 08:29 AM

How do you make them translucent in the editor? that would make navigating through the 3d mode a lot easier

I had to edited the textures and added some stuff to their materials file. I've been thinking of posting it around here at some point.


  • Anderson, Amadeus and Zen3001 like this

#6 Amadeus

Amadeus

    Member

  • Member
  • PipPip
  • 159 posts

Posted 21 October 2018 - 09:35 AM

I had to edited the textures and added some stuff to their materials file. I've been thinking of posting it around here at some point.

 

Could you please? That would be such a useful quality of life improvement (at least for me, I'm sure for others too). Love the idea of translucent visportals


  • Skaruts, Aosys and Zen3001 like this

#7 OrbWeaver

OrbWeaver

    Mod hero

  • Active Developer
  • PipPipPipPipPip
  • 7516 posts

Posted 22 October 2018 - 06:09 AM

Huh, I didn't even realise you could have translucent editor textures (and I wrote the damn code)...


  • HMart and Skaruts like this

#8 Skaruts

Skaruts

    Member

  • Member
  • PipPip
  • 279 posts

Posted 22 October 2018 - 06:52 AM

Huh, I didn't even realise you could have translucent editor textures (and I wrote the damn code)...

 

I had a go at this a long time ago but couldn't overcome a few problems. This time I found a bit of workaround that seems to work. I may post it maybe later today or tomorrow morning (europe time). 


  • Anderson and Amadeus like this

#9 Skaruts

Skaruts

    Member

  • Member
  • PipPip
  • 279 posts

Posted 22 October 2018 - 09:12 PM

Done. :)

Edited by Skaruts, 22 October 2018 - 09:13 PM.

  • Amadeus likes this

#10 Amadeus

Amadeus

    Member

  • Member
  • PipPip
  • 159 posts

Posted 22 October 2018 - 10:15 PM

Oh awesome, I'm gonna try and take a crack at it in the next few days. Thanks!





Reply to this topic



  


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users