[Idea] Yea, Quake in Flash, but.. what about Flash in Quake?
Moderator: InsideQC Admins
19 posts
• Page 2 of 2 • 1, 2
Spike wrote:You can supposedly do the texture uploads in a separate thread. On modern dual core cpus, you'd be just wasting it otherwise.
And yeah, most videos animate at 24 frames per second or so. its a bit pointless to upload it when its not changed
more seriously though, if you're uploading 3 lightmaps 10 times a second, a video isn't much worse. Yes, there's a performance hit, but the upload itself will give a limited performance drop. You'll not halve the framerate, although decoding it could. Threads ftw.
The big problem would be mipmapping, especially with larger res videos (that aren't power of 2 dimensions) and on hardware that doesn't support hardware generated mipmaps. A separate thread for each currently active video would probably do it alright, but I suspect that owners of older or slower hardware need not apply.
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
-

mh - Posts: 2292
- Joined: Sat Jan 12, 2008 1:38 am
It's not 100% mandatory to mipmap in-game consoles. SIN didn't do it for one thing. Duke3D probably didn't either. You can "fade" the consoles to a generic texture when the view is a certain distance away.
F. A. Špork, an enlightened nobleman and a great patron of art, had a stately Baroque spa complex built on the banks of the River Labe.
- Sajt
- Posts: 1215
- Joined: Sat Oct 16, 2004 3:39 am
19 posts
• Page 2 of 2 • 1, 2
Who is online
Users browsing this forum: No registered users and 1 guest
