Pages: 1
  Print  
Author Topic: Basic Shape Normals  (Read 1019 times)
Offline (Male) Goombert
Posted on: October 06, 2013, 11:12:15 PM

Developer
Location: Cappuccino, CA
Joined: Jan 2013
Posts: 3110

View Profile



Just wanted to update you all, I have added normals to all basic shapes in all graphics systems, and yes ellipsoids, they are now all efficiently batched and rendered.
The following pull request contains my changes, simply wait for it to be merged before updating.
https://github.com/enigma-dev/enigma-dev/pull/423

I am still working on the icosahedron function. An icosahedron is used in computer graphics to perfectly texture map a sphere and for representation of planetary scale maps.

« Last Edit: October 07, 2013, 06:31:04 AM by Robert B Colton » Logged
I think it was Leonardo da Vinci who once said something along the lines of "If you build the robots, they will make games." or something to that effect.

Offline (Unknown gender) orange451
Reply #1 Posted on: October 08, 2013, 08:36:57 AM
Member
Joined: Mar 2013
Posts: 16

View Profile Email
http://sandbox.yoyogames.com/games/181293-thesnidrs-geodesic-dome
Why not this? :)
Logged
Offline (Male) Goombert
Reply #2 Posted on: October 08, 2013, 02:56:33 PM

Developer
Location: Cappuccino, CA
Joined: Jan 2013
Posts: 3110

View Profile
Because that is GML and there is a more efficient way to write it in C++. But thanks  (Y)
« Last Edit: October 08, 2013, 06:50:38 PM by Robert B Colton » Logged
I think it was Leonardo da Vinci who once said something along the lines of "If you build the robots, they will make games." or something to that effect.

Offline (Unknown gender) TheExDeus
Reply #3 Posted on: October 11, 2013, 07:47:19 AM

Developer
Joined: Apr 2008
Posts: 1872

View Profile
Math is the same though, so implementing it and optimizing it with C++ should be quite trivial.
Logged
Pages: 1
  Print