Author Topic: Texturing and 3d Animation Questions  (Read 337 times)

Nidhogg28

  • Newbie
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Texturing and 3d Animation Questions
« on: July 30, 2018, 07:11:41 am »
Hello everyone; as I have been fiddling around with the samples that come with the engine, I have come to the realization that it either must take a lot of code to implement a substantial amount of textures or that the engine can accept pre-textured models (textured in blender for example). Which of these is the case? Also, is 3d animation implemented by swapping meshes and is there a function for this? Thanks in advance, I am trying to find out how feasible a project I have in mind is.

ponut64

  • Full Member
  • ***
  • Posts: 182
  • Karma: +13/-0
    • View Profile
Re: Texturing and 3d Animation Questions
« Reply #1 on: July 30, 2018, 07:15:45 am »
Look into XL2's binary model files and converter. You would probably want that to manage memory and also to map textures.
That is started by naming the materials in Blender and making a texture with the same name as the material. Polygons with the same material as that texture name will have that texture.
As far as how Jo engine does this, ATM, you scope through the header file and assign a texture to each polygon or you use jo engine feature to assign a texture to the entire mesh.

XL2

  • Sr. Member
  • ****
  • Posts: 350
  • Karma: +81/-1
    • View Profile
Re: Texturing and 3d Animation Questions
« Reply #2 on: July 31, 2018, 12:41:23 am »
Just use my tool, it will do it all for you like Ponut said.
It's fast enough too, I use it in Sonic Z-Treme (2x animated models) and I can still hit 30 fps / 1000 quads on screen.
« Last Edit: July 31, 2018, 12:43:03 am by XL2 »

 

Sitemap 1 2 3 4 5 6 7 8 9 10 
SMF spam blocked by CleanTalk