Jump to content

Rear view mirror?


bungalow bill
 Share

Recommended Posts

Not enough, you need to make a dummy texture and material file which you use to paint a plane, then you just replace the texture of the material on the fly with the rendered color buffer. That way the rear mirror can have any shape and it's fully 3D ingame.

Ryzen 9 RX 6800M ■ 16GB XF8 Windows 11 ■
Ultra ■ LE 2.53DWS 5.6  Reaper ■ C/C++ C# ■ Fortran 2008 ■ Story ■
■ Homepage: https://canardia.com ■

Link to comment
Share on other sites

  • 8 months later...

This post isn't of much help but just noticed this technique while playing Test Drive Unlimited 2. They have a less detailed world rendered in the mirrors. Would this be done by decreasing the LOD distance? Anyhow, it's a pretty cool way to go around things, as you don't tend to notice much of a difference at a quick glance, yet it will up performance by a lot. An image showing what I mean:

post-10-0-58070500-1306195070_thumb.jpg

Intel core 2 quad 6600 | Nvidia Geforce GTX460 1GB | 2GB DDR2 Ram | Windows 7.

 

Google Sketchup | Photoshop | Blender | UU3D | Leadwerks Engine 2.4

Link to comment
Share on other sites

I used a combination of ModelDetail(n) and TerrainDetail(n) when rendering second cameras for TV monitors. You can also use a filter (RenderWorld(...)) and reduce the camera range of your mirror cam to speed things up.

 

I've done it for a weapons camera, if you don't go overboard with real-time shadows (I recommend turning them off for a mirror camera pass) it should work really well.

 

Additional performance can be had by frame skipping the mirror cam update. Just update the texture every other frame will greatly improve overall performance.

6600 2.4G / GTX 460 280.26 / 4GB Windows 7

Author: GROME Terrain Modeling for Unity, UDK, Ogre3D from PackT

Tricubic Studios Ltd. ~ Combat Helo

Link to comment
Share on other sites

I used a combination of ModelDetail(n) and TerrainDetail(n) when rendering second cameras for TV monitors. You can also use a filter (RenderWorld(...)) and reduce the camera range of your mirror cam to speed things up.

 

I've done it for a weapons camera, if you don't go overboard with real-time shadows (I recommend turning them off for a mirror camera pass) it should work really well.

 

Additional performance can be had by frame skipping the mirror cam update. Just update the texture every other frame will greatly improve overall performance.

 

Whoa, quite useful recommendations.

Working on LeaFAQ :)

Link to comment
Share on other sites

Oh, I forgot about camera range! Just noticed in the image also that the shadows are disabled in Test Drive Unlimited 2 in the mirrors. I never realised that before.

Intel core 2 quad 6600 | Nvidia Geforce GTX460 1GB | 2GB DDR2 Ram | Windows 7.

 

Google Sketchup | Photoshop | Blender | UU3D | Leadwerks Engine 2.4

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...