http://developer.hoops3d.com
  HOOPS/3dAF Questions
  how to achieve gradient colored objects?

Post New Topic  Post A Reply
profile | register | preferences | faq | search

UBBFriend: Email This Page to Someone! next newest topic | next oldest topic
Author Topic:   how to achieve gradient colored objects?
rmazeffa
Junior Member
posted October 19, 2006 05:17 PM     Click Here to See the Profile for rmazeffa     Edit/Delete Message
A HOOPS user had asked about how to support gradient coloring in a bar graph.....

This is generally achieved by interpolating from one color to another across a surface. HOOPS supports this functionality via the 'color interpolation' Rendering_Option.

To display a gradient colored quad, insert it as either a 4 point HOOPS ‘mesh’ or ‘shell’, and then set colors on the vertices. Then, turn on the ‘color interpolation’ Rendering_Option.

Color Interpolation is covered in Section 6.3.7 of the HOOPS/3dGS Programming Guide:

http://developer.hoops3d.com/documentation/Hoops3DGS/prog_guide/06_3_rendering_advanced_techniques.html


IP: Logged

All times are PT (US)

next newest topic | next oldest topic

Administrative Options: Close Topic | Archive/Move | Delete Topic
Post New Topic  Post A Reply
Hop to:

Contact Us | http://developer.hoops3d.com

Copyright©2006 Tech Soft 3D. All Rights Reserved.


Ultimate Bulletin Board 5.46