Does the envmap command in Quake serve any relevant purpose at all (today)? (I'm guessing no)
For that matter, does timefresh? (I'm guessing yes)
Envmap command serve any purpose at all?
Envmap command serve any purpose at all?
The night is young. How else can I annoy the world before sunsrise?
Inquisitive minds want to know ! And if they don't -- well like that ever has stopped me before ..
Re: Envmap command serve any purpose at all?
timerefresh can be used for benchmarking. it skips over all the irrelevent client/server/etc code and measures just your cards *SwapBuffers call. 
Its important to know where the time is spent so you can target optimisations more effectively.
But it is a C coder's command. I'm not sure a mapper would care.
envmap can be useful. Specifically, it can be useful for generating cubemap images. Yay skyboxes...
But more practically, if you ever support certain renderer effects like cubemap reflections or rtlights, the envmap command is the only real way to generate such cubemaps.
Obviously, this only applies if you actually support rendering various such cubemaps. For every other engine is a bit useless.
Its a mapper command in those cases.
Its important to know where the time is spent so you can target optimisations more effectively.
But it is a C coder's command. I'm not sure a mapper would care.
envmap can be useful. Specifically, it can be useful for generating cubemap images. Yay skyboxes...
But more practically, if you ever support certain renderer effects like cubemap reflections or rtlights, the envmap command is the only real way to generate such cubemaps.
Obviously, this only applies if you actually support rendering various such cubemaps. For every other engine is a bit useless.
Its a mapper command in those cases.
Re: Envmap command serve any purpose at all?
Render-to-cubemap would be better.
I'm fairly certain that envmap as shipped in the released code is quite broken.
I'm fairly certain that envmap as shipped in the released code is quite broken.
We had the power, we had the space, we had a sense of time and place
We knew the words, we knew the score, we knew what we were fighting for
We knew the words, we knew the score, we knew what we were fighting for