• Programming - WAYWO - V.37
    1,000 replies, posted
hi im unity [thumb]http://i.imm.io/10P4S.jpeg[/thumb] (tank colours to be revised)
[QUOTE=toaster_2.0;40044650]Thanks for this, it will come in handy. Also do you know that there is already a library called Love3D? (Or is this an update for the current Love3D?) I'm not trying to be an ass I just wanted to let you know. Edit: I made a program that converts .obj files to the lua files that Love3D uses (which you have probably done anyway) [img]https://puu.sh/2olMz[/img] Here have a trumpet[/QUOTE] There's already a program in the codebase. Check util.lua. It looks like you improperly converted it because every other face is being culled. [editline]26th March 2013[/editline] Also my Love3d is unrelated, didn't even know.
[QUOTE=garychencool;40044686]I made a paint program in python, took it to the next level and allowed users to use the scroll wheel to increase or decrease brush size.[/QUOTE] because of the awesome ratings, here's a screenshot! [IMG]http://i.minus.com/iOZMXUpRBAWPb.png[/IMG]
[QUOTE=ief014;40048081][video=youtube;VxInFcN77cE]http://www.youtube.com/watch?v=VxInFcN77cE[/video] u want STARS? ill give u stars[/QUOTE] have you considered... more stars?
[QUOTE=DarkCybo7;40048469]have you considered... more stars?[/QUOTE] yes. I may risk my harddrive's life by letting fraps record a shit ton of stars overnight
[QUOTE=ief014;40048856]yes. I may risk my harddrive's life by letting fraps record a shit ton of stars overnight[/QUOTE] Livestream it :v: Oh if you want less or no computer resources used on recording, you can live stream and record on your phone/tablet or just get a camera
[QUOTE=garychencool;40048872]Livestream it :v: Oh if you want less or no computer resources used on recording, you can live stream and record on your phone/tablet or just get a camera[/QUOTE] The thing only runs at 1 fps, and that's with 10,000 stars i want to try 500,000.
[QUOTE=ief014;40048893]The thing only runs at 1 fps, and that's with 10,000 stars i want to try 500,000.[/QUOTE] What graphics card you have and holy crap that's a lot of stars.
ok that's probably optimistic as shit, maybe something like 100,000-200,000 [editline]26th March 2013[/editline] [QUOTE=garychencool;40048919]What graphics card you have and holy crap that's a lot of stars.[/QUOTE] the graphics run fine, it's processing all the motions of the stars that lags. I can pause simulation and get about 200fps
100,000 stars? How strong is your computer The laptop I develop on can barely render 500 pixels without needing to take a break.
[QUOTE=ief014;40048921]the graphics run fine, it's processing all the motions of the stars that lags. I can pause simulation and get about 200fps[/QUOTE] Use your GPU to calculate particle motion.
[QUOTE=Jawalt;40048178]There's already a program in the codebase. Check util.lua. It looks like you improperly converted it because every other face is being culled. [editline]26th March 2013[/editline] Also my Love3d is unrelated, didn't even know.[/QUOTE] Ok yeah I will use your utility for that from now on. Also, the other Love3D isn't actually for 3D per-say, more for parallax scrolling and stuff like that.
Let's all pitch in and do some cloud computing!
[QUOTE=garychencool;40049094]Let's all pitch in and do some cloud computing![/QUOTE] I guess that would not be efficient enough, network latency...
[QUOTE=Sir.Cartman;40049046]Use your GPU to calculate particle motion.[/QUOTE] I'll give it a shot, never worked with opencl as of yet
[QUOTE=Sir.Cartman;40049188]I guess that would not be efficient enough, network latency...[/QUOTE] (I was kidding)
[QUOTE=garychencool;40049787](I was kidding)[/QUOTE] You could actually do it realistically though... Have a bunch of nodes each run a simulation on a bunch of the stars at a time. As long as they don't interact, you don't have to do anything. Then have something render the stars at the positions the nodes calculate. This would be completely and utterly useless, and a waste of money, but hell, why not.
[QUOTE=ief014;40049573]I'll give it a shot, never worked with opencl as of yet[/QUOTE] so opencl boosts performance about sevenfold while almost rendering my computer unusable while running.
[media]http://www.youtube.com/watch?v=Qp1ng6lH-LM[/media] I posted something like this before but it was a piece of poop and the object matching was so-so. I improved it a bit and I'm using a different algorithm/program/whatever for matching. Still poop, but it's like gold poop.
If you're new to Git (like myself) and are looking for a nice Windows GUI client, Atlassian released [URL="http://www.sourcetreeapp.com/"]SourceTree for Windows[/URL] a little while back. Works with Bitbucket and Github.
[QUOTE=Hentie;40051922][media]http://www.youtube.com/watch?v=Qp1ng6lH-LM[/media] I posted something like this before but it was a piece of poop and the object matching was so-so. I improved it a bit and I'm using a different algorithm/program/whatever for matching. Still poop, but it's like gold poop.[/QUOTE] Now combine it with a kinect and a projector.
[QUOTE=Zazibar;40052083]If you're new to Git (like myself) and are looking for a nice Windows GUI client, Atlassian released [URL="http://www.sourcetreeapp.com/"]SourceTree for Windows[/URL] a little while back. Works with Bitbucket and Github.[/QUOTE] You should download this even if you know what you are doing. I use command line git daily and there are some things that are just way nicer to do with SourceTree.
[QUOTE=garychencool;40048371]because of the awesome ratings, here's a screenshot! [IMG]http://i.minus.com/iOZMXUpRBAWPb.png[/IMG][/QUOTE] Oh man, I made something similar ages ago. [img]http://i.imgur.com/gRLJb1y.png[/img] Behold my ugly as fuck circle brush and despair!
[QUOTE=Map in a box;40052178]Now combine it with a kinect and a projector.[/QUOTE] Well, I'm working with a partner on perfecting it. Me and him want to make a mobile app that lets you play billiards with an "aimbot". It's what we call one of our first steps into the realms of augmented reality. Right now we just need to detect the plane of the pool table top. I'm doing markerless detection first so that I can track a simple card or plane.
[QUOTE=Hentie;40052329]Well, I'm working with a partner on perfecting it. Me and him want to make a mobile app that lets you play billiards with an "aimbot". It's what we call one of our first steps into the realms of augmented reality. Right now we just need to detect the plane of the pool table top. I'm doing markerless detection first so that I can track a simple card or plane.[/QUOTE] Something like that would be awesome on google glass
[QUOTE=Hentie;40052329]Well, I'm working with a partner on perfecting it. Me and him want to make a mobile app that lets you play billiards with an "aimbot". It's what we call one of our first steps into the realms of augmented reality. Right now we just need to detect the plane of the pool table top. I'm doing markerless detection first so that I can track a simple card or plane.[/QUOTE] Always thought about making something like that, but having a projector above the table and having a deus-ex like interface on the pool table
[QUOTE=KmartSqrl;40052424]Something like that would be awesome on google glass[/QUOTE] You just made the practicality of that thing click for me. Now I want one.
Writing my own XNA inspired 3D engine with OpenTK. Finally got something on the screen: [t]http://i.imgur.com/n02hm5B.png[/t] In code, this is: [csharp]using System; using System.Collections.Generic; using System.IO; using System.Text; using Harvester.Core; using Harvester.Math; using Harvester.Graphics; using Harvester.Graphics.Text; using Harvester.Graphics.Types; namespace Harvest { public class MainGame : Game { Mesh m; public MainGame() : base(800, 600, "Harvest") { } protected override void OnLoad(object sender, EventArgs e) { GraphicsDevice.Clear(new Color(100, 149, 237)); GraphicsDevice.Shader.AddShader(File.ReadAllText("data/vertex_shader.txt"), ShaderType.VertexShader); GraphicsDevice.Shader.AddShader(File.ReadAllText("data/fragment_shader.txt"), ShaderType.FragmentShader); GraphicsDevice.Shader.FinalizeShader(); GraphicsDevice.Shader.Use(); m = Mesh.TriangleTest(GraphicsDevice); } protected override void OnDraw(object sender, EventArgs e) { GraphicsDevice.Clear(); GraphicsDevice.DrawMesh(m); } } } [/csharp] That took way longer than it should've.
[QUOTE=ief014;40051790]so opencl boosts performance about sevenfold while almost rendering my computer unusable while running.[/QUOTE] Make sure you code in a small cool down pause between each frame, that should fix that.
There already is
Sorry, you need to Log In to post a reply to this thread.