Re: triangles & aspects
Jonathan Dearborn <[email protected]> Sun, 26 Mar 2017 08:01:13 -0400
| Newsgroups | gmane.comp.lib.sdl |
|---|---|
| Message-ID | <CA+DSiHZZHd_gbieAKf0RM_9XZvziFHKVzgKQOg30NA1eiN=5Og@mail.gmail.com> |
--===============0448710093532908673== Content-Type: multipart/alternative; boundary=001a113e4278f51fd9054ba0fc52 --001a113e4278f51fd9054ba0fc52 Content-Type: text/plain; charset=UTF-8 SDL_gpu also has a built-in triangle primitive, GPU_Tri: http://dinomage.com/reference/SDL_gpu/group__Shapes.html Jonny D On Sat, Mar 25, 2017 at 3:18 PM, capehill <[email protected]> wrote: > How many triangles do you intend to draw? In 2D or 3D? If have a more > ambituous project at hand, you may need to study some OpenGL. With SDL you > can create an OpenGL context. > > Check also SDL2_gfx project. > > If you want to use basic SDL2 renderer features, you may need to create > your own triangle function. > > _______________________________________________ > SDL mailing list > [email protected] > http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org > > --001a113e4278f51fd9054ba0fc52 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">SDL_gpu also has a built-in triangle primitive, GPU_Tri:<d= iv><a href=3D"http://dinomage.com/reference/SDL_gpu/group__Shapes.html">htt= p://dinomage.com/reference/SDL_gpu/group__Shapes.html</a><br></div><div><br= ></div><div>Jonny D</div></div><div class=3D"gmail_extra"><br><div class=3D= "gmail_quote">On Sat, Mar 25, 2017 at 3:18 PM, capehill <span dir=3D"ltr">&= lt;<a href=3D"mailto:[email protected]" target=3D"_blank">juha.niemi= [email protected]</a>></span> wrote:<br><blockquote class=3D"gmail_quote" s= tyle=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><u><= /u> <div> <div class=3D"m_-4015618140208366169postbody">How many triangles do you in= tend to draw? In 2D or 3D? If have a more ambituous project at hand, you ma= y need to study some OpenGL. With SDL you can create an OpenGL context.<br> <br> Check also SDL2_gfx project.<br> <br> If you want to use basic SDL2 renderer features, you may need to create you= r own triangle function.</div> </div> <br>______________________________<wbr>_________________<br> SDL mailing list<br> <a href=3D"mailto:[email protected]">[email protected]</a><br> <a href=3D"http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org" rel=3D"nore= ferrer" target=3D"_blank">http://lists.libsdl.org/<wbr>listinfo.cgi/sdl-lib= sdl.org</a><br> <br></blockquote></div><br></div> --001a113e4278f51fd9054ba0fc52-- --===============0448710093532908673== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ SDL mailing list [email protected] http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org --===============0448710093532908673==--