Jump to content
Xycaleth

Rend2 - A Modern Renderer

Recommended Posts

It does not store light positions at all.  Unless the map was compiled to bsp with -keeplights they are stripped from the entity structure which is in the bsp.  The only lights you would still have are the ones from shaders.  You also wouldn't know if there were any light adjustments made during the original light compile either via scale etc...

Share this post


Link to post

It does not store light positions at all.  Unless the map was compiled to bsp with -keeplights they are stripped from the entity structure which is in the bsp.  The only lights you would still have are the ones from shaders.  You also wouldn't know if there were any light adjustments made during the original light compile either via scale etc...

Oh, that's too bad. :/

Share this post


Link to post

I've had a few maps I've decompiled where the lights were kept, not sure why/how.

 

Anyways, isn't there a cvar to disable the showing of lightmaps? Maybe that could be useful for already compiled maps.

Share this post


Link to post

I've had a few maps I've decompiled where the lights were kept, not sure why/how.

 

Anyways, isn't there a cvar to disable the showing of lightmaps? Maybe that could be useful for already compiled maps.

 

There is r_lightmap or so, but I think it does the opposite - 1 shows the lightmap and no textures, 0 is default and is the combination of them.

Share this post


Link to post

Anyways, isn't there a cvar to disable the showing of lightmaps? Maybe that could be useful for already compiled maps.

r_fullbright 1

Share this post


Link to post

I applied this to JKE, and it totally eff'ed up the menus. Tons of missing textures signs and what not.

Share this post


Link to post

I applied this to JKE, and it totally eff'ed up the menus. Tons of missing textures signs and what not.

Oh yeah, currently, rend2 is for mp, sp is pretty bad at the moment

Share this post


Link to post

Oh yeah, currently, rend2 is for mp, sp is pretty bad at the moment

How do I fix sp?

Share this post


Link to post

When all is completed, there will be an edited menu to change rend2 settings and renderers to make life easier.

SomaZ likes this

Share this post


Link to post

Things are looking pretty grey now, but it's getting closer to what I'm aiming for (code-wise):

test.png

Here's a fun fact: the majority of the time generating this image is proportional to the number of pixels in the image. For 800x600, that's 480000 pixels. If we say a large BSP map will have maybe 100 lightmaps (this might be an over-estimate), which are 128x128 (because that's how big they are), then that's 1638400 pixels, i.e. roughly 3-4x more pixels. At the moment, a high quality render would probably take me around 30 minutes for 480000 pixels, so for a very large map, that would be less than 2 hours. As far as I know, Q3Map2 can take over a day to run the lighting phase for a large map.

 

These are all very rough numbers, but I'm hoping they're approximately reflect the kind of speed I'll be able to get - and I haven't even made this multithreaded yet. And it's not even making use of GPUs.

Share this post


Link to post

Does anyone have any indoor maps (strictly no skyboxes) that I could use for testing purposes? :)

I have my WIP Ilum map that's all indoor and very small still. And extremely dark. If that's of interest.

Share this post


Link to post

Does anyone have any indoor maps (strictly no skyboxes) that I could use for testing purposes? :)

I'd assume that means no shaderlights at all?

Share this post


Link to post

For the moment, yeah. Now I think about it, not many maps will have only light entities, but on the off chance, I'm still looking :P

 

I have my WIP Ilum map that's all indoor and very small still. And extremely dark. If that's of interest.

I'd be interested in that. Could you send the .map over? I don't need the textures for now, if you have any custom ones.

Share this post


Link to post

@zOrg - no one is stopping you-- go ahead & knock yourself out... but don't poo-poo or vomit all over the good, hard work that people are doing to upgrade this engine!

 

Edit: Plus these kind of comments, like yours above, can be demoralizing... have you ever considered that?

 

Keep up the great work @@Xycaleth!

LucyTheAlien and Stoiss like this

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...