Argh
#1516 posted by ericw on 2015/06/24 20:10:03
thanks for the report. Was trying to be clever and sort the bmodels by texture to gain a bit of performance, but it breaks that scene.
I guess the entities were ordered in the bsp file so that the teleporter entitiy would draw after the bookshelf.
Weird Fog Issue
#1517 posted by Breezeep_ on 2015/07/31 02:57:15
I've noticed some rendering issues with certain models and fog in the map:
http://i.imgur.com/BGel82p.png
#1518 posted by Spirit on 2015/08/08 13:01:51
Feature Request: Write stdout so that it is line-buffered or unbuffered or something. This would allow grepping the output and have the Quake Injector's engine output log update while playing.
Darkplaces does this well, no idea about other engines.
Animated Texture Question
#1519 posted by ptoing on 2015/08/16 03:16:59
In Jackhammer textures animate depending on which is their assigned frame. So you can do an animation that looks cascading inside of the JH viewport (for example with having a bunch of brushes with slip textures with increasing framenumbers.)
This looks pretty cool, but it seems this is not the way the engine handles things, since they all seem to start at +0. This is kinda lame (esp seeing as in Doom having them at different frame offsets is possible. Step back :|)
Would there be a way to implement this easily somehow? r_animtexoffset maybe?
Hack:
#1520 posted by ijed on 2015/08/17 14:34:09
Duplicate the textures and offset them by hand.
#1521 posted by ptoing on 2015/08/17 14:46:21
Well yeah, that is the obvious hack. Have the same textures a whole bunch of time with different offsets. Would be nice if it was possible in a non-stupid way :/
Stupid Is As Stupid Does
#1522 posted by ijed on 2015/08/17 15:25:25
Why not just offset the UVs on the brush?
#1523 posted by ptoing on 2015/08/17 15:27:44
How would that help with which animation frame is played?
It Wouldn't
#1524 posted by ijed on 2015/08/17 16:13:04
But it could help hide the fact they're all marching in unison, depending on how tall each brush is.
If you have large flat wall, it's always going to be visible. however, if you break the wall up into steps or multiple slopes and have the liquid flow over each one, this will also help hide the repetition.
Especially if you scale the textures as they 'flow' over the different angles to give them different flow speed. You will get some misalignment between brushes doing that.
If you do want them to move at different speeds (even though physics don't do that) you can just scale the textures on each of your flat brushes. A minor range of variation, say between 0.9-1.1 in Y.
#1525 posted by ptoing on 2015/08/17 16:36:43
I think you misunderstood me slightly. As in what I wanted to do.
Imagine a slipgate with that animated red grate texture, +0slip and following.
Imagine now you want to have 4 of these grates next to each other, but starting at different frames, +0slip, +1slip and so on. That would give a nice effect of the pulse going through the machine, not all as once, but flowing through it.
But the animation does always start on +0 no matter which frame you actually put on a brush.
So you would actually have to duplicate the brush and change the frames so that +1slip in the new animation becomes something like +0slip2. pita.
#1526 posted by mfx on 2015/08/18 03:29:03
#1527 posted by necros on 2015/08/18 04:02:01
clever!
#1528 posted by mh on 2015/08/18 11:09:00
I don't really see any reason why this wouldn't be possible in-engine, but I'm trying to think of how it could possibly break compatibility with other content. A cvar isn't the answer because that other content might be in the same map.
#1529 posted by ptoing on 2015/08/18 14:10:23
The simplest solution would be a variable which starts animations at the frames which is actually set on any given brushface. Of course this depends on how stuff is handled by the compiler? Does the compiler by any chance set all animation textures to +0?
But if that was possible something like r_textureanimframeoffset 1 or something would work well enough.
I think the way to do this right now is changing the texture names to suit your needs. There's no way of staggering the start points of the animation cycle.
#1531 posted by ptoing on 2015/08/18 15:45:20
Yeah, simple but kinda dumb way of doing it is duplicating the texture a bunch of times with different offsets. I really wonder why they did it like this in Quake when it works fine in Doom :/
#1532 posted by metlslime on 2015/08/18 18:18:13
have you tried it in software quake? It might actually work there and just be broken in all GL-based ports.
#1533 posted by ptoing on 2015/08/18 18:19:49
hmmmmmmmmmmmmmmmmmmmmmmmm. Trying now. will report back in a bit.
Nope
#1534 posted by ptoing on 2015/08/18 18:26:02
Tried in Winquake and original DOS Quake.exe 1.08. Same behaviour.
#1535 posted by metlslime on 2015/08/18 18:32:33
ah well. I think you should just duplicate the textures and be done with it.
#1536 posted by ptoing on 2015/08/18 18:48:24
Yeah, that's what I will do when I wanna do something like this, which I likely will at some point.
Weird Bug. Engine Or Map Related?
#1537 posted by ptoing on 2015/08/18 20:31:26
I just played a bit of A Desert Dusk in QS and at some point I got a weird bug. My axe was replaced with what looks like a scorpion stinger or something and all my other weapons could not be used until I found more ammo for them.
Link to demo, sadly not from start:
https://dl.dropboxusercontent.com/u/15588722/add_weirdness.zip
Little Idea, But Would Have To Be Coordinated With Other Engine Makers
#1538 posted by ptoing on 2015/08/19 12:26:36
func_water, func_lava and slime as well, so you can make something with a different texture have lava properties as well, without having to do hacky shit. But I reckon such a feature would lead to between-engine-headaches.
#1539 posted by mh on 2015/08/19 16:36:51
func_water, func_lava and slime as well, so you can make something with a different texture have lava properties as well, without having to do hacky shit. But I reckon such a feature would lead to between-engine-headaches.
This isn't determined by the engine, it's determined by the BSP compiler.
The only thing that the engine does is identify surfaces who's texture starts with "*" and draws them with the turbulent warp effect. But contents are already set during BSP compilation, so any changes would need to be made there.
#1540 posted by ptoing on 2015/08/19 17:57:30
Ah, that makes sense.
|