SQS tiled floor example

#7
(2013-06-25, 07:48 AM)dmpdesign link Wrote:HolyDiver, any chance of bumpmap support in the near future?

ML before you go making higher poly count floor tiles ( I admit they look nice), it would be a good idea to see if SomEx may score you bump/lighting support to pull off the same effect with much less strain on the processing.

Technically yes. The plan is to extend the MDO format so that every third vertex holds skinning data for two vertices.

I originally thought it would be cool to interleave the vertices and skinning data so it would be 1:1 where the extra space would hold bump mapping numbers. But I decided instead it would be better to automatically generate the bump mapping numbers and cache them along with CP files in temporary folders.

None of this interferes with SOM since none of its MDO (and MSM) files are animated. And the bump mapping data is in separate files. The only real upside is you can still open these MDO files up into one of the old Edit tools.

Each vertex is 8 numbers. So a skinning slot is 4 numbers. That's 3 weights where the fourth is 1 minus the other 3. And the fourth number is really 4 bytes that assign the weights to their anchors. Unfortunately it won't be possible to load this format directly into video memory, since it will have to be unpacked (and interleaved with the bump mapping data) but unpacking should be very simple.

This going to be worked on relatively soon, but I haven't thought about how to accommodate the additional textures that would be involved. There is already a way to do that on a per texture basis. But it doesn't tie into the MDO and MSM files. In theory you can pack arbitrary file references into those formats.

Bottom line though SOM won't know anything about this stuff. It will only work with extensions. MDL won't be used anymore for visuals. It will just be an animation format. There might have to be some fallback junk in them for backwards compatibility.
Reply



Messages In This Thread
SQS tiled floor example - by Madison Lastrega - 2013-06-24, 09:36 PM
Re: SQS tiled floor example - by Verdite - 2013-06-24, 10:24 PM
Re: SQS tiled floor example - by HolyDiver - 2013-06-25, 01:10 AM
Re: SQS tiled floor example - by HwitVlf - 2013-06-25, 01:47 AM
Re: SQS tiled floor example - by dmpdesign - 2013-06-25, 07:48 AM
Re: SQS tiled floor example - by Madison Lastrega - 2013-06-25, 08:37 AM
Re: SQS tiled floor example - by HolyDiver - 2013-06-25, 10:42 AM
Re: SQS tiled floor example - by dmpdesign - 2013-06-25, 01:41 PM
Re: SQS tiled floor example - by Madison Lastrega - 2013-06-25, 04:24 PM
Re: SQS tiled floor example - by HolyDiver - 2013-06-26, 12:32 AM
Re: SQS tiled floor example - by Verdite - 2013-06-26, 11:50 AM
Re: SQS tiled floor example - by Madison Lastrega - 2013-06-26, 05:52 PM
Re: SQS tiled floor example - by HwitVlf - 2013-06-26, 10:35 PM
Re: SQS tiled floor example - by HolyDiver - 2013-06-27, 02:01 AM
Re: SQS tiled floor example - by Madison Lastrega - 2013-06-27, 08:31 AM
Re: SQS tiled floor example - by Verdite - 2013-07-21, 10:41 PM
Re: SQS tiled floor example - by Verdite - 2013-07-25, 10:30 PM
Re: SQS tiled floor example - by HwitVlf - 2013-07-26, 12:28 AM
Re: SQS tiled floor example - by Madison Lastrega - 2013-07-26, 07:39 AM



Users browsing this thread:
3 Guest(s)