• Register

ScrumbleShip is the most accurate space combat simulation devised to date. Gather resources, construct a capital ship out of individual blocks, then pilot it with AI or human help against other players.

  • View media
  • View media
  • View media
  • View media
  • View media
  • View media
view previous next
Share Image
Share on Facebook Tweet Email a friend
Embed Image
Post comment Comments
dirkson Author
dirkson Nov 6 2012 says:

White lines originating from a point? What silliness is this?

Well, this is a voxel-level, generic raycaster that sees every voxel between it and its destination. We've had raycasters in the engine before, but this one is the first one that can't miss objects.

This code can be used to improve collision detection, rendering, block placement, and more. For example, raycasting a close scene (Such as inside a ship) should be faster and return better results than our old rendering method. Equally importantly, having a generic method for doing this allows me to stop wasting time re-implementing very similar situations.

Next I take it from voxel-only level to a mixed voxel/block/chunk raycast - Basically, make it skip over empty areas much faster. That code is already half done. After that, I can start slipping it into various subsections of the game.


+3 votes   reply to comment
Deathscreton Nov 7 2012 replied:

I always found Raycasting to be such a pain. But my boss is seemingly a pro at it. I don't understand how you guys do it, no matter how much I look at it. The only thing I can understand are the basics. @.@

+1 vote     reply to comment
DudenClarity Nov 6 2012 says:

Fascinating =o

+1 vote     reply to comment
Insolent. Nov 7 2012 says:

This will be very useful! Super cool.

+1 vote     reply to comment
itsdavyjones Nov 10 2012 says:

So how much of a performance increase is this system looking at?

+1 vote     reply to comment
Post a Comment
click to sign in

You are not logged in, your comment will be anonymous unless you join the community today (totally free - or sign in with your social account on the right) which we encourage all contributors to do.

2000 characters limit; HTML formatting and smileys are not supported - text only


This image is released on a CC-BY-ND 3.0 license

Image Details
Nov 6th, 2012
Embed Thumb
Report Abuse
Report media
Add Media
Members only