42bs Posted March 22, 2023 Author Share Posted March 22, 2023 Understand, but I like nice shifts (8, 16) to avoid the costly 6502 shifts. Quote Link to comment Share on other sites More sharing options...
+karri Posted March 22, 2023 Share Posted March 22, 2023 32 minutes ago, 42bs said: Understand, but I like nice shifts (8, 16) to avoid the costly 6502 shifts. Perhaps the best thing is then to define the unit vector as $0100. $0100 * $0100 = $010000, so you can just throw away the last byte. Quote Link to comment Share on other sites More sharing options...
LordKraken Posted March 22, 2023 Share Posted March 22, 2023 47 minutes ago, 42bs said: Oh, no. Now you spoiled it ok so no need to hide your WynxOut game 1 Quote Link to comment Share on other sites More sharing options...
LordKraken Posted March 22, 2023 Share Posted March 22, 2023 47 minutes ago, 42bs said: Oh, no. Now you spoiled it ok so no need to hide your WynxOut game Quote Link to comment Share on other sites More sharing options...
LordKraken Posted March 22, 2023 Share Posted March 22, 2023 47 minutes ago, 42bs said: Oh, no. Now you spoiled it ok so no need to hide your WynxOut game Quote Link to comment Share on other sites More sharing options...
LordKraken Posted March 22, 2023 Share Posted March 22, 2023 47 minutes ago, 42bs said: Oh, no. Now you spoiled it ok so no need to hide your WynxOut game Quote Link to comment Share on other sites More sharing options...
LordKraken Posted March 22, 2023 Share Posted March 22, 2023 47 minutes ago, 42bs said: Oh, no. Now you spoiled it ok so no need to hide your WynxOut game Quote Link to comment Share on other sites More sharing options...
LordKraken Posted March 22, 2023 Share Posted March 22, 2023 Sorry for the multiple posts, something was broken... 1 Quote Link to comment Share on other sites More sharing options...
42bs Posted March 22, 2023 Author Share Posted March 22, 2023 Just thought you wanted to emphasis a bit. 2 Quote Link to comment Share on other sites More sharing options...
Fadest Posted March 22, 2023 Share Posted March 22, 2023 It's the Lynx, you can't be at 60 fps, so you need multiple frame/posts to render an image/idea Quote Link to comment Share on other sites More sharing options...
+karri Posted March 22, 2023 Share Posted March 22, 2023 Besides... At the time Wing Commander was a game that used bitmaps instead of rendered 3D surfaces. That technique would also work very well on the Lynx. You just need scale and skew for an object. And perhaps a side view, front view and back view. Quote Link to comment Share on other sites More sharing options...
ggn Posted March 22, 2023 Share Posted March 22, 2023 On 3/19/2023 at 9:51 AM, 42bs said: It runs in nearly 20FPS despite the mass of polygons that are drawn and overdrawn. But optimizing the scene data is no option in the sense of a "contest" 🙂 @Heaven/TQA actually allowed the modification of the binary file (see https://www.pouet.net/topic.php?which=11559&page=2#c549103), but of course you can have your own fun by following the rules you want :). 1 Quote Link to comment Share on other sites More sharing options...
ggn Posted March 22, 2023 Share Posted March 22, 2023 (edited) Duplicate, please ignore Edited March 22, 2023 by ggn Dupe post Quote Link to comment Share on other sites More sharing options...
ggn Posted March 22, 2023 Share Posted March 22, 2023 (edited) Duplicate, please ignore Edited March 22, 2023 by ggn Dupe post Quote Link to comment Share on other sites More sharing options...
42bs Posted March 22, 2023 Author Share Posted March 22, 2023 9 minutes ago, ggn said: @Heaven/TQA actually allowed the modification of the binary file (see https://www.pouet.net/topic.php?which=11559&page=2#c549103), but of course you can have your own fun by following the rules you want :). In a sense I alter it. The ST palette is made Lynx like and the coordinates are scaled down. But removing or modifying the polygons to avoid multiple drawn areas does not seem correct. Actually, it would not be much fun to me to find out how. But hell, yeah I would love to get it to >20FPS on the Lynx. But do the math: The Jaguar runs at 26MHz and thus 6.5 times quicker than Mikey. But the Lynx needs only 52ms per frame compared to 14ms the Jaguar. So the Jaguar is slooooow Quote Link to comment Share on other sites More sharing options...
agradeneu Posted March 22, 2023 Share Posted March 22, 2023 3 hours ago, LordKraken said: I'm surprised nobody ever explored doing a "fake" 3d games using this technique. Sure the camera would be fixed, but the overall impression would still be great. There is a good example on gameboy color with a toy story racing game I believe. But with very limited playability I fear. Quote Link to comment Share on other sites More sharing options...
agradeneu Posted March 22, 2023 Share Posted March 22, 2023 (edited) 17 hours ago, WesleyrpgAust said: Would love to see what the Lynx can really do now that we've had 30 years to tinker with the hardware! There are plenty of amazing examples, just keep your eyes open! Edited March 22, 2023 by agradeneu Quote Link to comment Share on other sites More sharing options...
agradeneu Posted March 22, 2023 Share Posted March 22, 2023 1 hour ago, 42bs said: But do the math: The Jaguar runs at 26MHz and thus 6.5 times quicker than Mikey. But the Lynx needs only 52ms per frame compared to 14ms the Jaguar. So the Jaguar is slooooow But Lynx only draws polygons for 1/2 the resolution Quote Link to comment Share on other sites More sharing options...
Heaven/TQA Posted March 22, 2023 Share Posted March 22, 2023 2 hours ago, 42bs said: In a sense I alter it. The ST palette is made Lynx like and the coordinates are scaled down. But removing or modifying the polygons to avoid multiple drawn areas does not seem correct. Actually, it would not be much fun to me to find out how. But hell, yeah I would love to get it to >20FPS on the Lynx. But do the math: The Jaguar runs at 26MHz and thus 6.5 times quicker than Mikey. But the Lynx needs only 52ms per frame compared to 14ms the Jaguar. So the Jaguar is slooooow Bastian is right... Axis @ me allowed altering the data in terms of downscaling or modify for display sizes/color palettes (see the GB version or my SNES version) but we should all use the 640kb raw data Leonard and guys from Oxygene used if you are interested I can provide the "V1" file of the prior demo, too? Quote Link to comment Share on other sites More sharing options...
Heaven/TQA Posted March 22, 2023 Share Posted March 22, 2023 On 3/19/2023 at 8:51 AM, 42bs said: 2nd one. This one is complete on a 512KB card including all original data (only rez reduced for the Lynx) It runs in nearly 20FPS despite the mass of polygons that are drawn and overdrawn. But optimizing the scene data is no option in the sense of a "contest" 🙂 Source as usual: https://github.com/42Bastian/lynx_hacking/tree/master/lniccc2000 lniccc2000.lnx 512.06 kB · 13 downloads I thought of the 512kb card but did you pack it? as the original data file if I am not wrong was larger? Quote Link to comment Share on other sites More sharing options...
42bs Posted March 22, 2023 Author Share Posted March 22, 2023 1 minute ago, Heaven/TQA said: I thought of the 512kb card but did you pack it? as the original data file if I am not wrong was larger? Yes, lz4 for speed reason exomixer packs better but is to slow unpacking. Down to 500k. Quote Link to comment Share on other sites More sharing options...
42bs Posted March 22, 2023 Author Share Posted March 22, 2023 4 minutes ago, Heaven/TQA said: file of the prior demo scene1.dat is the original one. scene2lynx.c reads and converts it. Quote Link to comment Share on other sites More sharing options...
Heaven/TQA Posted March 22, 2023 Share Posted March 22, 2023 3 hours ago, 42bs said: scene1.dat is the original one. scene2lynx.c reads and converts it. I ment that data file… 1 Quote Link to comment Share on other sites More sharing options...
42bs Posted March 23, 2023 Author Share Posted March 23, 2023 6 hours ago, Heaven/TQA said: I ment that data file… Ah, cool. Yes pleaaaaaaase. Quote Link to comment Share on other sites More sharing options...
Heaven/TQA Posted March 23, 2023 Share Posted March 23, 2023 (edited) 1 hour ago, 42bs said: Ah, cool. Yes pleaaaaaaase. here is the file. that does not have "indexed" frames and the end frame byte and end of file byte are different to V2. just 1 palette for all. so no palette information inside the data. it is straight forward when you already got a "v2" parser. you can look at "displayFrame" label in the source code and "nPolyDraw". and you need the ST palette setup converted to Lynx but that is easy. SCENE_v1.zip SCENE_v1.s Edited March 23, 2023 by Heaven/TQA 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.