Started by Kenworth, July 08, 2010, 04:15:49 AM
0 Members and 1 Guest are viewing this topic.
Quote from: Blue Lightning on July 11, 2010, 09:59:26 AMThere's always a possibility of writing your own version... because it's really not too difficult of a process. It's the logical method of generating the s3d files, this process was not derived via decompliling the DLL. I merely came up with this from what I know about s3d files and observing how the BAT clips and splits the LOD.
Quote from: Blue Lightning on July 11, 2010, 09:59:26 AM1. View the LOD from the camera, decide which faces are visible (any face who's normal is perpendicular to the camera (+90 and -90) or between them (the 180 side) is invisible). Store this info for triangle mesh generation. Also remove any vertexes and faces that are hidden by other LOD geometry.
Quote from: Blue Lightning on July 11, 2010, 09:59:26 AM2. Split the LOD according to 128x128 texture segments on the render image (or 256x256 for HD). Notate added vertexes for next step.
Quote from: Blue Lightning on July 11, 2010, 09:59:26 AM3. Grab the vertex coordinates, switch the Y and Z, and invert the X and output to an array of vertexes, 1 array per segment.
Quote from: Blue Lightning on July 11, 2010, 09:59:26 AM4. Generate triangle mesh array. 1 array per segment
Quote from: Blue Lightning on July 11, 2010, 09:59:26 AM5. Generate UV mappings according to vertex location when superimposed on segment.
Quote from: Blue Lightning on July 11, 2010, 09:59:26 AM6. Generate raw s3d data
Quote from: Blue Lightning on July 11, 2010, 09:59:26 AM7. Insert the s3d into a DBPF file (.SC4MODEL in this case) via Reader or the like (the newest Reader has scripting capability, so you can have BAT4MAX or whatever generate the script and have Reader run it)
Quote from: Blue Lightning on July 11, 2010, 09:59:26 AM8. Repeat for the rest of the views.
Quote from: SimFox on July 11, 2010, 10:37:11 AMCal & MOREOPTIONS:it is an interesting consideration. Yes we can't create SC4Model file. Yet we can perfectly do so with .DAT file in say iLive Reader. If that is also illegal that the whole mod thing would be illegal. As long as we have such empty DAT we can populate it with custom content. Beyond that I, to be honest don't see any technical or legal obstacles.
QuoteEA owns all of the rights, title and interest in the Tools & Materials. You may not alter any of EA's trademarks or logos, or alter or remove any of EA's trademark or copyright notices included in or with the Tools & Materials or EA's products. Your right to use Tools & Materials is limited to the license grant above, and you may not otherwise copy, display, distribute, perform, publish, modify, create works from, or use any of the Tools & Materials. Without limiting the preceding sentence, you may not modify, reverse engineer, disassemble, license, transfer, distribute, create works from, or sell the Tool, or use the Tools & Materials to further any commercial or unlawful purpose. Without limiting the foregoing, you may not use the Tools & Materials to promote another product or business, or on any site that operates or promotes a server emulator.You may include materials created with the Tools & Materials on your personal noncommercial website for the noncommercial benefit of the fan community for EA's products, provided this is beneficial to the product(s) in EA's judgment, and provided that if you do so, you must also post the following notice on your site on the same web page(s) where those materials are located: "This site is not endorsed by or affiliated with Electronic Arts, or its licensors. Trademarks are the property of their respective owners. Game content and materials copyright Electronic Arts Inc. and its licensors. All Rights Reserved." You will not represent that your site is endorsed or approved by or affiliated with EA or our licensors or that any other content on your site is endorsed or approved by or affiliated with EA or our licensors.
Quote from: SimFox on July 11, 2010, 10:37:11 AMThe other thing - inputting name in GMAX rather than saving file... Well I hardly see how it could be called useful... Convenient may be useful, not really it doesn't add any new functionality, saves absolute minimum of the actual work. In fact the only measurable saving is a space GMAX files would otherwise occupy on you HDD. Given that we are speaking purely LODs here it is vanishingly small.Pretty much same as far as "last exported LOD" goes. A button like that simply saves clicking on File -> Import. That's it! Cause if you select to display your files in selection window by date modified... you last exported LOD file would always be on top.
Page created in 0.057 seconds with 30 queries.