JCD: BumpMapping for newbies

I have a question mainly targeted for JCD, hope you have fifteen minutes spare time to share.

Can you write short instructions on how to use some of your new cool features with Xith3d. Or make very simple demo. I am newbie on p/v shaders, so try to bear with me.

Let’s take an example.

Question:
I have a Xith3d application with single triangle and one light source on the screen. How can I add any kind of bump mapping to this geometry?

Answer:
If possible can you shortly describe all processes that are required for this task. Even high level semantic code would be nice to see.

Other solution would be this:
Copy your Phong demo project, rip absolutely everything but that single basket ball from the scene and if you really are up to it, then comment your source code largely. This would really be something for us newbies :slight_smile:

I assume I have to create bumpmap texture and create an .jcd file and do bunch of other things with all kind of classes like TBNGenerator, JCD3DSFactory, NormalMapCreator etc. What is the correct order and how the whole process sums up?

PS. Thanks for your demos, they are spicy :smiley:

I’ll get back to you sometimes tonight :slight_smile: