Reminder: Internet Explorer 6 or below are NOT supported.





There are currently 20 users playing Freelancer on
43 servers. | June. 8, 2023 |
Browsing this Thread:
1 Anonymous Users
New Renderer (OpenGL 3.3) |
||||
---|---|---|---|---|
Home away from home
![]() ![]() Joined:
2008/7/8 21:15 From Germany
Group:
Registered Users FLServer Admins Trusted Speciality Developers Senior Members
Posts:
605
![]() |
Rendering is done in OpenGL. Found an old d3d8 to GL wrapper from 2003 and fixed a lot of stuff. Still WIP
![]() No promises where this will lead to. Got normalmaps also working, though it is still limited. Edit: Remember you have to right click and select "view image" or similar to see the whole pictures. Is there a way to embed it so that there are scrollbars? Most the textures are high res versions done by myself, so don't wonder. Mod is New Universe (what else? ![]() Attach file: ![]() ![]() ![]() ![]()
Posted on: 2013/6/30 0:56
|
|||
|
Re: Effects showroom! |
||||
---|---|---|---|---|
Home away from home
![]() ![]() Joined:
2008/7/8 21:15 From Germany
Group:
Registered Users FLServer Admins Trusted Speciality Developers Senior Members
Posts:
605
![]() |
Last one for today.
Attach file: ![]() ![]()
Posted on: 2013/6/30 1:26
|
|||
|
Re: Effects showroom! |
||||
---|---|---|---|---|
Home away from home
![]() ![]() Joined:
2010/6/13 10:58 From France
Group:
Registered Users $$$ Supporters $$$ Senior Members
Posts:
507
![]() |
Open gl works on FL... Interesting.
By the way what are you using for normals, 8bit, 16bit or 24bit (no DU/DV)?
Posted on: 2013/6/30 9:29
|
|||
|
Re: Effects showroom! |
||||
---|---|---|---|---|
Home away from home
![]() ![]() Joined:
2008/7/8 21:15 From Germany
Group:
Registered Users FLServer Admins Trusted Speciality Developers Senior Members
Posts:
605
![]() |
I am not sure I understand the question. In the pictures there is no normal mapping yet. Just standard normals, which are 32bit per dimension. I was surprised how good it looked without it (hence the pictures). Guess it is the lighting model I choose, which is not Phong (obviously). I experimented a lot with such models some time ago.
And yes, of course it works with OpenGL (wine runs it too, like many other games), the problem is getting there. For which you have to know your stuff, even looked at the wine sources for some things so that I don't reinvent the wheel.
Posted on: 2013/6/30 10:40
|
|||
|
Re: Effects showroom! |
||||
---|---|---|---|---|
Home away from home
![]() ![]() Joined:
2010/6/13 10:58 From France
Group:
Registered Users $$$ Supporters $$$ Senior Members
Posts:
507
![]() |
Lighting isn't bad at all.
What lighting type do you use?
Posted on: 2013/6/30 17:18
|
|||
|
Re: Effects showroom! |
||||
---|---|---|---|---|
Home away from home
![]() ![]() Joined:
2008/7/8 21:15 From Germany
Group:
Registered Users FLServer Admins Trusted Speciality Developers Senior Members
Posts:
605
![]() |
I found some papers and implemented some of their solutions. Basically it is a mixture of different models. There even is a color shift of the reflection depending on the viewing angle. If you read up on it you can quite easily mix the equations and build one to your liking. There are also papers which compare different lighting models. And as always I am not quite satisfied with the results yet
![]() There also is still a problem with dark spots in combination with compression artifacts and the resulting reflective color. So it is not finished yet. The shader is taken from my own 3d engine. The next step is getting the name of the texture which is currently active. Lets hope I somehow get it ![]()
Posted on: 2013/6/30 17:38
|
|||
|
Re: Effects showroom! |
||||
---|---|---|---|---|
Home away from home
![]() ![]() Joined:
2010/6/13 10:58 From France
Group:
Registered Users $$$ Supporters $$$ Senior Members
Posts:
507
![]() |
Do I have a lot to read about lighting?
Posted on: 2013/6/30 17:56
|
|||
|
Re: Effects showroom! |
||||
---|---|---|---|---|
Home away from home
![]() ![]() Joined:
2008/7/8 21:15 From Germany
Group:
Registered Users FLServer Admins Trusted Speciality Developers Senior Members
Posts:
605
![]() |
Depends on how good your math understanding is. It's nothing too complicated, although you should be able to read/understand the formulas and convert them to shader code.
P.S.: I got the texture names now, so that is out of the way.
Posted on: 2013/6/30 23:14
|
|||
|
Re: Effects showroom! |
||||
---|---|---|---|---|
Just popping in
![]() ![]() Joined:
2011/8/17 1:37 Group:
Registered Users
Posts:
12
![]() |
Just putted every lights as dynamic light and DX9 hook from FW TOW.
![]() ![]() ![]() However I can't get proper cone headlight, how to make a cone headlight? The light seems didn't show up if lightsource_cone below 180.
Posted on: 2013/7/3 2:33
|
|||
|
Re: Effects showroom! |
||||
---|---|---|---|---|
Home away from home
![]() ![]() Joined:
2010/2/17 20:45 From Germany
Group:
Registered Users Senior Members
Posts:
512
![]() |
Quote:
Probably because it's not made for such lights? Or probably it's not implemented yet.
Posted on: 2013/7/3 16:05
|
|||
How to create .SUR files - Tutorial | ||||
|
Re: Effects showroom! |
||||
---|---|---|---|---|
Home away from home
![]() ![]() Joined:
2008/7/8 21:15 From Germany
Group:
Registered Users FLServer Admins Trusted Speciality Developers Senior Members
Posts:
605
![]() |
Some corrections + normal- and parallaxmapping. Still WIP.
![]() ![]() ![]() ![]() What do you guys think? This site could still use better image handling (so right click on the image and select "view image" or smth like that) ![]()
Posted on: 2013/7/10 16:58
|
|||
|
Re: Effects showroom! |
||||
---|---|---|---|---|
Home away from home
![]() ![]() Joined:
2010/6/13 10:58 From France
Group:
Registered Users $$$ Supporters $$$ Senior Members
Posts:
507
![]() |
WOW! Phenomenal!!! really awesome! It looks chrome-plated though.
Posted on: 2013/7/10 19:50
|
|||
|
Re: Effects showroom! |
||||
---|---|---|---|---|
![]() Joined:
2013/7/3 0:58 Group:
Banned!
Posts:
28
![]() |
Yea, extremely good, but could be better ;p
Posted on: 2013/7/10 19:54
|
|||
|
Re: Effects showroom! |
||||
---|---|---|---|---|
Home away from home
![]() ![]() Joined:
2010/2/17 20:45 From Germany
Group:
Registered Users Senior Members
Posts:
512
![]() |
Quote:
I guess you have to tell exactly WHAT could be better, otherwise he doesn't know it.
Posted on: 2013/7/10 19:56
|
|||
How to create .SUR files - Tutorial | ||||
|
Re: Effects showroom! |
||||
---|---|---|---|---|
![]() Joined:
2013/7/3 0:58 Group:
Banned!
Posts:
28
![]() |
Skotty., hey, dont be so angry. I thought it's obvious.
For better result vanilla texrures must be redrawn a bit and normals must not smooth panel details so much (to avoid 'chrome' photoshop-filter-like effect). This is very easy, but result will look bit better.
Posted on: 2013/7/10 20:48
|
|||
|