PiBoSo Official Forum

GP Bikes => Suggestions and wishlist => Topic started by: Blackheart on April 02, 2016, 10:58:40 PM

Title: Real Mirrors
Post by: Blackheart on April 02, 2016, 10:58:40 PM
Mr. Piboso since in WRS are already implemented, is possible have the same for GP Bikes? So we can create good road bikes!
Title: Re: Real Mirrors
Post by: PiBoSo on April 02, 2016, 11:02:27 PM
Quote from: Blackheart on April 02, 2016, 10:58:40 PM
Mr. Piboso since in WRS are already implemented, is possible have the same for GP Bikes? So we can create good road bikes!

A separate texture must be used for each mirror surface, and the texture filename must include "mirror"; for example: "leftmirror.tga" or "mirror_right.tga"
Title: Re: Real Mirrors
Post by: Blackheart on April 02, 2016, 11:09:29 PM
Had been told not to enter "mirror_" in the texture name to avoid an absurd framedrop  ??? 

EDIT: however now i'll test this for see if it is a general problem
Title: Re: Real Mirrors
Post by: h106frp on April 02, 2016, 11:23:25 PM
Sounds great, i never tried it with separate textures for each mirror.
Title: Re: Real Mirrors
Post by: Blackheart on April 02, 2016, 11:31:29 PM
I take core.exe  ??? with 2 separate textures named "leftmirror.tga" and "rightmirror.tga"

