DeutschEnglishEspañolFrançaisРусский105 EN pages.
Flag-DE

DE translation needed please

Flag-ES

ES translation needed please

Contents

Creating an object that can be held in game

Modeling and texturing the model

The aim is to get a .obj model, made of triangles, with a diffuse texture that will be applied by UVMap.

Creating a texture with specular requires to create a black & white file for the texture that will be used as an application layer, and another file for the specular effect that will be multiplied by this layer to get the brightness effect. Explanations about this way to add a specular effect are provided here. It is also possible to manage the application of a texture or another among choices for a same object/creature using Datasheets, if a specific propriety of the Nel materials is used: multi-texturing.

In Blender

Creating the model and applying a simple diffuse and UVmapped texture.

Caution: Remember to use metric units in Blender, so that you get the proper size for you final object. It seems to match with the result in Nel if nothing is changed during the various exports.

Caution: X, Y and Z axes are used only with reference to the hand holding the object. Take care of having them correctly placed so that the object will be held properly. It seems that these axes’ orientation can be changed with the Datasheet of the object but, a priori, with a simple object, of dagger type (provided with Ryzom Core), here is what we get: Axes prehension.png

Seemingly, if the object is held in the left hand with this same Datasheet, the object spins and points toward the back, like the tip of the dagger. See how the axes are managed in the datasheets

Caution: Your model’s fastening point to the character is based on a point defined in the Datasheet of the animation (a priori, in the middle of the closed hand).So you have to place your objet in Blender by imagining that this fastening point is the origine of your Blender space (0,0,0)

71 creation nel material.jpg

Importing in 3DSMax and transferring towards NeL

Import the .obj file in 3DSMax in a new file

05 import obj vers 3dsmax.jpg

Applying the NeL material

10 creation nel material.jpg

15 creation nel material.jpg

20 creation nel material.jpg

  1. Double-click on the Texture Map#1 in View1 to activate the right panel and go to "Bitmap Parameters", then click on "None" near "Bitmap"

26 creation nel material.jpg

21 creation nel material.jpg

36 creation nel material.jpg

35 creation nel material.jpg

Exporting the model

50 creation nel material.jpg

53 creation nel material.jpg

55 creation nel material.jpg

80 creation nel material.jpg Here you are, with your character being able to enjoying his pie piece!

Caution: The name of the texture is hardcoded in the .shape. So remember not to change it afterwards, or NeL won’t be able to display it anymore.

Original tutorial available here: [1], to be checked in case of update


Ryzom Wiki: Ryzom Commons | DE • EN • ESFRRU | Ryzom Forge
Retrieved from "https://en.wiki.ryzom.com/wiki/Portal:Forge?from=/w/index.php?title=Creating_an_object_held_in_game&oldid=2262"