Search found 202 matches

by AntonioModer
Fri Oct 30, 2015 12:35 pm
Forum: General
Topic: poly2tri library to Lua (math for 2d navmesh)
Replies: 17
Views: 4791

Re: poly2tri library to Lua (math for 2d navmesh)

Ivan , i have error with your code, i cant fix this, help me please: local poly2 = require("poly2") local polygon = {} polygon[#polygon+1] = 100 polygon[#polygon+1] = 100 polygon[#polygon+1] = 200*5 polygon[#polygon+1] = 100 polygon[#polygon+1] = 200*5 polygon[#polygon+1] = 200*5 polygon[#polygon+1...
by AntonioModer
Mon Oct 26, 2015 11:55 pm
Forum: General
Topic: poly2tri library to Lua (math for 2d navmesh)
Replies: 17
Views: 4791

Re: poly2tri library to Lua (for 2d navmesh)

Thank you very much, ivan . :) Thanks for your library. You directed me to a properly direction: i need read a math course, heh. :ultraglee: Also I found awesome thing(The Computational Geometry Algorithms Library): http://doc.cgal.org/latest/Manual/packages.html I did not detect one thing: I also n...
by AntonioModer
Mon Oct 26, 2015 4:07 am
Forum: General
Topic: poly2tri library to Lua (math for 2d navmesh)
Replies: 17
Views: 4791

Re: poly2tri library to Lua

Ok then, i found this Lua module: https://github.com/Yonaba/delaunay
It is suitable for me, but there is a lack: https://github.com/Yonaba/delaunay/issues/3
Now i will fix this lack.

Edit.
This code is work fine: https://gist.github.com/AlliedEnvy/1009522
I will work on 2d navmesh (navigation mesh).
by AntonioModer
Sat Oct 24, 2015 3:50 am
Forum: General
Topic: poly2tri library to Lua (math for 2d navmesh)
Replies: 17
Views: 4791

poly2tri library to Lua (math for 2d navmesh)

poly2tri - a 2D constrained Delaunay triangulation library. The main advantage of this library for me - it is possible to make a hole in the polygons. https://code.google.com/p/poly2tri/ https://github.com/jhasse/poly2tri Example: dude_cdt.png I make top-down-view game engine. This is library is ne...
by AntonioModer
Sun Sep 27, 2015 2:23 am
Forum: General
Topic: What's everyone working on? (tigsource inspired)
Replies: 1714
Views: 672241

Re: What's everyone working on? (tigsource inspired)

CP270WSWEAAXyLj.png large.png
CP270WSWEAAXyLj.png large.png (628.02 KiB) Viewed 3643 times
Jasoco, good editor. I make game editor too.
by AntonioModer
Wed Sep 09, 2015 10:35 am
Forum: Libraries and Tools
Topic: Knife: a collection of micro-modules
Replies: 24
Views: 9817

Re: Knife: a collection of micro-modules

Cool, thanks airstruck.
Knife picture from GTA5?
by AntonioModer
Wed Sep 09, 2015 9:34 am
Forum: Libraries and Tools
Topic: [util] shadertoy shader effect viewer
Replies: 14
Views: 12750

Re: [util] shadertoy shader effect viewer

WOW! :awesome:
Alexar, this is awesome. shadertoy.com has a lot of good examples (2d shadows, gradients, fractals, ...)
Thanks!

mandelbrot "doubles", Simple path tracer run well on LOVE 0.9.2
Where you get raycast2d.glsl ? I can't find this on shadertoy.com.
by AntonioModer
Sat Aug 22, 2015 8:41 pm
Forum: Libraries and Tools
Topic: Simple "realtime global 2D-radiosity"
Replies: 5
Views: 4831

Re: Radiosity, very simple and slow

:awesome: I made it, i made "fast realtime global 2D radiosity" on shaders! :cool:
Im happy.
Sources you can find in my github: https://github.com/AntonioModer/radiosity2D