Pages: 1
Author Topic: Basic Shape Normals  (29,162 Views)
Offline (Unknown gender) Goombert

Developer
Joined: Jan 2013
Posts: 2,991
View profile
Posted on: October 07, 2013, 04:12:15 AM



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.

Offline (Unknown gender) orange451

Member
Joined: Mar 2013
Posts: 16
View profile
Reply #1 Posted on: October 08, 2013, 01:36:57 PM
http://sandbox.yoyogames.com/games/181293-thesnidrs-geodesic-dome
Why not this? :)
Offline (Unknown gender) Goombert

Developer
Joined: Jan 2013
Posts: 2,991
View profile
Reply #2 Posted on: October 08, 2013, 07:56:33 PM
Because that is GML and there is a more efficient way to write it in C++. But thanks  (Y)
Offline (Unknown gender) TheExDeus

Developer
Joined: Apr 2008
Posts: 1,860
View profile
Reply #3 Posted on: October 11, 2013, 12:47:19 PM
Math is the same though, so implementing it and optimizing it with C++ should be quite trivial.
Pages: 1