[QUOTE=WeltEnSTurm;47671683][url]https://github.com/weltensturm/dinu[/url]
\o/[/QUOTE]
this is super hot
[QUOTE=WeltEnSTurm;47671683][url]https://github.com/weltensturm/dinu[/url]
\o/[/QUOTE]
pretty hot
[url=https://github.com/Planimeter/grid-sdk/issues/16]Grid is going 1.0.0 this weekend![/url] Thanks for yelling at me that one time to fix the video tab in the options menu. Look at Grid now, wowie.
I have to rework my code from last night now. It turns out I made a few fundamental errors, such as not all selected objects will be rectangular so I should use a bounding box for resizing, and that objects may be rotated; neither of which were accounted for or were assumed to never happen.
Time to start making axis aligned bounding boxes.
[B]Edit:[/B]
I guess I will just try to make something like this:
[t]http://i.imgur.com/h1KeYJq.png[/t]
Does this make sense at first glance? I'm aiming for the center points for resizing on a single axis, and corners for 2 axes
I will try to see if I can render a stipple line.
[QUOTE=Karmah;47671979]I have to rework my code from last night now. It turns out I made a few fundamental errors, such as not all selected objects will be rectangular so I should use a bounding box for resizing, and that objects may be rotated; neither of which were accounted for or were assumed to never happen.
Time to start making axis aligned bounding boxes.
[B]Edit:[/B]
I guess I will just try to make something like this:
[t]http://i.imgur.com/h1KeYJq.png[/t]
Does this make sense at first glance? I'm aiming for the center points for resizing on a single axis, and corners for 2 axes
I will try to see if I can render a stipple line.[/QUOTE]
Maybe make button which switches between global (on your picture) and local mode?
[code]
Entity = {
x = 0,
y = 0,
w = 0,
h = 0,
name = "Asdf",
}
function Entity:setPos(x, y)
self.x = x
self.y = y
end
function Entity:getPos()
return self.x, self.y
end
function Entity:setSize(w, h)
self.w = w
self.h = h
end
function Entity:getSize()
return self.w, self.h
end
function Entity:setName(n)
self.name = n
end
function Entity:getName()
return self.name
end
[/code]
Is this good coding practice? I took the idea from GLua but never stopped to think if it was actually doing me any good. GLua does it because the values aren't directly accessible (they're in C), but should I be doing this instead of setting the value directly? Is there any performance loss?
[QUOTE=Ott;47672957][code]
function Entity:setPos(x, y)
self.x = x
self.y = y
end
[/code]
Is this good coding practice? I took the idea from GLua but never stopped to think if it was actually doing me any good. GLua does it because the values aren't directly accessible (they're in C), but should I be doing this instead of setting the value directly? Is there any performance loss?[/QUOTE]
Yes, this is good practice for object-oriented or prototypal-oriented design. There is an overhead for function calls, and you'll most likely have overhead for indexing when you decide to implement inheritance or components, but these are negligible. I use [url=http://www.andrewmcwatters.com/grid/api/entity]this design,[/url] too.
[editline]6th May 2015[/editline]
Further more, Garry's Mod does it for convenience if anything. It's not impossible to creating bindings for source that allow you to do:
[lua]entity.x = 1000[/lua]
It's just __newindexing.
My mod got featured on PC Gamer!:
[url]http://www.pcgamer.com/gta-5-mod-recreates-the-pedestrian-riot-cheat/[/url]
[IMG]https://dl.dropboxusercontent.com/u/10518681/Screenshots/2015-05-06_20-59-49.png[/IMG]
I feel slightly weird. This mod is one of the most rushed bits of code I've ever written, and yet it's one of the most successful. I would be a bit embarrassed to put it on GitHub, it's that bad right now.
Compare that with this project of mine that took 8x as long to make :v: : [url]https://github.com/OliverF/mjpeg-relay[/url]
But that's not the point - it's all about timing. Maybe if I hadn't rushed it and had taken an extra week or so, someone would have beaten me to the punch! Anyway, really happy :)
Started working on a C++ raytracer just for fun.
Rendering is done with SDL on single core.
It's proven to be quite a challenge, especially with all the quaternion camera movements which still do not work D:
[vid]http://puu.sh/hDT7U/aab7e13338.webm[/vid]
[QUOTE=ollie;47673116]Started working on a C++ raytracer just for fun.
Rendering is done with SDL on single core.
It's proven to be quite a challenge, especially with all the quaternion camera movements which still do not work D:
[vid]http://puu.sh/hDT7U/aab7e13338.webm[/vid][/QUOTE]
Quaternion camera movement sucks because the horizon floats, use euler angles instead.
[QUOTE=ollie;47673116]Started working on a C++ raytracer just for fun.
Rendering is done with SDL on single core.
It's proven to be quite a challenge, especially with all the quaternion camera movements which still do not work D:
[vid]http://puu.sh/hDT7U/aab7e13338.webm[/vid][/QUOTE]
Damn interesting shit.
I really want to get myself into 3D, but I haven't got past the OpenGL triangle yet :suicide:
I like the colors.
[QUOTE=FalconKrunch;47673136]Quaternion camera movement sucks because the horizon floats, use euler angles instead.[/QUOTE]
Horizon float what
[QUOTE=Fourier;47673325]Horizon float what[/QUOTE]
[url]http://www.bodurov.com/VectorVisualizer/[/url]
Try moving your mouse in circles while holding left mouse button.
As opposed to:
[url]https://developer.cdn.mozilla.net/media/uploads/demos/f/s/fskreuz/172cef9062a5e66023a358a80b67cb96/vector-visualizer_1380989522_demo_package/index.html[/url]
What do you guys use to record webm's with?
So far I've been using gifcam and just uploaded the gifs to imgur, which can converts them to webm's, but the quality is obviously low.
[QUOTE=Karmah;47673807]What do you guys use to record webm's with?
So far I've been using gifcam and just uploaded the gifs to imgur, which can converts them to webm's, but the quality is obviously low.[/QUOTE]
If it's for a game, you could probably record it with Fraps and then convert it with ffmpeg.
In the context of content, I don't really have much to show other than I created a Source configuration generator recently to fuck around with data binding.
[IMG]http://i.imgur.com/wea8BcB.png[/IMG] [IMG]http://i.imgur.com/tHoGo5L.png[/IMG]
[QUOTE=Fourier;47673325]Horizon float what[/QUOTE]
Yeah, what in the world does ziss mean?
[QUOTE=sarge997;47664526]Any engine, language, and/or software could be used obviously.[/QUOTE]
I am [B]dying[/B] to do one of these over summer, so if it's after June 5th I'm in.
Took me a bit, but I got myself an axis aligned bounding box;
(gifcam really eats up my framerate)
[t]http://i.imgur.com/ZyZkiW9.gif[/t]
Next to implement a bunch of mini ones for each clickable point, then implement resizing off of them.
The neat thing is once [I]that[/I] is implemented, I should be able to easily reconfigure all that logic for vertex manipulation.
[QUOTE=Karmah;47673807]What do you guys use to record webm's with?
So far I've been using gifcam and just uploaded the gifs to imgur, which can converts them to webm's, but the quality is obviously low.[/QUOTE]
ShareX
sharex reminds me of software from the early 00s in that it definitely feels like a .NET app and it has the most useless features and annoying menus that i couldn't even think up myself for an application meant to capture things
[img]https://getsharex.com/img/ShareX_Screenshot.png[/img]
when would you EVER want to capture a TRIANGLE
'uh yeah you know i just like take screenies of neat indie games with sharex with you know the like triangle feature and stuff, and then i pin it to my pinterest after i've passed it through my totally #underground instafilters fork because fight the power man'
[QUOTE=geel9;47673929]ShareX[/QUOTE]
Took a bit of time to set up (getting all that encoding settings correct), but now I can finally record better footage.
So I'm working on a music streaming app right now and I've just finalized the streaming engine. The UI doesn't really work so I'll just brag/show off the technical side:
[IMG]http://i.imgur.com/a6mONe8.png[/IMG]
So out of what you see in the above screenshot the progress bar is the most important. I'll list what each part means and then explain why it's cool.
+ The area between the two "[]" is the entire memory buffer (currently set to 5 minutes)
+ The colored area is the amount of the stream currently in memory
+ The yellow portions is already played
+ The green portion is the stuff buffered to play soon (currently maxed at 30 seconds)
+ The cyan S are song changes in the stream
+ The red D is a disconnect.
+ The P is the "play head", ie where the stream is playing from.
So, with the way I designed this stream, a listener has the ability to seek back and forth anywhere in the buffered area (effectively shrinking and expanding the "to play" buffer). The stream can also inform the listener when a song change is about to happen or where in the stream a disconnect occurred (as you can see an S is "coming up" in the "to play" buffer). This also gives me the ability to associate songs with time intervals in the buffer, allowing people to look up what song was playing and potentially giving me the ability to record any song currently in buffer.
Once I make the UI not shit, I'll post a video that better shows off all the cool little features this app has/will have.
[QUOTE=andrewmcwatters;47673975]when would you EVER want to capture a TRIANGLE[/QUOTE]
[img]http://images.sodahead.com/polls/0/0/3/7/6/0/8/9/2/illuminati-conspiracy-theory-new-world-order-111843601566.jpeg[/img]
FTFY
[img]http://i.imgur.com/ZoZtrte.png[/img]
Just finished an atmospheric scattering ray tracer.
Some screens:
[img_thumb]http://i.imgur.com/oe0yxTf.png[/img_thumb]
[img_thumb]http://i.imgur.com/KYv9OzF.png[/img_thumb]
[img_thumb]http://i.imgur.com/DlrYllI.png[/img_thumb]
Started the ShareX screenshot from the system tray, then hit the printscreen key?
[QUOTE=Rocket;47674830]How did you screenshot a screenshot?[/QUOTE]
[t]http://i.imgur.com/65bVylx.png[/t]
send help
Sorry, you need to Log In to post a reply to this thread.