EDIT: core also with just a mirror, maybe the problem is my texture... i try something else  :P
Title: Re: Real Mirrors
Post by: Blackheart on April 03, 2016, 12:30:22 AM
It works ... but just I rotate the bike in the main menu... core.exe! I tried both with alpha channel and without it  ???
Title: Re: Real Mirrors
Post by: h106frp on April 03, 2016, 12:37:15 AM
Tried in 1P and core.exe when you go to track  :(

Tried leftmirror, rightmirror and mirror_left, mirror_right with and without alpha - texture is 128*64 and no shaders
Title: Re: Real Mirrors
Post by: Blackheart on April 03, 2016, 12:39:37 AM
The problem are the shadow try without them for me work now  :P

EDIT: nope works just in main menu, core in the track lol
Title: Re: Real Mirrors
Post by: Blackheart on April 03, 2016, 12:05:00 PM
Damn with the mirrors; core.exe or the framerate drop to 1 on the track... Anyone has an idea? :(
Title: Re: Real Mirrors
Post by: Napalm Nick on April 03, 2016, 12:17:34 PM
If this bike design was still about by someone would it help to study it?
http://forum.piboso.com/index.php?topic=1075.msg49420;topicseen#msg49420
Title: Re: Real Mirrors
Post by: Blackheart on April 03, 2016, 12:22:58 PM
No Nick in the video the mirrors are "fake" it's just a shader, are orrible, we looking for real mirrors, this is possible and works but we have big problems with core and framerate.
Title: Re: Real Mirrors
Post by: h106frp on April 03, 2016, 12:27:50 PM
Yep, can do fake mirrors no problem, looking for something similar to WRS but as far as i can tell these are special objects in WRS car gfx.cfg. Tried the same implementation in GPB but i cannot get it to work - just core.exe going to track
Title: Re: Real Mirrors
Post by: Napalm Nick on April 03, 2016, 01:07:09 PM
Ok not sure what you mean by fake tho they show reflections even if a bit blurry? hehe no idea me. ::)
Title: Re: Real Mirrors
Post by: Steven on April 03, 2016, 02:34:08 PM
I also have framedrops (close to 0) with this mirror. (For example on Victoria, with only this mirror plane in view - nothing else in the model that reflects or has specular or something.) Also lowering graphic settings doesn't seem to change it.

I remember some betas ago it was usable. Also this seems to be track related - on Albacete for example it works without problems (maybe no shaders applied?).

Also try to start with a low texture resolution (maybe 16x16). The texture resolution controls the resolution of the mirror. (I don't know if this has influence on the performance but I could imagine.) Use this mirror in the cockpit model only. Using it in the non-cockpit model causes core.exe in the showroom for me, too.

I think the entries in the gfx.cfg are just there to be able to adjust the mirrors, but at the moment the menu to do this (like in WRS) is missing.

Nick, if you have a look at the reflections of a bikes chassis for example, they are as you said blurry and also not fluent. This mirror looks smoother.
Title: Re: Real Mirrors
Post by: Blackheart on April 03, 2016, 03:14:17 PM
Need some indications from Pibo here  :-\

Nick these are the "real mirrors"

(http://i68.tinypic.com/2a9xrax.png)
Title: Re: Real Mirrors
Post by: doubledragoncc on April 03, 2016, 03:22:33 PM
Sweet.................

Are you just doing this so you can look at how good looking you are while you ride BH? lol

Sorry could not resist a pretty boy comment after that pic of you looking at yourself in the mirror lol.

Real nice work, hope it functions for the future with road bikes as I think we need lots of em.

DD
Title: Re: Real Mirrors
Post by: Blackheart on April 03, 2016, 03:33:23 PM
 ;D Unfortunately the screenshot I could only do it in the showroom  :'(

We are confident that we can have these mirrors for our mods, but as I said we need more information from Piboso, maybe it's just that we use a wrong method.  ::)
Title: Re: Real Mirrors
Post by: Napalm Nick on April 03, 2016, 04:04:06 PM
Awesome fellas! You are doing a good job and I think the information you add in to the forum is worth its weight in gold for everyone now and in the future.  8)
Hope PiBoSo can help us out here  :)
Title: Re: Real Mirrors
Post by: PiBoSo on April 03, 2016, 06:01:19 PM

Please try disabling 3D grass.
Title: Re: Real Mirrors
Post by: Blackheart on April 03, 2016, 06:32:04 PM
Quote from: PiBoSo on April 03, 2016, 06:01:19 PM

Please try disabling 3D grass.

With no 3d grass i have 9 fps, with i've 0/1 (Victoria track) and in some parts of the track increases slightly the fps and vice versa.

EDIT: obviously only when the mirrors are on screen, if i look back no framedrops.
Title: Re: Real Mirrors
Post by: Blackheart on April 23, 2016, 09:12:15 PM
@Piboso

Any news? We want the mirrors!  :'(
Title: Re: Real Mirrors
Post by: Blackheart on August 24, 2016, 04:46:47 PM
Bump

Again same problem i cant make nice mirrors for my bike mod because core.exe when i go on a track... i tried with a little plane with a texture 256x256 named "Mirror_L"  >:(

Here a shot with a huge plane with a 2k texture,

(http://i66.tinypic.com/9jds9c.png)

Title: Re: Real Mirrors
Post by: PiBoSo on August 24, 2016, 07:00:28 PM
Quote from: Blackheart on August 24, 2016, 04:46:47 PM
Bump

Again same problem i cant make nice mirrors for my bike mod because core.exe when i go on a track... i tried with a little plane with a texture 256x256 named "Mirror_L"  >:(

Please upload the mod that crashes and send a message with the link, so that it can be debugged.
Title: Re: Real Mirrors
Post by: doubledragoncc on August 24, 2016, 07:33:37 PM
Interesting AND a sneak peak of new front end?

DD
Title: Re: Real Mirrors
Post by: Blackheart on August 24, 2016, 08:43:40 PM
Quote from: PiBoSo on August 24, 2016, 07:00:28 PM
Quote from: Blackheart on August 24, 2016, 04:46:47 PM
Bump

Again same problem i cant make nice mirrors for my bike mod because core.exe when i go on a track... i tried with a little plane with a texture 256x256 named "Mirror_L"  >:(

Please upload the mod that crashes and send a message with the link, so that it can be debugged.

Done!

@DD explain the problem with a private message
Title: Re: Real Mirrors
Post by: PiBoSo on August 24, 2016, 09:08:51 PM
Quote from: Blackheart on August 24, 2016, 08:43:40 PM
Quote from: PiBoSo on August 24, 2016, 07:00:28 PM
Quote from: Blackheart on August 24, 2016, 04:46:47 PM
Bump

Again same problem i cant make nice mirrors for my bike mod because core.exe when i go on a track... i tried with a little plane with a texture 256x256 named "Mirror_L"  >:(

Please upload the mod that crashes and send a message with the link, so that it can be debugged.

Done!

Thank you.