www.jpct.net

jPCT - a 3d engine for Java => Support => Topic started by: AW999 on June 27, 2010, 09:09:00 pm

Title: RGB color value for each vertex?
Post by: AW999 on June 27, 2010, 09:09:00 pm


Are there any plans to add the ability to define an RGB color for each vertex so the colors can be automatically blended by the video card, similar to DirectX's custom vertex data such as the one at the following page (scroll down to the colored triangle screenshot at the bottom and the code just above it)
http://www.directxtutorial.com/Tutorial9/B-Direct3DBasics/dx9B4.aspx#still
Title: Re: RGB color value for each vertex?
Post by: EgonOlsen on June 27, 2010, 10:39:10 pm
No concrete plans to add this yet...but that might change if you really need this feature. Do you?
Title: Re: RGB color value for each vertex?
Post by: AW999 on June 28, 2010, 08:27:27 pm
No concrete plans to add this yet...but that might change if you really need this feature. Do you?

  Well, don't add it for me, especially since my plans aren't finalized yet. I was just wondering.
 BTW, do you know whether a Java webstart app can start a regular (.exe) program? 
Title: Re: RGB color value for each vertex?
Post by: EgonOlsen on June 28, 2010, 10:32:46 pm
Ok, however, i'll have a look at it when i find the time. The basic infrastructure is already there, it shouldn't be too difficult to add it.

A signed webstart app can do anything that a desktop application can and that includes starting external programs.