Outerra forum
August 31, 2024, 09:43:45 pm
Welcome,
Guest
Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Outerra Tech Demo
download. Help with
graphics driver issues
Home
Help
Login
Register
Chat (Outerra Discord Server)
Outerra forum
>
Outerra Engine
>
Technology
>
Sphere in Outerra
« previous
next »
Pages: [
1
]
Print
Author
Topic: Sphere in Outerra (Read 4383 times)
montify
Jr. Member
Posts: 10
newbie
Sphere in Outerra
«
on:
April 14, 2014, 10:57:55 am »
Hello Outerra.
Do you use the cube2sphere Mapping for Outerra? (like normalize the Vector around the Origin, OR the Mathproof Version
http://mathproofs.blogspot.co.at/2005/07/mapping-cube-to-sphere.html
)
Logged
cameni
Brano Kemen
Outerra Administrator
Hero Member
Posts: 6721
No sense of urgency.
Re: Sphere in Outerra
«
Reply #1 on:
April 15, 2014, 04:27:41 am »
Neither, they aren't regular enough.
We are normalizing vector <u, v, 1 + (0.5/(√2 - 1) - 1)∙(1 - u²)∙(1 - v²)>, where u,v are face coordinates in -1..1. This gives pretty homogenous spacing, but the inverse has to be found by Newton solver. Luckily, it's only rarely used in practice, so it's not a problem.
Logged
Print
Pages: [
1
]
« previous
next »
Outerra forum
>
Outerra Engine
>
Technology
>
Sphere in Outerra