jPCT-AE wiki

Started by EgonOlsen, June 24, 2010, 11:21:56 PM

Previous topic - Next topic

EgonOlsen

You should have received an email with the login data for the wiki.

OneManSitting

yes i got it, thank you.  ;D

yrahmo

hello
could you please add more comments on the hello-shader sample project.
i couldn't modify it by apply the same shader(in the sample) on any geometry, it keeps rendering weird artifacts. 

EgonOlsen

You need proper normal and height maps for this. Do you have those?

yrahmo

I just replaced the Primitive.getPlane(a,b);  by Primitive.getSphete(a,b); in the helloShader project .
result weird artefact.

in other tests I used a 3ds  file including a simple geometry (just the geometry no light no camera...)with proper uv mapping  ( exported from blender) + texture map , normal map, height map. +provided the shader code .

result : the maps are correctly applied thinks to the texcord but no shader effect , the colors of the textured geometry seem to be a little different( it s like if the light was green)
:o

EgonOlsen

You can't use a sphere from Primitives for this, because (as the docs say), objects created by the Primitives class have no proper texture coordinates. Load some sphere model that has proper coordinates and it will work.

About the second issue...if everything is green, something is fishy with your textures. It might very well be that the normal or the height map are not in the format that the shader expects. Have a look at the example files to see how they are supposed to look. You can post links to them, if you want to so that we can have a look too.

yrahmo

really sorry to make you wait di long. my DDMS is freezing, it's the same problem no matter what I try. i couldn't take any screenshot.  :'(

BABABLACK_911

Hello Egon, I'd also like to contribute to the wiki, if you dont mind. :)

EgonOlsen

Quote from: BABABLACK_911 on December 28, 2012, 06:24:47 AM
Hello Egon, I'd also like to contribute to the wiki, if you dont mind. :)
You should have received an email from the wiki system....

BABABLACK_911

Thanks a lot Egon, I've activated my account. Also thanks for the prototype projects you sent to me.
I sure will post anything related to jPCT-AE in the wiki.

aeroxr1

I have gone in the wiki page and it is empty... is normal ?  :'(

EgonOlsen

No, it's not. But it should actually be fixed more or less by now. See also http://www.jpct.net/forum2/index.php/topic,4191.0.html

EgonOlsen

If it still happens for some pages, you are seeing a cached page. In that case, click on version history and replace the action=history parameter by action=purge. Yes, it's cumbersome, but what should i tell you...it's MediaWiki...