jogamp
›
java3d
Search
everywhere
only in this topic
Advanced Search
Colorinterpolator with 3 colours !
Classic
List
Threaded
♦
♦
Locked
4 messages
Davidave
Reply
|
Threaded
Open this post in threaded view
♦
♦
|
Colorinterpolator with 3 colours !
Hey guys ! is it possible to interpolate between 3 colours in java3d ??
like from blue to red and then from red to green ?!
you can set a start and an end colour! but is it possible with 3 ? or is it possible to usw more than 1 interpolator ?
gouessej
Reply
|
Threaded
Open this post in threaded view
♦
♦
|
Re: Colorinterpolator with 3 colours !
Administrator
You can use javax.media.j3d.ColorInterpolator but it uses a start color and an end color. You can write your own interpolators too.
Julien Gouesse |
Personal blog
|
Website
Davidave
Reply
|
Threaded
Open this post in threaded view
♦
♦
|
Re: Colorinterpolator with 3 colours !
hey. how do i do that ? :D
gouessej
Reply
|
Threaded
Open this post in threaded view
♦
♦
|
Re: Colorinterpolator with 3 colours !
Administrator
Create a class that extends the abstract class javax.media.j3d.Interpolator.
Julien Gouesse |
Personal blog
|
Website
Free forum by Nabble
Edit this page