What are you working on?
Re: What are you working on?
Fair point frag.machine, most of the graphics are still very much WIP, so I'll probably have the enemy fire have more interesting colors to make it stand out.
Re: What are you working on?
I've finished the procedural dithered particle code, and I'm damn pleased with the result. I may post some screenshots tomorrow; it seems that Internet access is being cut in my job during the weekends…
The particle metadata takes a lot of RAM. About 100 MB in full HD (1080 particle sizes), 32 MB in 800*600, and 5 MB in 320*240. The number of sizes is given by the vrect's min(width, height).
But they're blazing fast to draw, even the translucent ones. Rendering hundreds and maybe thousands of particles on screen isn't a problem.
Now I'm working on some BSP drawing code…
The particle metadata takes a lot of RAM. About 100 MB in full HD (1080 particle sizes), 32 MB in 800*600, and 5 MB in 320*240. The number of sizes is given by the vrect's min(width, height).
But they're blazing fast to draw, even the translucent ones. Rendering hundreds and maybe thousands of particles on screen isn't a problem.
Now I'm working on some BSP drawing code…
Re: What are you working on?
Looks like it is reflecting geometry in view and cleverly fades-out the rest? Fading due to the shader? In any case not much FPS impact.Barnes wrote:update sslr
http://www.youtube.com/watch?v=lKoE2-iwGIQ
If system is new enough to run HD, then 100MB isn't much RAMmankrip wrote: I've finished the procedural dithered particle code, and I'm damn pleased with the result. I may post some screenshots tomorrow; it seems that Internet access is being cut in my job during the weekends…
The particle metadata takes a lot of RAM. About 100 MB in full HD (1080 particle sizes), 32 MB in 800*600, and 5 MB in 320*240. The number of sizes is given by the vrect's min(width, height).
Re: What are you working on?
Indeed. It seems to reuse the scene after the polygons have been clipped, so there's no need for clipping again. Maybe all it does is telling the GPU to redraw the on-screen polygons using a different projection matrix, which should be very efficient. And blurring the original screen limits of the reflection.qbism wrote:Looks like it is reflecting geometry in view and cleverly fades-out the rest? Fading due to the shader? In any case not much FPS impact.Barnes wrote:update sslr
http://www.youtube.com/watch?v=lKoE2-iwGIQ
Re: What are you working on?
SSLR is a completely screen space technique, the only things it needs are screen depth, normal & color buffers. Yes, it fades out the missing info, but it can be made to fade into Q3-style env map or cubemap probes.mankrip wrote:Indeed. It seems to reuse the scene after the polygons have been clipped, so there's no need for clipping again. Maybe all it does is telling the GPU to redraw the on-screen polygons using a different projection matrix, which should be very efficient. And blurring the original screen limits of the reflection.qbism wrote:Looks like it is reflecting geometry in view and cleverly fades-out the rest? Fading due to the shader? In any case not much FPS impact.Barnes wrote:update sslr
http://www.youtube.com/watch?v=lKoE2-iwGIQ
Re: What are you working on?
A normal map/buffer. I didn't think of that. That's really a genius use for normalmapping.Barnes wrote:SSLR is a completely screen space technique, the only things it needs are screen depth, normal & color buffers. Yes, it fades out the missing info, but it can be made to fade into Q3-style env map or cubemap probes.
Re: What are you working on?
Our implementation needs view-space normal, which can be additionally distorted by a UV offset or normal map.
Re: What are you working on?
One thing I think might be cool for Q2 is to add masks to the textures that define the 'metalness' of a pixel.
So then you could change some parameters of your reflection model for some cheapish physical based rendering.
So no more diffuse reflection for the metals and you could use the existing color texture as the specular color -- well, I SUPPOSE
Non-metals just use the color of the light as specular color (though ideally you need to gamma correct or it'll look conveniently metallic anyway).
I noticed Quetoo doesn't actually do diffuse shading with it's normal maps (only specular) which I guess is why the metals look kind of nice.
The downside is that you can't do things like brick walls and such very well, but Q2 is mostly metal so it's a natural fit.
The radiosity normal maps are nice, do you get them out of a compiler or render them in engine somehow?
Also did you have phong specular on the surfaces before? I guess you can't do that with 'vanilla' RNM unless you make a deluxel variant.
But SSLR magic trickery is probably better
So then you could change some parameters of your reflection model for some cheapish physical based rendering.
So no more diffuse reflection for the metals and you could use the existing color texture as the specular color -- well, I SUPPOSE
Non-metals just use the color of the light as specular color (though ideally you need to gamma correct or it'll look conveniently metallic anyway).
I noticed Quetoo doesn't actually do diffuse shading with it's normal maps (only specular) which I guess is why the metals look kind of nice.
The downside is that you can't do things like brick walls and such very well, but Q2 is mostly metal so it's a natural fit.
The radiosity normal maps are nice, do you get them out of a compiler or render them in engine somehow?
Also did you have phong specular on the surfaces before? I guess you can't do that with 'vanilla' RNM unless you make a deluxel variant.
But SSLR magic trickery is probably better
Re: What are you working on?
Shader takes 1 min to change, what is really funny is that there are no metalness/roughness textures and we have no time to draw them for 1488 textures of Quake2 (estimate without non-partial duplicates). Know anyone with such a wealth to do at least some?Spiny wrote:One thing I think might be cool for Q2 is to add masks to the textures that define the 'metalness' of a pixel.
So then you could change some parameters of your reflection model for some cheapish physical based rendering.
So no more diffuse reflection for the metals and you could use the existing color texture as the specular color -- well, I SUPPOSE
Non-metals just use the color of the light as specular color (though ideally you need to gamma correct or it'll look conveniently metallic anyway).
I noticed Quetoo doesn't actually do diffuse shading with it's normal maps (only specular) which I guess is why the metals look kind of nice.
The downside is that you can't do things like brick walls and such very well, but Q2 is mostly metal so it's a natural fit.
A modification to qrad3 allowed to use Blinn half-angle approximate specular. Not reflection probes, but better than no specular.The radiosity normal maps are nice, do you get them out of a compiler or render them in engine somehow?
Also did you have phong specular on the surfaces before? I guess you can't do that with 'vanilla' RNM unless you make a deluxel variant.
Not sure what you mean by 'vanilla RNM', Q2 had only flat lightmaps.
Currently, SSLR is only on the water surfaces. The visual impact from RNM is much larger, as finally the lighting code is making use of that little nice amount of re-texture present.But SSLR magic trickery is probably better
Re: What are you working on?
Spiney wrote: I noticed Quetoo doesn't actually do diffuse shading with it's normal maps (only specular) which I guess is why the metals look kind of nice.
The downside is that you can't do things like brick walls and such very well, but Q2 is mostly metal so it's a natural fit.
Re: What are you working on?
Thought of some double weapon system for TigerCake. Shields & Tools on left arm, Weapons on right arm.
The shield is a bit big, and should be transparent... Shield probably replaces armor.
The medikit can be used to heal self or other players in cooperative or leech health from enemies.
Don't know what that lance does. It's a magic fantasy lance, so it could shoot something. Maybe it's a bit incomplete.
The shield is a bit big, and should be transparent... Shield probably replaces armor.
The medikit can be used to heal self or other players in cooperative or leech health from enemies.
Don't know what that lance does. It's a magic fantasy lance, so it could shoot something. Maybe it's a bit incomplete.
zbang!
-
- Posts: 1395
- Joined: Tue Feb 24, 2009 4:39 pm
- Location: Italy
Re: What are you working on?
So cool jim, so cool... Can't wait to play it!
Can I ask you how do you realize double wielding system? It's kinda intriguing!
Can I ask you how do you realize double wielding system? It's kinda intriguing!
Meadow Fun!! - my first commercial game, made with FTEQW game engine
Re: What are you working on?
Radiosity normal mapping with indirect specular approximation and high resolution lightmaps
http://www.youtube.com/watch?v=00pLjnl66R8
http://www.youtube.com/watch?v=00pLjnl66R8