2.5D isometric navmesh (Pillars of eternity like)
Hey guys, Im wondering how to get a rendering like in Pillars of Eternity 2.5D isometric game?
Right now I have a isometric sprite with map, and some invisible plane on top of it, with NavMesh baked on it, so my 3d character can walk on it. The problem is - my orthographic camera is looking on scene from the top, and as a result, I see my character from the top(looking on his head). How it is solved in pillars of eternity like game? I need to observe my character from the side, not from the top. This way I can put avatar of my character to some empty GameObject, and rotate it, while navmesh agent would stay with regular rotation. And this actually do the trick, but I would want to use my character rotation, directed to the path, but if my avatar is rotated, and actually is layed on his side, it is a bit hard, to understand where my character should rotate to, according to its path...
Thanks a lot!
Answer by eses · Aug 22, 2018 at 06:41 PM
Hi @PolosatiyVjih
IIRC - the system they used is not using 3d models for the environment in the end user seen end product. The environment is just mapped on flat planes, using color textures with normal maps and bunch of other stuff. And then viewed from suitable angle. It is bit like some "street art" where someone has painted a hole (or something) on the ground which looks like a hole only from certain viewing angle... you get the idea.
" I need to observe my character from the side, not from the top."
Your problem description seems bit mixed - you say you want isometric or orthographic something - then why don't you use orthographic camera with proper angle?
If you want isometric or similar view angle, why not make it so? Surely, if you place your camera for top-down view, naturally your characters will end up seen from top-down view.
"How it is solved in pillars of eternity like game?"
I just wonder did you actually google for it? Actually, there was several videos... just google for "Pillars of eternity rendering system"
Edit: additional explanation in response to comment:
You'll have to play around with this in 3d software to get the grasp of concept. I have no idea if this is exactly what they did, as I haven't watched videos about making of Pillars of Eternity, I just once saw few seconds where they demoed the plane render tech, you'll have to do the R&D work yourself.
I hope this image explains it.
The 3d rendering part (in my case) is done in 3d software. You'll need to work that out yourself, it might be pretty complicated, if you need some buffers for shaders. Also, material definition in Unity might not be as easy as dropping materials, if you need occlusion culling or cast shadows on your "flat" plane, or some other depth based effects, as the depth is missing here. Having 3D meshes as occluders and shadow casters would negate the whole concept of efficient and low spec rendering. Texturing the plane is just the oldest trick in the 3d book - just take snapshot from camera angle and UV it back to plane.
Of course here I had to move navigation to side so that the effect is visible, navigation mesh would be where the textured plane is.
Hey, thanks for the quick reply. Let me show what I want to achieve:
I need following rendering: ![alt text][1] [1]: https://www.google.com/url?sa=i&rct=j&q=&esrc=s&source=images&cd=&cad=rja&uact=8&ved=2ahU$$anonymous$$Ewi68PfCrIHdAhX$$anonymous$$JJo$$anonymous$$HTFsAX8QjRx6BAgBEAU&url=https%3A%2F%2Fwww.androidout.com%2Fitem%2Fandroid-apps%2F917010%2Fnew-guide-for-homescapes%2Fψg=AOvVaw1XDjLV8X$$anonymous$$3eQobD_FDGltX&ust=1535050920796051
As far as I understand, here we have a plane 2D Sprite as a background, and some 3d objects planted on top of it, like Character. there is also invisible plane with navmesh, to move on that.
If I put my character on top of it, my camera always looks on it from the top. While I need to observer my character, when he is moving from: face, back, left, right, this means that my character should be actually rotated on the sprite. Im wondering, is that correct setup, or are there any other ways to make that?
reference game is called Homescapes.
@PolosatiyVjih - See the updated post. "reference game is called Homescapes." - Last time the topic was Pillars of Eternity so I'll stick with that.