Deadend85 Posted December 8, 2023 Share Posted December 8, 2023 I am new to coding for consoles and new to using this api, i have a question. How can i make 3D shapes, i have a formula already for drawing lines, i just dont know how to send it to the gpu or display it Link to comment Share on other sites More sharing options...
42bs Posted December 9, 2023 Share Posted December 9, 2023 On 12/8/2023 at 7:29 AM, Deadend85 said: I am new to coding for consoles and new to using this api, i have a question. How can i make 3D shapes, i have a formula already for drawing lines, i just dont know how to send it to the gpu or display it Maybe you should first read the documentation to understand what kind of machine you are trying to code. 1 Link to comment Share on other sites More sharing options...
Deadend85 Posted December 10, 2023 Author Share Posted December 10, 2023 12 hours ago, 42bs said: Maybe you should first read the documentation to understand what kind of machine you are trying to code. Well I have and im using C where the documentation "Jaguar Technical Reference Manual Tom & Jerry" it specifically says thats its designed for Assembly, I have looked at at the reference projects and i do not understand the functions used so i try to look through the reference manual for Jagstudio and Raptor API and they dont have documentation for the functions or the documentation doesnt really say how its said. Link to comment Share on other sites More sharing options...
CyranoJ Posted December 11, 2023 Share Posted December 11, 2023 17 hours ago, Deadend85 said: so i try to look through the reference manual for Jagstudio and Raptor API and they dont have documentation for the functions or the documentation doesnt really say how its said. What functions? Link to comment Share on other sites More sharing options...
42bs Posted December 11, 2023 Share Posted December 11, 2023 On 12/8/2023 at 7:29 AM, Deadend85 said: how to send it to the gpu What do you mean by this? "sending" to GPU? You mean like compiling a shader and send it to GPU? Link to comment Share on other sites More sharing options...
Zerosquare Posted December 11, 2023 Share Posted December 11, 2023 The GPU doesn't do 3D. It has a few features that can help with rasterizing, but it can't even draw a simple flat-color triangle by itself. You need a complete 3D engine, which JagStudio doesn't provide. If you want to get started with JagStudio and Jaguar coding in general, 3D is definitely not what you should start with. 2 Link to comment Share on other sites More sharing options...
agradeneu Posted December 11, 2023 Share Posted December 11, 2023 1 hour ago, Zerosquare said: The GPU doesn't do 3D. It has a few features that can help with rasterizing, but it can't even draw a simple flat-color triangle by itself. You need a complete 3D engine, which JagStudio doesn't provide. If you want to get started with JagStudio and Jaguar coding in general, 3D is definitely not what you should start with. The Blitter draws Triangles. The GPU calculates them. Link to comment Share on other sites More sharing options...
42bs Posted December 11, 2023 Share Posted December 11, 2023 36 minutes ago, agradeneu said: The Blitter draws Triangles. The GPU calculates them. To be more a "Korinthenkacker": The Blitter draws the lines which form the triangle. Or any other polygon (At least with all my experimenting, I did not find a way to make the Blitter draw a triangle.) The Lynx' Suzy can really "draw" triangles. 1 Link to comment Share on other sites More sharing options...
agradeneu Posted December 11, 2023 Share Posted December 11, 2023 (edited) 1 hour ago, 42bs said: To be more a "Korinthenkacker": The Blitter draws the lines which form the triangle. Or any other polygon (At least with all my experimenting, I did not find a way to make the Blitter draw a triangle.) The Lynx' Suzy can really "draw" triangles. Actually Leonardo did not paint the Mona Lisa. What, why? He painted colors and shapes that look like the Mona Lisa. Ok pal... Your Statement does not contradict mine. Edited December 11, 2023 by agradeneu Link to comment Share on other sites More sharing options...
Ericde45 Posted December 11, 2023 Share Posted December 11, 2023 the Jaguar was not created to handle 3D if you want to do 3D, you must do it like an atari STE would do the blitter does not even have the fill function of the Amiga so no, the blitter is only able to draw lines, either in all angles, or horizontal lines to fill some 3D planes, under the control of the GPU 1 Link to comment Share on other sites More sharing options...
42bs Posted December 11, 2023 Share Posted December 11, 2023 36 minutes ago, agradeneu said: Actually Leonardo did not paint the Mona Lisa. What, why? He painted colors and shapes that look like the Mona Lisa. Ok pal... Your Statement does not contradict mine. When I saw "Leonardo" I actually read "Leonard", and thought, yes right Leonard did not draw 3D, only plain polys 🙂 (STNICCC2000) 2 Link to comment Share on other sites More sharing options...
agradeneu Posted December 11, 2023 Share Posted December 11, 2023 29 minutes ago, Ericde45 said: the Jaguar was not created to handle 3D Please tell that the Designers of the Jaguar Hardware Link to comment Share on other sites More sharing options...
agradeneu Posted December 11, 2023 Share Posted December 11, 2023 (edited) 36 minutes ago, Ericde45 said: so no, the blitter is only able to draw lines, either in all angles, or horizontal lines to fill some 3D planes, under the control of the GPU As intended by Design. Unlike the Amiga, Jaguar was designed to draw polygon gfx a lot faster. Edited December 11, 2023 by agradeneu Link to comment Share on other sites More sharing options...
Ericde45 Posted December 11, 2023 Share Posted December 11, 2023 a lot faster, amiga = 1985, jaguar = 1993 just the ram speed improvement is enough to justify that it is faster but not by conception. Link to comment Share on other sites More sharing options...
agradeneu Posted December 11, 2023 Share Posted December 11, 2023 5 minutes ago, Ericde45 said: a lot faster, amiga = 1985, jaguar = 1993 just the ram speed improvement is enough to justify that it is faster but not by conception. Whatever that means... Link to comment Share on other sites More sharing options...
Cyprian Posted December 11, 2023 Share Posted December 11, 2023 anyway, GPU can handle 3D - e.g. Doom, Cybermorph or Iron Soldier 1 Link to comment Share on other sites More sharing options...
Ericde45 Posted December 11, 2023 Share Posted December 11, 2023 at 60 fps like the PS1 ? .... be serious. texturing is not native to Jaguar. 1 Link to comment Share on other sites More sharing options...
agradeneu Posted December 11, 2023 Share Posted December 11, 2023 Dont bother opinions with facts.... 1 minute ago, Ericde45 said: at 60 fps like the PS1 ? .... be serious. texturing is not native to Jaguar. Changing the goalpost? Link to comment Share on other sites More sharing options...
Ericde45 Posted December 11, 2023 Share Posted December 11, 2023 no, that explains why jagstudio has no 3D engine, because the Jaguar iself has no 3D engine in its hardware Link to comment Share on other sites More sharing options...
agradeneu Posted December 11, 2023 Share Posted December 11, 2023 2 minutes ago, Ericde45 said: no, that explains why jagstudio has no 3D engine, because the Jaguar iself has no 3D engine in its It does not have an hw 2D engine either, otherwise, why bother with Jagstudio?! The reason is simple, it does not feature an 3D library, CJ did not write one, hence nothing to do with the Jaguar itself. 1 Link to comment Share on other sites More sharing options...
Ericde45 Posted December 11, 2023 Share Posted December 11, 2023 lol if the jaguar was really a 3D console, there would be a 3D gpu in it, and a 3D engine would be easy to code. 2 Link to comment Share on other sites More sharing options...
agradeneu Posted December 11, 2023 Share Posted December 11, 2023 2 minutes ago, Ericde45 said: lol if the jaguar was really a 3D console, there would be a 3D gpu in it, and a 3D engine would be easy to code. Please stop that nonsense, ok? 1 Link to comment Share on other sites More sharing options...
Ericde45 Posted December 11, 2023 Share Posted December 11, 2023 did you ever code anything on Jaguar ? if not, stop saying that nonsence about 3D and Jaguar you can do 3D on a ZX81 but this is not by design. Link to comment Share on other sites More sharing options...
agradeneu Posted December 11, 2023 Share Posted December 11, 2023 4 minutes ago, Ericde45 said: did you ever code anything on Jaguar ? if not, stop saying that nonsence about 3D and Jaguar you can do 3D on a ZX81 but this is not You did not Design the Jag either. And Jalaga is not exactly 3D. Does it use the built in 2D engine? Must be easy then lol. Link to comment Share on other sites More sharing options...
Ericde45 Posted December 11, 2023 Share Posted December 11, 2023 yes, it uses the object processor, clearly designed to make fast 2D objects it runs at high priority to ensure that. Link to comment Share on other sites More sharing options...
Recommended Posts