www.jpct.net

jPCT - a 3d engine for Java => Support => Topic started by: Klaudiusz on September 26, 2007, 12:04:50 am

Title: How to set color values in Mesh?
Post by: Klaudiusz on September 26, 2007, 12:04:50 am
Hi,

I'm thinking about something like my own Global Illumination effect, where each point from the Mesh could be classified as little light. Than i could calculate the illumination between all points in the world and add the value to each of them.

Does the current funtionallity od JPCT makes it possible? Can i handly modify the color of each point in Mesh?

Thanks in advice!
Title: Re: How to set color values in Mesh?
Post by: EgonOlsen on September 26, 2007, 12:12:28 am
You mean you want to assign each vertex its individual vertex color? If so, then no...that's not possible.
Title: Re: How to set color values in Mesh?
Post by: Klaudiusz on September 26, 2007, 12:21:22 am
Yes... unfortunatelly. OK, i'll try to find some other solution.