Sign in to follow this  
zamiel

Unity Pre-rendered Backdrop with 3d Character

Recommended Posts

Hi I'm new here.

 

I'm a programmer who know C#, JavaScript, AS & a little bit of C++.
I'm using actually Unity (C#) for recreating a map in Chrono Cross.

<There is a good example of what I want to reproduce>
http://www.youtube.com/watch?feature=player_detailpage&v=0eZ4TIVMTv8#t=323s

<There is the visual>
http://chronocompendium.com/images/wiki/e/ef/Terra_tower_stairway.png

1# Is it A good think to recreate it on Unity?

 

2# If yes how can I easily put in layer my Background?

*Because I use perspective and with the frustum placing each 2d layer is hard.

*When I move the camera with perspective the layer are offset.


3# How Can I make my player look like smaller when the image is clearly a optical effect? <See Visual & See stairway video>

Thank you everyone in advance & please excuse my English.

 

Share this post


Link to post
Share on other sites
That looks like a resident evil 1 style system, but with 2d scrolling. You just need to render the Z value of each pixel when you render the background (they are all pre-rendered, right, rather than drawn in 2d)? And use that to fill the Z buffer before doing 3d rendering as usual.

Share this post


Link to post
Share on other sites

[quote name='Paradigm Shifter' timestamp='1356821251' post='5015557']
(they are all pre-rendered, right, rather than drawn in 2d)?
[/quote]

They are plane with texture. <Unity style.>

Share this post


Link to post
Share on other sites

[quote name='Paradigm Shifter' timestamp='1356821741' post='5015560']
Is that like Gangnam Style?
[/quote]
Unity Style XD ... it's because Unity is not really good with 2D. This is why I question myself if it's the good engine to do that.

[quote name='Paradigm Shifter' timestamp='1356821741' post='5015560']
just render the layered textures with Z writes and do the 3d characters as normal.
[/quote]
With perspective camera it's just lame of placing the plane. & when the camera with perspective move the plane are offset with each other. We need it if we want perspective with the 3D character. But even there the player don't go smaller when we go down.
 

Share this post


Link to post
Share on other sites

Render the character directly to a texture on a completely different frustum that gives the desired look and then place him on screen as a billboard. Otherwise you are unlikely to get the two to line up perfectly without rendering the character orthographically. Speaking of: to prevent artifacts to the image you will want to render it in screen space not world space. Use parallax scrolling to achieve the effect you want with multiple layers. This also has the added benefit of making the placement of the 2d layers near trivial.

Share this post


Link to post
Share on other sites
You need Unity Pro to render to texture.

If you know where your camera is going to be, and the FOV you can just set up the same camera, and then render the picture WITH the depth values possibly stored in the alpha channel. You can write a shader to do this.

As long as the FOV and camera position is the same, it's pretty much the same as having rendered it out in 3D to begin with, because you have the exact same frame buffer data. Then anything else you render will be the same, because the depth is there to test against.

Share this post


Link to post
Share on other sites

As long as the FOV and camera position is the same


If I need to do translation like this http://www.youtube.com/watch?feature=player_detailpage&v=0eZ4TIVMTv8#t=323s ?
 



Not 100% sure about that.

The camera never changes position or distance in these games, or it would invalidate the pre-rendered point of view. It only pans. So there must be a formula to line up the camera panning and the image panning. I forget the term. It may be called match moving.

You're still in a 3D world, and in that video you posted, the characters are walking and climbing on slopes and planes. So you need a good function to determine where to center the picture based on where the camera is centered.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

  • Announcements

  • Forum Statistics

    • Total Topics
      628294
    • Total Posts
      2981882
  • Similar Content

    • By CpawsMusic
      Hey there! My name is Cpaws and I compose music, sound effects and overall sound design for video games and film. I'm looking to work on a horror game mainly for fun and as an addition to my portfolio. I've used Unity & Wwise before for audio implementation.
      If you're interested in working together, don't hesitate to contact me at cpawsmusic@gmail.com
      Here's a few demo reels of my past projects: 
      Here's some snippets of some quick game music I've composed: https://soundcloud.com/cpawsmusic/sets/cpaws-video-game-film-music
      Here's my portfolio/website: https://CpawsMusic.com/
      E-mail: cpawsmusic@gmail.com
    • By muhamad rabee
      My first mobile game made by unity

      iphone: https://itunes.apple.com/us/app/aa-countdown/id1314223584?ls=1&mt=8

      android: https://play.google.com/store/apps/details?id=com.mr.AACountDown

      I appreciate every suggestion
    • By Simplepg
      https://play.google.com/store/apps/details?id=simple.gplay.GamesInABox
    • By Simplepg
      https://play.google.com/store/apps/details?id=simple.gplay.GamesInABox
    • By ForgedInteractive


      Who We Are
      We are Forged Interactive, a small team of like-minded game developers with the sole purpose of making games we love! We're a team of artists, animators, programmers, level designers, writers, composers, producers, and other creative minds. We want to make games that you, the modern gamer want to play! We hope to build a community that enjoys our games as much as we love creating them. With your feedback and support we will be able to achieve that.

      About the Game
      GAME NAME is a fun, action-packed army builder with unique characters, challenges and engaging levels. Set forth on an adventure to protect friends, family and countrymen from new adversaries. Once defeated your enemies turn coat and join you in your adventures. Players can enjoy a range of troops and abilities based on their gameplay style which become more important as maps introduce more challenging terrain, enemies and bosses. Strong orc knights, dangerous shamans, and even a dragon are out on the prowl. Knowing when to fight and when to run, and how to manage your army is essential. Your actions alone decide the fate of this world.

      Previous Work by Team
      Although we are working towards our first game as a team, our team members themselves have past experience in the industry.
      This includes members who have worked on titles including:
      Final Fantasy Kingsglaive, FIFA, Xcom 2 and Civilization.

      Who are we looking for? 3D Modellers Concept Artists Marketing Specialists Level Designer

      What do we expect? Reference work or portfolio. Examples what have you already done and what projects you have worked on academic or otherwise. The ability to commit to the project on a regular basis. If you are going on a two-week trip, we don't mind, but it would be good if you could commit 10+ hours to the project each week. Willingness to work with a royalty based compensation model, you will be paid when the game launches. Openness to learning new tools and techniques
      What can we offer? Continuous support and availability from our side. You have the ability to give design input, and creative say in the development of the game. Shown in credits on websites, in-game and more. Insight and contacts from within the Industry.
      Contact
      If you are interested in knowing more or joining. Please email or PM us on Skype. Myself or Colin will reply to you within 48 hours.

      E-mail: Recruitment@ForgedInteractive.com
      Skype: ForgedInteractive

      Regards,
      David and Colin

      Follow us on:

      Facebook: https://www.facebook.com/ForgedInteractive/
      Twitter: @ForgedInteract
      Youtube: https://www.youtube.com/channel/UCpK..._as=subscriber
      Reddit: https://www.reddit.com/user/Forged_Interactive/
  • Popular Now