3D ironsights? -1 reply

Please wait...

Archimonde0_0

In Vino Veritas

50 XP

28th August 2006

0 Uploads

1,231 Posts

0 Threads

#71 11 years ago

Alright look, theres actually 2 ways this could work now that I think of it.

Now lets use examples, for instance, Project Reality uses just the First LOD of the First Person Geometry, Lod0 to make their sights, and they place a 1.099 (slightly under the full FOV) on the zoom, giving it ever so slight zoom, but as we all know there is no Depth Of Field to the weapon.

Now, think of it like this, lets take the Lee-Enfield, you use Lod0 as the sight mesh, and raise it into position using animations, there is normally a To-Zoom, a Zoom-Fire, a Zoom-Changefirerate, and a few others. So in the "to zoom" the main gun comes up and gets centered in the screen, effectively mimicking what project reality does., but this is where the new piece you would add comes in.

So on the first person LOD Geom0_1p, or Geom0, you add a 2-dimensional plane as a part of the gun, just like the trigger or the magazine or whatever might be. You assign that part to one of the Mesh's, hiding it until its needed, lets just say, Mesh9. Then when you animate the to zoom animation, you raise the gun, BUT also the hidden 2d plane into position, with the Depth Of Field texture applied, and center accordingly, and you effectively, have dynamic 3d Iron Sights, but with a 2d Plane that is connected to it, using the Depth Of Field texture to create blur.

Alternatively, you could model the entire upper part of the rifle, in extremely high detail with a 2d plane attached to its rear (for the DOF texture) and all moving parts you would see. In case of the Lee-Enfield you would probably see the moving parts on the rear of the weapon. You then attach all those parts to Meshs in Geom_0 (cant use them in 3rd person without seeing floating parts), and then animate to all move into position during a zoom, giving you a high detail mesh that takes on the role of the sights, as well as having a Depth Of Field texture.

Personally the first would be easier than the second, but who knows.

Hope Its clear. If its not, Ill try and photoshop and take screenshots of what I mean, I cant run bf2, so Im at a disadvantage.




Guest

I didn't make it!

0 XP

 
#72 11 years ago

good idea archimonde, provided I understood it correctly it's somewhat similar to one I had some time ago (yours is better, anyway). Anyway, I quickly run into problems which in part would also exist with your idea (especially for bolt-actions), so for what it's worth here are the problems I encountered, maybe you can solve them

As an example, let's take the PR no.4 pic:

iffrich;4734972
Spoiler: Show
bf2_2008-12-21_15-00-21-57132.png

When you turn the bolt, the right hand should come out of focus as well, which is a problem because the hand is part of the soldier model, not of the weapon, so I don't know how an handweapon-based depth of field plane can be attached to it...

The only solution I could think is not showing the real soldier hand but a fake "hand" which is actually part of the handweapon, to which the dof plane is attached... But this caused a lot of problems since it would require a complete rewriting of the animations and the fake hand skin should also change when the real hand skin changes (for example what if some but not all soldier skins in a map had gloves?).

Your idea might work for automatic and semiautomatic weapons though.




Archimonde0_0

In Vino Veritas

50 XP

28th August 2006

0 Uploads

1,231 Posts

0 Threads

#73 11 years ago

Well thats the glory of my idea, the Human eye naturally has 2 degrees of actual focus, and it shifts back and forth and in all directions focusing on little details to form a big picture.

The Glory of my plan, with the 2d Plane for the DOF texture, is that the DOF texture would then be able to be animated itself, so for instance the depth of field plane, which would be wide enough to prevent it from unclipping in the camera, could be rotated to adjust the focus from the weapon, to the hand, to where-ever the eye need focus. It can be moved up, down, left, right, rotated 360 degrees in all directions. Its not static.




Arnoldio

I don't spend enough time here

50 XP

22nd July 2008

0 Uploads

16 Posts

0 Threads

#74 11 years ago

I just had to search for this and bump it lol... In the end I win :D

First torrent is going slow ass hell so i have not yet tested the new version -.-




sheikyerbouti

I spend enough time here

50 XP

11th April 2008

0 Uploads

814 Posts

0 Threads

#75 11 years ago

i think alot of douchebags are leeching and not seeding the torrents, I was upset they didn't put up some Http mirrors but I understand that the release was a little rushed. You will love 3d ironsights,