Welcome,
Guest
. Please
login
or
register
.
November 02, 2025
Home
Help
Search
Calendar
Login
Register
Dark Bit Factory & Gravity
»
PROGRAMMING
»
General coding questions
»
Sphere deformation
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Sphere deformation (Read 4710 times)
0 Members and 1 Guest are viewing this topic.
azerty
ZX 81
Posts: 2
Karma: 0
Sphere deformation
«
on:
September 25, 2011 »
Hi!
I'm new to the forum.... My first question is about sphere deformation. How does it work?
I'm working in C/C++ with OpenGL 2.0 and I know GLSL. Pseudo-code and formulas are good too.
Thanks for any info!
Logged
LittleWhite
Senior Member
Amiga 1200
Posts: 418
Karma: 31
It's me!
Re: Sphere deformation
«
Reply #1 on:
September 25, 2011 »
What do you mean about sphere deformation ?
Do you think about metaballs (look at wikipedia page so).
Or just deformation caused by a Scale Matrix ?
Logged
The demoscene will never die, never!
Shockwave
good/evil
Founder Member
DBF Aficionado
Posts: 17394
Karma: 498
evil/good
Re: Sphere deformation
«
Reply #2 on:
September 25, 2011 »
Quote from: LittleWhite on September 25, 2011
What do you mean about sphere deformation ?
Do you mean the marching cubes method?
And welcome to the forum
Logged
Shockwave ^ Codigos
Challenge Trophies Won:
LittleWhite
Senior Member
Amiga 1200
Posts: 418
Karma: 31
It's me!
Re: Sphere deformation
«
Reply #3 on:
September 25, 2011 »
Oh ! Welcome on the forum of course
Logged
The demoscene will never die, never!
Rbz
Founder Member
DBF Aficionado
Posts: 2750
Karma: 493
Re: Sphere deformation
«
Reply #4 on:
September 25, 2011 »
Take a look at Relsoft's
"hematoma.zip" source that he kindly showed here
, it uses Freebasic + Opengl.
It's based on
spherical coordinates
formula.
Logged
Challenge Trophies Won:
rain_storm
Here comes the Rain
DBF Aficionado
Posts: 3088
Karma: 182
Rain never hurt nobody
Re: Sphere deformation
«
Reply #5 on:
September 26, 2011 »
ALso you should look into
Super Shapes
created using the
Super Formula
its very robust and easy to understand
Logged
org_100h - size matters
Challenge Trophies Won:
azerty
ZX 81
Posts: 2
Karma: 0
Re: Sphere deformation
«
Reply #6 on:
September 26, 2011 »
Hi,
Thank you for the links, this is exactly what I was searching for...
Logged
relsoft
DBF Aficionado
Posts: 3303
Karma: 47
Re: Sphere deformation
«
Reply #7 on:
September 30, 2011 »
Speaking of supershapes and super formula, here's a morpher I made with the formulae:
http://rel.phatcode.net/junk.php?id=61
Logged
Challenge Trophies Won:
Print
Pages: [
1
]
Go Up
« previous
next »
Dark Bit Factory & Gravity
»
PROGRAMMING
»
General coding questions
»
Sphere deformation